From f68d3fd2d6bbf13251afcfee9e44666033f8bab9 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 5 Jun 2024 15:10:58 -0400 Subject: [PATCH 01/63] intitiate project --- .github/workflows/commit_manifest.yml | 2 +- .github/workflows/dex.yml | 19 ++++++++ dex/README.md | 11 +++++ dex/dbt_project.yml | 70 +++++++++++++++++++++++++++ dex/package-lock.yml | 4 ++ dex/packages.yml | 3 ++ dex/profiles.yml | 12 +++++ 7 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dex.yml create mode 100644 dex/README.md create mode 100644 dex/dbt_project.yml create mode 100644 dex/package-lock.yml create mode 100644 dex/packages.yml create mode 100644 dex/profiles.yml diff --git a/.github/workflows/commit_manifest.yml b/.github/workflows/commit_manifest.yml index 1a8e63777d6..ee4aadbbe3a 100644 --- a/.github/workflows/commit_manifest.yml +++ b/.github/workflows/commit_manifest.yml @@ -15,7 +15,7 @@ jobs: runs-on: [ self-hosted, linux, spellbook-trino-ci ] strategy: matrix: - project: [ 'tokens', 'spellbook', 'daily_spellbook'] + project: [ 'tokens', 'spellbook', 'daily_spellbook', 'dex'] max-parallel: 1 steps: diff --git a/.github/workflows/dex.yml b/.github/workflows/dex.yml new file mode 100644 index 00000000000..b07bfe52003 --- /dev/null +++ b/.github/workflows/dex.yml @@ -0,0 +1,19 @@ +name: DBT DEX sector run + +on: + workflow_dispatch: + pull_request: + paths: + - dex/** + - .github/workflows/dex.yml + - .github/workflows/dbt_run.yml + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + dbt-run: + uses: ./.github/workflows/dbt_run.yml + with: + project: 'dex' \ No newline at end of file diff --git a/dex/README.md b/dex/README.md new file mode 100644 index 00000000000..8aef6e6c3ac --- /dev/null +++ b/dex/README.md @@ -0,0 +1,11 @@ +## DEX subproject + +This is a DBT subproject for the main lineages of the DEX sector. Included in this subproject, but not limited to over time: +- `dex.trades` +- `dex_aggreagtor.trades` +- `dex.prices` +- `dex.sandwiches` +- `dex.sandwiched` +- ...and more! + +This subproject will be dedicated to building the above spells (and others in the future related to DEX) on an hourly cadence in production. All other spells not included within this subproject will treat these spells as sources. For example, labels spells which read from `dex.trades` will now treat the spell as a source, rather than reference within dbt. \ No newline at end of file diff --git a/dex/dbt_project.yml b/dex/dbt_project.yml new file mode 100644 index 00000000000..e8901fdd5ad --- /dev/null +++ b/dex/dbt_project.yml @@ -0,0 +1,70 @@ +#Welcome to your Spellbook! + +name: "dex" +version: "1.0.0" +config-version: 2 + +quoting: + database: false + schema: false + identifier: false + +# This setting configures which "profile" dbt uses for this project. +profile: "spellbook-local" + +vars: + DBT_ENV_CUSTOM_ENV_S3_BUCKET: "{{ env_var('DBT_ENV_CUSTOM_ENV_S3_BUCKET', 'local') }}" + DBT_ENV_INCREMENTAL_TIME: "{{ env_var('DBT_ENV_INCREMENTAL_TIME', '1') }}" + DBT_ENV_INCREMENTAL_TIME_UNIT: "{{ env_var('DBT_ENV_INCREMENTAL_TIME_UNIT', 'day') }}" + +# These configurations specify where dbt should look for different types of files. +# You don't need to change these! +model-paths: ["models", "../sources"] +analysis-paths: ["analyses"] +# ../tests/* should be added to a separate shared folder +test-paths: ["tests"] +seed-paths: ["seeds"] +macro-paths: ["../macros", "macros"] +snapshot-paths: ["snapshots"] + +target-path: "target" # directory which will store compiled SQL files +clean-targets: # directories to be removed by `dbt clean` + - "target" + - "dbt_packages" + +# Configuring tests +# Full documentation: https://docs.getdbt.com/reference/test-configs +tests: + dex: + +store_failures: true # store failures for all tests + +# Configuring seeds +# Full documentation: https://docs.getdbt.com/reference/seed-configs +# For configuring individual seeds (e.g. overriding column types) we recommend a yml file nested in the same folder as the seed +# example: seeds/cryptopunks/schema.yml +# TODO: uncomment when seeds are added +seeds: + dex: + +schema: test_data + +# defining search order of macro invokation +dispatch: + - macro_namespace: dbt_utils + search_order: ['trino_utils', 'dbt_utils'] + +# Configuring models +# Full documentation: https://docs.getdbt.com/docs/configuring-models +models: + dex: + +post-hook: + - sql: "{{ set_trino_session_property(is_materialized(model), 'writer_scaling_min_data_processed', model.config.get('writer_min_size', '500MB')) }}" + transaction: true + - sql: "{{ set_trino_session_property(is_materialized(model), 'task_scale_writers_enabled', false) }}" + transaction: true + - sql: "{{ optimize_spell(this, model.config.materialized) }}" + transaction: true + - sql: "{{ mark_as_spell(this, model.config.materialized) }}" + transaction: true + +materialized: view + +schema: no_schema # this should be overriden in model specific configs + +view_security: invoker \ No newline at end of file diff --git a/dex/package-lock.yml b/dex/package-lock.yml new file mode 100644 index 00000000000..709885d7a0b --- /dev/null +++ b/dex/package-lock.yml @@ -0,0 +1,4 @@ +packages: +- package: dbt-labs/dbt_utils + version: 1.2.0 +sha1_hash: eb1031c07e7c89332527e572f2e44613ce5b62bf diff --git a/dex/packages.yml b/dex/packages.yml new file mode 100644 index 00000000000..d4f9f38e076 --- /dev/null +++ b/dex/packages.yml @@ -0,0 +1,3 @@ +packages: + - package: dbt-labs/dbt_utils + version: 1.2.0 \ No newline at end of file diff --git a/dex/profiles.yml b/dex/profiles.yml new file mode 100644 index 00000000000..10d52bd460f --- /dev/null +++ b/dex/profiles.yml @@ -0,0 +1,12 @@ +spellbook-local: + target: dev + outputs: + dev: + type: trino + user: trino + password: trino + host: trino + port: 1234 + database: hive + schema: wizard + threads: 1 \ No newline at end of file From e9c269ec76b787a736ba9db4ff52120d6a0b5ed1 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 6 Jun 2024 16:07:44 -0400 Subject: [PATCH 02/63] initial file movement --- dex/models/_projects/balancer/_schema.yml | 261 ++++++++++++++++++ .../balancer}/labels_balancer_v2_pools.sql | 0 .../labels_balancer_v2_pools_arbitrum.sql | 0 .../labels_balancer_v2_pools_avalanche_c.sql | 0 .../labels_balancer_v2_pools_base.sql | 0 .../labels_balancer_v2_pools_ethereum.sql | 0 .../labels_balancer_v2_pools_gnosis.sql | 0 .../labels_balancer_v2_pools_optimism.sql | 0 .../labels_balancer_v2_pools_polygon.sql | 0 .../labels_balancer_v2_pools_zkevm.sql | 0 .../oneinch/_meta/oneinch_blockchains.sql | 0 .../oneinch/_meta/oneinch_fusion_accounts.sql | 0 .../_meta/oneinch_fusion_executors.sql | 0 .../oneinch/_meta/oneinch_fusion_farms.sql | 0 .../_meta/oneinch_fusion_resolvers.sql | 0 .../_meta/oneinch_mapped_contracts.sql | 0 .../oneinch/_meta/oneinch_mapped_methods.sql | 0 .../oneinch_arbitrum_mapped_contracts.sql | 0 .../_meta/oneinch_arbitrum_mapped_methods.sql | 0 .../oneinch/arbitrum/oneinch_arbitrum_ar.sql | 0 .../oneinch_arbitrum_call_transfers.sql | 0 .../oneinch/arbitrum/oneinch_arbitrum_lop.sql | 0 .../oneinch_arbitrum_project_orders.sql | 0 .../oneinch_arbitrum_project_swaps.sql | 0 .../arbitrum/oneinch_arbitrum_schema.yml | 0 .../oneinch_avalanche_c_mapped_contracts.sql | 0 .../oneinch_avalanche_c_mapped_methods.sql | 0 .../avalanche_c/oneinch_avalanche_c_ar.sql | 0 .../oneinch_avalanche_c_call_transfers.sql | 0 .../avalanche_c/oneinch_avalanche_c_lop.sql | 0 .../oneinch_avalanche_c_project_orders.sql | 0 .../oneinch_avalanche_c_project_swaps.sql | 0 .../oneinch_avalanche_c_schema.yml | 0 .../_meta/oneinch_base_mapped_contracts.sql | 0 .../_meta/oneinch_base_mapped_methods.sql | 0 .../oneinch/base/oneinch_base_ar.sql | 0 .../base/oneinch_base_call_transfers.sql | 0 .../oneinch/base/oneinch_base_lop.sql | 0 .../base/oneinch_base_project_orders.sql | 0 .../base/oneinch_base_project_swaps.sql | 0 .../oneinch/base/oneinch_base_schema.yml | 0 .../_meta/oneinch_bnb_mapped_contracts.sql | 0 .../bnb/_meta/oneinch_bnb_mapped_methods.sql | 0 .../_projects}/oneinch/bnb/oneinch_bnb_ar.sql | 0 .../bnb/oneinch_bnb_call_transfers.sql | 0 .../oneinch/bnb/oneinch_bnb_lop.sql | 0 .../bnb/oneinch_bnb_project_orders.sql | 0 .../oneinch/bnb/oneinch_bnb_project_swaps.sql | 0 .../oneinch/bnb/oneinch_bnb_schema.yml | 0 .../oneinch_ethereum_mapped_contracts.sql | 0 .../_meta/oneinch_ethereum_mapped_methods.sql | 0 .../oneinch_ethereum_airdrop_claims.sql | 0 .../oneinch/ethereum/oneinch_ethereum_ar.sql | 0 .../oneinch_ethereum_call_transfers.sql | 0 .../oneinch/ethereum/oneinch_ethereum_lop.sql | 0 .../oneinch_ethereum_project_orders.sql | 0 .../oneinch_ethereum_project_swaps.sql | 0 .../ethereum/oneinch_ethereum_schema.yml | 0 .../_meta/oneinch_fantom_mapped_contracts.sql | 0 .../_meta/oneinch_fantom_mapped_methods.sql | 0 .../oneinch/fantom/oneinch_fantom_ar.sql | 0 .../fantom/oneinch_fantom_call_transfers.sql | 0 .../oneinch/fantom/oneinch_fantom_lop.sql | 0 .../fantom/oneinch_fantom_project_orders.sql | 0 .../fantom/oneinch_fantom_project_swaps.sql | 0 .../oneinch/fantom/oneinch_fantom_schema.yml | 0 .../_meta/oneinch_gnosis_mapped_contracts.sql | 0 .../_meta/oneinch_gnosis_mapped_methods.sql | 0 .../oneinch/gnosis/oneinch_gnosis_ar.sql | 0 .../gnosis/oneinch_gnosis_call_transfers.sql | 0 .../oneinch/gnosis/oneinch_gnosis_lop.sql | 0 .../gnosis/oneinch_gnosis_project_orders.sql | 0 .../gnosis/oneinch_gnosis_project_swaps.sql | 0 .../oneinch/gnosis/oneinch_gnosis_schema.yml | 0 .../models/_projects}/oneinch/oneinch_ar.sql | 0 .../_projects}/oneinch/oneinch_ar_trades.sql | 0 .../oneinch/oneinch_call_transfers.sql | 0 .../_projects}/oneinch/oneinch_calls.sql | 0 .../models/_projects}/oneinch/oneinch_lop.sql | 0 .../oneinch/oneinch_lop_own_trades.sql | 0 .../oneinch_parsed_transfers_from_calls.sql | 0 .../oneinch/oneinch_project_orders.sql | 0 .../oneinch/oneinch_project_swaps.sql | 0 .../_projects}/oneinch/oneinch_schema.yml | 0 .../_projects}/oneinch/oneinch_swaps.sql | 0 .../oneinch_optimism_mapped_contracts.sql | 0 .../_meta/oneinch_optimism_mapped_methods.sql | 0 .../oneinch/optimism/oneinch_optimism_ar.sql | 0 .../oneinch_optimism_call_transfers.sql | 0 .../oneinch/optimism/oneinch_optimism_lop.sql | 0 .../oneinch_optimism_project_orders.sql | 0 .../oneinch_optimism_project_swaps.sql | 0 .../optimism/oneinch_optimism_schema.yml | 0 .../oneinch_polygon_mapped_contracts.sql | 0 .../_meta/oneinch_polygon_mapped_methods.sql | 0 .../oneinch/polygon/oneinch_polygon_ar.sql | 0 .../oneinch_polygon_call_transfers.sql | 0 .../oneinch/polygon/oneinch_polygon_lop.sql | 0 .../oneinch_polygon_project_orders.sql | 0 .../polygon/oneinch_polygon_project_swaps.sql | 0 .../polygon/oneinch_polygon_schema.yml | 0 .../_meta/oneinch_zksync_mapped_contracts.sql | 0 .../_meta/oneinch_zksync_mapped_methods.sql | 0 .../oneinch/zksync/oneinch_zksync_ar.sql | 0 .../zksync/oneinch_zksync_call_transfers.sql | 0 .../oneinch/zksync/oneinch_zksync_lop.sql | 0 .../zksync/oneinch_zksync_project_orders.sql | 0 .../zksync/oneinch_zksync_project_swaps.sql | 0 .../oneinch/zksync/oneinch_zksync_schema.yml | 0 .../arbitrum/uniswap_arbitrum_pools.sql | 0 .../arbitrum/uniswap_arbitrum_schema.yml | 0 .../arbitrum/uniswap_arbitrum_trades.sql | 0 .../uniswap_v3_arbitrum_flashloans.sql | 0 .../arbitrum/uniswap_v3_arbitrum_trades.sql | 0 .../uniswap_avalanche_c_schema.yml | 0 .../uniswap_avalanche_c_trades.sql | 0 .../uniswap_v3_avalanche_c_trades.sql | 0 .../uniswap/base/uniswap_base_schema.yml | 0 .../uniswap/base/uniswap_base_trades.sql | 0 .../uniswap/base/uniswap_v3_base_trades.sql | 0 .../uniswap/bnb/uniswap_bnb_pools.sql | 0 .../uniswap/bnb/uniswap_bnb_schema.yml | 0 .../uniswap/bnb/uniswap_bnb_trades.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_flashloans.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 0 .../uniswap/celo/uniswap_celo_pools.sql | 0 .../uniswap/celo/uniswap_celo_schema.yml | 0 .../uniswap/celo/uniswap_celo_trades.sql | 0 .../celo/uniswap_v3_celo_flashloans.sql | 0 .../uniswap/celo/uniswap_v3_celo_trades.sql | 0 .../uniswap_ethereum_airdrop_claims.sql | 0 .../ethereum/uniswap_ethereum_pools.sql | 0 .../ethereum/uniswap_ethereum_schema.yml | 0 .../ethereum/uniswap_ethereum_trades.sql | 0 .../ethereum/uniswap_v1_ethereum_trades.sql | 0 .../ethereum/uniswap_v2_ethereum_trades.sql | 0 .../uniswap_v3_ethereum_flashloans.sql | 0 .../uniswap_v3_ethereum_proposals.sql | 0 .../ethereum/uniswap_v3_ethereum_trades.sql | 0 .../ethereum/uniswap_v3_ethereum_votes.sql | 0 .../uniswap_optimism_ovm1_pool_mapping.sql | 0 .../optimism/uniswap_optimism_pools.sql | 0 .../optimism/uniswap_optimism_schema.yml | 0 .../optimism/uniswap_optimism_trades.sql | 0 .../uniswap_v3_optimism_flashloans.sql | 0 .../optimism/uniswap_v3_optimism_trades.sql | 0 .../uniswap/polygon/uniswap_polygon_pools.sql | 0 .../polygon/uniswap_polygon_schema.yml | 0 .../polygon/uniswap_polygon_trades.sql | 0 .../polygon/uniswap_v3_polygon_flashloans.sql | 0 .../polygon/uniswap_v3_polygon_trades.sql | 0 .../_projects}/uniswap/uniswap_flashloans.sql | 0 .../uniswap_liquidity_manager_pools.sql | 0 .../_projects}/uniswap/uniswap_pools.sql | 0 .../_projects}/uniswap/uniswap_schema.yml | 0 .../arbitrum/zeroex_arbitrum_api_fills.sql | 0 .../zeroex_arbitrum_api_fills_deduped.sql | 0 .../arbitrum/zeroex_arbitrum_native_fills.sql | 0 .../arbitrum/zeroex_arbitrum_schema.yml | 0 .../zeroex_avalanche_c_api_fills.sql | 0 .../zeroex_avalanche_c_api_fills_deduped.sql | 0 .../avalanche_c/zeroex_avalanche_c_schema.yml | 0 .../zeroex/base/zeroex_base_api_fills.sql | 0 .../base/zeroex_base_api_fills_deduped.sql | 0 .../base/zeroex_base_api_fills_schema.yml | 0 .../zeroex/bnb/zeroex_bnb_api_fills.sql | 0 .../bnb/zeroex_bnb_api_fills_deduped.sql | 0 .../zeroex/bnb/zeroex_bnb_native_fills.sql | 0 .../zeroex/bnb/zeroex_bnb_schema.yml | 0 .../zeroex/celo/zeroex_celo_api_fills.sql | 0 .../celo/zeroex_celo_api_fills_deduped.sql | 0 .../zeroex/celo/zeroex_celo_schema.yml | 0 .../ethereum/zeroex_ethereum_api_fills.sql | 0 .../zeroex_ethereum_api_fills_deduped.sql | 0 .../ethereum/zeroex_ethereum_native_fills.sql | 0 .../ethereum/zeroex_ethereum_nft_fills.sql | 0 .../ethereum/zeroex_ethereum_schema.yml | 0 .../zeroex/fantom/zeroex_fantom_api_fills.sql | 0 .../zeroex_fantom_api_fills_deduped.sql | 0 .../zeroex/fantom/zeroex_fantom_schema.yml | 0 .../optimism/zeroex_optimism_api_fills.sql | 0 .../zeroex_optimism_api_fills_deduped.sql | 0 .../optimism/zeroex_optimism_native_fills.sql | 0 .../optimism/zeroex_optimism_schema.yml | 0 .../polygon/zeroex_polygon_api_fills.sql | 0 .../zeroex_polygon_api_fills_deduped.sql | 0 .../polygon/zeroex_polygon_native_fills.sql | 0 .../polygon/zeroex_polygon_nft_fills.sql | 0 .../zeroex/polygon/zeroex_polygon_schema.yml | 0 .../_projects}/zeroex/zeroex_api_fills.sql | 0 .../zeroex/zeroex_api_fills_deduped.sql | 0 .../_projects}/zeroex/zeroex_native_fills.sql | 0 .../zeroex/zeroex_native_trades.sql | 0 .../_projects}/zeroex/zeroex_schema.yml | 0 .../_projects}/zeroex/zeroex_trades.sql | 0 .../dex => dex/models}/trades/_schema.yml | 0 .../models}/trades/arbitrum/_schema.yml | 0 .../arbitrum/dex_arbitrum_base_trades.sql | 0 .../airswap_arbitrum_base_trades.sql | 0 .../apeswap_arbitrum_base_trades.sql | 0 .../arbswap_arbitrum_base_trades.sql | 0 .../platforms/auragi_arbitrum_base_trades.sql | 0 .../balancer_v2_arbitrum_base_trades.sql | 0 .../camelot_v2_arbitrum_base_trades.sql | 0 .../camelot_v3_arbitrum_base_trades.sql | 0 .../chronos_arbitrum_base_trades.sql | 0 .../clipper_arbitrum_base_trades.sql | 0 .../platforms/dodo_arbitrum_base_trades.sql | 0 .../fraxswap_arbitrum_base_trades.sql | 0 .../platforms/gmx_arbitrum_base_trades.sql | 0 .../platforms/gridex_arbitrum_base_trades.sql | 0 .../integral_arbitrum_base_trades.sql | 0 .../kyberswap_arbitrum_base_trades.sql | 0 .../oasisswap_arbitrum_base_trades.sql | 0 .../pancakeswap_v2_arbitrum_base_trades.sql | 0 .../pancakeswap_v3_arbitrum_base_trades.sql | 0 .../platforms/ramses_arbitrum_base_trades.sql | 0 .../rubicon_arbitrum_base_trades.sql | 0 .../sharkyswap_arbitrum_base_trades.sql | 0 .../smardex_arbitrum_base_trades.sql | 0 .../solidlizard_arbitrum_base_trades.sql | 0 .../sterling_finance_arbitrum_base_trades.sql | 0 .../sushiswap_v1_arbitrum_base_trades.sql | 0 .../sushiswap_v2_arbitrum_base_trades.sql | 0 .../swaap_v2_arbitrum_base_trades.sql | 0 .../trader_joe_v2_1_arbitrum_base_trades.sql | 0 .../trader_joe_v2_arbitrum_base_trades.sql | 0 .../uniswap_v2_arbitrum_base_trades.sql | 0 .../uniswap_v3_arbitrum_base_trades.sql | 0 .../wombat_exchange_arbitrum_base_trades.sql | 0 .../platforms/woofi_arbitrum_base_trades.sql | 0 .../xchange_arbitrum_base_trades.sql | 0 .../platforms/zigzag_arbitrum_base_trades.sql | 0 .../zyberswap_arbitrum_base_trades.sql | 0 .../models}/trades/avalanche_c/_schema.yml | 0 .../dex_avalanche_c_base_trades.sql | 0 .../airswap_avalanche_c_base_trades.sql | 0 .../balancer_v2_avalanche_c_base_trades.sql | 0 .../curvefi_avalanche_c_base_trades.sql | 0 .../fraxswap_avalanche_c_base_trades.sql | 0 .../glacier_v2_avalanche_c_base_trades.sql | 0 .../glacier_v3_avalanche_c_base_trades.sql | 0 .../platforms/gmx_avalanche_c_base_trades.sql | 0 .../hashflow_avalanche_c_base_trades.sql | 0 .../kyberswap_avalanche_c_base_trades.sql | 0 .../openocean_avalanche_c_base_trades.sql | 0 .../pharaoh_avalanche_c_base_trades.sql | 0 ...atypus_finance_avalanche_c_base_trades.sql | 0 .../sushiswap_v1_avalanche_c_base_trades.sql | 0 .../sushiswap_v2_avalanche_c_base_trades.sql | 0 .../trader_joe_v1_avalanche_c_base_trades.sql | 0 ...rader_joe_v2_1_avalanche_c_base_trades.sql | 0 .../trader_joe_v2_avalanche_c_base_trades.sql | 0 .../uniswap_v2_avalanche_c_base_trades.sql | 0 .../uniswap_v3_avalanche_c_base_trades.sql | 0 .../woofi_avalanche_c_base_trades.sql | 0 .../models}/trades/base/_schema.yml | 0 .../trades/base/dex_base_base_trades.sql | 0 .../platforms/aerodrome_base_base_trades.sql | 0 .../platforms/alienbase_base_base_trades.sql | 0 .../platforms/autotronic_base_base_trades.sql | 0 .../balancer_v2_base_base_trades.sql | 0 .../platforms/baseswap_base_base_trades.sql | 0 .../baseswap_basex_base_base_trades.sql | 0 .../baso_finance_base_base_trades.sql | 0 .../citadelswap_base_base_trades.sql | 0 .../platforms/clipper_base_base_trades.sql | 0 .../crescentswap_base_base_trades.sql | 0 .../platforms/dackieswap_base_base_trades.sql | 0 .../platforms/derpdex_base_base_trades.sql | 0 .../base/platforms/dodo_base_base_trades.sql | 0 .../elk_finance_base_base_trades.sql | 0 .../platforms/energon_base_base_trades.sql | 0 .../platforms/gridex_base_base_trades.sql | 0 .../platforms/horizondex_base_base_trades.sql | 0 .../icecreamswap_base_base_trades.sql | 0 .../platforms/kyberswap_base_base_trades.sql | 0 .../leetswap_v2_base_base_trades.sql | 0 .../platforms/maverick_base_base_trades.sql | 0 .../platforms/moonbase_base_base_trades.sql | 0 .../platforms/oasisswap_base_base_trades.sql | 0 .../platforms/openocean_base_base_trades.sql | 0 .../pancakeswap_v2_base_base_trades.sql | 0 .../pancakeswap_v3_base_base_trades.sql | 0 .../plantbaseswap_base_base_trades.sql | 0 .../platforms/rocketswap_base_base_trades.sql | 0 .../platforms/rubicon_base_base_trades.sql | 0 .../base/platforms/scale_base_base_trades.sql | 0 .../platforms/sharkswap_base_base_trades.sql | 0 .../platforms/smardex_base_base_trades.sql | 0 .../base/platforms/sobal_base_base_trades.sql | 0 .../platforms/solidly_v3_base_base_trades.sql | 0 .../platforms/soswap_base_base_trades.sql | 0 .../sushiswap_v1_base_base_trades.sql | 0 .../sushiswap_v2_base_base_trades.sql | 0 .../platforms/swapbased_base_base_trades.sql | 0 .../platforms/synthswap_base_base_trades.sql | 0 .../throne_exchange_v2_base_base_trades.sql | 0 .../throne_exchange_v3_base_base_trades.sql | 0 .../base/platforms/torus_base_base_trades.sql | 0 .../platforms/uniswap_v2_base_base_trades.sql | 0 .../platforms/uniswap_v3_base_base_trades.sql | 0 .../velocimeter_v2_base_base_trades.sql | 0 .../platforms/voltswap_base_base_trades.sql | 0 .../wombat_exchange_base_base_trades.sql | 0 .../base/platforms/woofi_base_base_trades.sql | 0 .../dex => dex/models}/trades/bnb/_schema.yml | 0 .../trades/bnb/dex_bnb_base_trades.sql | 0 .../bnb/platforms/airswap_bnb_base_trades.sql | 0 .../bnb/platforms/apeswap_bnb_base_trades.sql | 0 .../platforms/babyswap_bnb_base_trades.sql | 0 .../platforms/biswap_v2_bnb_base_trades.sql | 0 .../platforms/biswap_v3_bnb_base_trades.sql | 0 .../bnb/platforms/dodo_bnb_base_trades.sql | 0 .../ellipsis_finance_bnb_base_trades.sql | 0 .../platforms/fraxswap_bnb_base_trades.sql | 0 .../platforms/hashflow_bnb_base_trades.sql | 0 .../bnb/platforms/iziswap_bnb_base_trades.sql | 0 .../platforms/kyberswap_bnb_base_trades.sql | 0 .../platforms/maverick_bnb_base_trades.sql | 0 .../bnb/platforms/mdex_bnb_base_trades.sql | 0 .../platforms/nomiswap_bnb_base_trades.sql | 0 .../onepunchswap_bnb_base_trades.sql | 0 .../pancakeswap_v2_bnb_base_trades.sql | 0 .../pancakeswap_v3_bnb_base_trades.sql | 0 .../sushiswap_v1_bnb_base_trades.sql | 0 .../sushiswap_v2_bnb_base_trades.sql | 0 .../bnb/platforms/thena_bnb_base_trades.sql | 0 .../trader_joe_v2_1_bnb_base_trades.sql | 0 .../trader_joe_v2_bnb_base_trades.sql | 0 .../platforms/uniswap_v2_bnb_base_trades.sql | 0 .../platforms/uniswap_v3_bnb_base_trades.sql | 0 .../bnb/platforms/wombat_bnb_base_trades.sql | 0 .../bnb/platforms/woofi_bnb_base_trades.sql | 0 .../bnb/platforms/xchange_bnb_base_trades.sql | 0 .../models}/trades/celo/_schema.yml | 0 .../trades/celo/dex_celo_base_trades.sql | 0 .../platforms/carbonhood_celo_base_trades.sql | 0 .../platforms/curvefi_celo_base_trades.sql | 0 .../platforms/mento_v1_celo_base_trades.sql | 0 .../platforms/mento_v2_celo_base_trades.sql | 0 .../platforms/sushiswap_celo_base_trades.sql | 0 .../platforms/ubeswap_celo_base_trades.sql | 0 .../platforms/uniswap_v3_celo_base_trades.sql | 0 .../models}/trades/dex_base_trades.sql | 0 .../dex => dex/models}/trades/dex_trades.sql | 0 .../models}/trades/ethereum/_schema.yml | 0 .../ethereum/dex_ethereum_base_trades.sql | 0 .../airswap_ethereum_base_trades.sql | 0 .../apeswap_ethereum_base_trades.sql | 0 .../balancer_v1_ethereum_base_trades.sql | 0 .../balancer_v2_ethereum_base_trades.sql | 0 .../platforms/bancor_ethereum_base_trades.sql | 0 .../carbon_defi_ethereum_base_trades.sql | 0 .../clipper_ethereum_base_trades.sql | 0 .../curvefi_ethereum_base_trades.sql | 0 .../defiswap_ethereum_base_trades.sql | 0 .../platforms/dfx_ethereum_base_trades.sql | 0 .../platforms/dodo_ethereum_base_trades.sql | 0 .../fraxswap_ethereum_base_trades.sql | 0 .../integral_ethereum_base_trades.sql | 0 .../kyberswap_ethereum_base_trades.sql | 0 .../platforms/mauve_ethereum_base_trades.sql | 0 .../maverick_ethereum_base_trades.sql | 0 .../mstable_ethereum_base_trades.sql | 0 .../pancakeswap_v2_ethereum_base_trades.sql | 0 .../pancakeswap_v3_ethereum_base_trades.sql | 0 .../shibaswap_v1_ethereum_base_trades.sql | 0 .../sushiswap_v1_ethereum_base_trades.sql | 0 .../sushiswap_v2_ethereum_base_trades.sql | 0 .../platforms/swapr_ethereum_base_trades.sql | 0 .../uniswap_v1_ethereum_base_trades.sql | 0 .../uniswap_v2_ethereum_base_trades.sql | 0 .../uniswap_v3_ethereum_base_trades.sql | 0 .../verse_dex_ethereum_base_trades.sql | 0 .../xchange_ethereum_base_trades.sql | 0 .../models}/trades/fantom/_schema.yml | 0 .../trades/fantom/dex_fantom_base_trades.sql | 0 .../beethoven_x_fantom_base_trades.sql | 0 .../platforms/curvefi_fantom_base_trades.sql | 0 .../equalizer_fantom_base_trades.sql | 0 .../openocean_fantom_base_trades.sql | 0 .../spartacus_exchange_fantom_base_trades.sql | 0 .../spiritswap_fantom_base_trades.sql | 0 .../spookyswap_fantom_base_trades.sql | 0 .../sushiswap_v1_fantom_base_trades.sql | 0 .../sushiswap_v2_fantom_base_trades.sql | 0 .../platforms/wigoswap_fantom_base_trades.sql | 0 .../models}/trades/gnosis/_schema.yml | 0 .../trades/gnosis/dex_gnosis_base_trades.sql | 0 .../balancer_v2_gnosis_base_trades.sql | 0 .../honeyswap_v2_gnosis_base_trades.sql | 0 .../sushiswap_v1_gnosis_base_trades.sql | 0 .../sushiswap_v2_gnosis_base_trades.sql | 0 .../models}/trades/linea/_schema.yml | 0 .../trades/linea/dex_linea_base_trades.sql | 0 .../platforms/echodex_linea_base_trades.sql | 0 .../platforms/lynex_linea_base_trades.sql | 0 .../platforms/nile_linea_base_trades.sql | 0 .../platforms/secta_linea_base_trades.sql | 0 .../sushiswap_v2_linea_base_trades.sql | 0 .../models}/trades/optimism/_schema.yml | 0 .../optimism/dex_optimism_base_trades.sql | 0 .../balancer_v2_optimism_base_trades.sql | 0 .../chainhop_optimism_base_trades.sql | 0 .../clipper_optimism_base_trades.sql | 0 .../curvefi_optimism_base_trades.sql | 0 .../dackieswap_v2_optimism_base_trades.sql | 0 .../dackieswap_v3_optimism_base_trades.sql | 0 .../platforms/dodo_optimism_base_trades.sql | 0 .../elk_finance_optimism_base_trades.sql | 0 .../fraxswap_optimism_base_trades.sql | 0 .../platforms/gridex_optimism_base_trades.sql | 0 .../hashflow_optimism_base_trades.sql | 0 .../kyberswap_optimism_base_trades.sql | 0 .../mummy_finance_optimism_base_trades.sql | 0 .../openocean_optimism_base_trades.sql | 0 .../openxswap_optimism_base_trades.sql | 0 .../opx_finance_optimism_base_trades.sql | 0 .../rubicon_optimism_base_trades.sql | 0 .../solidly_v3_optimism_base_trades.sql | 0 .../sushiswap_v1_optimism_base_trades.sql | 0 .../sushiswap_v2_optimism_base_trades.sql | 0 .../synthetix_optimism_base_trades.sql | 0 .../uniswap_v2_optimism_base_trades.sql | 0 .../uniswap_v3_optimism_base_trades.sql | 0 .../velodrome_optimism_base_trades.sql | 0 .../wardenswap_optimism_base_trades.sql | 0 .../wombat_exchange_optimism_base_trades.sql | 0 .../platforms/woofi_optimism_base_trades.sql | 0 .../zipswap_optimism_base_trades.sql | 0 .../models}/trades/polygon/_schema.yml | 0 .../polygon/dex_polygon_base_trades.sql | 0 .../platforms/airswap_polygon_base_trades.sql | 0 .../platforms/apeswap_polygon_base_trades.sql | 0 .../balancer_v2_polygon_base_trades.sql | 0 .../platforms/clipper_polygon_base_trades.sql | 0 .../platforms/dodo_polygon_base_trades.sql | 0 .../platforms/dooar_polygon_base_trades.sql | 0 .../fraxswap_polygon_base_trades.sql | 0 .../honeyswap_v2_polygon_base_trades.sql | 0 .../kyberswap_polygon_base_trades.sql | 0 .../quickswap_v2_polygon_base_trades.sql | 0 .../quickswap_v3_polygon_base_trades.sql | 0 .../sushiswap_v1_polygon_base_trades.sql | 0 .../sushiswap_v2_polygon_base_trades.sql | 0 .../uniswap_v2_polygon_base_trades.sql | 0 .../uniswap_v3_polygon_base_trades.sql | 0 .../platforms/xchange_polygon_base_trades.sql | 0 .../dex => dex/models/trades}/readme.md | 0 .../models}/trades/scroll/_schema.yml | 0 .../trades/scroll/dex_scroll_base_trades.sql | 0 .../platforms/nuri_scroll_base_trades.sql | 0 .../scrollswap_scroll_base_trades.sql | 0 .../sushiswap_v2_scroll_base_trades.sql | 0 .../syncswap_v1_scroll_base_trades.sql | 0 .../uniswap_v3_scroll_base_trades.sql | 0 .../platforms/zebra_scroll_base_trades.sql | 0 .../models}/trades/zkevm/_schema.yml | 0 .../trades/zkevm/dex_zkevm_base_trades.sql | 0 .../balancer_v2_zkevm_base_trades.sql | 0 .../pancakeswap_v2_zkevm_base_trades.sql | 0 .../pancakeswap_v3_zkevm_base_trades.sql | 0 .../models}/trades/zksync/_schema.yml | 0 .../trades/zksync/dex_zksync_base_trades.sql | 0 .../derpdex_v1_zksync_base_trades.sql | 0 .../dracula_finance_zksync_base_trades.sql | 0 .../ezkalibur_v2_zksync_base_trades.sql | 0 .../platforms/gemswap_zksync_base_trades.sql | 0 .../iziswap_v1_zksync_base_trades.sql | 0 .../iziswap_v2_zksync_base_trades.sql | 0 .../platforms/maverick_zksync_base_trades.sql | 0 .../platforms/mute_zksync_base_trades.sql | 0 .../pancakeswap_v2_zksync_base_trades.sql | 0 .../pancakeswap_v3_zksync_base_trades.sql | 0 .../spacefi_v1_zksync_base_trades.sql | 0 .../syncswap_v1_zksync_base_trades.sql | 0 .../syncswap_v2_zksync_base_trades.sql | 0 .../uniswap_v3_zksync_base_trades.sql | 0 .../velocore_v0_zksync_base_trades.sql | 0 .../velocore_v1_zksync_base_trades.sql | 0 .../velocore_v2_zksync_base_trades.sql | 0 .../vesync_v1_zksync_base_trades.sql | 0 .../platforms/wagmi_v1_zksync_base_trades.sql | 0 .../zkswap_finance_zksync_base_trades.sql | 0 .../models}/trades/zora/_schema.yml | 0 .../trades/zora/dex_zora_base_trades.sql | 0 .../platforms/uniswap_v2_zora_base_trades.sql | 0 .../platforms/uniswap_v3_zora_base_trades.sql | 0 .../balancer_v2/labels_balancer_v2_schema.yml | 249 +---------------- 490 files changed, 266 insertions(+), 244 deletions(-) create mode 100644 dex/models/_projects/balancer/_schema.yml rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_arbitrum.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_avalanche_c.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_base.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_ethereum.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_gnosis.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_optimism.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_polygon.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_zkevm.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_blockchains.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_accounts.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_executors.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_farms.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_resolvers.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/base/_meta/oneinch_base_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/base/_meta/oneinch_base_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/oneinch_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_ar_trades.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_calls.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_lop_own_trades.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_parsed_transfers_from_calls.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/oneinch_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_base_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_base_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_v3_base_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_v3_bnb_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_v3_bnb_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_v3_celo_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_v3_celo_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v1_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v2_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_votes.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_v3_optimism_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_v3_optimism_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_v3_polygon_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_v3_polygon_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_liquidity_manager_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_nft_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_nft_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/zeroex_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_native_trades.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/zeroex_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/dex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/dex_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/base/dex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/aerodrome_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/alienbase_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/autotronic_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/balancer_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baseswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baseswap_basex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baso_finance_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/citadelswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/clipper_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/crescentswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/dackieswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/derpdex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/dodo_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/elk_finance_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/energon_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/gridex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/horizondex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/icecreamswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/kyberswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/leetswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/maverick_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/moonbase_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/oasisswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/openocean_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/pancakeswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/pancakeswap_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/plantbaseswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/rocketswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/rubicon_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/scale_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sharkswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/smardex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sobal_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/solidly_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/soswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sushiswap_v1_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sushiswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/swapbased_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/synthswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/throne_exchange_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/throne_exchange_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/torus_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/uniswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/uniswap_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/velocimeter_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/voltswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/wombat_exchange_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/woofi_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/bnb/dex_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/airswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/apeswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/babyswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/dodo_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/fraxswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/hashflow_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/iziswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/kyberswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/maverick_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/mdex_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/nomiswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/thena_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/wombat_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/woofi_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/xchange_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/celo/dex_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/carbonhood_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/curvefi_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/mento_v1_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/mento_v2_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/sushiswap_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/ubeswap_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/uniswap_v3_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/dex_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/dex_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/dex_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/airswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/bancor_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/clipper_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/dfx_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/dodo_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/integral_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/mauve_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/maverick_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/mstable_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/swapr_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/xchange_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/fantom/dex_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/curvefi_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/equalizer_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/openocean_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spiritswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spookyswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/wigoswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/dex_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/linea/dex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/echodex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/lynex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/nile_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/secta_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/optimism/dex_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/chainhop_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/clipper_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/curvefi_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dodo_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/elk_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/fraxswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/gridex_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/hashflow_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/kyberswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/openocean_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/openxswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/opx_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/rubicon_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/synthetix_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/velodrome_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/wardenswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/woofi_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/zipswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/polygon/dex_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/airswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/apeswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/clipper_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/dodo_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/dooar_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/fraxswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/kyberswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/xchange_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models/trades}/readme.md (100%) rename {models/_sector/dex => dex/models}/trades/scroll/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/scroll/dex_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/nuri_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/scrollswap_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/zebra_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/dex_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zksync/dex_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/gemswap_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/maverick_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/mute_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zora/dex_zora_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/platforms/uniswap_v2_zora_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/platforms/uniswap_v3_zora_base_trades.sql (100%) diff --git a/dex/models/_projects/balancer/_schema.yml b/dex/models/_projects/balancer/_schema.yml new file mode 100644 index 00000000000..8ca394c9946 --- /dev/null +++ b/dex/models/_projects/balancer/_schema.yml @@ -0,0 +1,261 @@ +version: 2 + +models: + - name: labels_balancer_v2_pools_ethereum + meta: + blockchain: ethereum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Ethereum. ' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + - name + - category + - model_name + - blockchain + columns: + - &blockchain + name: blockchain + description: 'Blockchain' + - &address + name: address + description: 'Address of liquidity pool' + - &name + name: name + description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + - &category + name: category + description: 'Label category' + - &contributor + name: contributor + description: 'Wizard(s) contributing to labels' + - &source + name: source + description: 'How were labels generated (could be static or query)' + - &created_at + name: created_at + description: 'When were labels created' + - &updated_at + name: updated_at + description: "When were labels updated for the last time" + - &model_name + name: model_name + description: "Name of the label model sourced from" + - &label_type + name: label_type + description: "Type of label (see labels overall readme)" + + - name: labels_balancer_v2_pools_polygon + meta: + blockchain: polygon + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'polygon', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Polygon.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_gnosis + meta: + blockchain: gnosis + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'gnosis', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Gnosis.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_avalanche_c + meta: + blockchain: avalanche_c + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'avalanche_c', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Avalanche Chain.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_base + meta: + blockchain: base + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'base', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Base Chain.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_arbitrum + meta: + blockchain: arbitrum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'arbitrum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Arbitrum.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_optimism + meta: + blockchain: optimism + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'optimism', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Optimism.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_zkevm + meta: + blockchain: zkevm + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'zkevm', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Polygon zkevm.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + + - name: labels_balancer_v2_pools + meta: + blockchain: ethereum, polygon, arbitrum, optimism, gnosis, base, avalanche_c, zkevm + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: + [ + 'labels', + 'ethereum', + 'polygon', + 'arbitrum', + 'optimism', + 'avalanche_c', + 'base', + 'gnosis', + 'zkevm', + 'balancer', + 'pools', + ] + description: 'Balancer V2 liquidity pools created across blockchains.' + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type \ No newline at end of file diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_arbitrum.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_arbitrum.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_avalanche_c.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_avalanche_c.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_base.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_base.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_ethereum.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_ethereum.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_gnosis.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_gnosis.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_optimism.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_optimism.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_polygon.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_polygon.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_zkevm.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_zkevm.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql diff --git a/models/oneinch/_meta/oneinch_blockchains.sql b/dex/models/_projects/oneinch/_meta/oneinch_blockchains.sql similarity index 100% rename from models/oneinch/_meta/oneinch_blockchains.sql rename to dex/models/_projects/oneinch/_meta/oneinch_blockchains.sql diff --git a/models/oneinch/_meta/oneinch_fusion_accounts.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_accounts.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_accounts.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_accounts.sql diff --git a/models/oneinch/_meta/oneinch_fusion_executors.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_executors.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_executors.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_executors.sql diff --git a/models/oneinch/_meta/oneinch_fusion_farms.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_farms.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_farms.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_farms.sql diff --git a/models/oneinch/_meta/oneinch_fusion_resolvers.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_resolvers.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_resolvers.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_resolvers.sql diff --git a/models/oneinch/_meta/oneinch_mapped_contracts.sql b/dex/models/_projects/oneinch/_meta/oneinch_mapped_contracts.sql similarity index 100% rename from models/oneinch/_meta/oneinch_mapped_contracts.sql rename to dex/models/_projects/oneinch/_meta/oneinch_mapped_contracts.sql diff --git a/models/oneinch/_meta/oneinch_mapped_methods.sql b/dex/models/_projects/oneinch/_meta/oneinch_mapped_methods.sql similarity index 100% rename from models/oneinch/_meta/oneinch_mapped_methods.sql rename to dex/models/_projects/oneinch/_meta/oneinch_mapped_methods.sql diff --git a/models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql b/dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql similarity index 100% rename from models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql rename to dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql diff --git a/models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql b/dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql similarity index 100% rename from models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql rename to dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_ar.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_ar.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_ar.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_ar.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_lop.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_lop.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_lop.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_lop.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_schema.yml b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_schema.yml rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml diff --git a/models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql b/dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql similarity index 100% rename from models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql rename to dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql diff --git a/models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql b/dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql similarity index 100% rename from models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql rename to dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml diff --git a/models/oneinch/base/_meta/oneinch_base_mapped_contracts.sql b/dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_contracts.sql similarity index 100% rename from models/oneinch/base/_meta/oneinch_base_mapped_contracts.sql rename to dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_contracts.sql diff --git a/models/oneinch/base/_meta/oneinch_base_mapped_methods.sql b/dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_methods.sql similarity index 100% rename from models/oneinch/base/_meta/oneinch_base_mapped_methods.sql rename to dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_methods.sql diff --git a/models/oneinch/base/oneinch_base_ar.sql b/dex/models/_projects/oneinch/base/oneinch_base_ar.sql similarity index 100% rename from models/oneinch/base/oneinch_base_ar.sql rename to dex/models/_projects/oneinch/base/oneinch_base_ar.sql diff --git a/models/oneinch/base/oneinch_base_call_transfers.sql b/dex/models/_projects/oneinch/base/oneinch_base_call_transfers.sql similarity index 100% rename from models/oneinch/base/oneinch_base_call_transfers.sql rename to dex/models/_projects/oneinch/base/oneinch_base_call_transfers.sql diff --git a/models/oneinch/base/oneinch_base_lop.sql b/dex/models/_projects/oneinch/base/oneinch_base_lop.sql similarity index 100% rename from models/oneinch/base/oneinch_base_lop.sql rename to dex/models/_projects/oneinch/base/oneinch_base_lop.sql diff --git a/models/oneinch/base/oneinch_base_project_orders.sql b/dex/models/_projects/oneinch/base/oneinch_base_project_orders.sql similarity index 100% rename from models/oneinch/base/oneinch_base_project_orders.sql rename to dex/models/_projects/oneinch/base/oneinch_base_project_orders.sql diff --git a/models/oneinch/base/oneinch_base_project_swaps.sql b/dex/models/_projects/oneinch/base/oneinch_base_project_swaps.sql similarity index 100% rename from models/oneinch/base/oneinch_base_project_swaps.sql rename to dex/models/_projects/oneinch/base/oneinch_base_project_swaps.sql diff --git a/models/oneinch/base/oneinch_base_schema.yml b/dex/models/_projects/oneinch/base/oneinch_base_schema.yml similarity index 100% rename from models/oneinch/base/oneinch_base_schema.yml rename to dex/models/_projects/oneinch/base/oneinch_base_schema.yml diff --git a/models/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql b/dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql similarity index 100% rename from models/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql rename to dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql diff --git a/models/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql b/dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql similarity index 100% rename from models/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql rename to dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql diff --git a/models/oneinch/bnb/oneinch_bnb_ar.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_ar.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_ar.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_ar.sql diff --git a/models/oneinch/bnb/oneinch_bnb_call_transfers.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_call_transfers.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_call_transfers.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_call_transfers.sql diff --git a/models/oneinch/bnb/oneinch_bnb_lop.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_lop.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_lop.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_lop.sql diff --git a/models/oneinch/bnb/oneinch_bnb_project_orders.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_orders.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_project_orders.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_project_orders.sql diff --git a/models/oneinch/bnb/oneinch_bnb_project_swaps.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_swaps.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_project_swaps.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_project_swaps.sql diff --git a/models/oneinch/bnb/oneinch_bnb_schema.yml b/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_schema.yml rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml diff --git a/models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql b/dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql similarity index 100% rename from models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql rename to dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql diff --git a/models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql b/dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql similarity index 100% rename from models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql rename to dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_ar.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_ar.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_ar.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_ar.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_call_transfers.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_call_transfers.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_call_transfers.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_call_transfers.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_lop.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_lop.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_lop.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_lop.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_project_orders.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_orders.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_project_orders.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_orders.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_project_swaps.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_swaps.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_project_swaps.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_swaps.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_schema.yml b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_schema.yml rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml diff --git a/models/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql b/dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql similarity index 100% rename from models/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql rename to dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql diff --git a/models/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql b/dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql similarity index 100% rename from models/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql rename to dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql diff --git a/models/oneinch/fantom/oneinch_fantom_ar.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_ar.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_ar.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_ar.sql diff --git a/models/oneinch/fantom/oneinch_fantom_call_transfers.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_call_transfers.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_call_transfers.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_call_transfers.sql diff --git a/models/oneinch/fantom/oneinch_fantom_lop.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_lop.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_lop.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_lop.sql diff --git a/models/oneinch/fantom/oneinch_fantom_project_orders.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_project_orders.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_project_orders.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_project_orders.sql diff --git a/models/oneinch/fantom/oneinch_fantom_project_swaps.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_project_swaps.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_project_swaps.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_project_swaps.sql diff --git a/models/oneinch/fantom/oneinch_fantom_schema.yml b/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_schema.yml rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml diff --git a/models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql b/dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql similarity index 100% rename from models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql rename to dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql diff --git a/models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql b/dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql similarity index 100% rename from models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql rename to dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_ar.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_ar.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_ar.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_ar.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_call_transfers.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_call_transfers.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_call_transfers.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_call_transfers.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_lop.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_lop.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_lop.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_lop.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_project_orders.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_orders.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_project_orders.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_orders.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_project_swaps.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_swaps.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_project_swaps.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_swaps.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_schema.yml b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_schema.yml rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml diff --git a/models/oneinch/oneinch_ar.sql b/dex/models/_projects/oneinch/oneinch_ar.sql similarity index 100% rename from models/oneinch/oneinch_ar.sql rename to dex/models/_projects/oneinch/oneinch_ar.sql diff --git a/models/oneinch/oneinch_ar_trades.sql b/dex/models/_projects/oneinch/oneinch_ar_trades.sql similarity index 100% rename from models/oneinch/oneinch_ar_trades.sql rename to dex/models/_projects/oneinch/oneinch_ar_trades.sql diff --git a/models/oneinch/oneinch_call_transfers.sql b/dex/models/_projects/oneinch/oneinch_call_transfers.sql similarity index 100% rename from models/oneinch/oneinch_call_transfers.sql rename to dex/models/_projects/oneinch/oneinch_call_transfers.sql diff --git a/models/oneinch/oneinch_calls.sql b/dex/models/_projects/oneinch/oneinch_calls.sql similarity index 100% rename from models/oneinch/oneinch_calls.sql rename to dex/models/_projects/oneinch/oneinch_calls.sql diff --git a/models/oneinch/oneinch_lop.sql b/dex/models/_projects/oneinch/oneinch_lop.sql similarity index 100% rename from models/oneinch/oneinch_lop.sql rename to dex/models/_projects/oneinch/oneinch_lop.sql diff --git a/models/oneinch/oneinch_lop_own_trades.sql b/dex/models/_projects/oneinch/oneinch_lop_own_trades.sql similarity index 100% rename from models/oneinch/oneinch_lop_own_trades.sql rename to dex/models/_projects/oneinch/oneinch_lop_own_trades.sql diff --git a/models/oneinch/oneinch_parsed_transfers_from_calls.sql b/dex/models/_projects/oneinch/oneinch_parsed_transfers_from_calls.sql similarity index 100% rename from models/oneinch/oneinch_parsed_transfers_from_calls.sql rename to dex/models/_projects/oneinch/oneinch_parsed_transfers_from_calls.sql diff --git a/models/oneinch/oneinch_project_orders.sql b/dex/models/_projects/oneinch/oneinch_project_orders.sql similarity index 100% rename from models/oneinch/oneinch_project_orders.sql rename to dex/models/_projects/oneinch/oneinch_project_orders.sql diff --git a/models/oneinch/oneinch_project_swaps.sql b/dex/models/_projects/oneinch/oneinch_project_swaps.sql similarity index 100% rename from models/oneinch/oneinch_project_swaps.sql rename to dex/models/_projects/oneinch/oneinch_project_swaps.sql diff --git a/models/oneinch/oneinch_schema.yml b/dex/models/_projects/oneinch/oneinch_schema.yml similarity index 100% rename from models/oneinch/oneinch_schema.yml rename to dex/models/_projects/oneinch/oneinch_schema.yml diff --git a/models/oneinch/oneinch_swaps.sql b/dex/models/_projects/oneinch/oneinch_swaps.sql similarity index 100% rename from models/oneinch/oneinch_swaps.sql rename to dex/models/_projects/oneinch/oneinch_swaps.sql diff --git a/models/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql b/dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql similarity index 100% rename from models/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql rename to dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql diff --git a/models/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql b/dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql similarity index 100% rename from models/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql rename to dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql diff --git a/models/oneinch/optimism/oneinch_optimism_ar.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_ar.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_ar.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_ar.sql diff --git a/models/oneinch/optimism/oneinch_optimism_call_transfers.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_call_transfers.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_call_transfers.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_call_transfers.sql diff --git a/models/oneinch/optimism/oneinch_optimism_lop.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_lop.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_lop.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_lop.sql diff --git a/models/oneinch/optimism/oneinch_optimism_project_orders.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_project_orders.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_project_orders.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_project_orders.sql diff --git a/models/oneinch/optimism/oneinch_optimism_project_swaps.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_project_swaps.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_project_swaps.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_project_swaps.sql diff --git a/models/oneinch/optimism/oneinch_optimism_schema.yml b/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_schema.yml rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml diff --git a/models/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql b/dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql similarity index 100% rename from models/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql rename to dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql diff --git a/models/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql b/dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql similarity index 100% rename from models/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql rename to dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql diff --git a/models/oneinch/polygon/oneinch_polygon_ar.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_ar.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_ar.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_ar.sql diff --git a/models/oneinch/polygon/oneinch_polygon_call_transfers.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_call_transfers.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_call_transfers.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_call_transfers.sql diff --git a/models/oneinch/polygon/oneinch_polygon_lop.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_lop.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_lop.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_lop.sql diff --git a/models/oneinch/polygon/oneinch_polygon_project_orders.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_project_orders.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_project_orders.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_project_orders.sql diff --git a/models/oneinch/polygon/oneinch_polygon_project_swaps.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_project_swaps.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_project_swaps.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_project_swaps.sql diff --git a/models/oneinch/polygon/oneinch_polygon_schema.yml b/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_schema.yml rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml diff --git a/models/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql b/dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql similarity index 100% rename from models/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql rename to dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql diff --git a/models/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql b/dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql similarity index 100% rename from models/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql rename to dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql diff --git a/models/oneinch/zksync/oneinch_zksync_ar.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_ar.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_ar.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_ar.sql diff --git a/models/oneinch/zksync/oneinch_zksync_call_transfers.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_call_transfers.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_call_transfers.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_call_transfers.sql diff --git a/models/oneinch/zksync/oneinch_zksync_lop.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_lop.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_lop.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_lop.sql diff --git a/models/oneinch/zksync/oneinch_zksync_project_orders.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_project_orders.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_project_orders.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_project_orders.sql diff --git a/models/oneinch/zksync/oneinch_zksync_project_swaps.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_project_swaps.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_project_swaps.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_project_swaps.sql diff --git a/models/oneinch/zksync/oneinch_zksync_schema.yml b/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_schema.yml rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_pools.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_pools.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_schema.yml rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_trades.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql diff --git a/models/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql diff --git a/models/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql diff --git a/models/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml similarity index 100% rename from models/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml rename to dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml diff --git a/models/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql similarity index 100% rename from models/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql rename to dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql diff --git a/models/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql similarity index 100% rename from models/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql rename to dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql diff --git a/models/uniswap/base/uniswap_base_schema.yml b/dex/models/_projects/uniswap/base/uniswap_base_schema.yml similarity index 100% rename from models/uniswap/base/uniswap_base_schema.yml rename to dex/models/_projects/uniswap/base/uniswap_base_schema.yml diff --git a/models/uniswap/base/uniswap_base_trades.sql b/dex/models/_projects/uniswap/base/uniswap_base_trades.sql similarity index 100% rename from models/uniswap/base/uniswap_base_trades.sql rename to dex/models/_projects/uniswap/base/uniswap_base_trades.sql diff --git a/models/uniswap/base/uniswap_v3_base_trades.sql b/dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql similarity index 100% rename from models/uniswap/base/uniswap_v3_base_trades.sql rename to dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql diff --git a/models/uniswap/bnb/uniswap_bnb_pools.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_pools.sql rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql diff --git a/models/uniswap/bnb/uniswap_bnb_schema.yml b/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_schema.yml rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml diff --git a/models/uniswap/bnb/uniswap_bnb_trades.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_trades.sql rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql diff --git a/models/uniswap/bnb/uniswap_v3_bnb_flashloans.sql b/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql similarity index 100% rename from models/uniswap/bnb/uniswap_v3_bnb_flashloans.sql rename to dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql diff --git a/models/uniswap/bnb/uniswap_v3_bnb_trades.sql b/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql similarity index 100% rename from models/uniswap/bnb/uniswap_v3_bnb_trades.sql rename to dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql diff --git a/models/uniswap/celo/uniswap_celo_pools.sql b/dex/models/_projects/uniswap/celo/uniswap_celo_pools.sql similarity index 100% rename from models/uniswap/celo/uniswap_celo_pools.sql rename to dex/models/_projects/uniswap/celo/uniswap_celo_pools.sql diff --git a/models/uniswap/celo/uniswap_celo_schema.yml b/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml similarity index 100% rename from models/uniswap/celo/uniswap_celo_schema.yml rename to dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml diff --git a/models/uniswap/celo/uniswap_celo_trades.sql b/dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql similarity index 100% rename from models/uniswap/celo/uniswap_celo_trades.sql rename to dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql diff --git a/models/uniswap/celo/uniswap_v3_celo_flashloans.sql b/dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql similarity index 100% rename from models/uniswap/celo/uniswap_v3_celo_flashloans.sql rename to dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql diff --git a/models/uniswap/celo/uniswap_v3_celo_trades.sql b/dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql similarity index 100% rename from models/uniswap/celo/uniswap_v3_celo_trades.sql rename to dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_pools.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_pools.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_pools.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_pools.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_schema.yml b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_schema.yml rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml diff --git a/models/uniswap/ethereum/uniswap_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v1_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v2_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_votes.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_votes.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql diff --git a/models/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql diff --git a/models/uniswap/optimism/uniswap_optimism_pools.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_pools.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_pools.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_pools.sql diff --git a/models/uniswap/optimism/uniswap_optimism_schema.yml b/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_schema.yml rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml diff --git a/models/uniswap/optimism/uniswap_optimism_trades.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_trades.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql diff --git a/models/uniswap/optimism/uniswap_v3_optimism_flashloans.sql b/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql similarity index 100% rename from models/uniswap/optimism/uniswap_v3_optimism_flashloans.sql rename to dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql diff --git a/models/uniswap/optimism/uniswap_v3_optimism_trades.sql b/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql similarity index 100% rename from models/uniswap/optimism/uniswap_v3_optimism_trades.sql rename to dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql diff --git a/models/uniswap/polygon/uniswap_polygon_pools.sql b/dex/models/_projects/uniswap/polygon/uniswap_polygon_pools.sql similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_pools.sql rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_pools.sql diff --git a/models/uniswap/polygon/uniswap_polygon_schema.yml b/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_schema.yml rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml diff --git a/models/uniswap/polygon/uniswap_polygon_trades.sql b/dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_trades.sql rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql diff --git a/models/uniswap/polygon/uniswap_v3_polygon_flashloans.sql b/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql similarity index 100% rename from models/uniswap/polygon/uniswap_v3_polygon_flashloans.sql rename to dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql diff --git a/models/uniswap/polygon/uniswap_v3_polygon_trades.sql b/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql similarity index 100% rename from models/uniswap/polygon/uniswap_v3_polygon_trades.sql rename to dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/models/uniswap/uniswap_flashloans.sql b/dex/models/_projects/uniswap/uniswap_flashloans.sql similarity index 100% rename from models/uniswap/uniswap_flashloans.sql rename to dex/models/_projects/uniswap/uniswap_flashloans.sql diff --git a/models/uniswap/uniswap_liquidity_manager_pools.sql b/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from models/uniswap/uniswap_liquidity_manager_pools.sql rename to dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/models/uniswap/uniswap_pools.sql b/dex/models/_projects/uniswap/uniswap_pools.sql similarity index 100% rename from models/uniswap/uniswap_pools.sql rename to dex/models/_projects/uniswap/uniswap_pools.sql diff --git a/models/uniswap/uniswap_schema.yml b/dex/models/_projects/uniswap/uniswap_schema.yml similarity index 100% rename from models/uniswap/uniswap_schema.yml rename to dex/models/_projects/uniswap/uniswap_schema.yml diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_schema.yml b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_schema.yml rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml diff --git a/models/zeroex/base/zeroex_base_api_fills.sql b/dex/models/_projects/zeroex/base/zeroex_base_api_fills.sql similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills.sql rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills.sql diff --git a/models/zeroex/base/zeroex_base_api_fills_deduped.sql b/dex/models/_projects/zeroex/base/zeroex_base_api_fills_deduped.sql similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills_deduped.sql rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills_deduped.sql diff --git a/models/zeroex/base/zeroex_base_api_fills_schema.yml b/dex/models/_projects/zeroex/base/zeroex_base_api_fills_schema.yml similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills_schema.yml rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills_schema.yml diff --git a/models/zeroex/bnb/zeroex_bnb_api_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_api_fills.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql diff --git a/models/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql diff --git a/models/zeroex/bnb/zeroex_bnb_native_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_native_fills.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql diff --git a/models/zeroex/bnb/zeroex_bnb_schema.yml b/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_schema.yml rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml diff --git a/models/zeroex/celo/zeroex_celo_api_fills.sql b/dex/models/_projects/zeroex/celo/zeroex_celo_api_fills.sql similarity index 100% rename from models/zeroex/celo/zeroex_celo_api_fills.sql rename to dex/models/_projects/zeroex/celo/zeroex_celo_api_fills.sql diff --git a/models/zeroex/celo/zeroex_celo_api_fills_deduped.sql b/dex/models/_projects/zeroex/celo/zeroex_celo_api_fills_deduped.sql similarity index 100% rename from models/zeroex/celo/zeroex_celo_api_fills_deduped.sql rename to dex/models/_projects/zeroex/celo/zeroex_celo_api_fills_deduped.sql diff --git a/models/zeroex/celo/zeroex_celo_schema.yml b/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml similarity index 100% rename from models/zeroex/celo/zeroex_celo_schema.yml rename to dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml diff --git a/models/zeroex/ethereum/zeroex_ethereum_api_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_api_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_native_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_native_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_nft_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_nft_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_schema.yml b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_schema.yml rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml diff --git a/models/zeroex/fantom/zeroex_fantom_api_fills.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_api_fills.sql rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql diff --git a/models/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql diff --git a/models/zeroex/fantom/zeroex_fantom_schema.yml b/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_schema.yml rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml diff --git a/models/zeroex/optimism/zeroex_optimism_api_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_api_fills.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills.sql diff --git a/models/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql diff --git a/models/zeroex/optimism/zeroex_optimism_native_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_native_fills.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql diff --git a/models/zeroex/optimism/zeroex_optimism_schema.yml b/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_schema.yml rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml diff --git a/models/zeroex/polygon/zeroex_polygon_api_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_api_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql diff --git a/models/zeroex/polygon/zeroex_polygon_native_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_native_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_nft_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_nft_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_schema.yml b/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_schema.yml rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml diff --git a/models/zeroex/zeroex_api_fills.sql b/dex/models/_projects/zeroex/zeroex_api_fills.sql similarity index 100% rename from models/zeroex/zeroex_api_fills.sql rename to dex/models/_projects/zeroex/zeroex_api_fills.sql diff --git a/models/zeroex/zeroex_api_fills_deduped.sql b/dex/models/_projects/zeroex/zeroex_api_fills_deduped.sql similarity index 100% rename from models/zeroex/zeroex_api_fills_deduped.sql rename to dex/models/_projects/zeroex/zeroex_api_fills_deduped.sql diff --git a/models/zeroex/zeroex_native_fills.sql b/dex/models/_projects/zeroex/zeroex_native_fills.sql similarity index 100% rename from models/zeroex/zeroex_native_fills.sql rename to dex/models/_projects/zeroex/zeroex_native_fills.sql diff --git a/models/zeroex/zeroex_native_trades.sql b/dex/models/_projects/zeroex/zeroex_native_trades.sql similarity index 100% rename from models/zeroex/zeroex_native_trades.sql rename to dex/models/_projects/zeroex/zeroex_native_trades.sql diff --git a/models/zeroex/zeroex_schema.yml b/dex/models/_projects/zeroex/zeroex_schema.yml similarity index 100% rename from models/zeroex/zeroex_schema.yml rename to dex/models/_projects/zeroex/zeroex_schema.yml diff --git a/models/zeroex/zeroex_trades.sql b/dex/models/_projects/zeroex/zeroex_trades.sql similarity index 100% rename from models/zeroex/zeroex_trades.sql rename to dex/models/_projects/zeroex/zeroex_trades.sql diff --git a/models/_sector/dex/trades/_schema.yml b/dex/models/trades/_schema.yml similarity index 100% rename from models/_sector/dex/trades/_schema.yml rename to dex/models/trades/_schema.yml diff --git a/models/_sector/dex/trades/arbitrum/_schema.yml b/dex/models/trades/arbitrum/_schema.yml similarity index 100% rename from models/_sector/dex/trades/arbitrum/_schema.yml rename to dex/models/trades/arbitrum/_schema.yml diff --git a/models/_sector/dex/trades/arbitrum/dex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/dex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/_schema.yml b/dex/models/trades/avalanche_c/_schema.yml similarity index 100% rename from models/_sector/dex/trades/avalanche_c/_schema.yml rename to dex/models/trades/avalanche_c/_schema.yml diff --git a/models/_sector/dex/trades/avalanche_c/dex_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/dex_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/base/_schema.yml b/dex/models/trades/base/_schema.yml similarity index 100% rename from models/_sector/dex/trades/base/_schema.yml rename to dex/models/trades/base/_schema.yml diff --git a/models/_sector/dex/trades/base/dex_base_base_trades.sql b/dex/models/trades/base/dex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/dex_base_base_trades.sql rename to dex/models/trades/base/dex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/aerodrome_base_base_trades.sql b/dex/models/trades/base/platforms/aerodrome_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/aerodrome_base_base_trades.sql rename to dex/models/trades/base/platforms/aerodrome_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/alienbase_base_base_trades.sql b/dex/models/trades/base/platforms/alienbase_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/alienbase_base_base_trades.sql rename to dex/models/trades/base/platforms/alienbase_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/autotronic_base_base_trades.sql b/dex/models/trades/base/platforms/autotronic_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/autotronic_base_base_trades.sql rename to dex/models/trades/base/platforms/autotronic_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/balancer_v2_base_base_trades.sql b/dex/models/trades/base/platforms/balancer_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/balancer_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/balancer_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baseswap_base_base_trades.sql b/dex/models/trades/base/platforms/baseswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baseswap_base_base_trades.sql rename to dex/models/trades/base/platforms/baseswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baseswap_basex_base_base_trades.sql b/dex/models/trades/base/platforms/baseswap_basex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baseswap_basex_base_base_trades.sql rename to dex/models/trades/base/platforms/baseswap_basex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baso_finance_base_base_trades.sql b/dex/models/trades/base/platforms/baso_finance_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baso_finance_base_base_trades.sql rename to dex/models/trades/base/platforms/baso_finance_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/citadelswap_base_base_trades.sql b/dex/models/trades/base/platforms/citadelswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/citadelswap_base_base_trades.sql rename to dex/models/trades/base/platforms/citadelswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/clipper_base_base_trades.sql b/dex/models/trades/base/platforms/clipper_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/clipper_base_base_trades.sql rename to dex/models/trades/base/platforms/clipper_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/crescentswap_base_base_trades.sql b/dex/models/trades/base/platforms/crescentswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/crescentswap_base_base_trades.sql rename to dex/models/trades/base/platforms/crescentswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/dackieswap_base_base_trades.sql b/dex/models/trades/base/platforms/dackieswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/dackieswap_base_base_trades.sql rename to dex/models/trades/base/platforms/dackieswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/derpdex_base_base_trades.sql b/dex/models/trades/base/platforms/derpdex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/derpdex_base_base_trades.sql rename to dex/models/trades/base/platforms/derpdex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/dodo_base_base_trades.sql b/dex/models/trades/base/platforms/dodo_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/dodo_base_base_trades.sql rename to dex/models/trades/base/platforms/dodo_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/elk_finance_base_base_trades.sql b/dex/models/trades/base/platforms/elk_finance_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/elk_finance_base_base_trades.sql rename to dex/models/trades/base/platforms/elk_finance_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/energon_base_base_trades.sql b/dex/models/trades/base/platforms/energon_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/energon_base_base_trades.sql rename to dex/models/trades/base/platforms/energon_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/gridex_base_base_trades.sql b/dex/models/trades/base/platforms/gridex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/gridex_base_base_trades.sql rename to dex/models/trades/base/platforms/gridex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/horizondex_base_base_trades.sql b/dex/models/trades/base/platforms/horizondex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/horizondex_base_base_trades.sql rename to dex/models/trades/base/platforms/horizondex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/icecreamswap_base_base_trades.sql b/dex/models/trades/base/platforms/icecreamswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/icecreamswap_base_base_trades.sql rename to dex/models/trades/base/platforms/icecreamswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/kyberswap_base_base_trades.sql b/dex/models/trades/base/platforms/kyberswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/kyberswap_base_base_trades.sql rename to dex/models/trades/base/platforms/kyberswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/leetswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/leetswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/leetswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/leetswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/maverick_base_base_trades.sql b/dex/models/trades/base/platforms/maverick_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/maverick_base_base_trades.sql rename to dex/models/trades/base/platforms/maverick_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/moonbase_base_base_trades.sql b/dex/models/trades/base/platforms/moonbase_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/moonbase_base_base_trades.sql rename to dex/models/trades/base/platforms/moonbase_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/oasisswap_base_base_trades.sql b/dex/models/trades/base/platforms/oasisswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/oasisswap_base_base_trades.sql rename to dex/models/trades/base/platforms/oasisswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/openocean_base_base_trades.sql b/dex/models/trades/base/platforms/openocean_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/openocean_base_base_trades.sql rename to dex/models/trades/base/platforms/openocean_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/pancakeswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/pancakeswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/pancakeswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/pancakeswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/pancakeswap_v3_base_base_trades.sql b/dex/models/trades/base/platforms/pancakeswap_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/pancakeswap_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/pancakeswap_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/plantbaseswap_base_base_trades.sql b/dex/models/trades/base/platforms/plantbaseswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/plantbaseswap_base_base_trades.sql rename to dex/models/trades/base/platforms/plantbaseswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/rocketswap_base_base_trades.sql b/dex/models/trades/base/platforms/rocketswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/rocketswap_base_base_trades.sql rename to dex/models/trades/base/platforms/rocketswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/rubicon_base_base_trades.sql b/dex/models/trades/base/platforms/rubicon_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/rubicon_base_base_trades.sql rename to dex/models/trades/base/platforms/rubicon_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/scale_base_base_trades.sql b/dex/models/trades/base/platforms/scale_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/scale_base_base_trades.sql rename to dex/models/trades/base/platforms/scale_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sharkswap_base_base_trades.sql b/dex/models/trades/base/platforms/sharkswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sharkswap_base_base_trades.sql rename to dex/models/trades/base/platforms/sharkswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/smardex_base_base_trades.sql b/dex/models/trades/base/platforms/smardex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/smardex_base_base_trades.sql rename to dex/models/trades/base/platforms/smardex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sobal_base_base_trades.sql b/dex/models/trades/base/platforms/sobal_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sobal_base_base_trades.sql rename to dex/models/trades/base/platforms/sobal_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/solidly_v3_base_base_trades.sql b/dex/models/trades/base/platforms/solidly_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/solidly_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/solidly_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/soswap_base_base_trades.sql b/dex/models/trades/base/platforms/soswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/soswap_base_base_trades.sql rename to dex/models/trades/base/platforms/soswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sushiswap_v1_base_base_trades.sql b/dex/models/trades/base/platforms/sushiswap_v1_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sushiswap_v1_base_base_trades.sql rename to dex/models/trades/base/platforms/sushiswap_v1_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sushiswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/sushiswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sushiswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/sushiswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/swapbased_base_base_trades.sql b/dex/models/trades/base/platforms/swapbased_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/swapbased_base_base_trades.sql rename to dex/models/trades/base/platforms/swapbased_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/synthswap_base_base_trades.sql b/dex/models/trades/base/platforms/synthswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/synthswap_base_base_trades.sql rename to dex/models/trades/base/platforms/synthswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/throne_exchange_v2_base_base_trades.sql b/dex/models/trades/base/platforms/throne_exchange_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/throne_exchange_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/throne_exchange_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/throne_exchange_v3_base_base_trades.sql b/dex/models/trades/base/platforms/throne_exchange_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/throne_exchange_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/throne_exchange_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/torus_base_base_trades.sql b/dex/models/trades/base/platforms/torus_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/torus_base_base_trades.sql rename to dex/models/trades/base/platforms/torus_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/uniswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/uniswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/uniswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/uniswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/uniswap_v3_base_base_trades.sql b/dex/models/trades/base/platforms/uniswap_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/uniswap_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/uniswap_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/velocimeter_v2_base_base_trades.sql b/dex/models/trades/base/platforms/velocimeter_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/velocimeter_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/velocimeter_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/voltswap_base_base_trades.sql b/dex/models/trades/base/platforms/voltswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/voltswap_base_base_trades.sql rename to dex/models/trades/base/platforms/voltswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/wombat_exchange_base_base_trades.sql b/dex/models/trades/base/platforms/wombat_exchange_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/wombat_exchange_base_base_trades.sql rename to dex/models/trades/base/platforms/wombat_exchange_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/woofi_base_base_trades.sql b/dex/models/trades/base/platforms/woofi_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/woofi_base_base_trades.sql rename to dex/models/trades/base/platforms/woofi_base_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/_schema.yml b/dex/models/trades/bnb/_schema.yml similarity index 100% rename from models/_sector/dex/trades/bnb/_schema.yml rename to dex/models/trades/bnb/_schema.yml diff --git a/models/_sector/dex/trades/bnb/dex_bnb_base_trades.sql b/dex/models/trades/bnb/dex_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/dex_bnb_base_trades.sql rename to dex/models/trades/bnb/dex_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/airswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/airswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/airswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/airswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/apeswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/apeswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/apeswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/apeswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/babyswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/babyswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/babyswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/babyswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/dodo_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/dodo_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/dodo_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/dodo_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/fraxswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/fraxswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/fraxswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/fraxswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/hashflow_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/hashflow_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/hashflow_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/hashflow_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/iziswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/iziswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/iziswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/iziswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/kyberswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/kyberswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/kyberswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/kyberswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/maverick_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/maverick_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/maverick_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/maverick_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/mdex_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/mdex_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/mdex_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/mdex_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/nomiswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/nomiswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/nomiswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/nomiswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/thena_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/thena_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/thena_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/thena_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/wombat_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/wombat_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/wombat_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/wombat_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/woofi_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/woofi_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/woofi_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/woofi_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/xchange_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/xchange_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/xchange_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/xchange_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/celo/_schema.yml b/dex/models/trades/celo/_schema.yml similarity index 100% rename from models/_sector/dex/trades/celo/_schema.yml rename to dex/models/trades/celo/_schema.yml diff --git a/models/_sector/dex/trades/celo/dex_celo_base_trades.sql b/dex/models/trades/celo/dex_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/dex_celo_base_trades.sql rename to dex/models/trades/celo/dex_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/carbonhood_celo_base_trades.sql b/dex/models/trades/celo/platforms/carbonhood_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/carbonhood_celo_base_trades.sql rename to dex/models/trades/celo/platforms/carbonhood_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/curvefi_celo_base_trades.sql b/dex/models/trades/celo/platforms/curvefi_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/curvefi_celo_base_trades.sql rename to dex/models/trades/celo/platforms/curvefi_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/mento_v1_celo_base_trades.sql b/dex/models/trades/celo/platforms/mento_v1_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/mento_v1_celo_base_trades.sql rename to dex/models/trades/celo/platforms/mento_v1_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/mento_v2_celo_base_trades.sql b/dex/models/trades/celo/platforms/mento_v2_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/mento_v2_celo_base_trades.sql rename to dex/models/trades/celo/platforms/mento_v2_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/sushiswap_celo_base_trades.sql b/dex/models/trades/celo/platforms/sushiswap_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/sushiswap_celo_base_trades.sql rename to dex/models/trades/celo/platforms/sushiswap_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/ubeswap_celo_base_trades.sql b/dex/models/trades/celo/platforms/ubeswap_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/ubeswap_celo_base_trades.sql rename to dex/models/trades/celo/platforms/ubeswap_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/uniswap_v3_celo_base_trades.sql b/dex/models/trades/celo/platforms/uniswap_v3_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/uniswap_v3_celo_base_trades.sql rename to dex/models/trades/celo/platforms/uniswap_v3_celo_base_trades.sql diff --git a/models/_sector/dex/trades/dex_base_trades.sql b/dex/models/trades/dex_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/dex_base_trades.sql rename to dex/models/trades/dex_base_trades.sql diff --git a/models/_sector/dex/trades/dex_trades.sql b/dex/models/trades/dex_trades.sql similarity index 100% rename from models/_sector/dex/trades/dex_trades.sql rename to dex/models/trades/dex_trades.sql diff --git a/models/_sector/dex/trades/ethereum/_schema.yml b/dex/models/trades/ethereum/_schema.yml similarity index 100% rename from models/_sector/dex/trades/ethereum/_schema.yml rename to dex/models/trades/ethereum/_schema.yml diff --git a/models/_sector/dex/trades/ethereum/dex_ethereum_base_trades.sql b/dex/models/trades/ethereum/dex_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/dex_ethereum_base_trades.sql rename to dex/models/trades/ethereum/dex_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/airswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/airswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/airswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/airswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/bancor_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/bancor_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/bancor_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/bancor_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/clipper_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/clipper_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/clipper_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/clipper_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/dfx_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/dfx_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/dfx_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/dfx_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/dodo_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/dodo_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/dodo_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/dodo_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/integral_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/integral_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/integral_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/integral_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/mauve_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/mauve_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/mauve_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/mauve_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/maverick_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/maverick_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/maverick_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/maverick_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/mstable_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/mstable_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/mstable_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/mstable_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/swapr_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/swapr_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/swapr_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/swapr_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/xchange_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/xchange_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/xchange_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/xchange_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/_schema.yml b/dex/models/trades/fantom/_schema.yml similarity index 100% rename from models/_sector/dex/trades/fantom/_schema.yml rename to dex/models/trades/fantom/_schema.yml diff --git a/models/_sector/dex/trades/fantom/dex_fantom_base_trades.sql b/dex/models/trades/fantom/dex_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/dex_fantom_base_trades.sql rename to dex/models/trades/fantom/dex_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/curvefi_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/curvefi_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/curvefi_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/curvefi_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/equalizer_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/equalizer_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/equalizer_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/equalizer_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/openocean_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/openocean_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/openocean_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/openocean_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spiritswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spiritswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spiritswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spiritswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spookyswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spookyswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spookyswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spookyswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/wigoswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/wigoswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/wigoswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/wigoswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/_schema.yml b/dex/models/trades/gnosis/_schema.yml similarity index 100% rename from models/_sector/dex/trades/gnosis/_schema.yml rename to dex/models/trades/gnosis/_schema.yml diff --git a/models/_sector/dex/trades/gnosis/dex_gnosis_base_trades.sql b/dex/models/trades/gnosis/dex_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/dex_gnosis_base_trades.sql rename to dex/models/trades/gnosis/dex_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/linea/_schema.yml b/dex/models/trades/linea/_schema.yml similarity index 100% rename from models/_sector/dex/trades/linea/_schema.yml rename to dex/models/trades/linea/_schema.yml diff --git a/models/_sector/dex/trades/linea/dex_linea_base_trades.sql b/dex/models/trades/linea/dex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/dex_linea_base_trades.sql rename to dex/models/trades/linea/dex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/echodex_linea_base_trades.sql b/dex/models/trades/linea/platforms/echodex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/echodex_linea_base_trades.sql rename to dex/models/trades/linea/platforms/echodex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/lynex_linea_base_trades.sql b/dex/models/trades/linea/platforms/lynex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/lynex_linea_base_trades.sql rename to dex/models/trades/linea/platforms/lynex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/nile_linea_base_trades.sql b/dex/models/trades/linea/platforms/nile_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/nile_linea_base_trades.sql rename to dex/models/trades/linea/platforms/nile_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/secta_linea_base_trades.sql b/dex/models/trades/linea/platforms/secta_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/secta_linea_base_trades.sql rename to dex/models/trades/linea/platforms/secta_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql b/dex/models/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql rename to dex/models/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/_schema.yml b/dex/models/trades/optimism/_schema.yml similarity index 100% rename from models/_sector/dex/trades/optimism/_schema.yml rename to dex/models/trades/optimism/_schema.yml diff --git a/models/_sector/dex/trades/optimism/dex_optimism_base_trades.sql b/dex/models/trades/optimism/dex_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/dex_optimism_base_trades.sql rename to dex/models/trades/optimism/dex_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/chainhop_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/chainhop_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/chainhop_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/chainhop_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/clipper_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/clipper_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/clipper_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/clipper_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/curvefi_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/curvefi_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/curvefi_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/curvefi_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dodo_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dodo_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dodo_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dodo_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/elk_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/elk_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/elk_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/elk_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/fraxswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/fraxswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/fraxswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/fraxswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/gridex_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/gridex_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/gridex_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/gridex_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/hashflow_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/hashflow_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/hashflow_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/hashflow_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/kyberswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/kyberswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/kyberswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/kyberswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/openocean_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/openocean_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/openocean_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/openocean_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/openxswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/openxswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/openxswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/openxswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/opx_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/opx_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/opx_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/opx_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/rubicon_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/rubicon_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/rubicon_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/rubicon_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/synthetix_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/synthetix_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/synthetix_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/synthetix_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/velodrome_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/velodrome_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/velodrome_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/velodrome_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/wardenswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/wardenswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/wardenswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/wardenswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/woofi_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/woofi_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/woofi_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/woofi_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/zipswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/zipswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/zipswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/zipswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/_schema.yml b/dex/models/trades/polygon/_schema.yml similarity index 100% rename from models/_sector/dex/trades/polygon/_schema.yml rename to dex/models/trades/polygon/_schema.yml diff --git a/models/_sector/dex/trades/polygon/dex_polygon_base_trades.sql b/dex/models/trades/polygon/dex_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/dex_polygon_base_trades.sql rename to dex/models/trades/polygon/dex_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/airswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/airswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/airswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/airswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/apeswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/apeswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/apeswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/apeswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/clipper_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/clipper_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/clipper_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/clipper_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/dodo_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/dodo_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/dodo_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/dodo_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/dooar_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/dooar_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/dooar_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/dooar_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/fraxswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/fraxswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/fraxswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/fraxswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/kyberswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/kyberswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/kyberswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/kyberswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/xchange_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/xchange_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/xchange_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/xchange_polygon_base_trades.sql diff --git a/models/_sector/dex/readme.md b/dex/models/trades/readme.md similarity index 100% rename from models/_sector/dex/readme.md rename to dex/models/trades/readme.md diff --git a/models/_sector/dex/trades/scroll/_schema.yml b/dex/models/trades/scroll/_schema.yml similarity index 100% rename from models/_sector/dex/trades/scroll/_schema.yml rename to dex/models/trades/scroll/_schema.yml diff --git a/models/_sector/dex/trades/scroll/dex_scroll_base_trades.sql b/dex/models/trades/scroll/dex_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/dex_scroll_base_trades.sql rename to dex/models/trades/scroll/dex_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/nuri_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/nuri_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/nuri_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/nuri_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/scrollswap_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/scrollswap_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/scrollswap_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/scrollswap_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/zebra_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/zebra_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/zebra_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/zebra_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/_schema.yml b/dex/models/trades/zkevm/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zkevm/_schema.yml rename to dex/models/trades/zkevm/_schema.yml diff --git a/models/_sector/dex/trades/zkevm/dex_zkevm_base_trades.sql b/dex/models/trades/zkevm/dex_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/dex_zkevm_base_trades.sql rename to dex/models/trades/zkevm/dex_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/_schema.yml b/dex/models/trades/zksync/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zksync/_schema.yml rename to dex/models/trades/zksync/_schema.yml diff --git a/models/_sector/dex/trades/zksync/dex_zksync_base_trades.sql b/dex/models/trades/zksync/dex_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/dex_zksync_base_trades.sql rename to dex/models/trades/zksync/dex_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/gemswap_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/gemswap_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/gemswap_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/gemswap_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/maverick_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/maverick_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/maverick_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/maverick_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/mute_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/mute_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/mute_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/mute_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zora/_schema.yml b/dex/models/trades/zora/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zora/_schema.yml rename to dex/models/trades/zora/_schema.yml diff --git a/models/_sector/dex/trades/zora/dex_zora_base_trades.sql b/dex/models/trades/zora/dex_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/dex_zora_base_trades.sql rename to dex/models/trades/zora/dex_zora_base_trades.sql diff --git a/models/_sector/dex/trades/zora/platforms/uniswap_v2_zora_base_trades.sql b/dex/models/trades/zora/platforms/uniswap_v2_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/platforms/uniswap_v2_zora_base_trades.sql rename to dex/models/trades/zora/platforms/uniswap_v2_zora_base_trades.sql diff --git a/models/_sector/dex/trades/zora/platforms/uniswap_v3_zora_base_trades.sql b/dex/models/trades/zora/platforms/uniswap_v3_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/platforms/uniswap_v3_zora_base_trades.sql rename to dex/models/trades/zora/platforms/uniswap_v3_zora_base_trades.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index a5f5cdb8cb6..4c6dcabde41 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -1,23 +1,15 @@ version: 2 models: - - name: labels_balancer_v2_pools_ethereum + - name: labels_balancer_v2_gauges meta: - blockchain: ethereum + blockchain: ethereum, polygon, optimism, arbitrum, avalanche_c, base, gnosis, zkevm sector: labels project: balancer_v2 - contributors: balancerlabs, viniabussafi + contributors: jacektrocinski, viniabussafi config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Ethereum. ' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - - name - - category - - model_name - - blockchain + tags: ['labels', 'ethereum', 'polygon', 'optimism', 'arbitrum', 'avalanche_c', 'base', 'gnosis', 'zkevm', 'gauges'] + description: 'Balancer v2 gauge labels.' columns: - &blockchain name: blockchain @@ -50,237 +42,6 @@ models: name: label_type description: "Type of label (see labels overall readme)" - - name: labels_balancer_v2_pools_polygon - meta: - blockchain: polygon - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'polygon', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_gnosis - meta: - blockchain: gnosis - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'gnosis', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Gnosis.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_avalanche_c - meta: - blockchain: avalanche_c - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'avalanche_c', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Avalanche Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_base - meta: - blockchain: base - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'base', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Base Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_arbitrum - meta: - blockchain: arbitrum - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'arbitrum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Arbitrum.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_optimism - meta: - blockchain: optimism - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'optimism', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Optimism.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_zkevm - meta: - blockchain: zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'zkevm', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon zkevm.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - - name: labels_balancer_v2_pools - meta: - blockchain: ethereum, polygon, arbitrum, optimism, gnosis, base, avalanche_c, zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: - [ - 'labels', - 'ethereum', - 'polygon', - 'arbitrum', - 'optimism', - 'avalanche_c', - 'base', - 'gnosis', - 'zkevm', - 'balancer', - 'pools', - ] - description: 'Balancer V2 liquidity pools created across blockchains.' - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_gauges - meta: - blockchain: ethereum, polygon, optimism, arbitrum, avalanche_c, base, gnosis, zkevm - sector: labels - project: balancer_v2 - contributors: jacektrocinski, viniabussafi - config: - tags: ['labels', 'ethereum', 'polygon', 'optimism', 'arbitrum', 'avalanche_c', 'base', 'gnosis', 'zkevm', 'gauges'] - description: 'Balancer v2 gauge labels.' - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - name: labels_balancer_v2_gauges_ethereum meta: blockchain: ethereum From 87a69f1a9453df8914fd8a59b98bdc2ad351c607 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 6 Jun 2024 17:23:32 -0400 Subject: [PATCH 03/63] moving around more files --- .../_projects/ellipsis_finance/_schema.yml | 48 ++ .../ellipsis_finance_bnb_pool_tokens.sql | 0 dex/models/_schema.yml | 25 + dex/models/addresses/_schema.yml | 147 +++++ .../models/addresses}/dex_addresses.sql | 0 .../addresses}/dex_arbitrum_addresses.sql | 0 .../models/addresses}/dex_base_addresses.sql | 0 .../models/addresses}/dex_bnb_addresses.sql | 0 .../addresses}/dex_ethereum_addresses.sql | 0 .../addresses}/dex_optimism_addresses.sql | 0 .../addresses}/dex_polygon_addresses.sql | 0 dex/models/arbitrages/_schema.yml | 563 ++++++++++++++++++ .../dex_arbitrum_atomic_arbitrages.sql | 0 .../arbitrages}/dex_atomic_arbitrages.sql | 0 .../dex_avalanche_c_atomic_arbitrages.sql | 0 .../arbitrages/dex_base_atomic_arbitrages.sql | 0 .../arbitrages/dex_bnb_atomic_arbitrages.sql | 0 .../arbitrages/dex_celo_atomic_arbitrages.sql | 0 .../dex_ethereum_atomic_arbitrages.sql | 0 .../dex_fantom_atomic_arbitrages.sql | 0 .../dex_gnosis_atomic_arbitrages.sql | 0 .../dex_optimism_atomic_arbitrages.sql | 0 .../dex_polygon_atomic_arbitrages.sql | 0 .../dex_scroll_atomic_arbitrages.sql | 0 .../dex_zksync_atomic_arbitrages.sql | 0 .../arbitrages/dex_zora_atomic_arbitrages.sql | 0 {models/dex => dex/models}/dex_info.sql | 0 dex/models/pools/_schema.yml | 107 ++++ .../models/pools}/dex_raw_pool_creations.sql | 0 .../pools}/dex_raw_pool_initializations.sql | 0 .../models/pools}/dex_raw_pools.sql | 0 dex/models/prices/_schema.yml | 557 +++++++++++++++++ .../dex => dex/models/prices}/dex_prices.sql | 2 +- .../models/prices}/dex_prices_latest.sql | 2 +- .../models/sandwiches/_schema.yml | 563 +----------------- .../sandwiches/dex_arbitrum_sandwiched.sql | 0 .../sandwiches/dex_arbitrum_sandwiches.sql | 0 .../sandwiches/dex_avalanche_c_sandwiched.sql | 0 .../sandwiches/dex_avalanche_c_sandwiches.sql | 0 .../sandwiches/dex_base_sandwiched.sql | 0 .../sandwiches/dex_base_sandwiches.sql | 0 .../models}/sandwiches/dex_bnb_sandwiched.sql | 0 .../models}/sandwiches/dex_bnb_sandwiches.sql | 0 .../sandwiches/dex_celo_sandwiched.sql | 0 .../sandwiches/dex_celo_sandwiches.sql | 0 .../sandwiches/dex_ethereum_sandwiched.sql | 0 .../sandwiches/dex_ethereum_sandwiches.sql | 0 .../sandwiches/dex_fantom_sandwiched.sql | 0 .../sandwiches/dex_fantom_sandwiches.sql | 0 .../sandwiches/dex_gnosis_sandwiched.sql | 0 .../sandwiches/dex_gnosis_sandwiches.sql | 0 .../sandwiches/dex_optimism_sandwiched.sql | 0 .../sandwiches/dex_optimism_sandwiches.sql | 0 .../sandwiches/dex_polygon_sandwiched.sql | 0 .../sandwiches/dex_polygon_sandwiches.sql | 0 .../models/sandwiches}/dex_sandwiched.sql | 0 .../models/sandwiches}/dex_sandwiches.sql | 0 .../sandwiches/dex_scroll_sandwiched.sql | 0 .../sandwiches/dex_scroll_sandwiches.sql | 0 .../sandwiches/dex_zksync_sandwiched.sql | 0 .../sandwiches/dex_zksync_sandwiches.sql | 0 .../sandwiches/dex_zora_sandwiched.sql | 0 .../sandwiches/dex_zora_sandwiches.sql | 0 models/dex/arbitrum/_schema.yml | 24 - models/dex/base/_schema.yml | 23 - models/dex/bnb/_schema.yml | 24 - models/dex/dex_schema.yml | 19 - models/dex/ethereum/_schema.yml | 23 - models/dex/optimism/_schema.yml | 23 - models/dex/polygon/_schema.yml | 24 - .../bnb/ellipsis_finance_bnb_schema.yml | 46 -- 71 files changed, 1450 insertions(+), 770 deletions(-) create mode 100644 dex/models/_projects/ellipsis_finance/_schema.yml rename {models/ellipsis_finance/bnb => dex/models/_projects/ellipsis_finance}/ellipsis_finance_bnb_pool_tokens.sql (100%) create mode 100644 dex/models/_schema.yml create mode 100644 dex/models/addresses/_schema.yml rename {models/dex => dex/models/addresses}/dex_addresses.sql (100%) rename {models/dex/arbitrum => dex/models/addresses}/dex_arbitrum_addresses.sql (100%) rename {models/dex/base => dex/models/addresses}/dex_base_addresses.sql (100%) rename {models/dex/bnb => dex/models/addresses}/dex_bnb_addresses.sql (100%) rename {models/dex/ethereum => dex/models/addresses}/dex_ethereum_addresses.sql (100%) rename {models/dex/optimism => dex/models/addresses}/dex_optimism_addresses.sql (100%) rename {models/dex/polygon => dex/models/addresses}/dex_polygon_addresses.sql (100%) create mode 100644 dex/models/arbitrages/_schema.yml rename {models/dex/chains/mev => dex/models}/arbitrages/dex_arbitrum_atomic_arbitrages.sql (100%) rename {models/dex => dex/models/arbitrages}/dex_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_avalanche_c_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_base_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_bnb_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_celo_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_ethereum_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_fantom_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_gnosis_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_optimism_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_polygon_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_scroll_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_zksync_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_zora_atomic_arbitrages.sql (100%) rename {models/dex => dex/models}/dex_info.sql (100%) create mode 100644 dex/models/pools/_schema.yml rename {models/dex => dex/models/pools}/dex_raw_pool_creations.sql (100%) rename {models/dex => dex/models/pools}/dex_raw_pool_initializations.sql (100%) rename {models/dex => dex/models/pools}/dex_raw_pools.sql (100%) create mode 100644 dex/models/prices/_schema.yml rename {models/dex => dex/models/prices}/dex_prices.sql (99%) rename {models/dex => dex/models/prices}/dex_prices_latest.sql (98%) rename models/dex/chains/dex_schema.yml => dex/models/sandwiches/_schema.yml (67%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_arbitrum_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_arbitrum_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_avalanche_c_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_avalanche_c_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_base_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_base_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_bnb_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_bnb_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_celo_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_celo_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_ethereum_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_ethereum_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_fantom_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_fantom_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_gnosis_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_gnosis_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_optimism_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_optimism_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_polygon_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_polygon_sandwiches.sql (100%) rename {models/dex => dex/models/sandwiches}/dex_sandwiched.sql (100%) rename {models/dex => dex/models/sandwiches}/dex_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_scroll_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_scroll_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zksync_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zksync_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zora_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zora_sandwiches.sql (100%) delete mode 100644 models/dex/arbitrum/_schema.yml delete mode 100644 models/dex/base/_schema.yml delete mode 100644 models/dex/bnb/_schema.yml delete mode 100644 models/dex/ethereum/_schema.yml delete mode 100644 models/dex/optimism/_schema.yml delete mode 100644 models/dex/polygon/_schema.yml diff --git a/dex/models/_projects/ellipsis_finance/_schema.yml b/dex/models/_projects/ellipsis_finance/_schema.yml new file mode 100644 index 00000000000..fa2d567f110 --- /dev/null +++ b/dex/models/_projects/ellipsis_finance/_schema.yml @@ -0,0 +1,48 @@ +version: 2 + +models: + - name: ellipsis_finance_bnb_pool_tokens + meta: + blockchain: bnb + sector: dex + project: ellipsis_finance + contributors: Henrystats, 0xRob + config: + tags: ["bnb", "pool_tokens", "ellipsis", "dex"] + description: > + Ellipsis underlying tokens for token_exchange_underlying event + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - pool + - token_id + - token_type + - check_dex_pools_seed: + blockchain: bnb + project: ellipsis_finance + version: 1 + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &pool + name: pool + description: "pool contract address" + - &token_id + name: token_id + description: "underlying token id" + - &token_address + name: token_address + description: "underlying token address" + - &token_type + name: token_type + description: "token data (Underlying token, pool token.......)" + - &pool_type + name: pool_type + description: "pool type (Meta Pool, Base Pool....)" \ No newline at end of file diff --git a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_pool_tokens.sql b/dex/models/_projects/ellipsis_finance/ellipsis_finance_bnb_pool_tokens.sql similarity index 100% rename from models/ellipsis_finance/bnb/ellipsis_finance_bnb_pool_tokens.sql rename to dex/models/_projects/ellipsis_finance/ellipsis_finance_bnb_pool_tokens.sql diff --git a/dex/models/_schema.yml b/dex/models/_schema.yml new file mode 100644 index 00000000000..bc3e8e18c38 --- /dev/null +++ b/dex/models/_schema.yml @@ -0,0 +1,25 @@ +version: 2 + +models: + - name: dex_info + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana + sector: dex + contributors: hildobby + config: + tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] + description: > + DEXs info + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - project + columns: + - name: project + description: "Marketplace codename" + - name: name + description: "Marketplace capitalised name" + - name: marketplace_type + description: "Type of marketplace" + - name: x_username + description: "Username on X" \ No newline at end of file diff --git a/dex/models/addresses/_schema.yml b/dex/models/addresses/_schema.yml new file mode 100644 index 00000000000..d08bd08ef03 --- /dev/null +++ b/dex/models/addresses/_schema.yml @@ -0,0 +1,147 @@ +version: 2 + +models: + - name: dex_addresses + meta: + blockchain: arbitrum, base, bnb, ethereum, optimism, polygon + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'arbitrum', 'base', 'bnb', 'ethereum', 'optimism', 'polygon'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_arbitrum_addresses + meta: + blockchain: arbitrum + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'arbitrum'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_base_addresses + meta: + blockchain: base + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'base'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_bnb_addresses + meta: + blockchain: bnb + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'bnb'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_ethereum_addresses + meta: + blockchain: ethereum + sector: dex + project: addresses + contributors: soispoke, rantum + config: + tags: ['table', 'dex', 'addresses', 'ethereum'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_optimism_addresses + meta: + blockchain: optimism + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'optimism'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_polygon_addresses + meta: + blockchain: polygon + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'polygon'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/dex_addresses.sql b/dex/models/addresses/dex_addresses.sql similarity index 100% rename from models/dex/dex_addresses.sql rename to dex/models/addresses/dex_addresses.sql diff --git a/models/dex/arbitrum/dex_arbitrum_addresses.sql b/dex/models/addresses/dex_arbitrum_addresses.sql similarity index 100% rename from models/dex/arbitrum/dex_arbitrum_addresses.sql rename to dex/models/addresses/dex_arbitrum_addresses.sql diff --git a/models/dex/base/dex_base_addresses.sql b/dex/models/addresses/dex_base_addresses.sql similarity index 100% rename from models/dex/base/dex_base_addresses.sql rename to dex/models/addresses/dex_base_addresses.sql diff --git a/models/dex/bnb/dex_bnb_addresses.sql b/dex/models/addresses/dex_bnb_addresses.sql similarity index 100% rename from models/dex/bnb/dex_bnb_addresses.sql rename to dex/models/addresses/dex_bnb_addresses.sql diff --git a/models/dex/ethereum/dex_ethereum_addresses.sql b/dex/models/addresses/dex_ethereum_addresses.sql similarity index 100% rename from models/dex/ethereum/dex_ethereum_addresses.sql rename to dex/models/addresses/dex_ethereum_addresses.sql diff --git a/models/dex/optimism/dex_optimism_addresses.sql b/dex/models/addresses/dex_optimism_addresses.sql similarity index 100% rename from models/dex/optimism/dex_optimism_addresses.sql rename to dex/models/addresses/dex_optimism_addresses.sql diff --git a/models/dex/polygon/dex_polygon_addresses.sql b/dex/models/addresses/dex_polygon_addresses.sql similarity index 100% rename from models/dex/polygon/dex_polygon_addresses.sql rename to dex/models/addresses/dex_polygon_addresses.sql diff --git a/dex/models/arbitrages/_schema.yml b/dex/models/arbitrages/_schema.yml new file mode 100644 index 00000000000..87af372997e --- /dev/null +++ b/dex/models/arbitrages/_schema.yml @@ -0,0 +1,563 @@ +version: 2 + +models: + - name: dex_ethereum_atomic_arbitrages + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'ethereum'] + description: > + DEX MEV Arbitrage Trades on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_arbitrum_atomic_arbitrages + meta: + blockchain: arbitrum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'arbitrum'] + description: > + DEX MEV Arbitrage Trades on Arbitrum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_avalanche_c_atomic_arbitrages + meta: + blockchain: avalanche_c + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'avalanche_c'] + description: > + DEX MEV Arbitrage Trades on Avalanche + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_bnb_atomic_arbitrages + meta: + blockchain: bnb + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'bnb'] + description: > + DEX MEV Arbitrage Trades on BNB + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_fantom_atomic_arbitrages + meta: + blockchain: fantom + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'fantom'] + description: > + DEX MEV Arbitrage Trades on Fantom + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_gnosis_atomic_arbitrages + meta: + blockchain: gnosis + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'gnosis'] + description: > + DEX MEV Arbitrage Trades on Gnosis + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_optimism_atomic_arbitrages + meta: + blockchain: optimism + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'optimism'] + description: > + DEX MEV Arbitrage Trades on Optimism + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_polygon_atomic_arbitrages + meta: + blockchain: polygon + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'polygon'] + description: > + DEX MEV Arbitrage Trades on Polygon + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_base_atomic_arbitrages + meta: + blockchain: base + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'base'] + description: > + DEX MEV Arbitrage Trades on Base + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_celo_atomic_arbitrages + meta: + blockchain: celo + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'celo'] + description: > + DEX MEV Arbitrage Trades on Celo + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_zksync_atomic_arbitrages + meta: + blockchain: zksync + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zksync'] + description: > + DEX MEV Arbitrage Trades on zkSync + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_scroll_atomic_arbitrages + meta: + blockchain: scroll + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'scroll'] + description: > + DEX MEV Arbitrage Trades on zkSScrollync + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + + - name: dex_zora_atomic_arbitrages + meta: + blockchain: zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zora'] + description: > + DEX MEV Arbitrage Trades on Zora Network + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + diff --git a/models/dex/chains/mev/arbitrages/dex_arbitrum_atomic_arbitrages.sql b/dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_arbitrum_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql diff --git a/models/dex/dex_atomic_arbitrages.sql b/dex/models/arbitrages/dex_atomic_arbitrages.sql similarity index 100% rename from models/dex/dex_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_avalanche_c_atomic_arbitrages.sql b/dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_avalanche_c_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_base_atomic_arbitrages.sql b/dex/models/arbitrages/dex_base_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_base_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_base_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_bnb_atomic_arbitrages.sql b/dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_bnb_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_celo_atomic_arbitrages.sql b/dex/models/arbitrages/dex_celo_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_celo_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_celo_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_ethereum_atomic_arbitrages.sql b/dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_ethereum_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_fantom_atomic_arbitrages.sql b/dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_fantom_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_gnosis_atomic_arbitrages.sql b/dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_gnosis_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_optimism_atomic_arbitrages.sql b/dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_optimism_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_polygon_atomic_arbitrages.sql b/dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_polygon_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_scroll_atomic_arbitrages.sql b/dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_scroll_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_zksync_atomic_arbitrages.sql b/dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_zksync_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_zora_atomic_arbitrages.sql b/dex/models/arbitrages/dex_zora_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_zora_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_zora_atomic_arbitrages.sql diff --git a/models/dex/dex_info.sql b/dex/models/dex_info.sql similarity index 100% rename from models/dex/dex_info.sql rename to dex/models/dex_info.sql diff --git a/dex/models/pools/_schema.yml b/dex/models/pools/_schema.yml new file mode 100644 index 00000000000..b86f1f5b616 --- /dev/null +++ b/dex/models/pools/_schema.yml @@ -0,0 +1,107 @@ +version: 2 + +models: + - name: dex_raw_pool_initializations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools initialization calls + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + - tx_hash + - call_trace_address + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &type + name: type + description: "Pool implementation standard" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &pool + name: pool + description: "DEX pool smart contract address" + - &token0 + name: token0 + description: "First token in pool" + - &token1 + name: token1 + description: "Second token in pool" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &call_trace_address + name: call_trace_address + + - name: dex_raw_pool_creations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - &tokens + name: tokens + description: "Tokens in the pool" + - &creation_block_time + name: creation_block_time + description: "Block time of pool creation" + - &creation_block_number + name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + - name: rn + + - name: dex_raw_pools + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - *tokens + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/dex/dex_raw_pool_creations.sql b/dex/models/pools/dex_raw_pool_creations.sql similarity index 100% rename from models/dex/dex_raw_pool_creations.sql rename to dex/models/pools/dex_raw_pool_creations.sql diff --git a/models/dex/dex_raw_pool_initializations.sql b/dex/models/pools/dex_raw_pool_initializations.sql similarity index 100% rename from models/dex/dex_raw_pool_initializations.sql rename to dex/models/pools/dex_raw_pool_initializations.sql diff --git a/models/dex/dex_raw_pools.sql b/dex/models/pools/dex_raw_pools.sql similarity index 100% rename from models/dex/dex_raw_pools.sql rename to dex/models/pools/dex_raw_pools.sql diff --git a/dex/models/prices/_schema.yml b/dex/models/prices/_schema.yml new file mode 100644 index 00000000000..cf9bfbbefa7 --- /dev/null +++ b/dex/models/prices/_schema.yml @@ -0,0 +1,557 @@ +version: 2 + +models: + + - name: dex_prices + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom + sector: dex + contributors: Henrystats + config: + tags: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'gnosis', 'fantom', 'avalanche_c', 'trades', 'dex', 'cross-chain', 'prices'] + description: > + This table loads the prices of tokens from the dex.trades table. This helps for missing tokens from the prices.usd table + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - hour + - blockchain + - contract_address + columns: + - &block_month + name: block_month + description: "Month corresponding to the prices data" + - &hour + name: hour + description: "hour corresponding to the prices data" + - &contract_address + name: contract_address + description: "token's contract address" + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &median_price + name: median_price + description: "Median price of the token in USD within the corresponding hour" + - &sample_size + name: sample_size + description: "Number of times the token was traded within the coressponding hour" + + + + + + - name: dex_aggregator_trades + meta: + blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb + sector: dex_aggregator + contributors: bh2smith, Henrystats, jeff-dude, rantum + config: + tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] + description: > + Aggregator trades on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + columns: + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + tests: + - dbt_utils.accepted_range: + max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &trace_address + name: trace_address + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + + - name: dex_incentive_mappings + meta: + blockchain: optimism + sector: dex + contributors: msilb7 + config: + tags: ['optimism', 'amm', 'trades', 'dex', 'cross-chain','incentives'] + description: > + Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions + columns: + - *blockchain + - *project + - *version + - &pool_contract + name: pool_contract + description: "Address of the liquidity pool contract" + - &incentives_contract + name: incentives_contract + description: "Address of the contract where incentives are stored and emitted." + - &incentives_type + name: incentives_type + description: "Description of the incentives address type." + - &evt_block_time + name: evt_block_time + description: 'Block time in UTC' + - &evt_block_number + name: evt_block_number + description: 'Block Number' + - *contract_address + - &evt_tx_hash + name: evt_tx_hash + description: 'Tx Hash' + - *evt_index + + - name: dex_pools + meta: + blockchain: ethereum, arbitrum, polygon + sector: dex + contributors: hildobby + config: + tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] + description: > + DEX pools on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *project + - *version + - &pool + name: pool + description: "DEX pool smart contract address" + - &fee + name: fee + description: "Defined fee" + - &token0 + name: token0 + description: "First token in pool" + - &token1 + name: token1 + description: "Second token in pool" + - &creation_block_time + name: creation_block_time + description: "Block time of pool creation" + - &creation_block_number + name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_raw_pool_initializations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools initialization calls + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + - tx_hash + - call_trace_address + columns: + - *blockchain + - &type + name: type + description: "Pool implementation standard" + - *version + - *block_time + - *pool + - *token0 + - *token1 + - *tx_hash + - &call_trace_address + name: call_trace_address + + - name: dex_raw_pool_creations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - &tokens + name: tokens + description: "Tokens in the pool" + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + - name: rn + + - name: dex_raw_pools + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - *tokens + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_offers + meta: + blockchain: optimism + sector: dex + contributors: denver + config: + tags: ['optimism', 'order-books', 'offers', 'dex', 'cross-chain', 'offers'] + description: > + DEX offers across all chains across all contracts and versions + columns: + - *blockchain + - *project + - *version + - *block_date + - *block_time + - &block_number + name: block_number + description: "the block number of the block that the offer was created in" + - &tx_index + name: tx_index + description: "the transaction index of the transaction that the offer was created in" + - *evt_index + - *maker + - &sell_token_symbol + name: sell_token_symbol + description: "the token the offer is selling" + - &buy_token_symbol + name: buy_token_symbol + description: "the token the offer is buying" + - &sell_token_address + name: sell_token_address + description: "the address of the token the offer is selling" + - &buy_token_address + name: buy_token_address + description: "the address of the token the offer is buying" + - *token_pair + - &sell_amount + name: sell_amount + description: "the amount of the token that the maker is selling" + - &buy_amount + name: buy_amount + description: "the amount of the token that the maker is buying" + - &sell_amount_raw + name: sell_amount_raw + description: "the raw amount of the token that the maker is selling" + - &buy_amount_raw + name: buy_amount_raw + description: "the raw amount of the token that the maker is buying" + - &sold_amount + name: sold_amount + description: "the amount of the token that the offer has sold" + - &bought_amount + name: bought_amount + description: "the amount of the token that the offer has bought" + - &sold_amount_raw + name: sold_amount_raw + description: "the raw amount of the token that the offer has sold" + - &bought_amount_raw + name: bought_amount_raw + description: "the raw amount of the token that the offer has bought" + - &sell_amount_usd + name: sell_amount_usd + description: "the amount of the token that the maker is selling in USD (at the time of the offer creation)" + - &buy_amount_usd + name: buy_amount_usd + description: "the amount of the token that the maker is buying in USD (at the time of the offer creation)" + - &sold_amount_usd + name: sold_amount_usd + description: "the amount of the token that the offer has sold in USD (summed bassed on the price at the time of each trade (if any))" + - &bought_amount_usd + name: bought_amount_usd + description: "the amount of the token that the offer has bought in USD (summed bassed on the price at the time of each trade (if any))" + - &txn_cost_usd + name: txn_cost_usd + description: "the cost of the transaction in USD" + - *project_contract_address + - *tx_hash + - *tx_from + - *tx_to + + + - name: dex_flashloans + meta: + blockchain: arbitrum, avalanche_c, optimism, polygon, ethereum, fantom + sector: lending + contributors: hildobby + config: + tags: ['arbitrum', 'avalanche_c', 'optimism', 'polygon', 'ethereum', 'fantom', 'flashloans'] + description: > + All Flashloans + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - name: blockchain + - name: project + - name: version + - name: block_time + - name: block_number + - name: amount + - name: amount_usd + - name: tx_hash + - name: evt_index + - name: fee + - name: currency_contract + - name: currency_symbol + - name: recipient + - name: contract_address + - name: block_month + + - name: dex_sandwiches + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiches'] + description: > + DEX MEV Sandwich Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - &index + name: index + description: "Index of the transaction in block" + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_sandwiched + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiched'] + description: > + DEX MEV Sandwiched Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_info + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana + sector: dex + contributors: hildobby + config: + tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] + description: > + DEXs info + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - project + columns: + - name: project + description: "Marketplace codename" + - name: name + description: "Marketplace capitalised name" + - name: marketplace_type + description: "Type of marketplace" + - name: x_username + description: "Username on X" + + - name: dex_atomic_arbitrages + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages'] + description: > + DEX MEV Arbitrage Trades across all Chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index diff --git a/models/dex/dex_prices.sql b/dex/models/prices/dex_prices.sql similarity index 99% rename from models/dex/dex_prices.sql rename to dex/models/prices/dex_prices.sql index 794e6ca3aec..5467aeda991 100644 --- a/models/dex/dex_prices.sql +++ b/dex/models/prices/dex_prices.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'prices', partition_by = ['block_month'], materialized = 'incremental', diff --git a/models/dex/dex_prices_latest.sql b/dex/models/prices/dex_prices_latest.sql similarity index 98% rename from models/dex/dex_prices_latest.sql rename to dex/models/prices/dex_prices_latest.sql index b6714778d89..2ebc0591630 100644 --- a/models/dex/dex_prices_latest.sql +++ b/dex/models/prices/dex_prices_latest.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'dex', alias = 'prices_latest', - partition_by = ['block_month'], materialized = 'incremental', file_format = 'delta', diff --git a/models/dex/chains/dex_schema.yml b/dex/models/sandwiches/_schema.yml similarity index 67% rename from models/dex/chains/dex_schema.yml rename to dex/models/sandwiches/_schema.yml index 95afa1bbe88..0e5c2d15da8 100644 --- a/models/dex/chains/dex_schema.yml +++ b/dex/models/sandwiches/_schema.yml @@ -1143,565 +1143,4 @@ models: - *token_sold_amount - *token_bought_amount - *amount_usd - - *evt_index - - - name: dex_ethereum_atomic_arbitrages - meta: - blockchain: ethereum - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'ethereum'] - description: > - DEX MEV Arbitrage Trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_arbitrum_atomic_arbitrages - meta: - blockchain: arbitrum - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'arbitrum'] - description: > - DEX MEV Arbitrage Trades on Arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_avalanche_c_atomic_arbitrages - meta: - blockchain: avalanche_c - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'avalanche_c'] - description: > - DEX MEV Arbitrage Trades on Avalanche - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_bnb_atomic_arbitrages - meta: - blockchain: bnb - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'bnb'] - description: > - DEX MEV Arbitrage Trades on BNB - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_fantom_atomic_arbitrages - meta: - blockchain: fantom - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'fantom'] - description: > - DEX MEV Arbitrage Trades on Fantom - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_gnosis_atomic_arbitrages - meta: - blockchain: gnosis - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'gnosis'] - description: > - DEX MEV Arbitrage Trades on Gnosis - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_optimism_atomic_arbitrages - meta: - blockchain: optimism - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'optimism'] - description: > - DEX MEV Arbitrage Trades on Optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_polygon_atomic_arbitrages - meta: - blockchain: polygon - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'polygon'] - description: > - DEX MEV Arbitrage Trades on Polygon - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_base_atomic_arbitrages - meta: - blockchain: base - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'base'] - description: > - DEX MEV Arbitrage Trades on Base - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_celo_atomic_arbitrages - meta: - blockchain: celo - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'celo'] - description: > - DEX MEV Arbitrage Trades on Celo - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_zksync_atomic_arbitrages - meta: - blockchain: zksync - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zksync'] - description: > - DEX MEV Arbitrage Trades on zkSync - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_scroll_atomic_arbitrages - meta: - blockchain: scroll - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'scroll'] - description: > - DEX MEV Arbitrage Trades on zkSScrollync - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - - name: dex_zora_atomic_arbitrages - meta: - blockchain: zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zora'] - description: > - DEX MEV Arbitrage Trades on Zora Network - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - + - *evt_index \ No newline at end of file diff --git a/models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiched.sql b/dex/models/sandwiches/dex_arbitrum_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiched.sql rename to dex/models/sandwiches/dex_arbitrum_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiches.sql b/dex/models/sandwiches/dex_arbitrum_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiches.sql rename to dex/models/sandwiches/dex_arbitrum_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiched.sql b/dex/models/sandwiches/dex_avalanche_c_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiched.sql rename to dex/models/sandwiches/dex_avalanche_c_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiches.sql b/dex/models/sandwiches/dex_avalanche_c_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiches.sql rename to dex/models/sandwiches/dex_avalanche_c_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_base_sandwiched.sql b/dex/models/sandwiches/dex_base_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_base_sandwiched.sql rename to dex/models/sandwiches/dex_base_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_base_sandwiches.sql b/dex/models/sandwiches/dex_base_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_base_sandwiches.sql rename to dex/models/sandwiches/dex_base_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_bnb_sandwiched.sql b/dex/models/sandwiches/dex_bnb_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_bnb_sandwiched.sql rename to dex/models/sandwiches/dex_bnb_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_bnb_sandwiches.sql b/dex/models/sandwiches/dex_bnb_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_bnb_sandwiches.sql rename to dex/models/sandwiches/dex_bnb_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_celo_sandwiched.sql b/dex/models/sandwiches/dex_celo_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_celo_sandwiched.sql rename to dex/models/sandwiches/dex_celo_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_celo_sandwiches.sql b/dex/models/sandwiches/dex_celo_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_celo_sandwiches.sql rename to dex/models/sandwiches/dex_celo_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_ethereum_sandwiched.sql b/dex/models/sandwiches/dex_ethereum_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_ethereum_sandwiched.sql rename to dex/models/sandwiches/dex_ethereum_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_ethereum_sandwiches.sql b/dex/models/sandwiches/dex_ethereum_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_ethereum_sandwiches.sql rename to dex/models/sandwiches/dex_ethereum_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_fantom_sandwiched.sql b/dex/models/sandwiches/dex_fantom_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_fantom_sandwiched.sql rename to dex/models/sandwiches/dex_fantom_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_fantom_sandwiches.sql b/dex/models/sandwiches/dex_fantom_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_fantom_sandwiches.sql rename to dex/models/sandwiches/dex_fantom_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_gnosis_sandwiched.sql b/dex/models/sandwiches/dex_gnosis_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_gnosis_sandwiched.sql rename to dex/models/sandwiches/dex_gnosis_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_gnosis_sandwiches.sql b/dex/models/sandwiches/dex_gnosis_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_gnosis_sandwiches.sql rename to dex/models/sandwiches/dex_gnosis_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_optimism_sandwiched.sql b/dex/models/sandwiches/dex_optimism_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_optimism_sandwiched.sql rename to dex/models/sandwiches/dex_optimism_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_optimism_sandwiches.sql b/dex/models/sandwiches/dex_optimism_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_optimism_sandwiches.sql rename to dex/models/sandwiches/dex_optimism_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_polygon_sandwiched.sql b/dex/models/sandwiches/dex_polygon_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_polygon_sandwiched.sql rename to dex/models/sandwiches/dex_polygon_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_polygon_sandwiches.sql b/dex/models/sandwiches/dex_polygon_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_polygon_sandwiches.sql rename to dex/models/sandwiches/dex_polygon_sandwiches.sql diff --git a/models/dex/dex_sandwiched.sql b/dex/models/sandwiches/dex_sandwiched.sql similarity index 100% rename from models/dex/dex_sandwiched.sql rename to dex/models/sandwiches/dex_sandwiched.sql diff --git a/models/dex/dex_sandwiches.sql b/dex/models/sandwiches/dex_sandwiches.sql similarity index 100% rename from models/dex/dex_sandwiches.sql rename to dex/models/sandwiches/dex_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_scroll_sandwiched.sql b/dex/models/sandwiches/dex_scroll_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_scroll_sandwiched.sql rename to dex/models/sandwiches/dex_scroll_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_scroll_sandwiches.sql b/dex/models/sandwiches/dex_scroll_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_scroll_sandwiches.sql rename to dex/models/sandwiches/dex_scroll_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zksync_sandwiched.sql b/dex/models/sandwiches/dex_zksync_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zksync_sandwiched.sql rename to dex/models/sandwiches/dex_zksync_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zksync_sandwiches.sql b/dex/models/sandwiches/dex_zksync_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zksync_sandwiches.sql rename to dex/models/sandwiches/dex_zksync_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zora_sandwiched.sql b/dex/models/sandwiches/dex_zora_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zora_sandwiched.sql rename to dex/models/sandwiches/dex_zora_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zora_sandwiches.sql b/dex/models/sandwiches/dex_zora_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zora_sandwiches.sql rename to dex/models/sandwiches/dex_zora_sandwiches.sql diff --git a/models/dex/arbitrum/_schema.yml b/models/dex/arbitrum/_schema.yml deleted file mode 100644 index e1ede77bc38..00000000000 --- a/models/dex/arbitrum/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_arbitrum_addresses - meta: - blockchain: arbitrum - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'arbitrum'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/base/_schema.yml b/models/dex/base/_schema.yml deleted file mode 100644 index f0256b6afac..00000000000 --- a/models/dex/base/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_base_addresses - meta: - blockchain: base - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'base'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/bnb/_schema.yml b/models/dex/bnb/_schema.yml deleted file mode 100644 index 74c5e66923a..00000000000 --- a/models/dex/bnb/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_bnb_addresses - meta: - blockchain: bnb - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'bnb'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index 70d90f53349..f39d7f79bed 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -509,25 +509,6 @@ models: - name: x_username description: "Username on X" - - name: dex_addresses - meta: - blockchain: arbitrum, base, bnb, ethereum, optimism, polygon - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'arbitrum', 'base', 'bnb', 'ethereum', 'optimism', 'polygon'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" - - name: dex_atomic_arbitrages meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora diff --git a/models/dex/ethereum/_schema.yml b/models/dex/ethereum/_schema.yml deleted file mode 100644 index d69f2a6760d..00000000000 --- a/models/dex/ethereum/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_ethereum_addresses - meta: - blockchain: ethereum - sector: dex - project: addresses - contributors: soispoke, rantum - config: - tags: ['table', 'dex', 'addresses', 'ethereum'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/optimism/_schema.yml b/models/dex/optimism/_schema.yml deleted file mode 100644 index 59adaebc120..00000000000 --- a/models/dex/optimism/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_optimism_addresses - meta: - blockchain: optimism - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'optimism'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/polygon/_schema.yml b/models/dex/polygon/_schema.yml deleted file mode 100644 index 5357be14e32..00000000000 --- a/models/dex/polygon/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_polygon_addresses - meta: - blockchain: polygon - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'polygon'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml b/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml index 4cdf583feaf..b76eff8e56b 100644 --- a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml +++ b/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml @@ -1,52 +1,6 @@ version: 2 models: - - name: ellipsis_finance_bnb_pool_tokens - meta: - blockchain: bnb - sector: dex - project: ellipsis_finance - contributors: Henrystats, 0xRob - config: - tags: ["bnb", "pool_tokens", "ellipsis", "dex"] - description: > - Ellipsis underlying tokens for token_exchange_underlying event - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - pool - - token_id - - token_type - - check_dex_pools_seed: - blockchain: bnb - project: ellipsis_finance - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &pool - name: pool - description: "pool contract address" - - &token_id - name: token_id - description: "underlying token id" - - &token_address - name: token_address - description: "underlying token address" - - &token_type - name: token_type - description: "token data (Underlying token, pool token.......)" - - &pool_type - name: pool_type - description: "pool type (Meta Pool, Base Pool....)" - - name: ellipsis_finance_bnb_airdrop_claims meta: blockchain: bnb From 60ec297a0845a2eaaad981f7f9869b32198fc6f1 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 11:18:50 -0400 Subject: [PATCH 04/63] move dex aggregator lineage --- .../_project/yield_yak/yield_yak_trades.sql | 0 .../models/_projects/bebop/_schema.yml | 0 .../_projects/bebop/arbitrum/_schema.yml | 0 .../bebop/arbitrum/bebop_arbitrum_trades.sql | 0 .../arbitrum/bebop_blend_arbitrum_trades.sql | 0 .../arbitrum/bebop_jam_arbitrum_trades.sql | 0 .../arbitrum/bebop_rfq_arbitrum_trades.sql | 0 .../models/_projects/bebop/base/_schema.yml | 0 .../bebop/base/bebop_base_trades.sql | 0 .../bebop/base/bebop_blend_base_trades.sql | 0 .../bebop/base/bebop_jam_base_trades.sql | 0 .../models/_projects}/bebop/bebop_trades.sql | 0 .../models/_projects/bebop/bnb/_schema.yml | 0 .../_projects}/bebop/bnb/bebop_bnb_trades.sql | 0 .../bebop/bnb/bebop_jam_bnb_trades.sql | 0 .../_projects/bebop/ethereum/_schema.yml | 0 .../ethereum/bebop_blend_ethereum_trades.sql | 0 .../bebop/ethereum/bebop_ethereum_trades.sql | 0 .../ethereum/bebop_jam_ethereum_trades.sql | 0 .../ethereum/bebop_rfq_ethereum_trades.sql | 0 .../_projects/bebop/optimism/_schema.yml | 0 .../optimism/bebop_jam_optimism_trades.sql | 0 .../bebop/optimism/bebop_optimism_trades.sql | 0 .../optimism/bebop_rfq_optimism_trades.sql | 0 .../_projects/bebop/polygon/_schema.yml | 0 .../polygon/bebop_blend_polygon_trades.sql | 0 .../polygon/bebop_jam_polygon_trades.sql | 0 .../bebop/polygon/bebop_polygon_trades.sql | 0 .../polygon/bebop_rfq_polygon_trades.sql | 0 .../models/_projects/bebop/scroll/_schema.yml | 0 .../bebop/scroll/bebop_jam_scroll_trades.sql | 0 .../bebop/scroll/bebop_scroll_trades.sql | 0 .../models/_projects/bebop/zksync/_schema.yml | 0 .../bebop/zksync/bebop_jam_zksync_trades.sql | 0 .../bebop/zksync/bebop_zksync_trades.sql | 0 dex/models/_projects/cow_protocol/_schema.yml | 325 ++++++++++++++++++ .../arbitrum/cow_protocol_arbitrum_trades.sql | 0 .../cow_protocol/cow_protocol_trades.sql | 0 .../ethereum/cow_protocol_ethereum_trades.sql | 0 .../gnosis/cow_protocol_gnosis_trades.sql | 0 .../models/_projects/dodo/_schema.yml | 0 .../_projects/dodo/arbitrum/_schema.yml | 0 .../dodo_aggregator_arbitrum_trades.sql | 0 .../models/_projects/dodo/base/_schema.yml | 0 .../dodo/base/dodo_aggregator_base_trades.sql | 0 .../models/_projects/dodo/bnb/_schema.yml | 0 .../dodo/bnb/dodo_aggregator_bnb_trades.sql | 0 .../dodo/dodo_aggregator_trades.sql | 0 .../_projects/dodo/ethereum/_schema.yml | 0 .../dodo_aggregator_ethereum_trades.sql | 0 .../_projects/dodo/optimism/_schema.yml | 0 .../dodo_aggregator_optimism_trades.sql | 0 .../models/_projects/dodo/polygon/_schema.yml | 0 .../dodo_aggregator_polygon_trades.sql | 0 .../firebird_finance/optimism/_schema.yml | 0 .../firebird_finance_optimism_trades.sql | 0 .../models/_projects/kyberswap/_schema.yml | 0 .../_projects/kyberswap/arbitrum/_schema.yml | 0 .../kyberswap_aggregator_arbitrum_trades.sql | 0 .../kyberswap/avalanche_c/_schema.yml | 0 ...yberswap_aggregator_avalanche_c_trades.sql | 0 .../_projects/kyberswap/base/_schema.yml | 0 .../base/kyberswap_aggregator_base_trades.sql | 0 .../_projects/kyberswap/bnb/_schema.yml | 0 .../bnb/kyberswap_aggregator_bnb_trades.sql | 0 .../_projects/kyberswap/ethereum/_schema.yml | 0 .../kyberswap_aggregator_ethereum_trades.sql | 0 .../kyberswap/kyberswap_aggregator_trades.sql | 0 .../_projects/kyberswap/optimism/_schema.yml | 0 .../kyberswap_aggregator_optimism_trades.sql | 0 .../_projects/kyberswap/polygon/_schema.yml | 0 .../kyberswap_aggregator_polygon_trades.sql | 0 .../models/_projects/lifi/_schema.yml | 0 .../models/_projects/lifi/fantom/_schema.yml | 0 .../lifi/fantom/lifi_fantom_trades.sql | 0 .../lifi/fantom/lifi_v2_fantom_trades.sql | 0 .../models/_projects}/lifi/lifi_trades.sql | 0 .../_projects/lifi/optimism/_schema.yml | 0 .../lifi/optimism/lifi_optimism_trades.sql | 0 .../lifi/optimism/lifi_v2_optimism_trades.sql | 0 .../models/_projects/odos/_schema.yml | 0 .../_projects/odos/avalanche_c/_schema.yml | 0 .../avalanche_c/odos_avalanche_c_trades.sql | 0 .../models/_projects/odos/base/_schema.yml | 0 .../_projects}/odos/base/odos_base_trades.sql | 0 .../odos/base/odos_v2_base_trades.sql | 0 .../_projects/odos/ethereum/_schema.yml | 0 .../odos/ethereum/odos_ethereum_trades.sql | 0 .../odos/ethereum/odos_v2_ethereum_trades.sql | 0 .../models/_projects}/odos/odos_trades.sql | 0 .../_projects/odos/optimism/_schema.yml | 0 .../odos/optimism/odos_optimism_trades.sql | 0 .../odos/optimism/odos_v1_optimism_trades.sql | 0 .../odos/optimism/odos_v2_optimism_trades.sql | 0 .../models/_projects/paraswap/_schema.yml | 0 .../_projects/paraswap/arbitrum/_schema.yml | 0 .../arbitrum/paraswap_arbitrum_trades.sql | 0 .../arbitrum/paraswap_v5_arbitrum_trades.sql | 0 .../arbitrum/paraswap_v6_arbitrum_trades.sql | 0 .../paraswap_v6_arbitrum_trades_decoded.sql | 0 .../paraswap/avalanche_c/_schema.yml | 0 .../paraswap_avalanche_c_trades.sql | 0 .../paraswap_v5_avalanche_c_trades.sql | 0 .../paraswap_v6_avalanche_c_trades.sql | 0 ...paraswap_v6_avalanche_c_trades_decoded.sql | 0 .../_projects/paraswap/base/_schema.yml | 0 .../paraswap/base/paraswap_base_trades.sql | 0 .../paraswap/base/paraswap_v5_base_trades.sql | 0 .../paraswap/base/paraswap_v6_base_trades.sql | 0 .../base/paraswap_v6_base_trades_decoded.sql | 0 .../models/_projects/paraswap/bnb/_schema.yml | 0 .../paraswap/bnb/paraswap_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v4_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v5_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v6_bnb_trades.sql | 0 .../bnb/paraswap_v6_bnb_trades_decoded.sql | 0 .../_projects/paraswap/ethereum/_schema.yml | 64 +--- .../ethereum/paraswap_ethereum_trades.sql | 0 .../ethereum/paraswap_v4_ethereum_trades.sql | 0 .../ethereum/paraswap_v5_ethereum_trades.sql | 0 .../ethereum/paraswap_v6_ethereum_trades.sql | 0 .../paraswap_v6_ethereum_trades_decoded.sql | 0 .../_projects/paraswap/fantom/_schema.yml | 0 .../fantom/paraswap_fantom_trades.sql | 0 .../fantom/paraswap_v5_fantom_trades.sql | 0 .../fantom/paraswap_v6_fantom_trades.sql | 0 .../paraswap_v6_fantom_trades_decoded.sql | 0 .../_projects/paraswap/optimism/_schema.yml | 0 .../optimism/paraswap_optimism_trades.sql | 0 .../optimism/paraswap_v5_optimism_trades.sql | 0 .../optimism/paraswap_v6_optimism_trades.sql | 0 .../paraswap_v6_optimism_trades_decoded.sql | 0 .../_projects}/paraswap/paraswap_trades.sql | 0 .../_projects/paraswap/polygon/_schema.yml | 0 .../polygon/paraswap_polygon_trades.sql | 0 .../polygon/paraswap_v4_polygon_trades.sql | 0 .../polygon/paraswap_v5_polygon_trades.sql | 0 .../polygon/paraswap_v6_polygon_trades.sql | 0 .../paraswap_v6_polygon_trades_decoded.sql | 0 .../models/_projects/tokenlon/_schema.yml | 0 .../_projects/tokenlon/ethereum/_schema.yml | 0 .../ethereum/tokenlon_ethereum_trades.sql | 0 .../tokenlon_v5_ethereum_amm_v1_trades.sql | 0 .../tokenlon_v5_ethereum_amm_v2_trades.sql | 0 .../tokenlon_v5_ethereum_pmm_v5_trades.sql | 0 .../tokenlon_v5_ethereum_rfq_v1_trades.sql | 0 .../tokenlon_v5_ethereum_rfq_v2_trades.sql | 0 .../_projects}/tokenlon/tokenlon_trades.sql | 0 .../_projects/unidex/optimism/_schema.yml | 99 ++++++ .../optimism/unidex_optimism_trades.sql | 0 dex/models/_projects/yield_yak/_schema.yml | 79 +++++ .../_projects/yield_yak/arbitrum/_schema.yml | 96 ++++++ .../arbitrum/yield_yak_arbitrum_trades.sql | 0 .../yield_yak/avalanche_c/_schema.yml | 96 ++++++ .../yield_yak_avalanche_c_trades.sql | 0 .../_projects/yield_yak/mantle/_schema.yml | 96 ++++++ .../mantle/yield_yak_mantle_trades.sql | 0 .../_projects}/yield_yak/yield_yak_trades.sql | 0 .../dex_aggregator_trades.sql | 0 .../arbitrum/cow_protocol_arbitrum_schema.yml | 109 ------ models/cow_protocol/cow_protocol_schema.yml | 88 +---- .../ethereum/cow_protocol_ethereum_schema.yml | 118 ------- .../gnosis/cow_protocol_gnosis_schema.yml | 106 ------ models/paraswap/_schema.yml | 64 ++++ .../paraswap_ethereum_airdrop_claims.sql | 0 .../optimism/unidex_optimism_schema.yml | 133 ++----- .../arbitrum/yield_yak_arbitrum_schema.yml | 98 +----- .../yield_yak_avalanche_c_schema.yml | 98 +----- .../mantle/yield_yak_mantle_schema.yml | 98 +----- models/yield_yak/yield_yak_schema.yml | 81 +---- 170 files changed, 904 insertions(+), 944 deletions(-) rename {macros => dex/macros}/models/_project/yield_yak/yield_yak_trades.sql (100%) rename models/bebop/bebop_trades_schema.yml => dex/models/_projects/bebop/_schema.yml (100%) rename models/bebop/arbitrum/bebop_arbitrum_schema.yml => dex/models/_projects/bebop/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_blend_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_jam_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql (100%) rename models/bebop/base/bebop_base_schema.yml => dex/models/_projects/bebop/base/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/base/bebop_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/base/bebop_blend_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/base/bebop_jam_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/bebop_trades.sql (100%) rename models/bebop/bnb/bebop_bnb_schema.yml => dex/models/_projects/bebop/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/bnb/bebop_bnb_trades.sql (100%) rename {models => dex/models/_projects}/bebop/bnb/bebop_jam_bnb_trades.sql (100%) rename models/bebop/ethereum/bebop_ethereum_schema.yml => dex/models/_projects/bebop/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_blend_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_jam_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_rfq_ethereum_trades.sql (100%) rename models/bebop/optimism/bebop_optimism_schema.yml => dex/models/_projects/bebop/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_jam_optimism_trades.sql (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_optimism_trades.sql (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_rfq_optimism_trades.sql (100%) rename models/bebop/polygon/bebop_polygon_schema.yml => dex/models/_projects/bebop/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_blend_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_jam_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_rfq_polygon_trades.sql (100%) rename models/bebop/scroll/bebop_scroll_schema.yml => dex/models/_projects/bebop/scroll/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/scroll/bebop_jam_scroll_trades.sql (100%) rename {models => dex/models/_projects}/bebop/scroll/bebop_scroll_trades.sql (100%) rename models/bebop/zksync/bebop_zksync_schema.yml => dex/models/_projects/bebop/zksync/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/zksync/bebop_jam_zksync_trades.sql (100%) rename {models => dex/models/_projects}/bebop/zksync/bebop_zksync_trades.sql (100%) create mode 100644 dex/models/_projects/cow_protocol/_schema.yml rename {models => dex/models/_projects}/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/cow_protocol_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql (100%) rename models/dodo/dodo_trades_schema.yml => dex/models/_projects/dodo/_schema.yml (100%) rename models/dodo/arbitrum/dodo_arbitrum_schema.yml => dex/models/_projects/dodo/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql (100%) rename models/dodo/base/dodo_base_schema.yml => dex/models/_projects/dodo/base/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/base/dodo_aggregator_base_trades.sql (100%) rename models/dodo/bnb/dodo_bnb_schema.yml => dex/models/_projects/dodo/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/bnb/dodo_aggregator_bnb_trades.sql (100%) rename {models => dex/models/_projects}/dodo/dodo_aggregator_trades.sql (100%) rename models/dodo/ethereum/dodo_ethereum_schema.yml => dex/models/_projects/dodo/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/ethereum/dodo_aggregator_ethereum_trades.sql (100%) rename models/dodo/optimism/dodo_optimism_schema.yml => dex/models/_projects/dodo/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/optimism/dodo_aggregator_optimism_trades.sql (100%) rename models/dodo/polygon/dodo_polygon_schema.yml => dex/models/_projects/dodo/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/polygon/dodo_aggregator_polygon_trades.sql (100%) rename models/firebird_finance/optimism/firebird_finance_optimism_schema.yml => dex/models/_projects/firebird_finance/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/firebird_finance/optimism/firebird_finance_optimism_trades.sql (100%) rename models/kyberswap/kyberswap_trades_schema.yml => dex/models/_projects/kyberswap/_schema.yml (100%) rename models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml => dex/models/_projects/kyberswap/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql (100%) rename models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml => dex/models/_projects/kyberswap/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql (100%) rename models/kyberswap/base/kyberswap_base_schema.yml => dex/models/_projects/kyberswap/base/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/base/kyberswap_aggregator_base_trades.sql (100%) rename models/kyberswap/bnb/kyberswap_bnb_schema.yml => dex/models/_projects/kyberswap/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql (100%) rename models/kyberswap/ethereum/kyberswap_ethereum_schema.yml => dex/models/_projects/kyberswap/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/kyberswap/kyberswap_aggregator_trades.sql (100%) rename models/kyberswap/optimism/kyberswap_optimism_schema.yml => dex/models/_projects/kyberswap/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql (100%) rename models/kyberswap/polygon/kyberswap_polygon_schema.yml => dex/models/_projects/kyberswap/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql (100%) rename models/lifi/lifi_trades_schema.yml => dex/models/_projects/lifi/_schema.yml (100%) rename models/lifi/fantom/lifi_fantom_schema.yml => dex/models/_projects/lifi/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/lifi/fantom/lifi_fantom_trades.sql (100%) rename {models => dex/models/_projects}/lifi/fantom/lifi_v2_fantom_trades.sql (100%) rename {models => dex/models/_projects}/lifi/lifi_trades.sql (100%) rename models/lifi/optimism/lifi_optimism_schema.yml => dex/models/_projects/lifi/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/lifi/optimism/lifi_optimism_trades.sql (100%) rename {models => dex/models/_projects}/lifi/optimism/lifi_v2_optimism_trades.sql (100%) rename models/odos/odos_trades_schema.yml => dex/models/_projects/odos/_schema.yml (100%) rename models/odos/avalanche_c/odos_avalanche_c_schema.yml => dex/models/_projects/odos/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/odos/avalanche_c/odos_avalanche_c_trades.sql (100%) rename models/odos/base/odos_base_schema.yml => dex/models/_projects/odos/base/_schema.yml (100%) rename {models => dex/models/_projects}/odos/base/odos_base_trades.sql (100%) rename {models => dex/models/_projects}/odos/base/odos_v2_base_trades.sql (100%) rename models/odos/ethereum/odos_ethereum_schema.yml => dex/models/_projects/odos/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/odos/ethereum/odos_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/odos/ethereum/odos_v2_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/odos/odos_trades.sql (100%) rename models/odos/optimism/odos_optimism_schema.yml => dex/models/_projects/odos/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/odos/optimism/odos_optimism_trades.sql (100%) rename {models => dex/models/_projects}/odos/optimism/odos_v1_optimism_trades.sql (100%) rename {models => dex/models/_projects}/odos/optimism/odos_v2_optimism_trades.sql (100%) rename models/paraswap/paraswap_trades_schema.yml => dex/models/_projects/paraswap/_schema.yml (100%) rename models/paraswap/arbitrum/paraswap_arbitrum_schema.yml => dex/models/_projects/paraswap/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql (100%) rename models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml => dex/models/_projects/paraswap/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql (100%) rename models/paraswap/base/paraswap_base_schema.yml => dex/models/_projects/paraswap/base/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v5_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v6_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v6_base_trades_decoded.sql (100%) rename models/paraswap/bnb/paraswap_bnb_schema.yml => dex/models/_projects/paraswap/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v4_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v5_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v6_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql (100%) rename models/paraswap/ethereum/paraswap_ethereum_schema.yml => dex/models/_projects/paraswap/ethereum/_schema.yml (81%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v4_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v5_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v6_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql (100%) rename models/paraswap/fantom/paraswap_fantom_schema.yml => dex/models/_projects/paraswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v5_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v6_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql (100%) rename models/paraswap/optimism/paraswap_optimism_schema.yml => dex/models/_projects/paraswap/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v5_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v6_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql (100%) rename {models => dex/models/_projects}/paraswap/paraswap_trades.sql (100%) rename models/paraswap/polygon/paraswap_polygon_schema.yml => dex/models/_projects/paraswap/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v4_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v5_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v6_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql (100%) rename models/tokenlon/tokenlon_trades_schema.yml => dex/models/_projects/tokenlon/_schema.yml (100%) rename models/tokenlon/ethereum/tokenlon_ethereum_schema.yml => dex/models/_projects/tokenlon/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/tokenlon_trades.sql (100%) create mode 100644 dex/models/_projects/unidex/optimism/_schema.yml rename {models => dex/models/_projects}/unidex/optimism/unidex_optimism_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/_schema.yml create mode 100644 dex/models/_projects/yield_yak/arbitrum/_schema.yml rename {models => dex/models/_projects}/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/avalanche_c/_schema.yml rename {models => dex/models/_projects}/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/mantle/_schema.yml rename {models => dex/models/_projects}/yield_yak/mantle/yield_yak_mantle_trades.sql (100%) rename {models => dex/models/_projects}/yield_yak/yield_yak_trades.sql (100%) rename {models/dex => dex/models/aggregator_trades}/dex_aggregator_trades.sql (100%) delete mode 100644 models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml create mode 100644 models/paraswap/_schema.yml rename models/paraswap/{ethereum => }/paraswap_ethereum_airdrop_claims.sql (100%) diff --git a/macros/models/_project/yield_yak/yield_yak_trades.sql b/dex/macros/models/_project/yield_yak/yield_yak_trades.sql similarity index 100% rename from macros/models/_project/yield_yak/yield_yak_trades.sql rename to dex/macros/models/_project/yield_yak/yield_yak_trades.sql diff --git a/models/bebop/bebop_trades_schema.yml b/dex/models/_projects/bebop/_schema.yml similarity index 100% rename from models/bebop/bebop_trades_schema.yml rename to dex/models/_projects/bebop/_schema.yml diff --git a/models/bebop/arbitrum/bebop_arbitrum_schema.yml b/dex/models/_projects/bebop/arbitrum/_schema.yml similarity index 100% rename from models/bebop/arbitrum/bebop_arbitrum_schema.yml rename to dex/models/_projects/bebop/arbitrum/_schema.yml diff --git a/models/bebop/arbitrum/bebop_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_blend_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_blend_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_blend_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_blend_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_jam_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_jam_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_jam_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_jam_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql diff --git a/models/bebop/base/bebop_base_schema.yml b/dex/models/_projects/bebop/base/_schema.yml similarity index 100% rename from models/bebop/base/bebop_base_schema.yml rename to dex/models/_projects/bebop/base/_schema.yml diff --git a/models/bebop/base/bebop_base_trades.sql b/dex/models/_projects/bebop/base/bebop_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_base_trades.sql diff --git a/models/bebop/base/bebop_blend_base_trades.sql b/dex/models/_projects/bebop/base/bebop_blend_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_blend_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_blend_base_trades.sql diff --git a/models/bebop/base/bebop_jam_base_trades.sql b/dex/models/_projects/bebop/base/bebop_jam_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_jam_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_jam_base_trades.sql diff --git a/models/bebop/bebop_trades.sql b/dex/models/_projects/bebop/bebop_trades.sql similarity index 100% rename from models/bebop/bebop_trades.sql rename to dex/models/_projects/bebop/bebop_trades.sql diff --git a/models/bebop/bnb/bebop_bnb_schema.yml b/dex/models/_projects/bebop/bnb/_schema.yml similarity index 100% rename from models/bebop/bnb/bebop_bnb_schema.yml rename to dex/models/_projects/bebop/bnb/_schema.yml diff --git a/models/bebop/bnb/bebop_bnb_trades.sql b/dex/models/_projects/bebop/bnb/bebop_bnb_trades.sql similarity index 100% rename from models/bebop/bnb/bebop_bnb_trades.sql rename to dex/models/_projects/bebop/bnb/bebop_bnb_trades.sql diff --git a/models/bebop/bnb/bebop_jam_bnb_trades.sql b/dex/models/_projects/bebop/bnb/bebop_jam_bnb_trades.sql similarity index 100% rename from models/bebop/bnb/bebop_jam_bnb_trades.sql rename to dex/models/_projects/bebop/bnb/bebop_jam_bnb_trades.sql diff --git a/models/bebop/ethereum/bebop_ethereum_schema.yml b/dex/models/_projects/bebop/ethereum/_schema.yml similarity index 100% rename from models/bebop/ethereum/bebop_ethereum_schema.yml rename to dex/models/_projects/bebop/ethereum/_schema.yml diff --git a/models/bebop/ethereum/bebop_blend_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_blend_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_blend_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_blend_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_jam_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_jam_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_jam_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_jam_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_rfq_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_rfq_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_rfq_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_rfq_ethereum_trades.sql diff --git a/models/bebop/optimism/bebop_optimism_schema.yml b/dex/models/_projects/bebop/optimism/_schema.yml similarity index 100% rename from models/bebop/optimism/bebop_optimism_schema.yml rename to dex/models/_projects/bebop/optimism/_schema.yml diff --git a/models/bebop/optimism/bebop_jam_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_jam_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_jam_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_jam_optimism_trades.sql diff --git a/models/bebop/optimism/bebop_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_optimism_trades.sql diff --git a/models/bebop/optimism/bebop_rfq_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_rfq_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_rfq_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_rfq_optimism_trades.sql diff --git a/models/bebop/polygon/bebop_polygon_schema.yml b/dex/models/_projects/bebop/polygon/_schema.yml similarity index 100% rename from models/bebop/polygon/bebop_polygon_schema.yml rename to dex/models/_projects/bebop/polygon/_schema.yml diff --git a/models/bebop/polygon/bebop_blend_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_blend_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_blend_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_blend_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_jam_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_jam_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_jam_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_jam_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_rfq_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_rfq_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_rfq_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_rfq_polygon_trades.sql diff --git a/models/bebop/scroll/bebop_scroll_schema.yml b/dex/models/_projects/bebop/scroll/_schema.yml similarity index 100% rename from models/bebop/scroll/bebop_scroll_schema.yml rename to dex/models/_projects/bebop/scroll/_schema.yml diff --git a/models/bebop/scroll/bebop_jam_scroll_trades.sql b/dex/models/_projects/bebop/scroll/bebop_jam_scroll_trades.sql similarity index 100% rename from models/bebop/scroll/bebop_jam_scroll_trades.sql rename to dex/models/_projects/bebop/scroll/bebop_jam_scroll_trades.sql diff --git a/models/bebop/scroll/bebop_scroll_trades.sql b/dex/models/_projects/bebop/scroll/bebop_scroll_trades.sql similarity index 100% rename from models/bebop/scroll/bebop_scroll_trades.sql rename to dex/models/_projects/bebop/scroll/bebop_scroll_trades.sql diff --git a/models/bebop/zksync/bebop_zksync_schema.yml b/dex/models/_projects/bebop/zksync/_schema.yml similarity index 100% rename from models/bebop/zksync/bebop_zksync_schema.yml rename to dex/models/_projects/bebop/zksync/_schema.yml diff --git a/models/bebop/zksync/bebop_jam_zksync_trades.sql b/dex/models/_projects/bebop/zksync/bebop_jam_zksync_trades.sql similarity index 100% rename from models/bebop/zksync/bebop_jam_zksync_trades.sql rename to dex/models/_projects/bebop/zksync/bebop_jam_zksync_trades.sql diff --git a/models/bebop/zksync/bebop_zksync_trades.sql b/dex/models/_projects/bebop/zksync/bebop_zksync_trades.sql similarity index 100% rename from models/bebop/zksync/bebop_zksync_trades.sql rename to dex/models/_projects/bebop/zksync/bebop_zksync_trades.sql diff --git a/dex/models/_projects/cow_protocol/_schema.yml b/dex/models/_projects/cow_protocol/_schema.yml new file mode 100644 index 00000000000..3fe644f02d4 --- /dev/null +++ b/dex/models/_projects/cow_protocol/_schema.yml @@ -0,0 +1,325 @@ +version: 2 + +models: + - name: cow_protocol_trades + meta: + blockchain: ethereum + sector: dex + project: cow_protocol + contributors: bh2smith, gentrexha + config: + tags: ['ethereum','cow_protocol','trades','dex','aggregator','cross-chain'] + description: > + CoW Protocol trades on all chains across all contracts and versions. + This table will load dex trades downstream. + This particular version of the protocol trades table is intended to conform + with the columns as specified in dex.trades sector. + A more detailed version of the protocol trades table can be found under `cow_protocol_ethereum.trades` + columns: + - &blockchain + name: blockchain + description: "Blockchain which the project is deployed" + - &project + name: project + description: "Project name" + - &version + name: version + description: "Version of the contract built and deployed by the project" + - &block_date + name: block_date + description: "UTC event block date of each trade" + - &block_time + name: block_time + description: "UTC event block time of each trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Trader address owning the order being filled" + - &tx_to + name: tx_to + description: "Address which received the token bought" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + + - name: cow_protocol_arbitrum_trades + meta: + blockchain: arbitrum + project: cow_protocol + contributors: olgafetisova + config: + tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Arbitrum Chain + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Arbitrum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Arbitrum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" + + - name: cow_protocol_ethereum_trades + meta: + blockchain: ethereum + project: cow_protocol + contributors: bh2smith, gentrexha + config: + tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_number + description: "Block number that the transaction was included" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Ethereum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Ethereum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" + - name: order_type + description: "SELL/BUY string indicating if the trade was a sell or buy order" + - name: partial_fill + description: "Boolean indicating if the order is partially fill-able" + - name: fill_proportion + + - name: cow_protocol_gnosis_trades + meta: + blockchain: gnosis + project: cow_protocol + contributors: bh2smith + config: + tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Gnosis Chain + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Ethereum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Ethereum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" \ No newline at end of file diff --git a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql b/dex/models/_projects/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql similarity index 100% rename from models/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql rename to dex/models/_projects/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql diff --git a/models/cow_protocol/cow_protocol_trades.sql b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql similarity index 100% rename from models/cow_protocol/cow_protocol_trades.sql rename to dex/models/_projects/cow_protocol/cow_protocol_trades.sql diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql similarity index 100% rename from models/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql rename to dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql similarity index 100% rename from models/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql rename to dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql diff --git a/models/dodo/dodo_trades_schema.yml b/dex/models/_projects/dodo/_schema.yml similarity index 100% rename from models/dodo/dodo_trades_schema.yml rename to dex/models/_projects/dodo/_schema.yml diff --git a/models/dodo/arbitrum/dodo_arbitrum_schema.yml b/dex/models/_projects/dodo/arbitrum/_schema.yml similarity index 100% rename from models/dodo/arbitrum/dodo_arbitrum_schema.yml rename to dex/models/_projects/dodo/arbitrum/_schema.yml diff --git a/models/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql similarity index 100% rename from models/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql rename to dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql diff --git a/models/dodo/base/dodo_base_schema.yml b/dex/models/_projects/dodo/base/_schema.yml similarity index 100% rename from models/dodo/base/dodo_base_schema.yml rename to dex/models/_projects/dodo/base/_schema.yml diff --git a/models/dodo/base/dodo_aggregator_base_trades.sql b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql similarity index 100% rename from models/dodo/base/dodo_aggregator_base_trades.sql rename to dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql diff --git a/models/dodo/bnb/dodo_bnb_schema.yml b/dex/models/_projects/dodo/bnb/_schema.yml similarity index 100% rename from models/dodo/bnb/dodo_bnb_schema.yml rename to dex/models/_projects/dodo/bnb/_schema.yml diff --git a/models/dodo/bnb/dodo_aggregator_bnb_trades.sql b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql similarity index 100% rename from models/dodo/bnb/dodo_aggregator_bnb_trades.sql rename to dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql diff --git a/models/dodo/dodo_aggregator_trades.sql b/dex/models/_projects/dodo/dodo_aggregator_trades.sql similarity index 100% rename from models/dodo/dodo_aggregator_trades.sql rename to dex/models/_projects/dodo/dodo_aggregator_trades.sql diff --git a/models/dodo/ethereum/dodo_ethereum_schema.yml b/dex/models/_projects/dodo/ethereum/_schema.yml similarity index 100% rename from models/dodo/ethereum/dodo_ethereum_schema.yml rename to dex/models/_projects/dodo/ethereum/_schema.yml diff --git a/models/dodo/ethereum/dodo_aggregator_ethereum_trades.sql b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql similarity index 100% rename from models/dodo/ethereum/dodo_aggregator_ethereum_trades.sql rename to dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql diff --git a/models/dodo/optimism/dodo_optimism_schema.yml b/dex/models/_projects/dodo/optimism/_schema.yml similarity index 100% rename from models/dodo/optimism/dodo_optimism_schema.yml rename to dex/models/_projects/dodo/optimism/_schema.yml diff --git a/models/dodo/optimism/dodo_aggregator_optimism_trades.sql b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql similarity index 100% rename from models/dodo/optimism/dodo_aggregator_optimism_trades.sql rename to dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql diff --git a/models/dodo/polygon/dodo_polygon_schema.yml b/dex/models/_projects/dodo/polygon/_schema.yml similarity index 100% rename from models/dodo/polygon/dodo_polygon_schema.yml rename to dex/models/_projects/dodo/polygon/_schema.yml diff --git a/models/dodo/polygon/dodo_aggregator_polygon_trades.sql b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql similarity index 100% rename from models/dodo/polygon/dodo_aggregator_polygon_trades.sql rename to dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql diff --git a/models/firebird_finance/optimism/firebird_finance_optimism_schema.yml b/dex/models/_projects/firebird_finance/optimism/_schema.yml similarity index 100% rename from models/firebird_finance/optimism/firebird_finance_optimism_schema.yml rename to dex/models/_projects/firebird_finance/optimism/_schema.yml diff --git a/models/firebird_finance/optimism/firebird_finance_optimism_trades.sql b/dex/models/_projects/firebird_finance/optimism/firebird_finance_optimism_trades.sql similarity index 100% rename from models/firebird_finance/optimism/firebird_finance_optimism_trades.sql rename to dex/models/_projects/firebird_finance/optimism/firebird_finance_optimism_trades.sql diff --git a/models/kyberswap/kyberswap_trades_schema.yml b/dex/models/_projects/kyberswap/_schema.yml similarity index 100% rename from models/kyberswap/kyberswap_trades_schema.yml rename to dex/models/_projects/kyberswap/_schema.yml diff --git a/models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml b/dex/models/_projects/kyberswap/arbitrum/_schema.yml similarity index 100% rename from models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml rename to dex/models/_projects/kyberswap/arbitrum/_schema.yml diff --git a/models/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql b/dex/models/_projects/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql similarity index 100% rename from models/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql rename to dex/models/_projects/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql diff --git a/models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml b/dex/models/_projects/kyberswap/avalanche_c/_schema.yml similarity index 100% rename from models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml rename to dex/models/_projects/kyberswap/avalanche_c/_schema.yml diff --git a/models/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql b/dex/models/_projects/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql similarity index 100% rename from models/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql rename to dex/models/_projects/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql diff --git a/models/kyberswap/base/kyberswap_base_schema.yml b/dex/models/_projects/kyberswap/base/_schema.yml similarity index 100% rename from models/kyberswap/base/kyberswap_base_schema.yml rename to dex/models/_projects/kyberswap/base/_schema.yml diff --git a/models/kyberswap/base/kyberswap_aggregator_base_trades.sql b/dex/models/_projects/kyberswap/base/kyberswap_aggregator_base_trades.sql similarity index 100% rename from models/kyberswap/base/kyberswap_aggregator_base_trades.sql rename to dex/models/_projects/kyberswap/base/kyberswap_aggregator_base_trades.sql diff --git a/models/kyberswap/bnb/kyberswap_bnb_schema.yml b/dex/models/_projects/kyberswap/bnb/_schema.yml similarity index 100% rename from models/kyberswap/bnb/kyberswap_bnb_schema.yml rename to dex/models/_projects/kyberswap/bnb/_schema.yml diff --git a/models/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql b/dex/models/_projects/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql similarity index 100% rename from models/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql rename to dex/models/_projects/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql diff --git a/models/kyberswap/ethereum/kyberswap_ethereum_schema.yml b/dex/models/_projects/kyberswap/ethereum/_schema.yml similarity index 100% rename from models/kyberswap/ethereum/kyberswap_ethereum_schema.yml rename to dex/models/_projects/kyberswap/ethereum/_schema.yml diff --git a/models/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql b/dex/models/_projects/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql similarity index 100% rename from models/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql rename to dex/models/_projects/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql diff --git a/models/kyberswap/kyberswap_aggregator_trades.sql b/dex/models/_projects/kyberswap/kyberswap_aggregator_trades.sql similarity index 100% rename from models/kyberswap/kyberswap_aggregator_trades.sql rename to dex/models/_projects/kyberswap/kyberswap_aggregator_trades.sql diff --git a/models/kyberswap/optimism/kyberswap_optimism_schema.yml b/dex/models/_projects/kyberswap/optimism/_schema.yml similarity index 100% rename from models/kyberswap/optimism/kyberswap_optimism_schema.yml rename to dex/models/_projects/kyberswap/optimism/_schema.yml diff --git a/models/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql b/dex/models/_projects/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql similarity index 100% rename from models/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql rename to dex/models/_projects/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql diff --git a/models/kyberswap/polygon/kyberswap_polygon_schema.yml b/dex/models/_projects/kyberswap/polygon/_schema.yml similarity index 100% rename from models/kyberswap/polygon/kyberswap_polygon_schema.yml rename to dex/models/_projects/kyberswap/polygon/_schema.yml diff --git a/models/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql b/dex/models/_projects/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql similarity index 100% rename from models/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql rename to dex/models/_projects/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql diff --git a/models/lifi/lifi_trades_schema.yml b/dex/models/_projects/lifi/_schema.yml similarity index 100% rename from models/lifi/lifi_trades_schema.yml rename to dex/models/_projects/lifi/_schema.yml diff --git a/models/lifi/fantom/lifi_fantom_schema.yml b/dex/models/_projects/lifi/fantom/_schema.yml similarity index 100% rename from models/lifi/fantom/lifi_fantom_schema.yml rename to dex/models/_projects/lifi/fantom/_schema.yml diff --git a/models/lifi/fantom/lifi_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql similarity index 100% rename from models/lifi/fantom/lifi_fantom_trades.sql rename to dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql diff --git a/models/lifi/fantom/lifi_v2_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_v2_fantom_trades.sql similarity index 100% rename from models/lifi/fantom/lifi_v2_fantom_trades.sql rename to dex/models/_projects/lifi/fantom/lifi_v2_fantom_trades.sql diff --git a/models/lifi/lifi_trades.sql b/dex/models/_projects/lifi/lifi_trades.sql similarity index 100% rename from models/lifi/lifi_trades.sql rename to dex/models/_projects/lifi/lifi_trades.sql diff --git a/models/lifi/optimism/lifi_optimism_schema.yml b/dex/models/_projects/lifi/optimism/_schema.yml similarity index 100% rename from models/lifi/optimism/lifi_optimism_schema.yml rename to dex/models/_projects/lifi/optimism/_schema.yml diff --git a/models/lifi/optimism/lifi_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql similarity index 100% rename from models/lifi/optimism/lifi_optimism_trades.sql rename to dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql diff --git a/models/lifi/optimism/lifi_v2_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_v2_optimism_trades.sql similarity index 100% rename from models/lifi/optimism/lifi_v2_optimism_trades.sql rename to dex/models/_projects/lifi/optimism/lifi_v2_optimism_trades.sql diff --git a/models/odos/odos_trades_schema.yml b/dex/models/_projects/odos/_schema.yml similarity index 100% rename from models/odos/odos_trades_schema.yml rename to dex/models/_projects/odos/_schema.yml diff --git a/models/odos/avalanche_c/odos_avalanche_c_schema.yml b/dex/models/_projects/odos/avalanche_c/_schema.yml similarity index 100% rename from models/odos/avalanche_c/odos_avalanche_c_schema.yml rename to dex/models/_projects/odos/avalanche_c/_schema.yml diff --git a/models/odos/avalanche_c/odos_avalanche_c_trades.sql b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql similarity index 100% rename from models/odos/avalanche_c/odos_avalanche_c_trades.sql rename to dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql diff --git a/models/odos/base/odos_base_schema.yml b/dex/models/_projects/odos/base/_schema.yml similarity index 100% rename from models/odos/base/odos_base_schema.yml rename to dex/models/_projects/odos/base/_schema.yml diff --git a/models/odos/base/odos_base_trades.sql b/dex/models/_projects/odos/base/odos_base_trades.sql similarity index 100% rename from models/odos/base/odos_base_trades.sql rename to dex/models/_projects/odos/base/odos_base_trades.sql diff --git a/models/odos/base/odos_v2_base_trades.sql b/dex/models/_projects/odos/base/odos_v2_base_trades.sql similarity index 100% rename from models/odos/base/odos_v2_base_trades.sql rename to dex/models/_projects/odos/base/odos_v2_base_trades.sql diff --git a/models/odos/ethereum/odos_ethereum_schema.yml b/dex/models/_projects/odos/ethereum/_schema.yml similarity index 100% rename from models/odos/ethereum/odos_ethereum_schema.yml rename to dex/models/_projects/odos/ethereum/_schema.yml diff --git a/models/odos/ethereum/odos_ethereum_trades.sql b/dex/models/_projects/odos/ethereum/odos_ethereum_trades.sql similarity index 100% rename from models/odos/ethereum/odos_ethereum_trades.sql rename to dex/models/_projects/odos/ethereum/odos_ethereum_trades.sql diff --git a/models/odos/ethereum/odos_v2_ethereum_trades.sql b/dex/models/_projects/odos/ethereum/odos_v2_ethereum_trades.sql similarity index 100% rename from models/odos/ethereum/odos_v2_ethereum_trades.sql rename to dex/models/_projects/odos/ethereum/odos_v2_ethereum_trades.sql diff --git a/models/odos/odos_trades.sql b/dex/models/_projects/odos/odos_trades.sql similarity index 100% rename from models/odos/odos_trades.sql rename to dex/models/_projects/odos/odos_trades.sql diff --git a/models/odos/optimism/odos_optimism_schema.yml b/dex/models/_projects/odos/optimism/_schema.yml similarity index 100% rename from models/odos/optimism/odos_optimism_schema.yml rename to dex/models/_projects/odos/optimism/_schema.yml diff --git a/models/odos/optimism/odos_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_optimism_trades.sql diff --git a/models/odos/optimism/odos_v1_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_v1_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_v1_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_v1_optimism_trades.sql diff --git a/models/odos/optimism/odos_v2_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_v2_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_v2_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_v2_optimism_trades.sql diff --git a/models/paraswap/paraswap_trades_schema.yml b/dex/models/_projects/paraswap/_schema.yml similarity index 100% rename from models/paraswap/paraswap_trades_schema.yml rename to dex/models/_projects/paraswap/_schema.yml diff --git a/models/paraswap/arbitrum/paraswap_arbitrum_schema.yml b/dex/models/_projects/paraswap/arbitrum/_schema.yml similarity index 100% rename from models/paraswap/arbitrum/paraswap_arbitrum_schema.yml rename to dex/models/_projects/paraswap/arbitrum/_schema.yml diff --git a/models/paraswap/arbitrum/paraswap_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql diff --git a/models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml b/dex/models/_projects/paraswap/avalanche_c/_schema.yml similarity index 100% rename from models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml rename to dex/models/_projects/paraswap/avalanche_c/_schema.yml diff --git a/models/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql diff --git a/models/paraswap/base/paraswap_base_schema.yml b/dex/models/_projects/paraswap/base/_schema.yml similarity index 100% rename from models/paraswap/base/paraswap_base_schema.yml rename to dex/models/_projects/paraswap/base/_schema.yml diff --git a/models/paraswap/base/paraswap_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_base_trades.sql diff --git a/models/paraswap/base/paraswap_v5_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_v5_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_v5_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_v5_base_trades.sql diff --git a/models/paraswap/base/paraswap_v6_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_v6_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_v6_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_v6_base_trades.sql diff --git a/models/paraswap/base/paraswap_v6_base_trades_decoded.sql b/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql similarity index 100% rename from models/paraswap/base/paraswap_v6_base_trades_decoded.sql rename to dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql diff --git a/models/paraswap/bnb/paraswap_bnb_schema.yml b/dex/models/_projects/paraswap/bnb/_schema.yml similarity index 100% rename from models/paraswap/bnb/paraswap_bnb_schema.yml rename to dex/models/_projects/paraswap/bnb/_schema.yml diff --git a/models/paraswap/bnb/paraswap_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v4_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v4_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v4_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v4_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v5_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v5_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v5_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v5_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v6_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v6_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql b/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql diff --git a/models/paraswap/ethereum/paraswap_ethereum_schema.yml b/dex/models/_projects/paraswap/ethereum/_schema.yml similarity index 81% rename from models/paraswap/ethereum/paraswap_ethereum_schema.yml rename to dex/models/_projects/paraswap/ethereum/_schema.yml index d75d4c78691..dbf518617a7 100644 --- a/models/paraswap/ethereum/paraswap_ethereum_schema.yml +++ b/dex/models/_projects/paraswap/ethereum/_schema.yml @@ -1,68 +1,6 @@ version: 2 -models: - - name: paraswap_ethereum_airdrop_claims - meta: - blockchain: ethereum - sector: airdrop - project: paraswap - contributors: hildobby - config: - tags: ['table', 'airdrop', 'ethereum', 'claim', 'paraswap'] - description: "List of claim transactions for the $PSP airdrop" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - recipient - - evt_index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &block_time - name: block_time - description: "Block time of transaction" - - &block_month - name: block_month - description: "Block month of transaction" - - &block_number - name: block_number - description: "Block number of transaction" - - &project - name: project - description: "Project name" - - &airdrop_number - name: airdrop_number - description: "Airdrop identifier number" - - &recipient - name: recipient - description: "Airdrop recipient" - - &contract_address - name: contract_address - description: "Contract addressed used" - - &tx_hash - name: tx_hash - description: "Transaction hash" - - &amount_raw - name: amount_raw - description: "Raw amount of tokens" - - &amount_original - name: amount_original - description: "Original amount of tokens" - - &amount_usd - name: amount_usd - description: "USD value of tokens" - - &token_address - name: token_address - description: "Token address" - - &token_symbol - name: token_symbol - description: "Token symbol" - - &evt_index - name: evt_index - description: "Event index" - +models: - name: paraswap_v4_ethereum_trades meta: blockchain: ethereum diff --git a/models/paraswap/ethereum/paraswap_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v4_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v4_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v4_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v4_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v5_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v5_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v5_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v5_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v6_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v6_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql diff --git a/models/paraswap/fantom/paraswap_fantom_schema.yml b/dex/models/_projects/paraswap/fantom/_schema.yml similarity index 100% rename from models/paraswap/fantom/paraswap_fantom_schema.yml rename to dex/models/_projects/paraswap/fantom/_schema.yml diff --git a/models/paraswap/fantom/paraswap_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v5_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_v5_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v5_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v5_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v6_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v6_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql b/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql diff --git a/models/paraswap/optimism/paraswap_optimism_schema.yml b/dex/models/_projects/paraswap/optimism/_schema.yml similarity index 100% rename from models/paraswap/optimism/paraswap_optimism_schema.yml rename to dex/models/_projects/paraswap/optimism/_schema.yml diff --git a/models/paraswap/optimism/paraswap_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v5_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_v5_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v5_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v5_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v6_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v6_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql b/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql diff --git a/models/paraswap/paraswap_trades.sql b/dex/models/_projects/paraswap/paraswap_trades.sql similarity index 100% rename from models/paraswap/paraswap_trades.sql rename to dex/models/_projects/paraswap/paraswap_trades.sql diff --git a/models/paraswap/polygon/paraswap_polygon_schema.yml b/dex/models/_projects/paraswap/polygon/_schema.yml similarity index 100% rename from models/paraswap/polygon/paraswap_polygon_schema.yml rename to dex/models/_projects/paraswap/polygon/_schema.yml diff --git a/models/paraswap/polygon/paraswap_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v4_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v4_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v4_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v4_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v5_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v5_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v5_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v5_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v6_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v6_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql b/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql diff --git a/models/tokenlon/tokenlon_trades_schema.yml b/dex/models/_projects/tokenlon/_schema.yml similarity index 100% rename from models/tokenlon/tokenlon_trades_schema.yml rename to dex/models/_projects/tokenlon/_schema.yml diff --git a/models/tokenlon/ethereum/tokenlon_ethereum_schema.yml b/dex/models/_projects/tokenlon/ethereum/_schema.yml similarity index 100% rename from models/tokenlon/ethereum/tokenlon_ethereum_schema.yml rename to dex/models/_projects/tokenlon/ethereum/_schema.yml diff --git a/models/tokenlon/ethereum/tokenlon_ethereum_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_ethereum_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql diff --git a/models/tokenlon/tokenlon_trades.sql b/dex/models/_projects/tokenlon/tokenlon_trades.sql similarity index 100% rename from models/tokenlon/tokenlon_trades.sql rename to dex/models/_projects/tokenlon/tokenlon_trades.sql diff --git a/dex/models/_projects/unidex/optimism/_schema.yml b/dex/models/_projects/unidex/optimism/_schema.yml new file mode 100644 index 00000000000..0de7bc11f0f --- /dev/null +++ b/dex/models/_projects/unidex/optimism/_schema.yml @@ -0,0 +1,99 @@ +version: 2 + +models: + - name: unidex_optimism_trades + meta: + blockchain: optimism + sector: dex + project: unidex + contributors: ARDev097 + config: + tags: ['optimism','trades', 'unidex','dex'] + description: > + unidex dex trades on optimism + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - check_dex_aggregator_seed: + blockchain: optimism + project: unidex + version: 1 + columns: + - &blockchain + name: blockchain + description: "Blockchain on which the project is deployed" + - &project + name: project + description: "The underlying protocol/project where the swap took place" + - &version + name: version + description: "The version of the protocol/project" + - &block_month + name: block_month + description: "Month of the transaction" + - &block_date + name: block_date + description: "Date of the transaction" + - &block_time + name: block_time + description: "Time of the transaction" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "The hash of the transaction" + - &tx_from + name: tx_from + description: "The address that originated the transaction; based on the optimism.transactions table" + - &tx_to + name: tx_to + description: "The address receiving the transaction; based on the optimism.transactions table" + - &evt_index + name: evt_index + description: "Event index number" + - &trace_address + name: trace_address + description: "" \ No newline at end of file diff --git a/models/unidex/optimism/unidex_optimism_trades.sql b/dex/models/_projects/unidex/optimism/unidex_optimism_trades.sql similarity index 100% rename from models/unidex/optimism/unidex_optimism_trades.sql rename to dex/models/_projects/unidex/optimism/unidex_optimism_trades.sql diff --git a/dex/models/_projects/yield_yak/_schema.yml b/dex/models/_projects/yield_yak/_schema.yml new file mode 100644 index 00000000000..54303a59964 --- /dev/null +++ b/dex/models/_projects/yield_yak/_schema.yml @@ -0,0 +1,79 @@ +version: 2 + +models: + - name: yield_yak_trades + meta: + blockchain: avalanche_c, arbitrum, mantle + sector: dex + project: yield_yak + contributors: Henrystats, angus_1 + config: + tags: ['avalanche_c', 'yield_yak','trades', 'dex', 'aggregator', 'Henrystats', 'angus_1', 'cross-chain', 'arbitrum', 'mantle'] + description: > + yield yak aggregator trades on all chains across all contracts and versions. This table will load dex trades downstream. + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "Address of the trace within the call graph forest" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" \ No newline at end of file diff --git a/dex/models/_projects/yield_yak/arbitrum/_schema.yml b/dex/models/_projects/yield_yak/arbitrum/_schema.yml new file mode 100644 index 00000000000..218be819acd --- /dev/null +++ b/dex/models/_projects/yield_yak/arbitrum/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_arbitrum_trades + meta: + blockchain: arbitrum + sector: dex + project: yield_yak + contributors: angus_1 + config: + tags: ['arbitrum','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on arbitrum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: arbitrum + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql b/dex/models/_projects/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql similarity index 100% rename from models/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql rename to dex/models/_projects/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql diff --git a/dex/models/_projects/yield_yak/avalanche_c/_schema.yml b/dex/models/_projects/yield_yak/avalanche_c/_schema.yml new file mode 100644 index 00000000000..745843b9720 --- /dev/null +++ b/dex/models/_projects/yield_yak/avalanche_c/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_avalanche_c_trades + meta: + blockchain: avalanche_c + sector: dex + project: yield_yak + contributors: Henrystats + config: + tags: ['avalanche_c','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on avalanche_c + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: avalanche_c + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql b/dex/models/_projects/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql similarity index 100% rename from models/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql rename to dex/models/_projects/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql diff --git a/dex/models/_projects/yield_yak/mantle/_schema.yml b/dex/models/_projects/yield_yak/mantle/_schema.yml new file mode 100644 index 00000000000..9be02b99d00 --- /dev/null +++ b/dex/models/_projects/yield_yak/mantle/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_mantle_trades + meta: + blockchain: mantle + sector: dex + project: yield_yak + contributors: angus_1 + config: + tags: ['mantle','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on mantle + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: mantle + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/mantle/yield_yak_mantle_trades.sql b/dex/models/_projects/yield_yak/mantle/yield_yak_mantle_trades.sql similarity index 100% rename from models/yield_yak/mantle/yield_yak_mantle_trades.sql rename to dex/models/_projects/yield_yak/mantle/yield_yak_mantle_trades.sql diff --git a/models/yield_yak/yield_yak_trades.sql b/dex/models/_projects/yield_yak/yield_yak_trades.sql similarity index 100% rename from models/yield_yak/yield_yak_trades.sql rename to dex/models/_projects/yield_yak/yield_yak_trades.sql diff --git a/models/dex/dex_aggregator_trades.sql b/dex/models/aggregator_trades/dex_aggregator_trades.sql similarity index 100% rename from models/dex/dex_aggregator_trades.sql rename to dex/models/aggregator_trades/dex_aggregator_trades.sql diff --git a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml b/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml deleted file mode 100644 index 68f3a0fdc48..00000000000 --- a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml +++ /dev/null @@ -1,109 +0,0 @@ -version: 2 - -models: - - name: cow_protocol_arbitrum_trades - meta: - blockchain: arbitrum - project: cow_protocol - contributors: olgafetisova - config: - tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Arbitrum Chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Arbitrum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Arbitrum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" diff --git a/models/cow_protocol/cow_protocol_schema.yml b/models/cow_protocol/cow_protocol_schema.yml index e5e30100826..3cade8424ec 100644 --- a/models/cow_protocol/cow_protocol_schema.yml +++ b/models/cow_protocol/cow_protocol_schema.yml @@ -1,20 +1,15 @@ version: 2 models: - - name: cow_protocol_trades + - name: cow_protocol_batches meta: - blockchain: ethereum - sector: dex + blockchain: gnosis project: cow_protocol - contributors: bh2smith, gentrexha + contributors: bh2smith config: - tags: ['ethereum','cow_protocol','trades','dex','aggregator','cross-chain'] + tags: ['gnosis','cow_protocol','batches', 'dex', 'aggregator', 'auction'] description: > - CoW Protocol trades on all chains across all contracts and versions. - This table will load dex trades downstream. - This particular version of the protocol trades table is intended to conform - with the columns as specified in dex.trades sector. - A more detailed version of the protocol trades table can be found under `cow_protocol_ethereum.trades` + CoW Protocol enriched batches table cross-chain columns: - &blockchain name: blockchain @@ -31,75 +26,6 @@ models: - &block_time name: block_time description: "UTC event block time of each trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Trader address owning the order being filled" - - &tx_to - name: tx_to - description: "Address which received the token bought" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - name: cow_protocol_batches - meta: - blockchain: gnosis - project: cow_protocol - contributors: bh2smith - config: - tags: ['gnosis','cow_protocol','batches', 'dex', 'aggregator', 'auction'] - description: > - CoW Protocol enriched batches table cross-chain - columns: - - *blockchain - - *project - - *version - - *block_date - - *block_time - &num_trades name: num_trades description: Number of trades settled within the batch @@ -112,7 +38,9 @@ models: - &solver_address name: solver_address description: Ethereum address of solver settled batch (equivalent to tx.from) - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &gas_price name: gas_price description: Gas price (in WEI) of transaction diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml index 9dfe0df5c8b..76dd468aacf 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml @@ -24,124 +24,6 @@ models: name: active description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - - name: cow_protocol_ethereum_trades - meta: - blockchain: ethereum - project: cow_protocol - contributors: bh2smith, gentrexha - config: - tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_number - name: block_number - description: "Block number that the transaction was included" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Ethereum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Ethereum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" - - &order_type - name: order_type - description: "SELL/BUY string indicating if the trade was a sell or buy order" - - &partial_fill - name: partial_fill - description: "Boolean indicating if the order is partially fill-able" - - &fill_proportion - name: fill_proportion - - name: cow_protocol_ethereum_batches meta: blockchain: ethereum diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml index af34905c012..fc89caaae7a 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml @@ -23,112 +23,6 @@ models: - &active name: active description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - - name: cow_protocol_gnosis_trades - meta: - blockchain: gnosis - project: cow_protocol - contributors: bh2smith - config: - tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Gnosis Chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Ethereum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Ethereum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" - name: cow_protocol_gnosis_batches meta: blockchain: gnosis diff --git a/models/paraswap/_schema.yml b/models/paraswap/_schema.yml new file mode 100644 index 00000000000..1fd2dec2cc8 --- /dev/null +++ b/models/paraswap/_schema.yml @@ -0,0 +1,64 @@ +version: 2 + +models: + - name: paraswap_ethereum_airdrop_claims + meta: + blockchain: ethereum + sector: airdrop + project: paraswap + contributors: hildobby + config: + tags: ['table', 'airdrop', 'ethereum', 'claim', 'paraswap'] + description: "List of claim transactions for the $PSP airdrop" + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - recipient + - evt_index + columns: + - &blockchain + name: blockchain + description: "Blockchain" + - &block_time + name: block_time + description: "Block time of transaction" + - &block_month + name: block_month + description: "Block month of transaction" + - &block_number + name: block_number + description: "Block number of transaction" + - &project + name: project + description: "Project name" + - &airdrop_number + name: airdrop_number + description: "Airdrop identifier number" + - &recipient + name: recipient + description: "Airdrop recipient" + - &contract_address + name: contract_address + description: "Contract addressed used" + - &tx_hash + name: tx_hash + description: "Transaction hash" + - &amount_raw + name: amount_raw + description: "Raw amount of tokens" + - &amount_original + name: amount_original + description: "Original amount of tokens" + - &amount_usd + name: amount_usd + description: "USD value of tokens" + - &token_address + name: token_address + description: "Token address" + - &token_symbol + name: token_symbol + description: "Token symbol" + - &evt_index + name: evt_index + description: "Event index" \ No newline at end of file diff --git a/models/paraswap/ethereum/paraswap_ethereum_airdrop_claims.sql b/models/paraswap/paraswap_ethereum_airdrop_claims.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_ethereum_airdrop_claims.sql rename to models/paraswap/paraswap_ethereum_airdrop_claims.sql diff --git a/models/unidex/optimism/unidex_optimism_schema.yml b/models/unidex/optimism/unidex_optimism_schema.yml index 421e30803c5..eb1c8039466 100644 --- a/models/unidex/optimism/unidex_optimism_schema.yml +++ b/models/unidex/optimism/unidex_optimism_schema.yml @@ -1,16 +1,16 @@ version: 2 -models: - - name: unidex_optimism_trades +models: + - name: unidex_v1_optimism_perpetual_trades meta: blockchain: optimism - sector: dex - project: unidex + sector: perpetual + project: unidex_v1 contributors: ARDev097 config: - tags: ['optimism','trades', 'unidex','dex'] + tags: ['optimism', 'unidex', 'unidex_v1', 'perpetuals', 'perps'] description: > - unidex dex trades on optimism + Unidex_v1 perpetuals trades on Optimism tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -19,108 +19,17 @@ models: - project - version - tx_hash - - evt_index - - check_dex_aggregator_seed: - blockchain: optimism - project: unidex - version: 1 + - evt_index columns: - &blockchain name: blockchain description: "Blockchain on which the project is deployed" - - &project - name: project - description: "The underlying protocol/project where the swap took place" - - &version - name: version - description: "The version of the protocol/project" - - &block_month - name: block_month - description: "Month of the transaction" - &block_date name: block_date description: "Date of the transaction" - &block_time name: block_time description: "Time of the transaction" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "The hash of the transaction" - - &tx_from - name: tx_from - description: "The address that originated the transaction; based on the optimism.transactions table" - - &tx_to - name: tx_to - description: "The address receiving the transaction; based on the optimism.transactions table" - - &evt_index - name: evt_index - description: "Event index number" - - &trace_address - name: trace_address - description: "" - - - name: unidex_v1_optimism_perpetual_trades - meta: - blockchain: optimism - sector: perpetual - project: unidex_v1 - contributors: ARDev097 - config: - tags: ['optimism', 'unidex', 'unidex_v1', 'perpetuals', 'perps'] - description: > - Unidex_v1 perpetuals trades on Optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - columns: - - *blockchain - - *block_date - - *block_time - &virtual_asset name: virtual_asset description: "How the protocol represents the underlying asset" @@ -148,8 +57,12 @@ models: - &trade name: trade description: "Indicates the trade's direction whether a short, long, of if a position is being closed" - - *project - - *version + - &project + name: project + description: "The underlying protocol/project where the swap took place" + - &version + name: version + description: "The version of the protocol/project" - &frontend name: frontend description: "The frontend protocol/project where the specific swap was executed; built on top of the 'project' and defaults to the 'project' if no other frontend is specified" @@ -159,11 +72,21 @@ models: - &volume_raw name: volume_raw description: "The size of the position in raw form" - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - *block_month + - &tx_hash + name: tx_hash + description: "The hash of the transaction" + - &tx_from + name: tx_from + description: "The address that originated the transaction; based on the optimism.transactions table" + - &tx_to + name: tx_to + description: "The address receiving the transaction; based on the optimism.transactions table" + - &evt_index + name: evt_index + description: "Event index number" + - &block_month + name: block_month + description: "Month of the transaction" - name: unidex_v2_optimism_perpetual_trades meta: diff --git a/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml b/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml index 156935e7a2d..c4d8535b097 100644 --- a/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml +++ b/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: yield_yak - contributors: angus_1 - config: - tags: ['arbitrum','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: arbitrum - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_arbitrum_deposits meta: blockchain: arbitrum @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml b/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml index d19bfff1d08..40b7de500f5 100644 --- a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml +++ b/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: yield_yak - contributors: Henrystats - config: - tags: ['avalanche_c','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: avalanche_c - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_avalanche_c_deposits meta: blockchain: avalanche_c @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/mantle/yield_yak_mantle_schema.yml b/models/yield_yak/mantle/yield_yak_mantle_schema.yml index df0322029c1..b8677c67091 100644 --- a/models/yield_yak/mantle/yield_yak_mantle_schema.yml +++ b/models/yield_yak/mantle/yield_yak_mantle_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_mantle_trades - meta: - blockchain: mantle - sector: dex - project: yield_yak - contributors: angus_1 - config: - tags: ['mantle','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on mantle - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: mantle - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_mantle_deposits meta: blockchain: mantle @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/yield_yak_schema.yml b/models/yield_yak/yield_yak_schema.yml index 7062261dc57..e19f7104dd7 100644 --- a/models/yield_yak/yield_yak_schema.yml +++ b/models/yield_yak/yield_yak_schema.yml @@ -1,83 +1,6 @@ version: 2 models: - - name: yield_yak_trades - meta: - blockchain: avalanche_c, arbitrum, mantle - sector: dex - project: yield_yak - contributors: Henrystats, angus_1 - config: - tags: ['avalanche_c', 'yield_yak','trades', 'dex', 'aggregator', 'Henrystats', 'angus_1', 'cross-chain', 'arbitrum', 'mantle'] - description: > - yield yak aggregator trades on all chains across all contracts and versions. This table will load dex trades downstream. - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "Address of the trace within the call graph forest" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - name: yield_yak_deposits meta: blockchain: avalanche_c, arbitrum, mantle @@ -104,7 +27,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" From 5ed276a4b31890fe7a4fe378d27e2b404d769b35 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 16:17:57 -0400 Subject: [PATCH 05/63] fix compile errors --- .../models}/airswap_compatible_trades.sql | 0 .../models}/balancer_compatible_trades.sql | 0 .../models}/clipper_compatible_trades.sql | 0 .../macros/models}/dex_atomic_arbitrages.sql | 0 .../macros/models}/dex_sandwiched.sql | 0 .../macros/models}/dex_sandwiches.sql | 0 .../macros/models}/dodo_compatible_trades.sql | 0 .../models}/enrich_curve_dex_trades.sql | 0 .../macros/models}/enrich_dex_trades.sql | 0 .../generic_spot_compatible_trades.sql | 0 .../models}/kyberswap_compatible_trades.sql | 0 .../models}/maverick_compatible_trades.sql | 0 .../models}/openocean_compatible_trades.sql | 0 .../models}/trader_joe_compatible_trades.sql | 0 .../models}/uniswap_compatible_trades.sql | 0 .../balancer/{ => labels}/_schema.yml | 0 .../{ => labels}/labels_balancer_v2_pools.sql | 5 +- .../labels_balancer_v2_pools_arbitrum.sql | 1 + .../labels_balancer_v2_pools_avalanche_c.sql | 1 + .../labels_balancer_v2_pools_base.sql | 1 + .../labels_balancer_v2_pools_ethereum.sql | 1 + .../labels_balancer_v2_pools_gnosis.sql | 1 + .../labels_balancer_v2_pools_optimism.sql | 1 + .../labels_balancer_v2_pools_polygon.sql | 1 + .../labels_balancer_v2_pools_zkevm.sql | 1 + .../_projects/balancer/pools/_schema.yml | 268 +++++++++ .../balancer/pools/balancer_pools_fees.sql | 0 .../balancer_v2_arbitrum_pools_fees.sql | 0 .../balancer_v2_avalanche_c_pools_fees.sql | 0 .../pools}/balancer_v2_base_pools_fees.sql | 0 .../balancer_v2_ethereum_pools_fees.sql | 0 .../pools}/balancer_v2_gnosis_pools_fees.sql | 0 .../balancer_v2_optimism_pools_fees.sql | 0 .../pools}/balancer_v2_polygon_pools_fees.sql | 0 .../pools}/balancer_v2_zkevm_pools_fees.sql | 0 .../models/_projects/curvefi/celo/_schema.yml | 0 .../curvefi/celo/curvefi_celo_pools.sql | 0 .../_projects/curvefi/ethereum/_schema.yml | 0 .../curvefi_ethereum_pool_details.sql | 4 +- .../ethereum/curvefi_ethereum_view_pools.sql | 2 +- .../_projects/curvefi/fantom/_schema.yml | 0 .../fantom/curvefi_fantom_pool_tokens.sql | 2 +- .../_projects/curvefi/optimism/_schema.yml | 40 ++ .../optimism/curvefi_optimism_pools.sql | 2 +- .../models/_projects}/curvefi/readme.md | 0 .../ethereum/oneinch_ethereum_schema.yml | 47 +- .../_projects/paraswap/ethereum/_schema.yml | 24 +- dex/models/aggregator_trades/_schema.yml | 94 ++++ dex/models/arbitrages/_schema.yml | 92 +++ dex/models/prices/_schema.yml | 522 +----------------- dex/models/sandwiches/_schema.yml | 151 +++-- macros/models/_sector/add_amount_usd.sql | 2 +- models/_project/balancer/pools/_schema.yml | 72 +-- .../balancer/pools/arbitrum/_schema.yml | 64 +-- .../balancer/pools/avalanche_c/_schema.yml | 64 +-- .../_project/balancer/pools/base/_schema.yml | 64 +-- .../balancer/pools/ethereum/_schema.yml | 64 +-- .../balancer/pools/gnosis/_schema.yml | 64 +-- .../balancer/pools/optimism/_schema.yml | 64 +-- .../balancer/pools/polygon/_schema.yml | 64 +-- .../_project/balancer/pools/zkevm/_schema.yml | 64 +-- models/_project/oneinch/_schema.yml | 47 ++ .../oneinch_ethereum_airdrop_claims.sql | 0 .../optimism/curvefi_optimism_schema.yml | 44 +- models/dex/dex_schema.yml | 270 ++------- sources/_subprojects/spellbook/_sources.yml | 3 +- 66 files changed, 774 insertions(+), 1437 deletions(-) rename {macros/models/_sector/dex => dex/macros/models}/airswap_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/balancer_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/clipper_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_atomic_arbitrages.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_sandwiched.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_sandwiches.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dodo_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/enrich_curve_dex_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/enrich_dex_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/generic_spot_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/kyberswap_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/maverick_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/openocean_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/trader_joe_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/uniswap_compatible_trades.sql (100%) rename dex/models/_projects/balancer/{ => labels}/_schema.yml (100%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools.sql (91%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_arbitrum.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_avalanche_c.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_base.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_ethereum.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_gnosis.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_optimism.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_polygon.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_zkevm.sql (99%) create mode 100644 dex/models/_projects/balancer/pools/_schema.yml rename {models/_project => dex/models/_projects}/balancer/pools/balancer_pools_fees.sql (100%) rename {models/_project/balancer/pools/arbitrum => dex/models/_projects/balancer/pools}/balancer_v2_arbitrum_pools_fees.sql (100%) rename {models/_project/balancer/pools/avalanche_c => dex/models/_projects/balancer/pools}/balancer_v2_avalanche_c_pools_fees.sql (100%) rename {models/_project/balancer/pools/base => dex/models/_projects/balancer/pools}/balancer_v2_base_pools_fees.sql (100%) rename {models/_project/balancer/pools/ethereum => dex/models/_projects/balancer/pools}/balancer_v2_ethereum_pools_fees.sql (100%) rename {models/_project/balancer/pools/gnosis => dex/models/_projects/balancer/pools}/balancer_v2_gnosis_pools_fees.sql (100%) rename {models/_project/balancer/pools/optimism => dex/models/_projects/balancer/pools}/balancer_v2_optimism_pools_fees.sql (100%) rename {models/_project/balancer/pools/polygon => dex/models/_projects/balancer/pools}/balancer_v2_polygon_pools_fees.sql (100%) rename {models/_project/balancer/pools/zkevm => dex/models/_projects/balancer/pools}/balancer_v2_zkevm_pools_fees.sql (100%) rename models/curvefi/celo/curvefi_celo_schema.yml => dex/models/_projects/curvefi/celo/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/celo/curvefi_celo_pools.sql (100%) rename models/curvefi/ethereum/curvefi_ethereum_schema.yml => dex/models/_projects/curvefi/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/ethereum/curvefi_ethereum_pool_details.sql (99%) rename {models => dex/models/_projects}/curvefi/ethereum/curvefi_ethereum_view_pools.sql (99%) rename models/curvefi/fantom/curvefi_fantom_schema.yml => dex/models/_projects/curvefi/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/fantom/curvefi_fantom_pool_tokens.sql (99%) create mode 100644 dex/models/_projects/curvefi/optimism/_schema.yml rename {models => dex/models/_projects}/curvefi/optimism/curvefi_optimism_pools.sql (99%) rename {models => dex/models/_projects}/curvefi/readme.md (100%) create mode 100644 dex/models/aggregator_trades/_schema.yml create mode 100644 models/_project/oneinch/_schema.yml rename {dex/models/_projects/oneinch/ethereum => models/_project/oneinch}/oneinch_ethereum_airdrop_claims.sql (100%) diff --git a/macros/models/_sector/dex/airswap_compatible_trades.sql b/dex/macros/models/airswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/airswap_compatible_trades.sql rename to dex/macros/models/airswap_compatible_trades.sql diff --git a/macros/models/_sector/dex/balancer_compatible_trades.sql b/dex/macros/models/balancer_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/balancer_compatible_trades.sql rename to dex/macros/models/balancer_compatible_trades.sql diff --git a/macros/models/_sector/dex/clipper_compatible_trades.sql b/dex/macros/models/clipper_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/clipper_compatible_trades.sql rename to dex/macros/models/clipper_compatible_trades.sql diff --git a/macros/models/_sector/dex/dex_atomic_arbitrages.sql b/dex/macros/models/dex_atomic_arbitrages.sql similarity index 100% rename from macros/models/_sector/dex/dex_atomic_arbitrages.sql rename to dex/macros/models/dex_atomic_arbitrages.sql diff --git a/macros/models/_sector/dex/dex_sandwiched.sql b/dex/macros/models/dex_sandwiched.sql similarity index 100% rename from macros/models/_sector/dex/dex_sandwiched.sql rename to dex/macros/models/dex_sandwiched.sql diff --git a/macros/models/_sector/dex/dex_sandwiches.sql b/dex/macros/models/dex_sandwiches.sql similarity index 100% rename from macros/models/_sector/dex/dex_sandwiches.sql rename to dex/macros/models/dex_sandwiches.sql diff --git a/macros/models/_sector/dex/dodo_compatible_trades.sql b/dex/macros/models/dodo_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/dodo_compatible_trades.sql rename to dex/macros/models/dodo_compatible_trades.sql diff --git a/macros/models/_sector/dex/enrich_curve_dex_trades.sql b/dex/macros/models/enrich_curve_dex_trades.sql similarity index 100% rename from macros/models/_sector/dex/enrich_curve_dex_trades.sql rename to dex/macros/models/enrich_curve_dex_trades.sql diff --git a/macros/models/_sector/dex/enrich_dex_trades.sql b/dex/macros/models/enrich_dex_trades.sql similarity index 100% rename from macros/models/_sector/dex/enrich_dex_trades.sql rename to dex/macros/models/enrich_dex_trades.sql diff --git a/macros/models/_sector/dex/generic_spot_compatible_trades.sql b/dex/macros/models/generic_spot_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/generic_spot_compatible_trades.sql rename to dex/macros/models/generic_spot_compatible_trades.sql diff --git a/macros/models/_sector/dex/kyberswap_compatible_trades.sql b/dex/macros/models/kyberswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/kyberswap_compatible_trades.sql rename to dex/macros/models/kyberswap_compatible_trades.sql diff --git a/macros/models/_sector/dex/maverick_compatible_trades.sql b/dex/macros/models/maverick_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/maverick_compatible_trades.sql rename to dex/macros/models/maverick_compatible_trades.sql diff --git a/macros/models/_sector/dex/openocean_compatible_trades.sql b/dex/macros/models/openocean_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/openocean_compatible_trades.sql rename to dex/macros/models/openocean_compatible_trades.sql diff --git a/macros/models/_sector/dex/trader_joe_compatible_trades.sql b/dex/macros/models/trader_joe_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/trader_joe_compatible_trades.sql rename to dex/macros/models/trader_joe_compatible_trades.sql diff --git a/macros/models/_sector/dex/uniswap_compatible_trades.sql b/dex/macros/models/uniswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/uniswap_compatible_trades.sql rename to dex/macros/models/uniswap_compatible_trades.sql diff --git a/dex/models/_projects/balancer/_schema.yml b/dex/models/_projects/balancer/labels/_schema.yml similarity index 100% rename from dex/models/_projects/balancer/_schema.yml rename to dex/models/_projects/balancer/labels/_schema.yml diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql similarity index 91% rename from dex/models/_projects/balancer/labels_balancer_v2_pools.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql index 57478b9e0a3..2507f8a739a 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql @@ -1,5 +1,6 @@ -{{config(alias = 'balancer_v2_pools', - +{{config( + schema = 'labels', + alias = 'balancer_v2_pools', post_hook='{{ expose_spells(\'["ethereum", "arbitrum", "optimism", "polygon", "avalanche_c", "base", "gnosis", "zkevm"]\', "sector", "labels", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql index 0c3177a1abf..92a12c168f5 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_arbitrum', post_hook = '{{ expose_spells(\'["arbitrum"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql index 71811eb75df..ef71780d697 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_avalanche_c', post_hook = '{{ expose_spells(\'["avalanche_c"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql index 7eba615f28e..1b4c00b5f9e 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_base', post_hook = '{{ expose_spells(\'["base"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql index 99988d1bbeb..d103f357cb0 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_ethereum', post_hook = '{{ expose_spells(\'["ethereum"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql index bab1ec9fdb3..c907edd95e4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_gnosis', post_hook = '{{ expose_spells(\'["gnosis"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql index a3e5b624cda..22a66efaaa4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_optimism', post_hook = '{{ expose_spells(\'["optimism"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql index 7710b10702f..11f9af6d31e 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_polygon', post_hook = '{{ expose_spells(\'["polygon"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql index 25d06550e35..8353fd05ce4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_zkevm', post_hook = '{{ expose_spells(\'["zkevm"]\', "sector", diff --git a/dex/models/_projects/balancer/pools/_schema.yml b/dex/models/_projects/balancer/pools/_schema.yml new file mode 100644 index 00000000000..4c8d413147c --- /dev/null +++ b/dex/models/_projects/balancer/pools/_schema.yml @@ -0,0 +1,268 @@ +version: 2 + +models: + - name: balancer_pools_fees + meta: + blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, zkevm + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - block_number + - tx_hash + - index + columns: + - &blockchain + name: blockchain + description: "Blockchain" + - &version + name: version + description: "Version of Balancer where the liquidity pool used in transaction is deployed" + - &contract_address + name: contract_address + description: 'zkevm address for the liquidity pool used in transaction' + tests: + - not_null + - &tx_hash + name: tx_hash + description: 'Transaction hash' + tests: + - not_null + - &index + name: index + description: 'Event Index' + tests: + - not_null + - &tx_index + name: tx_index + description: 'Transaction Index' + tests: + - not_null + - &block_time + name: block_time + description: 'Block time in UTC' + tests: + - not_null + - &block_number + name: block_number + description: 'Event Block Number' + tests: + - not_null + - &swap_fee_percentage + name: swap_fee_percentage + description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' + tests: + - not_null + + - name: balancer_v2_arbitrum_pools_fees + meta: + blockchain: arbitrum + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['arbitrum', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_avalanche_c_pools_fees + meta: + blockchain: avalanche_c + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['avalanche_c', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_base_pools_fees + meta: + blockchain: base + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['base', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_ethereum_pools_fees + meta: + blockchain: ethereum + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['ethereum', 'balancer', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_gnosis_pools_fees + meta: + blockchain: gnosis + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['gnosis', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_optimism_pools_fees + meta: + blockchain: optimism + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['optimism', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_polygon_pools_fees + meta: + blockchain: polygon + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['polygon', 'balancer', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_zkevm_pools_fees + meta: + blockchain: zkevm + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['zkevm', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage \ No newline at end of file diff --git a/models/_project/balancer/pools/balancer_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/balancer_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_pools_fees.sql diff --git a/models/_project/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql diff --git a/models/_project/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql diff --git a/models/_project/balancer/pools/base/balancer_v2_base_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/base/balancer_v2_base_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql diff --git a/models/_project/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql diff --git a/models/_project/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql diff --git a/models/_project/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql diff --git a/models/_project/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql diff --git a/models/_project/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql diff --git a/models/curvefi/celo/curvefi_celo_schema.yml b/dex/models/_projects/curvefi/celo/_schema.yml similarity index 100% rename from models/curvefi/celo/curvefi_celo_schema.yml rename to dex/models/_projects/curvefi/celo/_schema.yml diff --git a/models/curvefi/celo/curvefi_celo_pools.sql b/dex/models/_projects/curvefi/celo/curvefi_celo_pools.sql similarity index 100% rename from models/curvefi/celo/curvefi_celo_pools.sql rename to dex/models/_projects/curvefi/celo/curvefi_celo_pools.sql diff --git a/models/curvefi/ethereum/curvefi_ethereum_schema.yml b/dex/models/_projects/curvefi/ethereum/_schema.yml similarity index 100% rename from models/curvefi/ethereum/curvefi_ethereum_schema.yml rename to dex/models/_projects/curvefi/ethereum/_schema.yml diff --git a/models/curvefi/ethereum/curvefi_ethereum_pool_details.sql b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql similarity index 99% rename from models/curvefi/ethereum/curvefi_ethereum_pool_details.sql rename to dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql index 71dc10c2a21..cebcd240178 100644 --- a/models/curvefi/ethereum/curvefi_ethereum_pool_details.sql +++ b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql @@ -1,6 +1,6 @@ {{ config( - - alias = 'pool_details' + schema = 'curvefi_ethereum' + , alias = 'pool_details' ) }} SELECT diff --git a/models/curvefi/ethereum/curvefi_ethereum_view_pools.sql b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql similarity index 99% rename from models/curvefi/ethereum/curvefi_ethereum_view_pools.sql rename to dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql index 46185b413f4..d398ad52dc0 100644 --- a/models/curvefi/ethereum/curvefi_ethereum_view_pools.sql +++ b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_ethereum', alias = 'view_pools', materialized='table', file_format = 'delta', diff --git a/models/curvefi/fantom/curvefi_fantom_schema.yml b/dex/models/_projects/curvefi/fantom/_schema.yml similarity index 100% rename from models/curvefi/fantom/curvefi_fantom_schema.yml rename to dex/models/_projects/curvefi/fantom/_schema.yml diff --git a/models/curvefi/fantom/curvefi_fantom_pool_tokens.sql b/dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql similarity index 99% rename from models/curvefi/fantom/curvefi_fantom_pool_tokens.sql rename to dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql index 83a2b84ee31..e58a957e2c8 100644 --- a/models/curvefi/fantom/curvefi_fantom_pool_tokens.sql +++ b/dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_fantom', alias = 'pool_tokens', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/curvefi/optimism/_schema.yml b/dex/models/_projects/curvefi/optimism/_schema.yml new file mode 100644 index 00000000000..311dc638b22 --- /dev/null +++ b/dex/models/_projects/curvefi/optimism/_schema.yml @@ -0,0 +1,40 @@ +version: 2 + +models: + - name: curvefi_optimism_pools + meta: + blockchain: optimism + project: curvefi + contributors: msilb7 + config: + tags: ['optimism','curvefi','curve','dex'] + description: > + A table containing all known pools of curvefi on optimism (i.e. metapool, basicpool). Additional types should be monitored to ensure they're accurately shown. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - version + - tokenid + - token + - pool + columns: + - &version + name: version + description: "Versions of the pool: Basic Pool, Meta Pool, etc" + tests: + - not_null + - &tokenid + name: tokenid + description: "ID of the token in the pool" + tests: + - not_null + - &token + name: token + description: "Token Address" + tests: + - not_null + - &pool + name: pool + description: "Pool contract address" + tests: + - not_null \ No newline at end of file diff --git a/models/curvefi/optimism/curvefi_optimism_pools.sql b/dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql similarity index 99% rename from models/curvefi/optimism/curvefi_optimism_pools.sql rename to dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql index 0e4ae291ece..1f738fa0af3 100644 --- a/models/curvefi/optimism/curvefi_optimism_pools.sql +++ b/dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_optimism', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/models/curvefi/readme.md b/dex/models/_projects/curvefi/readme.md similarity index 100% rename from models/curvefi/readme.md rename to dex/models/_projects/curvefi/readme.md diff --git a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml index a61e821d1b8..25c31b0bfae 100644 --- a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml +++ b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml @@ -158,49 +158,4 @@ models: - name: transfer_to - name: transfers_between_players - name: minute - - name: block_month - - - name: oneinch_ethereum_airdrop_claims - meta: - blockchain: ethereum - sector: airdrop - project: oneinch - contributors: hildobby - config: - tags: ['table', 'airdrop', 'ethereum', 'claim', 'oneinch'] - description: "List of claim transactions for the $1INCH airdrop" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - recipient - - evt_index - columns: - - name: blockchain - tests: - - not_null - - name: block_time - - name: block_number - description: "Block number of transaction" - - name: project - description: "Project name" - - name: airdrop_number - description: "Airdrop identifier number" - - name: recipient - description: "Airdrop recipient" - - name: contract_address - description: "Contract addressed used" - - name: tx_hash - description: "Transaction hash" - - name: amount_raw - description: "Raw amount of tokens" - - name: amount_original - description: "Original amount of tokens" - - name: amount_usd - description: "USD value of tokens" - - name: token_address - description: "Token address" - - name: token_symbol - description: "Token symbol" - - name: evt_index - description: "Event index" + - name: block_month \ No newline at end of file diff --git a/dex/models/_projects/paraswap/ethereum/_schema.yml b/dex/models/_projects/paraswap/ethereum/_schema.yml index dbf518617a7..312e8c69a76 100644 --- a/dex/models/_projects/paraswap/ethereum/_schema.yml +++ b/dex/models/_projects/paraswap/ethereum/_schema.yml @@ -26,15 +26,21 @@ models: project: paraswap version: 4 columns: - - *blockchain - - *project + - &blockchain + name: blockchain + description: "Blockchain" + - &project + name: project + description: "Project name" - &version name: version description: "Version of the contract built and deployed by the DEX project" - &block_date name: block_date description: "UTC event block date of each DEX trade" - - *block_time + - &block_time + name: block_time + description: "Block time of transaction" - &token_bought_symbol name: token_bought_symbol description: "Token symbol for token bought in the transaction" @@ -56,7 +62,9 @@ models: - &token_sold_amount_raw name: token_sold_amount_raw description: "Raw value of the token sold at time of execution in the original currency" - - *amount_usd + - &amount_usd + name: amount_usd + description: "USD value of tokens" - &token_bought_address name: token_bought_address description: "Contract address of the token bought" @@ -72,7 +80,9 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Transaction hash" - &tx_from name: tx_from description: "Address which initiated the transaction" @@ -82,7 +92,9 @@ models: - &trace_address name: trace_address description: "" - - *evt_index + - &evt_index + name: evt_index + description: "Event index" - name: paraswap_v5_ethereum_trades meta: diff --git a/dex/models/aggregator_trades/_schema.yml b/dex/models/aggregator_trades/_schema.yml new file mode 100644 index 00000000000..a645c9a4b7e --- /dev/null +++ b/dex/models/aggregator_trades/_schema.yml @@ -0,0 +1,94 @@ +version: 2 + +models: + - name: dex_aggregator_trades + meta: + blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb + sector: dex_aggregator + contributors: bh2smith, Henrystats, jeff-dude, rantum + config: + tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] + description: > + Aggregator trades on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + tests: + - dbt_utils.accepted_range: + max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &trace_address + name: trace_address + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" \ No newline at end of file diff --git a/dex/models/arbitrages/_schema.yml b/dex/models/arbitrages/_schema.yml index 87af372997e..c7e50740644 100644 --- a/dex/models/arbitrages/_schema.yml +++ b/dex/models/arbitrages/_schema.yml @@ -1,6 +1,98 @@ version: 2 models: + - name: dex_atomic_arbitrages + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages'] + description: > + DEX MEV Arbitrage Trades across all Chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &block_month + name: block_month + description: "Month corresponding to the prices data" + - &block_number + name: block_number + description: "the block number of the block that the offer was created in" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &maker + name: maker + description: "Address of trader who sold a token" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &trace_address + name: trace_address + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &tx_index + name: tx_index + description: "the transaction index of the transaction that the offer was created in" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + - name: dex_ethereum_atomic_arbitrages meta: blockchain: ethereum diff --git a/dex/models/prices/_schema.yml b/dex/models/prices/_schema.yml index cf9bfbbefa7..57110aa8aca 100644 --- a/dex/models/prices/_schema.yml +++ b/dex/models/prices/_schema.yml @@ -1,7 +1,6 @@ version: 2 models: - - name: dex_prices meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom @@ -35,523 +34,4 @@ models: description: "Median price of the token in USD within the corresponding hour" - &sample_size name: sample_size - description: "Number of times the token was traded within the coressponding hour" - - - - - - - name: dex_aggregator_trades - meta: - blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb - sector: dex_aggregator - contributors: bh2smith, Henrystats, jeff-dude, rantum - config: - tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] - description: > - Aggregator trades on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - columns: - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - tests: - - dbt_utils.accepted_range: - max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the trade" - - &tx_to - name: tx_to - description: "Address which received the trade" - - &trace_address - name: trace_address - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - - name: dex_incentive_mappings - meta: - blockchain: optimism - sector: dex - contributors: msilb7 - config: - tags: ['optimism', 'amm', 'trades', 'dex', 'cross-chain','incentives'] - description: > - Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions - columns: - - *blockchain - - *project - - *version - - &pool_contract - name: pool_contract - description: "Address of the liquidity pool contract" - - &incentives_contract - name: incentives_contract - description: "Address of the contract where incentives are stored and emitted." - - &incentives_type - name: incentives_type - description: "Description of the incentives address type." - - &evt_block_time - name: evt_block_time - description: 'Block time in UTC' - - &evt_block_number - name: evt_block_number - description: 'Block Number' - - *contract_address - - &evt_tx_hash - name: evt_tx_hash - description: 'Tx Hash' - - *evt_index - - - name: dex_pools - meta: - blockchain: ethereum, arbitrum, polygon - sector: dex - contributors: hildobby - config: - tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] - description: > - DEX pools on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *project - - *version - - &pool - name: pool - description: "DEX pool smart contract address" - - &fee - name: fee - description: "Defined fee" - - &token0 - name: token0 - description: "First token in pool" - - &token1 - name: token1 - description: "Second token in pool" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_raw_pool_initializations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools initialization calls - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - - tx_hash - - call_trace_address - columns: - - *blockchain - - &type - name: type - description: "Pool implementation standard" - - *version - - *block_time - - *pool - - *token0 - - *token1 - - *tx_hash - - &call_trace_address - name: call_trace_address - - - name: dex_raw_pool_creations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - &tokens - name: tokens - description: "Tokens in the pool" - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: rn - - - name: dex_raw_pools - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - *tokens - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_offers - meta: - blockchain: optimism - sector: dex - contributors: denver - config: - tags: ['optimism', 'order-books', 'offers', 'dex', 'cross-chain', 'offers'] - description: > - DEX offers across all chains across all contracts and versions - columns: - - *blockchain - - *project - - *version - - *block_date - - *block_time - - &block_number - name: block_number - description: "the block number of the block that the offer was created in" - - &tx_index - name: tx_index - description: "the transaction index of the transaction that the offer was created in" - - *evt_index - - *maker - - &sell_token_symbol - name: sell_token_symbol - description: "the token the offer is selling" - - &buy_token_symbol - name: buy_token_symbol - description: "the token the offer is buying" - - &sell_token_address - name: sell_token_address - description: "the address of the token the offer is selling" - - &buy_token_address - name: buy_token_address - description: "the address of the token the offer is buying" - - *token_pair - - &sell_amount - name: sell_amount - description: "the amount of the token that the maker is selling" - - &buy_amount - name: buy_amount - description: "the amount of the token that the maker is buying" - - &sell_amount_raw - name: sell_amount_raw - description: "the raw amount of the token that the maker is selling" - - &buy_amount_raw - name: buy_amount_raw - description: "the raw amount of the token that the maker is buying" - - &sold_amount - name: sold_amount - description: "the amount of the token that the offer has sold" - - &bought_amount - name: bought_amount - description: "the amount of the token that the offer has bought" - - &sold_amount_raw - name: sold_amount_raw - description: "the raw amount of the token that the offer has sold" - - &bought_amount_raw - name: bought_amount_raw - description: "the raw amount of the token that the offer has bought" - - &sell_amount_usd - name: sell_amount_usd - description: "the amount of the token that the maker is selling in USD (at the time of the offer creation)" - - &buy_amount_usd - name: buy_amount_usd - description: "the amount of the token that the maker is buying in USD (at the time of the offer creation)" - - &sold_amount_usd - name: sold_amount_usd - description: "the amount of the token that the offer has sold in USD (summed bassed on the price at the time of each trade (if any))" - - &bought_amount_usd - name: bought_amount_usd - description: "the amount of the token that the offer has bought in USD (summed bassed on the price at the time of each trade (if any))" - - &txn_cost_usd - name: txn_cost_usd - description: "the cost of the transaction in USD" - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - - - name: dex_flashloans - meta: - blockchain: arbitrum, avalanche_c, optimism, polygon, ethereum, fantom - sector: lending - contributors: hildobby - config: - tags: ['arbitrum', 'avalanche_c', 'optimism', 'polygon', 'ethereum', 'fantom', 'flashloans'] - description: > - All Flashloans - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - name: blockchain - - name: project - - name: version - - name: block_time - - name: block_number - - name: amount - - name: amount_usd - - name: tx_hash - - name: evt_index - - name: fee - - name: currency_contract - - name: currency_symbol - - name: recipient - - name: contract_address - - name: block_month - - - name: dex_sandwiches - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiches'] - description: > - DEX MEV Sandwich Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - &index - name: index - description: "Index of the transaction in block" - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_sandwiched - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiched'] - description: > - DEX MEV Sandwiched Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_info - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana - sector: dex - contributors: hildobby - config: - tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] - description: > - DEXs info - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - project - columns: - - name: project - description: "Marketplace codename" - - name: name - description: "Marketplace capitalised name" - - name: marketplace_type - description: "Type of marketplace" - - name: x_username - description: "Username on X" - - - name: dex_atomic_arbitrages - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages'] - description: > - DEX MEV Arbitrage Trades across all Chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index + description: "Number of times the token was traded within the coressponding hour" \ No newline at end of file diff --git a/dex/models/sandwiches/_schema.yml b/dex/models/sandwiches/_schema.yml index 0e5c2d15da8..15bf5b060ae 100644 --- a/dex/models/sandwiches/_schema.yml +++ b/dex/models/sandwiches/_schema.yml @@ -1,20 +1,21 @@ version: 2 models: - - name: dex_ethereum_sandwiches + - name: dex_sandwiches meta: - blockchain: ethereum + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora sector: dex contributors: hildobby config: - tags: ['dex', 'mev', 'sandwiches', 'ethereum'] + tags: ['dex', 'mev', 'sandwiches'] description: > - DEX MEV Sandwich Trades on Ethereum + DEX MEV Sandwich Trades across chains tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain - tx_hash + - project_contract_address - evt_index columns: - &blockchain @@ -65,14 +66,11 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - &trace_address - name: trace_address - description: "Trace address" - &token_pair name: token_pair description: "Token symbol pair for each token involved in the trade" - - &index - name: index + - &tx_index + name: tx_index description: "Index of the transaction in block" - &token_sold_amount_raw name: token_sold_amount_raw @@ -93,6 +91,88 @@ models: name: evt_index description: "Event index" + - name: dex_sandwiched + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiched'] + description: > + DEX MEV Sandwiched Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_ethereum_sandwiches + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiches', 'ethereum'] + description: > + DEX MEV Sandwich Trades on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + - name: dex_arbitrum_sandwiches meta: blockchain: arbitrum @@ -125,9 +205,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -167,9 +246,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -209,9 +287,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -251,9 +328,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -293,9 +369,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -335,9 +410,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -377,9 +451,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -419,9 +492,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -461,9 +533,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -503,9 +574,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -545,9 +615,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -587,9 +656,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -629,11 +697,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - &tx_index - name: tx_index - description: "Index of transaction in block" + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -673,7 +738,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -715,7 +779,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -757,7 +820,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -799,7 +861,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -841,7 +902,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -883,7 +943,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -925,7 +984,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -967,7 +1025,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1009,7 +1066,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1051,7 +1107,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1093,7 +1148,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1135,7 +1189,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw diff --git a/macros/models/_sector/add_amount_usd.sql b/macros/models/_sector/add_amount_usd.sql index 00f5e264a26..c0414440fc4 100644 --- a/macros/models/_sector/add_amount_usd.sql +++ b/macros/models/_sector/add_amount_usd.sql @@ -14,7 +14,7 @@ WITH trusted_tokens AS ( SELECT contract_address , blockchain - FROM {{ ref('prices_trusted_tokens') }} + FROM {{ source('prices','trusted_tokens') }} ) , prices AS ( SELECT diff --git a/models/_project/balancer/pools/_schema.yml b/models/_project/balancer/pools/_schema.yml index 65c86555a7c..88b3adaa386 100644 --- a/models/_project/balancer/pools/_schema.yml +++ b/models/_project/balancer/pools/_schema.yml @@ -1,64 +1,6 @@ version: 2 models: - - name: balancer_pools_fees - meta: - blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, zkevm - contributors: jacektrocinski, thetroyharris, viniabussafi - config: - tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'pools', 'fees'] - description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - block_number - - tx_hash - - index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &version - name: version - description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - name: balancer_pools_tokens_weights meta: blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, 'zkevm' @@ -74,8 +16,12 @@ models: - pool_id - token_address columns: - - *blockchain - - *version + - &blockchain + name: blockchain + description: "Blockchain" + - &version + name: version + description: "Version of Balancer where the liquidity pool used in transaction is deployed" - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' @@ -164,7 +110,11 @@ models: - &evt_block_number name: evt_block_number description: 'Event Block Number' - - *contract_address + - &contract_address + name: contract_address + description: 'zkevm address for the liquidity pool used in transaction' + tests: + - not_null - &evt_tx_hash name: evt_tx_hash description: 'Transaction hash' diff --git a/models/_project/balancer/pools/arbitrum/_schema.yml b/models/_project/balancer/pools/arbitrum/_schema.yml index fd04cb90077..7b3ed27390a 100644 --- a/models/_project/balancer/pools/arbitrum/_schema.yml +++ b/models/_project/balancer/pools/arbitrum/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_arbitrum_pools_fees + - name: balancer_arbitrum_pools_tokens_weights meta: blockchain: arbitrum - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['arbitrum', 'balancer', 'pools_fees'] + tags: ['arbitrum', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'Arbitrum address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_arbitrum_pools_tokens_weights - meta: - blockchain: arbitrum - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['arbitrum', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/avalanche_c/_schema.yml b/models/_project/balancer/pools/avalanche_c/_schema.yml index 2c5082a751c..27eee2d82fc 100644 --- a/models/_project/balancer/pools/avalanche_c/_schema.yml +++ b/models/_project/balancer/pools/avalanche_c/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_avalanche_c_pools_fees + - name: balancer_avalanche_c_pools_tokens_weights meta: blockchain: avalanche_c - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['avalanche_c', 'balancer', 'pools_fees'] + tags: ['avalanche_c', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'avalanche_c address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_avalanche_c_pools_tokens_weights - meta: - blockchain: avalanche_c - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['avalanche_c', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/base/_schema.yml b/models/_project/balancer/pools/base/_schema.yml index 0949d82f17c..37d569a57c3 100644 --- a/models/_project/balancer/pools/base/_schema.yml +++ b/models/_project/balancer/pools/base/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_base_pools_fees + - name: balancer_base_pools_tokens_weights meta: blockchain: base - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['base', 'balancer', 'pools_fees'] + tags: ['base', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'base address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_base_pools_tokens_weights - meta: - blockchain: base - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['base', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/ethereum/_schema.yml b/models/_project/balancer/pools/ethereum/_schema.yml index ea4a24ef8c8..4f92f1b58ac 100644 --- a/models/_project/balancer/pools/ethereum/_schema.yml +++ b/models/_project/balancer/pools/ethereum/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_ethereum_pools_fees + - name: balancer_ethereum_pools_tokens_weights meta: blockchain: ethereum - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['ethereum', 'balancer', 'pools', 'fees'] + tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_ethereum_pools_tokens_weights - meta: - blockchain: ethereum - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/gnosis/_schema.yml b/models/_project/balancer/pools/gnosis/_schema.yml index ac61b0140a4..a24d4345cd5 100644 --- a/models/_project/balancer/pools/gnosis/_schema.yml +++ b/models/_project/balancer/pools/gnosis/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_gnosis_pools_fees + - name: balancer_gnosis_pools_tokens_weights meta: blockchain: gnosis - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['gnosis', 'balancer', 'pools_fees'] + tags: ['gnosis', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'gnosis address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_gnosis_pools_tokens_weights - meta: - blockchain: gnosis - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['gnosis', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/optimism/_schema.yml b/models/_project/balancer/pools/optimism/_schema.yml index 289820cd3bc..249a0192c83 100644 --- a/models/_project/balancer/pools/optimism/_schema.yml +++ b/models/_project/balancer/pools/optimism/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_optimism_pools_fees + - name: balancer_optimism_pools_tokens_weights meta: blockchain: optimism - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['optimism', 'balancer', 'pools_fees'] + tags: ['optimism', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'optimism address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_optimism_pools_tokens_weights - meta: - blockchain: optimism - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['optimism', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/polygon/_schema.yml b/models/_project/balancer/pools/polygon/_schema.yml index 40929f01c30..a223aebe4c4 100644 --- a/models/_project/balancer/pools/polygon/_schema.yml +++ b/models/_project/balancer/pools/polygon/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_polygon_pools_fees + - name: balancer_polygon_pools_tokens_weights meta: blockchain: polygon - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['polygon', 'balancer', 'pools', 'fees'] + tags: ['polygon', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_polygon_pools_tokens_weights - meta: - blockchain: polygon - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['polygon', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/zkevm/_schema.yml b/models/_project/balancer/pools/zkevm/_schema.yml index 03f7ab4e6be..cacbbeb205e 100644 --- a/models/_project/balancer/pools/zkevm/_schema.yml +++ b/models/_project/balancer/pools/zkevm/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_zkevm_pools_fees + - name: balancer_zkevm_pools_tokens_weights meta: blockchain: zkevm - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['zkevm', 'balancer', 'pools_fees'] + tags: ['zkevm', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_zkevm_pools_tokens_weights - meta: - blockchain: zkevm - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['zkevm', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/oneinch/_schema.yml b/models/_project/oneinch/_schema.yml new file mode 100644 index 00000000000..f29a47588c3 --- /dev/null +++ b/models/_project/oneinch/_schema.yml @@ -0,0 +1,47 @@ +version: 2 + +models: + - name: oneinch_ethereum_airdrop_claims + meta: + blockchain: ethereum + sector: airdrop + project: oneinch + contributors: hildobby + config: + tags: ['table', 'airdrop', 'ethereum', 'claim', 'oneinch'] + description: "List of claim transactions for the $1INCH airdrop" + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - recipient + - evt_index + columns: + - name: blockchain + tests: + - not_null + - name: block_time + - name: block_number + description: "Block number of transaction" + - name: project + description: "Project name" + - name: airdrop_number + description: "Airdrop identifier number" + - name: recipient + description: "Airdrop recipient" + - name: contract_address + description: "Contract addressed used" + - name: tx_hash + description: "Transaction hash" + - name: amount_raw + description: "Raw amount of tokens" + - name: amount_original + description: "Original amount of tokens" + - name: amount_usd + description: "USD value of tokens" + - name: token_address + description: "Token address" + - name: token_symbol + description: "Token symbol" + - name: evt_index + description: "Event index" diff --git a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql b/models/_project/oneinch/oneinch_ethereum_airdrop_claims.sql similarity index 100% rename from dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql rename to models/_project/oneinch/oneinch_ethereum_airdrop_claims.sql diff --git a/models/curvefi/optimism/curvefi_optimism_schema.yml b/models/curvefi/optimism/curvefi_optimism_schema.yml index e6d0925e1c6..e528d812f84 100644 --- a/models/curvefi/optimism/curvefi_optimism_schema.yml +++ b/models/curvefi/optimism/curvefi_optimism_schema.yml @@ -1,44 +1,6 @@ version: 2 models: - - name: curvefi_optimism_pools - meta: - blockchain: optimism - project: curvefi - contributors: msilb7 - config: - tags: ['optimism','curvefi','curve','dex'] - description: > - A table containing all known pools of curvefi on optimism (i.e. metapool, basicpool). Additional types should be monitored to ensure they're accurately shown. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - version - - tokenid - - token - - pool - columns: - - &version - name: version - description: "Versions of the pool: Basic Pool, Meta Pool, etc" - tests: - - not_null - - &tokenid - name: tokenid - description: "ID of the token in the pool" - tests: - - not_null - - &token - name: token - description: "Token Address" - tests: - - not_null - - &pool - name: pool - description: "Pool contract address" - tests: - - not_null - - name: curvefi_optimism_gauge_mappings meta: blockchain: optimism @@ -57,7 +19,11 @@ models: - &blockchain name: blockchain description: "Blockchain which the DEX is deployed" - - *version + - &version + name: version + description: "Versions of the pool: Basic Pool, Meta Pool, etc" + tests: + - not_null - &pool_contract name: pool_contract description: "Address of the liquidity pool contract" diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index f39d7f79bed..9987e7a0adf 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -1,98 +1,6 @@ version: 2 models: - - name: dex_aggregator_trades - meta: - blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb - sector: dex_aggregator - contributors: bh2smith, Henrystats, jeff-dude, rantum - config: - tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] - description: > - Aggregator trades on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - tests: - - dbt_utils.accepted_range: - max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the trade" - - &tx_to - name: tx_to - description: "Address which received the trade" - - &trace_address - name: trace_address - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - name: dex_prices meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom @@ -118,7 +26,9 @@ models: - &contract_address name: contract_address description: "token's contract address" - - *blockchain + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" - &median_price name: median_price description: "Median price of the token in USD within the corresponding hour" @@ -137,8 +47,12 @@ models: Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions columns: - *blockchain - - *project - - *version + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" - &pool_contract name: pool_contract description: "Address of the liquidity pool contract" @@ -158,7 +72,9 @@ models: - &evt_tx_hash name: evt_tx_hash description: 'Tx Hash' - - *evt_index + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" - name: dex_pools meta: @@ -221,11 +137,15 @@ models: name: type description: "Pool implementation standard" - *version - - *block_time + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - *pool - *token0 - *token1 - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &call_trace_address name: call_trace_address @@ -299,7 +219,9 @@ models: - *blockchain - *project - *version - - *block_date + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" - *block_time - &block_number name: block_number @@ -308,7 +230,9 @@ models: name: tx_index description: "the transaction index of the transaction that the offer was created in" - *evt_index - - *maker + - &maker + name: maker + description: "Address of trader who sold a token" - &sell_token_symbol name: sell_token_symbol description: "the token the offer is selling" @@ -321,7 +245,9 @@ models: - &buy_token_address name: buy_token_address description: "the address of the token the offer is buying" - - *token_pair + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" - &sell_amount name: sell_amount description: "the amount of the token that the maker is selling" @@ -361,10 +287,16 @@ models: - &txn_cost_usd name: txn_cost_usd description: "the cost of the transaction in USD" - - *project_contract_address + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" - *tx_hash - - *tx_from - - *tx_to + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" - name: dex_flashloans @@ -399,93 +331,6 @@ models: - name: contract_address - name: block_month - - name: dex_sandwiches - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiches'] - description: > - DEX MEV Sandwich Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - &index - name: index - description: "Index of the transaction in block" - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_sandwiched - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiched'] - description: > - DEX MEV Sandwiched Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - name: dex_info meta: blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana @@ -508,46 +353,3 @@ models: description: "Type of marketplace" - name: x_username description: "Username on X" - - - name: dex_atomic_arbitrages - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages'] - description: > - DEX MEV Arbitrage Trades across all Chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 16c7d4e99ec..5dc77214c45 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -56,6 +56,7 @@ sources: - name: prices tables: - name: usd_forward_fill + - name: trusted_tokens - name: op_retropgf_optimism tables: - name: recipients @@ -63,4 +64,4 @@ sources: - name: addresses_optimism tables: - name: fee_vaults - - name: grants_funding + - name: grants_funding \ No newline at end of file From 19f75b03a33c620fc9a7550f78bb125478e80d8b Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 17:09:14 -0400 Subject: [PATCH 06/63] move dex pools --- .../_projects/equalizer/fantom/_schema.yml | 0 .../fantom/equalizer_fantom_pools.sql | 0 .../models/_projects/mento/celo/_schema.yml | 0 .../mento/celo/mento_celo_pools.sql | 0 .../mento/celo/mento_v1_celo_pools.sql | 0 .../mento/celo/mento_v2_celo_pools.sql | 0 .../spartacus_exchange/fantom/_schema.yml | 0 .../spartacus_exchange_fantom_pools.sql | 0 .../_projects/spiritswap/fantom/_schema.yml | 0 .../fantom/spiritswap_fantom_pools.sql | 2 +- .../_projects/spookyswap/fantom/_schema.yml | 0 .../fantom/spookyswap_fantom_pools.sql | 0 dex/models/_projects/uniswap/_schema.yml | 246 ++++++++++++++++++ .../_projects}/uniswap/uniswap_trades.sql | 0 .../_projects/wigoswap/fantom/_schema.yml | 0 .../wigoswap/fantom/wigoswap_fantom_pools.sql | 0 dex/models/pools/_schema.yml | 31 +++ .../dex => dex/models/pools}/dex_pools.sql | 2 +- .../arbitrum/uniswap_arbitrum_schema.yml | 30 --- .../arbitrum/uniswap_arbitrum_trades.sql | 0 .../uniswap_v3_arbitrum_flashloans.sql | 0 .../arbitrum/uniswap_v3_arbitrum_trades.sql | 0 .../uniswap_avalanche_c_schema.yml | 0 .../uniswap_avalanche_c_trades.sql | 0 .../uniswap_v3_avalanche_c_trades.sql | 0 .../uniswap/base/uniswap_base_schema.yml | 0 .../uniswap/base/uniswap_base_trades.sql | 0 .../uniswap/base/uniswap_v3_base_trades.sql | 0 .../uniswap/bnb/uniswap_bnb_schema.yml | 32 +-- .../uniswap/bnb/uniswap_bnb_trades.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_flashloans.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 0 .../uniswap/celo/uniswap_celo_schema.yml | 31 --- .../uniswap/celo/uniswap_celo_trades.sql | 0 .../celo/uniswap_v3_celo_flashloans.sql | 0 .../uniswap/celo/uniswap_v3_celo_trades.sql | 0 .../uniswap_ethereum_airdrop_claims.sql | 0 .../ethereum/uniswap_ethereum_schema.yml | 31 --- .../ethereum/uniswap_ethereum_trades.sql | 0 .../ethereum/uniswap_v1_ethereum_trades.sql | 0 .../ethereum/uniswap_v2_ethereum_trades.sql | 0 .../uniswap_v3_ethereum_flashloans.sql | 0 .../uniswap_v3_ethereum_proposals.sql | 0 .../ethereum/uniswap_v3_ethereum_trades.sql | 0 .../ethereum/uniswap_v3_ethereum_votes.sql | 0 .../optimism/uniswap_optimism_schema.yml | 80 +----- .../optimism/uniswap_optimism_trades.sql | 0 .../uniswap_v3_optimism_flashloans.sql | 0 .../optimism/uniswap_v3_optimism_trades.sql | 0 .../polygon/uniswap_polygon_schema.yml | 30 --- .../polygon/uniswap_polygon_trades.sql | 0 .../polygon/uniswap_v3_polygon_flashloans.sql | 0 .../polygon/uniswap_v3_polygon_trades.sql | 0 .../_project}/uniswap/uniswap_flashloans.sql | 0 .../uniswap_liquidity_manager_pools.sql | 0 .../_project}/uniswap/uniswap_schema.yml | 39 --- models/dex/dex_flashloans.sql | 2 +- models/dex/dex_schema.yml | 206 +-------------- 58 files changed, 303 insertions(+), 459 deletions(-) rename models/equalizer/fantom/equalizer_fantom_schema.yml => dex/models/_projects/equalizer/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/equalizer/fantom/equalizer_fantom_pools.sql (100%) rename models/mento/celo/mento_celo_schema.yml => dex/models/_projects/mento/celo/_schema.yml (100%) rename {models => dex/models/_projects}/mento/celo/mento_celo_pools.sql (100%) rename {models => dex/models/_projects}/mento/celo/mento_v1_celo_pools.sql (100%) rename {models => dex/models/_projects}/mento/celo/mento_v2_celo_pools.sql (100%) rename models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml => dex/models/_projects/spartacus_exchange/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql (100%) rename models/spiritswap/fantom/spiritswap_fantom_schema.yml => dex/models/_projects/spiritswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spiritswap/fantom/spiritswap_fantom_pools.sql (96%) rename models/spookyswap/fantom/spookyswap_fantom_schema.yml => dex/models/_projects/spookyswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spookyswap/fantom/spookyswap_fantom_pools.sql (100%) create mode 100644 dex/models/_projects/uniswap/_schema.yml rename {models/_project => dex/models/_projects}/uniswap/uniswap_trades.sql (100%) rename models/wigoswap/fantom/wigoswap_fantom_schema.yml => dex/models/_projects/wigoswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/wigoswap/fantom/wigoswap_fantom_pools.sql (100%) rename {models/dex => dex/models/pools}/dex_pools.sql (98%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_arbitrum_schema.yml (86%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_arbitrum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_base_schema.yml (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_base_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_v3_base_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_bnb_schema.yml (85%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_bnb_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_v3_bnb_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_v3_bnb_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_celo_schema.yml (85%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_celo_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_v3_celo_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_v3_celo_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_schema.yml (93%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v1_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v2_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_votes.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_optimism_schema.yml (71%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_optimism_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_v3_optimism_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_v3_optimism_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_polygon_schema.yml (86%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_polygon_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_v3_polygon_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_v3_polygon_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_liquidity_manager_pools.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_schema.yml (64%) diff --git a/models/equalizer/fantom/equalizer_fantom_schema.yml b/dex/models/_projects/equalizer/fantom/_schema.yml similarity index 100% rename from models/equalizer/fantom/equalizer_fantom_schema.yml rename to dex/models/_projects/equalizer/fantom/_schema.yml diff --git a/models/equalizer/fantom/equalizer_fantom_pools.sql b/dex/models/_projects/equalizer/fantom/equalizer_fantom_pools.sql similarity index 100% rename from models/equalizer/fantom/equalizer_fantom_pools.sql rename to dex/models/_projects/equalizer/fantom/equalizer_fantom_pools.sql diff --git a/models/mento/celo/mento_celo_schema.yml b/dex/models/_projects/mento/celo/_schema.yml similarity index 100% rename from models/mento/celo/mento_celo_schema.yml rename to dex/models/_projects/mento/celo/_schema.yml diff --git a/models/mento/celo/mento_celo_pools.sql b/dex/models/_projects/mento/celo/mento_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_celo_pools.sql diff --git a/models/mento/celo/mento_v1_celo_pools.sql b/dex/models/_projects/mento/celo/mento_v1_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_v1_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_v1_celo_pools.sql diff --git a/models/mento/celo/mento_v2_celo_pools.sql b/dex/models/_projects/mento/celo/mento_v2_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_v2_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_v2_celo_pools.sql diff --git a/models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml b/dex/models/_projects/spartacus_exchange/fantom/_schema.yml similarity index 100% rename from models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml rename to dex/models/_projects/spartacus_exchange/fantom/_schema.yml diff --git a/models/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql similarity index 100% rename from models/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql rename to dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql diff --git a/models/spiritswap/fantom/spiritswap_fantom_schema.yml b/dex/models/_projects/spiritswap/fantom/_schema.yml similarity index 100% rename from models/spiritswap/fantom/spiritswap_fantom_schema.yml rename to dex/models/_projects/spiritswap/fantom/_schema.yml diff --git a/models/spiritswap/fantom/spiritswap_fantom_pools.sql b/dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql similarity index 96% rename from models/spiritswap/fantom/spiritswap_fantom_pools.sql rename to dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql index 7b78ed1f457..457c678e485 100644 --- a/models/spiritswap/fantom/spiritswap_fantom_pools.sql +++ b/dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'spritswap_fantom', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/models/spookyswap/fantom/spookyswap_fantom_schema.yml b/dex/models/_projects/spookyswap/fantom/_schema.yml similarity index 100% rename from models/spookyswap/fantom/spookyswap_fantom_schema.yml rename to dex/models/_projects/spookyswap/fantom/_schema.yml diff --git a/models/spookyswap/fantom/spookyswap_fantom_pools.sql b/dex/models/_projects/spookyswap/fantom/spookyswap_fantom_pools.sql similarity index 100% rename from models/spookyswap/fantom/spookyswap_fantom_pools.sql rename to dex/models/_projects/spookyswap/fantom/spookyswap_fantom_pools.sql diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml new file mode 100644 index 00000000000..326c0b71539 --- /dev/null +++ b/dex/models/_projects/uniswap/_schema.yml @@ -0,0 +1,246 @@ +version: 2 + +models: + - name: uniswap_pools + meta: + blockchain: ethereum, polygon, arbitrum, celo + sector: dex + contributors: hildobby, tomfutago + config: + tags: ['ethereum', 'polygon', 'arbitrum', 'celo', 'pools'] + description: > + Uniswap DEX pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: pool + description: "DEX pool smart contract address" + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_arbitrum_pools + meta: + blockchain: arbitrum + sector: dex + contributors: hildobby + config: + tags: ['arbitrum'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_bnb_pools + meta: + blockchain: bnb + sector: dex + contributors: mtitus6 + config: + tags: ['bnb'] + description: > + Uniswap DEX pools on BNB + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_celo_pools + meta: + blockchain: celo + sector: dex + contributors: hildobby, tomfutago + config: + tags: ['celo'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_ethereum_pools + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['ethereum'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_optimism_pools + meta: + blockchain: optimism + project: uniswap + contributors: msilb7, chuxin, mtitus6 + config: + tags: ['optimism','uniswap','pools'] + description: > + A canonical table containing all Uniswap pools created on Optimism. Pools from OVM1 will be missing from factory_evt_poolcreated, so we use this table to get pool information. + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_optimism_ovm1_pool_mapping + meta: + blockchain: optimism + project: uniswap + contributors: msilb7, chuxin + config: + tags: ['optimism','uniswap','pools'] + description: > + A canonical table containing all Uniswap pool address changes between OVM1 and the EVM Equivalence regenesis release. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - oldAddress + - newAddress + columns: + - &oldAddress + name: oldAddress + description: "Uniswap liquidity pool contract address in OVM1" + - &newAddress + name: newAddress + description: "Uniswap liquidity pool contract address in the EVM Equivalence regenesis release." + - *token0 + - *token1 + - *fee + + - name: uniswap_polygon_pools + meta: + blockchain: polygon + sector: dex + contributors: hildobby + config: + tags: ['polygon'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/_project/uniswap/uniswap_trades.sql b/dex/models/_projects/uniswap/uniswap_trades.sql similarity index 100% rename from models/_project/uniswap/uniswap_trades.sql rename to dex/models/_projects/uniswap/uniswap_trades.sql diff --git a/models/wigoswap/fantom/wigoswap_fantom_schema.yml b/dex/models/_projects/wigoswap/fantom/_schema.yml similarity index 100% rename from models/wigoswap/fantom/wigoswap_fantom_schema.yml rename to dex/models/_projects/wigoswap/fantom/_schema.yml diff --git a/models/wigoswap/fantom/wigoswap_fantom_pools.sql b/dex/models/_projects/wigoswap/fantom/wigoswap_fantom_pools.sql similarity index 100% rename from models/wigoswap/fantom/wigoswap_fantom_pools.sql rename to dex/models/_projects/wigoswap/fantom/wigoswap_fantom_pools.sql diff --git a/dex/models/pools/_schema.yml b/dex/models/pools/_schema.yml index b86f1f5b616..2509126abe0 100644 --- a/dex/models/pools/_schema.yml +++ b/dex/models/pools/_schema.yml @@ -103,5 +103,36 @@ models: - *tokens - *creation_block_time - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_pools + meta: + blockchain: ethereum, arbitrum, polygon + sector: dex + contributors: hildobby + config: + tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] + description: > + DEX pools on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - &project + name: project + description: "Project name of the DEX" + - *version + - *pool + - &fee + name: fee + description: "Defined fee" + - *token0 + - *token1 + - *creation_block_time + - *creation_block_number - name: contract_address description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/dex/dex_pools.sql b/dex/models/pools/dex_pools.sql similarity index 98% rename from models/dex/dex_pools.sql rename to dex/models/pools/dex_pools.sql index ffb0bf62d44..0a23f9543c5 100644 --- a/models/dex/dex_pools.sql +++ b/dex/models/pools/dex_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml similarity index 86% rename from dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml rename to models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml index 697330ad2c4..733b9070d98 100644 --- a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml +++ b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml @@ -130,36 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_arbitrum_pools - meta: - blockchain: arbitrum - sector: dex - contributors: hildobby - config: - tags: ['arbitrum'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_arbitrum_flashloans meta: blockchain: arbitrum diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql rename to models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql rename to models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql rename to models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml rename to models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql rename to models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql rename to models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql diff --git a/dex/models/_projects/uniswap/base/uniswap_base_schema.yml b/models/_project/uniswap/base/uniswap_base_schema.yml similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_base_schema.yml rename to models/_project/uniswap/base/uniswap_base_schema.yml diff --git a/dex/models/_projects/uniswap/base/uniswap_base_trades.sql b/models/_project/uniswap/base/uniswap_base_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_base_trades.sql rename to models/_project/uniswap/base/uniswap_base_trades.sql diff --git a/dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql b/models/_project/uniswap/base/uniswap_v3_base_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql rename to models/_project/uniswap/base/uniswap_v3_base_trades.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml similarity index 85% rename from dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml rename to models/_project/uniswap/bnb/uniswap_bnb_schema.yml index 7ce9483d7b7..faccd0cecb0 100644 --- a/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml +++ b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml @@ -160,34 +160,4 @@ models: - name: currency_symbol - name: recipient - name: contract_address - - name: block_month - - - name: uniswap_bnb_pools - meta: - blockchain: bnb - sector: dex - contributors: mtitus6 - config: - tags: ['bnb'] - description: > - Uniswap DEX pools on BNB - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" + - name: block_month \ No newline at end of file diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_bnb_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql rename to models/_project/uniswap/bnb/uniswap_bnb_trades.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql rename to models/_project/uniswap/bnb/uniswap_v3_bnb_flashloans.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql rename to models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml b/models/_project/uniswap/celo/uniswap_celo_schema.yml similarity index 85% rename from dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml rename to models/_project/uniswap/celo/uniswap_celo_schema.yml index eb2ede7194c..b83c06e6676 100644 --- a/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml +++ b/models/_project/uniswap/celo/uniswap_celo_schema.yml @@ -130,37 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_celo_pools - meta: - blockchain: celo - sector: dex - contributors: hildobby, tomfutago - config: - tags: ['celo'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - *block_month - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_celo_flashloans meta: blockchain: celo diff --git a/dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql b/models/_project/uniswap/celo/uniswap_celo_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql rename to models/_project/uniswap/celo/uniswap_celo_trades.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql rename to models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql b/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql rename to models/_project/uniswap/celo/uniswap_v3_celo_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql rename to models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml similarity index 93% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml rename to models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml index 8b8c07c7490..b4ee9281c39 100644 --- a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml @@ -376,37 +376,6 @@ models: - *token_symbol - *evt_index - - - name: uniswap_ethereum_pools - meta: - blockchain: ethereum - sector: dex - contributors: hildobby - config: - tags: ['ethereum'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_ethereum_flashloans meta: blockchain: ethereum diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_votes.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_votes.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml similarity index 71% rename from dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml rename to models/_project/uniswap/optimism/uniswap_optimism_schema.yml index 8ec566eec5b..b6a0ac198d8 100644 --- a/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml +++ b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml @@ -1,74 +1,6 @@ version: 2 models: - - name: uniswap_optimism_pools - meta: - blockchain: optimism - project: uniswap - contributors: msilb7, chuxin, mtitus6 - config: - tags: ['optimism','uniswap','pools'] - description: > - A canonical table containing all Uniswap pools created on Optimism. Pools from OVM1 will be missing from factory_evt_poolcreated, so we use this table to get pool information. - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &pool - name: pool - description: "Uniswap liquidity pool contract address" - tests: - - unique - - &token0 - name: token0 - description: "Token0 contract address" - - &token1 - name: token1 - description: "Token1 contract address" - - &fee - name: fee - description: "Swap fee of a Uniswap liquidity pool. Divide by 1e6 or power(10,6) to get the fee percentage" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - &contract_address - name: contract_address - description: "Contract address used to create the pool" - - - name: uniswap_optimism_ovm1_pool_mapping - meta: - blockchain: optimism - project: uniswap - contributors: msilb7, chuxin - config: - tags: ['optimism','uniswap','pools'] - description: > - A canonical table containing all Uniswap pool address changes between OVM1 and the EVM Equivalence regenesis release. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - oldAddress - - newAddress - columns: - - &oldAddress - name: oldAddress - description: "Uniswap liquidity pool contract address in OVM1" - - &newAddress - name: newAddress - description: "Uniswap liquidity pool contract address in the EVM Equivalence regenesis release." - - *token0 - - *token1 - - *fee - - name: uniswap_v3_optimism_trades meta: blockchain: optimism @@ -92,9 +24,15 @@ models: project: uniswap version: 3 columns: - - *blockchain - - *project - - *version + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" - &block_month name: block_month description: "UTC event block month of each DEX trade" diff --git a/dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_optimism_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql rename to models/_project/uniswap/optimism/uniswap_optimism_trades.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql rename to models/_project/uniswap/optimism/uniswap_v3_optimism_flashloans.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql rename to models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml similarity index 86% rename from dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml rename to models/_project/uniswap/polygon/uniswap_polygon_schema.yml index cea488380f0..07a6d36e8aa 100644 --- a/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml +++ b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml @@ -130,36 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_polygon_pools - meta: - blockchain: polygon - sector: dex - contributors: hildobby - config: - tags: ['polygon'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_polygon_flashloans meta: blockchain: polygon diff --git a/dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_polygon_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql rename to models/_project/uniswap/polygon/uniswap_polygon_trades.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql rename to models/_project/uniswap/polygon/uniswap_v3_polygon_flashloans.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql rename to models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/dex/models/_projects/uniswap/uniswap_flashloans.sql b/models/_project/uniswap/uniswap_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/uniswap_flashloans.sql rename to models/_project/uniswap/uniswap_flashloans.sql diff --git a/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql b/models/_project/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql rename to models/_project/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/dex/models/_projects/uniswap/uniswap_schema.yml b/models/_project/uniswap/uniswap_schema.yml similarity index 64% rename from dex/models/_projects/uniswap/uniswap_schema.yml rename to models/_project/uniswap/uniswap_schema.yml index 5ff710e6631..a4a15a7134a 100644 --- a/dex/models/_projects/uniswap/uniswap_schema.yml +++ b/models/_project/uniswap/uniswap_schema.yml @@ -39,45 +39,6 @@ models: name: token1 description: "Token1 contract address" - - name: uniswap_pools - meta: - blockchain: ethereum, polygon, arbitrum, celo - sector: dex - contributors: hildobby, tomfutago - config: - tags: ['ethereum', 'polygon', 'arbitrum', 'celo', 'pools'] - description: > - Uniswap DEX pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: pool - description: "DEX pool smart contract address" - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_flashloans meta: blockchain: ethereum, bnb, arbitrum, optimism, polygon, celo diff --git a/models/dex/dex_flashloans.sql b/models/dex/dex_flashloans.sql index 5ba0b5fc5c6..41a15f76d25 100644 --- a/models/dex/dex_flashloans.sql +++ b/models/dex/dex_flashloans.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'flashloans', partition_by = ['block_month'], materialized = 'incremental', diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index 9987e7a0adf..4a17e681108 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -1,41 +1,6 @@ version: 2 models: - - name: dex_prices - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom - sector: dex - contributors: Henrystats - config: - tags: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'gnosis', 'fantom', 'avalanche_c', 'trades', 'dex', 'cross-chain', 'prices'] - description: > - This table loads the prices of tokens from the dex.trades table. This helps for missing tokens from the prices.usd table - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - hour - - blockchain - - contract_address - columns: - - &block_month - name: block_month - description: "Month corresponding to the prices data" - - &hour - name: hour - description: "hour corresponding to the prices data" - - &contract_address - name: contract_address - description: "token's contract address" - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &median_price - name: median_price - description: "Median price of the token in USD within the corresponding hour" - - &sample_size - name: sample_size - description: "Number of times the token was traded within the coressponding hour" - - name: dex_incentive_mappings meta: blockchain: optimism @@ -46,7 +11,9 @@ models: description: > Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions columns: - - *blockchain + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" - &project name: project description: "Project name of the DEX" @@ -68,7 +35,9 @@ models: - &evt_block_number name: evt_block_number description: 'Block Number' - - *contract_address + - &contract_address + name: contract_address + description: "token's contract address" - &evt_tx_hash name: evt_tx_hash description: 'Tx Hash' @@ -76,136 +45,6 @@ models: name: evt_index description: "Index of the corresponding trade event" - - name: dex_pools - meta: - blockchain: ethereum, arbitrum, polygon - sector: dex - contributors: hildobby - config: - tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] - description: > - DEX pools on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *project - - *version - - &pool - name: pool - description: "DEX pool smart contract address" - - &fee - name: fee - description: "Defined fee" - - &token0 - name: token0 - description: "First token in pool" - - &token1 - name: token1 - description: "Second token in pool" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_raw_pool_initializations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools initialization calls - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - - tx_hash - - call_trace_address - columns: - - *blockchain - - &type - name: type - description: "Pool implementation standard" - - *version - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - *pool - - *token0 - - *token1 - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &call_trace_address - name: call_trace_address - - - name: dex_raw_pool_creations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - &tokens - name: tokens - description: "Tokens in the pool" - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: rn - - - name: dex_raw_pools - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - *tokens - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: dex_offers meta: blockchain: optimism @@ -222,7 +61,9 @@ models: - &block_date name: block_date description: "UTC event block date of each DEX trade" - - *block_time + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - &block_number name: block_number description: "the block number of the block that the offer was created in" @@ -290,7 +131,9 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &tx_from name: tx_from description: "Address which initiated the trade" @@ -329,27 +172,4 @@ models: - name: currency_symbol - name: recipient - name: contract_address - - name: block_month - - - name: dex_info - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana - sector: dex - contributors: hildobby - config: - tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] - description: > - DEXs info - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - project - columns: - - name: project - description: "Marketplace codename" - - name: name - description: "Marketplace capitalised name" - - name: marketplace_type - description: "Type of marketplace" - - name: x_username - description: "Username on X" + - name: block_month \ No newline at end of file From fcf9d888d3b9110fc9222953b1fa4050a8beb781 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 17:55:50 -0400 Subject: [PATCH 07/63] move seeds, tests, fix compile errors --- dbt_project.yml | 73 --- dex/dbt_project.yml | 5 +- dex/models/_projects/beethoven_x/_schema.yml | 53 ++ .../beethoven_x_fantom_pools_fees.sql | 0 .../cow_protocol/cow_protocol_trades.sql | 2 +- .../ethereum/cow_protocol_ethereum_trades.sql | 26 +- .../gnosis/cow_protocol_gnosis_trades.sql | 2 +- .../dodo_aggregator_arbitrum_trades.sql | 2 +- .../dodo/base/dodo_aggregator_base_trades.sql | 2 +- .../dodo/bnb/dodo_aggregator_bnb_trades.sql | 2 +- .../_projects/dodo/dodo_aggregator_trades.sql | 14 +- .../dodo_aggregator_ethereum_trades.sql | 2 +- .../dodo_aggregator_optimism_trades.sql | 2 +- .../dodo_aggregator_polygon_trades.sql | 2 +- .../lifi/fantom/lifi_fantom_trades.sql | 2 +- dex/models/_projects/lifi/lifi_trades.sql | 2 +- .../lifi/optimism/lifi_optimism_trades.sql | 2 +- .../avalanche_c/odos_avalanche_c_trades.sql | 1 + dex/models/_projects/odos/odos_trades.sql | 1 + .../spartacus_exchange_fantom_pools.sql | 2 +- .../ethereum/tokenlon_ethereum_trades.sql | 2 +- .../_projects/tokenlon/tokenlon_trades.sql | 2 +- dex/models/_projects/uniswap/_schema.yml | 9 +- .../arbitrum/uniswap_arbitrum_pools.sql | 1 - .../uniswap/bnb/uniswap_bnb_pools.sql | 2 +- .../_projects/uniswap/uniswap_pools.sql | 2 +- .../arbitrum/zeroex_arbitrum_api_fills.sql | 2 +- .../arbitrum/zeroex_arbitrum_native_fills.sql | 1 + .../zeroex_avalanche_c_api_fills.sql | 2 +- .../zeroex/bnb/zeroex_bnb_api_fills.sql | 2 +- .../bnb/zeroex_bnb_api_fills_deduped.sql | 2 +- .../zeroex/bnb/zeroex_bnb_native_fills.sql | 1 + .../ethereum/zeroex_ethereum_api_fills.sql | 2 +- .../ethereum/zeroex_ethereum_native_fills.sql | 1 + .../ethereum/zeroex_ethereum_nft_fills.sql | 2 +- .../zeroex/fantom/zeroex_fantom_api_fills.sql | 2 +- .../optimism/zeroex_optimism_native_fills.sql | 1 + .../polygon/zeroex_polygon_native_fills.sql | 1 + .../polygon/zeroex_polygon_nft_fills.sql | 3 +- .../_projects/zeroex/zeroex_native_fills.sql | 1 + .../_projects/zeroex/zeroex_native_trades.sql | 1 + .../balancer/balancer_transfers_bpt_seed.csv | 0 .../seeds/_project}/zeroex/_schema.yml | 0 .../_project}/zeroex/arbitrum/_schema.yml | 0 ...roex_arbitrum_api_fills_deduped_sample.csv | 0 .../zeroex_arbitrum_api_fills_sample.csv | 0 .../zeroex_arbitrum_native_fills_sample.csv | 0 .../_project}/zeroex/avalanche_c/_schema.yml | 0 ...x_avalanche_c_api_fills_deduped_sample.csv | 0 .../zeroex_avalanche_c_api_fills_sample.csv | 0 .../seeds/_project}/zeroex/base/_schema.yml | 0 .../base/zeroex_base_api_fills_sample.csv | 0 .../seeds/_project}/zeroex/bnb/_schema.yml | 0 .../zeroex_bnb_api_fills_deduped_sample.csv | 0 .../bnb/zeroex_bnb_api_fills_sample.csv | 0 .../bnb/zeroex_bnb_native_fills_sample.csv | 0 .../seeds/_project}/zeroex/celo/_schema.yml | 0 .../zeroex_celo_api_fills_deduped_sample.csv | 0 .../celo/zeroex_celo_api_fills_sample.csv | 0 .../_project}/zeroex/ethereum/_schema.yml | 0 ...roex_ethereum_api_fills_deduped_sample.csv | 0 .../zeroex_ethereum_api_fills_sample.csv | 0 .../zeroex_ethereum_native_fills_sample.csv | 0 .../zeroex_ethereum_nft_fills_sample.csv | 0 .../seeds/_project}/zeroex/fantom/_schema.yml | 0 ...zeroex_fantom_api_fills_deduped_sample.csv | 0 .../fantom/zeroex_fantom_api_fills_sample.csv | 0 .../_project}/zeroex/optimism/_schema.yml | 0 ...roex_optimism_api_fills_deduped_sample.csv | 0 .../zeroex_optimism_api_fills_sample.csv | 0 .../_project}/zeroex/polygon/_schema.yml | 0 ...eroex_polygon_api_fills_deduped_sample.csv | 0 .../zeroex_polygon_api_fills_sample.csv | 0 .../zeroex_polygon_native_fills_sample.csv | 0 .../zeroex_polygon_nft_fills_sample.csv | 0 .../zeroex_api_fills_deduped_sample.csv | 0 .../zeroex/zeroex_api_fills_sample.csv | 0 .../zeroex/zeroex_native_fills_sample.csv | 0 .../seeds/aggregator_trades}/_schema.yml | 0 .../dex_aggregator_seed.csv | 0 {seeds/dex => dex/seeds}/pools/_schema.yml | 0 .../seeds}/pools/dex_pools_seed.csv | 0 .../dex => dex/seeds/trades}/_schema.yml | 0 .../aerodrome_base_base_trades_seed.csv | 0 .../airswap_arbitrum_base_trades_seed.csv | 0 .../airswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/airswap_bnb_base_trades_seed.csv | 0 .../airswap_ethereum_base_trades_seed.csv | 0 .../airswap_polygon_base_trades_seed.csv | 0 .../alienbase_base_base_trades_seed.csv | 0 .../apeswap_arbitrum_base_trades_seed.csv | 0 .../trades}/apeswap_bnb_base_trades_seed.csv | 0 .../apeswap_ethereum_base_trades_seed.csv | 0 .../apeswap_polygon_base_trades_seed.csv | 0 .../arbswap_arbitrum_base_trades_seed.csv | 0 .../auragi_arbitrum_base_trades_seed.csv | 0 .../autotronic_base_base_trades_seed.csv | 0 .../trades}/babyswap_bnb_base_trades_seed.csv | 0 .../balancer_arbitrum_base_trades_seed.csv | 0 .../balancer_avalanche_c_base_trades_seed.csv | 0 .../balancer_base_base_trades_seed.csv | 0 .../balancer_ethereum_base_trades_seed.csv | 0 .../balancer_gnosis_base_trades_seed.csv | 0 .../balancer_optimism_base_trades_seed.csv | 0 .../balancer_polygon_base_trades_seed.csv | 0 .../balancer_zkevm_base_trades_seed.csv | 0 .../bancor_ethereum_base_trades_seed.csv | 0 .../baseswap_base_base_trades_seed.csv | 0 .../baseswap_basex_base_base_trades_seed.csv | 0 .../baso_finance_base_base_trades_seed.csv | 0 .../beethoven_x_fantom_base_trades_seed.csv | 0 .../beethoven_x_optimism_base_trades_seed.csv | 0 .../trades}/biswap_bnb_base_trades_seed.csv | 0 .../camelot_arbitrum_base_trades_seed.csv | 0 .../carbon_defi_ethereum_base_trades_seed.csv | 0 .../carbonhood_celo_base_trades_seed.csv | 0 .../chainhop_optimism_base_trades_seed.csv | 0 .../chronos_arbitrum_base_trades_seed.csv | 0 .../citadelswap_base_base_trades_seed.csv | 0 .../clipper_arbitrum_base_trades_seed.csv | 0 .../trades}/clipper_base_base_trades_seed.csv | 0 .../clipper_ethereum_base_trades_seed.csv | 0 .../clipper_optimism_base_trades_seed.csv | 0 .../clipper_polygon_base_trades_seed.csv | 0 .../crescentswap_base_base_trades_seed.csv | 0 .../curvefi_avalanche_c_base_trades_seed.csv | 0 .../trades}/curvefi_celo_base_trades_seed.csv | 0 .../curvefi_ethereum_base_trades_seed.csv | 0 .../curvefi_fantom_base_trades_seed.csv | 0 .../curvefi_optimism_base_trades_seed.csv | 0 .../dackieswap_base_base_trades_seed.csv | 0 ...ackieswap_v2_optimism_base_trades_seed.csv | 0 ...ackieswap_v3_optimism_base_trades_seed.csv | 0 .../defiswap_ethereum_base_trades_seed.csv | 0 .../trades}/derpdex_base_base_trades_seed.csv | 0 .../derpdex_zksync_base_trades_seed.csv | 0 .../trades}/dfx_ethereum_base_trades_seed.csv | 0 .../dodo_arbitrum_base_trades_seed.csv | 0 .../trades}/dodo_base_base_trades_seed.csv | 0 .../trades}/dodo_bnb_base_trades_seed.csv | 0 .../dodo_ethereum_base_trades_seed.csv | 0 .../dodo_optimism_base_trades_seed.csv | 0 .../trades}/dodo_polygon_base_trades_seed.csv | 0 .../dooar_polygon_base_trades_seed.csv | 0 ...racula_finance_zksync_base_trades_seed.csv | 0 .../echodex_linea_base_trades_seed.csv | 0 .../elk_finance_base_base_trades_seed.csv | 0 .../elk_finance_optimism_base_trades_seed.csv | 0 .../ellipsis_finance_bnb_base_trades_seed.csv | 0 .../trades}/energon_base_base_trades_seed.csv | 0 .../equalizer_fantom_base_trades_seed.csv | 0 .../ezkalibur_zksync_base_trades_seed.csv | 0 .../fraxswap_arbitrum_base_trades_seed.csv | 0 .../fraxswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/fraxswap_bnb_base_trades_seed.csv | 0 .../fraxswap_ethereum_base_trades_seed.csv | 0 .../fraxswap_optimism_base_trades_seed.csv | 0 .../fraxswap_polygon_base_trades_seed.csv | 0 .../gemswap_zksync_base_trades_seed.csv | 0 .../glacier_avalanche_c_base_trades_seed.csv | 0 .../trades}/gmx_arbitrum_base_trades_seed.csv | 0 .../gmx_avalanche_c_base_trades_seed.csv | 0 .../gridex_arbitrum_base_trades_seed.csv | 0 .../trades}/gridex_base_base_trades_seed.csv | 0 .../gridex_optimism_base_trades_seed.csv | 0 .../hashflow_avalanche_c_base_trades_seed.csv | 0 .../trades}/hashflow_bnb_base_trades_seed.csv | 0 .../hashflow_ethereum_base_trades_seed.csv | 0 .../hashflow_optimism_base_trades_seed.csv | 0 .../honeyswap_gnosis_base_trades_seed.csv | 0 .../honeyswap_polygon_base_trades_seed.csv | 0 .../horizondex_base_base_trades_seed.csv | 0 .../icecreamswap_base_base_trades_seed.csv | 0 ...cecreamswap_v2_scroll_base_trades_seed.csv | 0 .../integral_arbitrum_base_trades_seed.csv | 0 .../integral_ethereum_base_trades_seed.csv | 0 .../trades}/iziswap_bnb_base_trades_seed.csv | 0 .../iziswap_scroll_base_trades_seed.csv | 0 .../iziswap_zksync_base_trades_seed.csv | 0 .../kyberswap_arbitrum_base_trades_seed.csv | 0 ...kyberswap_avalanche_c_base_trades_seed.csv | 0 .../kyberswap_base_base_trades_seed.csv | 0 .../kyberswap_bnb_base_trades_seed.csv | 0 .../kyberswap_ethereum_base_trades_seed.csv | 0 .../kyberswap_optimism_base_trades_seed.csv | 0 .../kyberswap_polygon_base_trades_seed.csv | 0 .../leetswap_v2_base_base_trades_seed.csv | 0 .../trades}/lynex_linea_base_trades_seed.csv | 0 .../mauve_ethereum_base_trades_seed.csv | 0 .../maverick_base_base_trades_seed.csv | 0 .../trades}/maverick_bnb_base_trades_seed.csv | 0 .../maverick_ethereum_base_trades_seed.csv | 0 .../maverick_zksync_base_trades_seed.csv | 0 .../trades}/mdex_bnb_base_trades_seed.csv | 0 .../trades}/mento_celo_base_trades_seed.csv | 0 .../moonbase_base_base_trades_seed.csv | 0 .../mstable_ethereum_base_trades_seed.csv | 0 ...ummy_finance_optimism_base_trades_seed.csv | 0 .../trades}/mute_zksync_base_trades_seed.csv | 0 .../trades}/nile_linea_base_trades_seed.csv | 0 .../trades}/nomiswap_bnb_base_trades_seed.csv | 0 .../trades}/nuri_scroll_base_trades_seed.csv | 0 .../oasisswap_arbitrum_base_trades_seed.csv | 0 .../oasisswap_base_base_trades_seed.csv | 0 .../oneinch_arbitrum_base_trades_seed.csv | 0 .../oneinch_avalanche_c_base_trades_seed.csv | 0 .../trades}/oneinch_base_base_trades_seed.csv | 0 .../trades}/oneinch_bnb_base_trades_seed.csv | 0 .../oneinch_ethereum_base_trades_seed.csv | 0 .../oneinch_fantom_base_trades_seed.csv | 0 .../oneinch_gnosis_base_trades_seed.csv | 0 .../oneinch_optimism_base_trades_seed.csv | 0 .../oneinch_polygon_base_trades_seed.csv | 0 .../oneinch_zksync_base_trades_seed.csv | 0 .../onepunchswap_bnb_base_trades_seed.csv | 0 ...openocean_avalanche_c_base_trades_seed.csv | 0 .../openocean_base_base_trades_seed.csv | 0 .../openocean_fantom_base_trades_seed.csv | 0 .../openocean_optimism_base_trades_seed.csv | 0 .../openxswap_optimism_base_trades_seed.csv | 0 .../opx_finance_optimism_base_trades_seed.csv | 0 .../pancakeswap_arbitrum_base_trades_seed.csv | 0 .../pancakeswap_base_base_trades_seed.csv | 0 .../pancakeswap_bnb_base_trades_seed.csv | 0 .../pancakeswap_ethereum_base_trades_seed.csv | 0 .../pancakeswap_linea_base_trades_seed.csv | 0 .../pancakeswap_zkevm_base_trades_seed.csv | 0 .../pancakeswap_zksync_base_trades_seed.csv | 0 .../pharaoh_avalanche_c_base_trades_seed.csv | 0 .../plantbaseswap_base_base_trades_seed.csv | 0 ...s_finance_avalanche_c_base_trades_seed.csv | 0 .../quickswap_polygon_base_trades_seed.csv | 0 .../ramses_arbitrum_base_trades_seed.csv | 0 .../rocketswap_base_base_trades_seed.csv | 0 .../rubicon_arbitrum_base_trades_seed.csv | 0 .../trades}/rubicon_base_base_trades_seed.csv | 0 .../rubicon_optimism_base_trades_seed.csv | 0 .../trades}/scale_base_base_trades_seed.csv | 0 .../scrollswap_scroll_base_trades_seed.csv | 0 .../trades}/secta_linea_base_trades_seed.csv | 0 .../sharkswap_base_base_trades_seed.csv | 0 .../sharkyswap_arbitrum_base_trades_seed.csv | 0 .../shibaswap_ethereum_base_trades_seed.csv | 0 .../smardex_arbitrum_base_trades_seed.csv | 0 .../trades}/smardex_base_base_trades_seed.csv | 0 .../trades}/sobal_base_base_trades_seed.csv | 0 .../solidlizard_arbitrum_base_trades_seed.csv | 0 .../trades}/solidly_base_base_trades_seed.csv | 0 .../solidly_v3_arbitrum_base_trades_seed.csv | 0 .../solidly_v3_base_base_trades_seed.csv | 0 .../solidly_v3_ethereum_base_trades_seed.csv | 0 .../solidly_v3_fantom_base_trades_seed.csv | 0 .../solidly_v3_optimism_base_trades_seed.csv | 0 .../trades}/soswap_base_base_trades_seed.csv | 0 .../spacefi_zksync_base_trades_seed.csv | 0 ...tacus_exchange_fantom_base_trades_seed.csv | 0 .../spiritswap_fantom_base_trades_seed.csv | 0 .../spookyswap_fantom_base_trades_seed.csv | 0 ...ling_finance_arbitrum_base_trades_seed.csv | 0 .../sushiswap_arbitrum_base_trades_seed.csv | 0 ...sushiswap_avalanche_c_base_trades_seed.csv | 0 .../sushiswap_base_base_trades_seed.csv | 0 .../sushiswap_bnb_base_trades_seed.csv | 0 .../sushiswap_celo_base_trades_seed.csv | 0 .../sushiswap_ethereum_base_trades_seed.csv | 0 .../sushiswap_fantom_base_trades_seed.csv | 0 .../sushiswap_gnosis_base_trades_seed.csv | 0 .../sushiswap_linea_base_trades_seed.csv | 0 .../sushiswap_optimism_base_trades_seed.csv | 0 .../sushiswap_polygon_base_trades_seed.csv | 0 .../sushiswap_scroll_base_trades_seed.csv | 0 .../swaap_v2_arbitrum_base_trades_seed.csv | 0 .../swapbased_base_base_trades_seed.csv | 0 .../swapr_ethereum_base_trades_seed.csv | 0 .../syncswap_scroll_base_trades_seed.csv | 0 .../syncswap_zksync_base_trades_seed.csv | 0 .../synthetix_optimism_base_trades_seed.csv | 0 .../synthswap_base_base_trades_seed.csv | 0 .../trades}/thena_bnb_base_trades_seed.csv | 0 ...rone_exchange_v2_base_base_trades_seed.csv | 0 ...rone_exchange_v3_base_base_trades_seed.csv | 0 .../trades}/torus_base_base_trades_seed.csv | 0 .../trader_joe_arbitrum_base_trades_seed.csv | 0 ...rader_joe_avalanche_c_base_trades_seed.csv | 0 .../trader_joe_bnb_base_trades_seed.csv | 0 .../trades}/ubeswap_celo_base_trades_seed.csv | 0 .../uniswap_arbitrum_base_trades_seed.csv | 0 .../uniswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/uniswap_base_base_trades_seed.csv | 0 .../trades}/uniswap_bnb_base_trades_seed.csv | 0 .../trades}/uniswap_celo_base_trades_seed.csv | 0 .../uniswap_ethereum_base_trades_seed.csv | 0 .../uniswap_optimism_base_trades_seed.csv | 0 .../uniswap_polygon_base_trades_seed.csv | 0 .../uniswap_scroll_base_trades_seed.csv | 0 .../uniswap_zksync_base_trades_seed.csv | 0 .../trades}/uniswap_zora_base_trades_seed.csv | 0 .../velocimeter_v2_base_base_trades_seed.csv | 0 .../velocore_zksync_base_trades_seed.csv | 0 .../velodrome_optimism_base_trades_seed.csv | 0 .../verse_dex_ethereum_base_trades_seed.csv | 0 .../vesync_zksync_base_trades_seed.csv | 0 .../voltswap_base_base_trades_seed.csv | 0 .../trades}/wagmi_zksync_base_trades_seed.csv | 0 .../wardenswap_optimism_base_trades_seed.csv | 0 .../wigoswap_fantom_base_trades_seed.csv | 0 .../trades}/wombat_bnb_base_trades_seed.csv | 0 ...bat_exchange_arbitrum_base_trades_seed.csv | 0 .../wombat_exchange_base_base_trades_seed.csv | 0 ...bat_exchange_optimism_base_trades_seed.csv | 0 .../woofi_arbitrum_base_trades_seed.csv | 0 .../woofi_avalanche_c_base_trades_seed.csv | 0 .../trades}/woofi_base_base_trades_seed.csv | 0 .../trades}/woofi_bnb_base_trades_seed.csv | 0 .../woofi_optimism_base_trades_seed.csv | 0 .../xchange_arbitrum_base_trades_seed.csv | 0 .../trades}/xchange_bnb_base_trades_seed.csv | 0 .../xchange_ethereum_base_trades_seed.csv | 0 .../xchange_polygon_base_trades_seed.csv | 0 .../trades}/zebra_scroll_base_trades_seed.csv | 0 .../zigzag_arbitrum_base_trades_seed.csv | 0 .../zipswap_optimism_base_trades_seed.csv | 0 ...zkswap_finance_zksync_base_trades_seed.csv | 0 .../zyberswap_arbitrum_base_trades_seed.csv | 0 .../cow_protocol_ethereum_assert_batches.sql | 0 ...ow_protocol_ethereum_assert_order_type.sql | 0 ..._protocol_ethereum_assert_partial_fill.sql | 0 .../cow_protocol_ethereum_assert_slippage.sql | 0 .../cow_protocol_ethereum_assert_solvers.sql | 0 .../cow_protocol_ethereum_assert_trades.sql | 0 .../cow_protocol_gnosis_assert_solvers.sql | 0 .../fantom/beethoven_x_fantom_schema.yml | 49 -- .../curvefi_ethereum_view_pools_postgres.csv | 299 ---------- seeds/dex/trades/_schema.yml | 12 - seeds/dex/trades/dex_trades_seed.csv | 541 ------------------ 335 files changed, 114 insertions(+), 1026 deletions(-) create mode 100644 dex/models/_projects/beethoven_x/_schema.yml rename {models/beethoven_x/fantom => dex/models/_projects/beethoven_x}/beethoven_x_fantom_pools_fees.sql (100%) rename {seeds => dex/seeds/_project}/balancer/balancer_transfers_bpt_seed.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/base/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/base/zeroex_base_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/zeroex_celo_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/zeroex_fantom_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/zeroex_optimism_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_native_fills_sample.csv (100%) rename {seeds/dex/aggregator => dex/seeds/aggregator_trades}/_schema.yml (100%) rename {seeds/dex/aggregator => dex/seeds/aggregator_trades}/dex_aggregator_seed.csv (100%) rename {seeds/dex => dex/seeds}/pools/_schema.yml (100%) rename {seeds/dex => dex/seeds}/pools/dex_pools_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/_schema.yml (100%) rename {seeds/_sector/dex => dex/seeds/trades}/aerodrome_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/alienbase_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/arbswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/auragi_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/autotronic_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/babyswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_zkevm_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/bancor_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baseswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baseswap_basex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baso_finance_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/beethoven_x_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/beethoven_x_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/biswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/camelot_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/carbon_defi_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/carbonhood_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/chainhop_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/chronos_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/citadelswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/crescentswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_v2_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_v3_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/defiswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/derpdex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/derpdex_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dfx_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dooar_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dracula_finance_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/echodex_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/elk_finance_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/elk_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ellipsis_finance_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/energon_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/equalizer_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ezkalibur_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gemswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/glacier_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gmx_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gmx_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/honeyswap_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/honeyswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/horizondex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/icecreamswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/icecreamswap_v2_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/integral_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/integral_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/leetswap_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/lynex_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mauve_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mdex_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mento_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/moonbase_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mstable_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mummy_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mute_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nile_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nomiswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nuri_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oasisswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oasisswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/onepunchswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openxswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/opx_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_zkevm_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pharaoh_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/plantbaseswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/platypus_finance_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/quickswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ramses_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rocketswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/scale_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/scrollswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/secta_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sharkswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sharkyswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/shibaswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/smardex_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/smardex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sobal_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidlizard_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/soswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spacefi_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spartacus_exchange_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spiritswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spookyswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sterling_finance_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swaap_v2_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swapbased_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swapr_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/syncswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/syncswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/synthetix_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/synthswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/thena_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/throne_exchange_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/throne_exchange_v3_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/torus_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ubeswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_zora_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velocimeter_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velocore_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velodrome_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/verse_dex_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/vesync_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/voltswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wagmi_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wardenswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wigoswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zebra_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zigzag_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zipswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zkswap_finance_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zyberswap_arbitrum_base_trades_seed.csv (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql (100%) rename {tests => dex/tests}/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql (100%) delete mode 100644 seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv delete mode 100644 seeds/dex/trades/_schema.yml delete mode 100644 seeds/dex/trades/dex_trades_seed.csv diff --git a/dbt_project.yml b/dbt_project.yml index e959f491c02..7fdae3d0ae7 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -96,23 +96,6 @@ models: bitcoin: +schema: cex_bitcoin - uniswap: - +schema: uniswap - arbitrum: - +schema: uniswap_arbitrum - ethereum: - +schema: uniswap_ethereum - optimism: - +schema: uniswap_optimism - polygon: - +schema: uniswap_polygon - bnb: - +schema: uniswap_bnb - base: - +schema: uniswap_base - celo: - +schema: uniswap_celo - seaport: +schema: seaport ethereum: @@ -141,21 +124,6 @@ models: polygon: +schema: balances_polygon - dodo: - +schema: dodo - ethereum: - +schema: dodo_ethereum - bnb: - +schema: dodo_bnb - polygon: - +schema: dodo_polygon - arbitrum: - +schema: dodo_arbitrum - optimism: - +schema: dodo_optimism - base: - +schema: dodo_base - labels: +schema: labels +materialized: table @@ -177,11 +145,6 @@ models: solana_utils: +schema: solana_utils - odos: - +schema: odos - avalanche_c: - +schema: odos_avalanche_c - transfers: +schema: transfers ethereum: @@ -227,13 +190,6 @@ models: base: +schema: safe_base - lifi: - +schema: lifi - fantom: - +schema: lifi_fantom - optimism: - +schema: lifi_optimism - astaria: +schema: astaria ethereum: @@ -272,11 +228,6 @@ models: bnb: +schema: spaceid_bnb - spartacus_exchange: - +schema: spartacus_exchange - fantom: - +schema: spartacus_exchange_fantom - tornado_cash: +schema: tornado_cash arbitrum: @@ -401,25 +352,6 @@ models: ethereum: +schema: nexusmutual_ethereum - zeroex: - +schema: zeroex - ethereum: - +schema: zeroex_ethereum - optimism: - +schema: zeroex_optimism - polygon: - +schema: zeroex_polygon - avalanche_c: - +schema: zeroex_avalanche_c - fantom: - +schema: zeroex_fantom - arbitrum: - +schema: zeroex_arbitrum - bnb: - +schema: zeroex_bnb - celo: - +schema: zeroex_celo - ampleforth: +schema: ampleforth @@ -503,11 +435,6 @@ models: ethereum: +schema: tokenfy_ethereum - tokenlon: - +schema: tokenlon - ethereum: - +schema: tokenlon_ethereum - thales: +schema: thales ethereum: diff --git a/dex/dbt_project.yml b/dex/dbt_project.yml index e8901fdd5ad..140b7eeb175 100644 --- a/dex/dbt_project.yml +++ b/dex/dbt_project.yml @@ -21,10 +21,9 @@ vars: # You don't need to change these! model-paths: ["models", "../sources"] analysis-paths: ["analyses"] -# ../tests/* should be added to a separate shared folder test-paths: ["tests"] seed-paths: ["seeds"] -macro-paths: ["../macros", "macros"] +macro-paths: ["macros", "../macros"] snapshot-paths: ["snapshots"] target-path: "target" # directory which will store compiled SQL files @@ -41,8 +40,6 @@ tests: # Configuring seeds # Full documentation: https://docs.getdbt.com/reference/seed-configs # For configuring individual seeds (e.g. overriding column types) we recommend a yml file nested in the same folder as the seed -# example: seeds/cryptopunks/schema.yml -# TODO: uncomment when seeds are added seeds: dex: +schema: test_data diff --git a/dex/models/_projects/beethoven_x/_schema.yml b/dex/models/_projects/beethoven_x/_schema.yml new file mode 100644 index 00000000000..bfc9021bb99 --- /dev/null +++ b/dex/models/_projects/beethoven_x/_schema.yml @@ -0,0 +1,53 @@ +version: 2 + +models: + - name: beethoven_x_fantom_pools_fees + meta: + blockchain: fantom + project: beethoven_x + contributors: jacektrocinski, thetroyharris, tomfutago + config: + tags: ['fantom', 'balancer', 'pools_fees'] + description: > + Beethoven X swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &contract_address + name: contract_address + description: 'fantom address for the liquidity pool used in transaction' + tests: + - not_null + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &index + name: index + description: '' + tests: + - not_null + - &tx_index + name: tx_index + description: '' + tests: + - not_null + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &block_number + name: block_number + description: 'Block number' + tests: + - not_null + - &swap_fee_percentage + name: swap_fee_percentage + description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' + tests: + - not_null \ No newline at end of file diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_pools_fees.sql b/dex/models/_projects/beethoven_x/beethoven_x_fantom_pools_fees.sql similarity index 100% rename from models/beethoven_x/fantom/beethoven_x_fantom_pools_fees.sql rename to dex/models/_projects/beethoven_x/beethoven_x_fantom_pools_fees.sql diff --git a/dex/models/_projects/cow_protocol/cow_protocol_trades.sql b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql index 6f2a84d55e8..aa731eafcf3 100644 --- a/dex/models/_projects/cow_protocol/cow_protocol_trades.sql +++ b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'cow_protocol', alias='trades', post_hook='{{ expose_spells(\'["ethereum", "gnosis", "arbitrum"]\', "project", diff --git a/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql index 5f7b78c54ee..0ff99b3625a 100644 --- a/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql +++ b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql @@ -1,17 +1,17 @@ {{ config( - - alias='trades', - materialized='incremental', - partition_by = ['block_month'], - unique_key = ['tx_hash', 'order_uid', 'evt_index'], - on_schema_change='sync_all_columns', - file_format ='delta', - incremental_strategy='merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "cow_protocol", - \'["bh2smith", "gentrexha", "olgafetisova"]\') }}' + schema='cow_protocol_ethereum', + alias='trades', + materialized='incremental', + partition_by = ['block_month'], + unique_key = ['tx_hash', 'order_uid', 'evt_index'], + on_schema_change='sync_all_columns', + file_format ='delta', + incremental_strategy='merge', + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], + post_hook='{{ expose_spells(\'["ethereum"]\', + "project", + "cow_protocol", + \'["bh2smith", "gentrexha", "olgafetisova"]\') }}' ) }} diff --git a/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql index 2bae34d7c63..60277f51741 100644 --- a/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql +++ b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'cow_protocol_gnosis', alias='trades', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql index 08b6d5778a4..e16b77aebbc 100644 --- a/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql +++ b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_arbitrum', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql index 3f9374a5210..7842933a35b 100644 --- a/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql +++ b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_base', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql index 02c5d8cfb0a..8bbd1c5812c 100644 --- a/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql +++ b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_bnb', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/dodo_aggregator_trades.sql b/dex/models/_projects/dodo/dodo_aggregator_trades.sql index 499def3d2f7..960836bfe2a 100644 --- a/dex/models/_projects/dodo/dodo_aggregator_trades.sql +++ b/dex/models/_projects/dodo/dodo_aggregator_trades.sql @@ -1,11 +1,11 @@ {{ config( - - alias = 'aggregator_trades', - post_hook='{{ expose_spells(\'["ethereum","bnb","polygon","arbitrum","optimism","base"]\', - "project", - "dodo", - \'["owen05"]\') }}' - ) + schema = 'dodo', + alias = 'aggregator_trades', + post_hook='{{ expose_spells(\'["ethereum","bnb","polygon","arbitrum","optimism","base"]\', + "project", + "dodo", + \'["owen05"]\') }}' + ) }} {% set dodo_models = [ diff --git a/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql index 03a9d496d67..0276d19f0be 100644 --- a/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql +++ b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_ethereum', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql index 8325dd73c9f..16783aec971 100644 --- a/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql +++ b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_optimism', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql index 7b3f165cbcf..44391d3e094 100644 --- a/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql +++ b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_polygon', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql index bb0bfdcbfcc..83ab544ad74 100644 --- a/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql +++ b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'lifi_fantom', alias = 'trades' ) }} diff --git a/dex/models/_projects/lifi/lifi_trades.sql b/dex/models/_projects/lifi/lifi_trades.sql index 4f4cf5e3e15..d91055d86c9 100644 --- a/dex/models/_projects/lifi/lifi_trades.sql +++ b/dex/models/_projects/lifi/lifi_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'lifi', alias = 'trades', post_hook='{{ expose_spells(\'["fantom", "optimism"]\', "project", diff --git a/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql index 2d678eb3c01..d373f3f66a2 100644 --- a/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql +++ b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'lifi_optimism', alias = 'trades' ) }} diff --git a/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql index cdb4fbc5623..756f8f1a57f 100644 --- a/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql +++ b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql @@ -1,5 +1,6 @@ {{ config( tags=['prod_exclude'], + schema = 'odos_avalanche_c', alias = 'trades', partition_by = ['block_date'], materialized = 'incremental', diff --git a/dex/models/_projects/odos/odos_trades.sql b/dex/models/_projects/odos/odos_trades.sql index 86bfa269889..43e2ac5e5c8 100644 --- a/dex/models/_projects/odos/odos_trades.sql +++ b/dex/models/_projects/odos/odos_trades.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'odos', alias = 'trades', post_hook='{{ expose_spells(\'["optimism", "ethereum"]\', "project", diff --git a/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql index 26b6080c5ad..caf5ee80c48 100644 --- a/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql +++ b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'spartacus_exchange_fantom', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql index 8f0d950c9f6..b4e84971d72 100644 --- a/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql +++ b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'tokenlon_ethereum', alias = 'trades', - post_hook='{{ expose_spells(\'["ethereum"]\', "project", "tokenlon", diff --git a/dex/models/_projects/tokenlon/tokenlon_trades.sql b/dex/models/_projects/tokenlon/tokenlon_trades.sql index a1112f50354..3079a528466 100644 --- a/dex/models/_projects/tokenlon/tokenlon_trades.sql +++ b/dex/models/_projects/tokenlon/tokenlon_trades.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'tokenlon', alias = 'trades', - post_hook='{{ expose_spells(\'["ethereum"]\', "project", "tokenlon", diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml index 326c0b71539..9b676eec81d 100644 --- a/dex/models/_projects/uniswap/_schema.yml +++ b/dex/models/_projects/uniswap/_schema.yml @@ -29,9 +29,11 @@ models: description: "DEX pool smart contract address" - name: fee description: "Defined fee" - - name: token0 + - &token0 + name: token0 description: "First token in pool" - - name: token1 + - &token1 + name: token1 description: "Second token in pool" - name: creation_block_time description: "Block time of pool creation" @@ -57,7 +59,8 @@ models: description: "DEX pool smart contract address" tests: - unique - - name: fee + - &fee + name: fee description: "Defined fee" - name: token0 description: "First token in pool" diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql index 7c026ee6280..496d1694397 100644 --- a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql +++ b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql @@ -1,5 +1,4 @@ {{ config( - schema = 'uniswap_arbitrum', alias = 'pools', materialized = 'incremental', diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql index 5513681bd8c..cc6675f88b7 100644 --- a/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql +++ b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap_bnb', alias = 'pools', materialized = 'incremental', diff --git a/dex/models/_projects/uniswap/uniswap_pools.sql b/dex/models/_projects/uniswap/uniswap_pools.sql index 184d0b59c38..3e88d084378 100644 --- a/dex/models/_projects/uniswap/uniswap_pools.sql +++ b/dex/models/_projects/uniswap/uniswap_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap', alias = 'pools', post_hook='{{ expose_spells(\'["ethereum", "arbitrum", "polygon"]\', "project", diff --git a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql index ca28b611eb6..522b4e786ee 100644 --- a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql +++ b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_arbitrum', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql index b6443dd96eb..c0dcc026f90 100644 --- a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql +++ b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_arbitrum', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql index ecc912e35f6..61517e467d8 100644 --- a/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql +++ b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_avalance_c', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql index a4b0a526244..5dca26f6314 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_bnb', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql index f669c048297..68be120d149 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_bnb', alias = 'api_fills_deduped', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql index 4a20b62ee56..6b582e2d540 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_bnb', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql index 1531044e861..a8d101a01e2 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_ethereum', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql index 6bf44060d48..d25d7b2ed58 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_ethereum', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql index 67140ef0f2a..faf0b2ce872 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_ethereum', alias = 'nft_fills', materialized='incremental', partition_by = ['block_date'], diff --git a/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql index 7aa286884d8..5b72e6db837 100644 --- a/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql +++ b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_fantom', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql index 6543c86271f..c8b03dc979e 100644 --- a/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql +++ b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_optimism', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql index 2fb1d2b80bc..6d37f0eaa50 100644 --- a/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql +++ b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_polygon', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql index c59c022a550..4dc306800c5 100644 --- a/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql +++ b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql @@ -1,5 +1,6 @@ {{ config( -tags=['prod_exclude'], + tags=['prod_exclude'], + schema = 'zeroex_polygon', alias = 'nft_fills', materialized='incremental', partition_by = ['block_date'], diff --git a/dex/models/_projects/zeroex/zeroex_native_fills.sql b/dex/models/_projects/zeroex/zeroex_native_fills.sql index f9e1bb61214..156b6b259ae 100644 --- a/dex/models/_projects/zeroex/zeroex_native_fills.sql +++ b/dex/models/_projects/zeroex/zeroex_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex', alias = 'native_fills', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon","bnb"]\', "project", diff --git a/dex/models/_projects/zeroex/zeroex_native_trades.sql b/dex/models/_projects/zeroex/zeroex_native_trades.sql index 506e7e49e59..3a2195e6c62 100644 --- a/dex/models/_projects/zeroex/zeroex_native_trades.sql +++ b/dex/models/_projects/zeroex/zeroex_native_trades.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex', alias = 'native_trades', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon","bnb"]\', "project", diff --git a/seeds/balancer/balancer_transfers_bpt_seed.csv b/dex/seeds/_project/balancer/balancer_transfers_bpt_seed.csv similarity index 100% rename from seeds/balancer/balancer_transfers_bpt_seed.csv rename to dex/seeds/_project/balancer/balancer_transfers_bpt_seed.csv diff --git a/seeds/zeroex/_schema.yml b/dex/seeds/_project/zeroex/_schema.yml similarity index 100% rename from seeds/zeroex/_schema.yml rename to dex/seeds/_project/zeroex/_schema.yml diff --git a/seeds/zeroex/arbitrum/_schema.yml b/dex/seeds/_project/zeroex/arbitrum/_schema.yml similarity index 100% rename from seeds/zeroex/arbitrum/_schema.yml rename to dex/seeds/_project/zeroex/arbitrum/_schema.yml diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv diff --git a/seeds/zeroex/avalanche_c/_schema.yml b/dex/seeds/_project/zeroex/avalanche_c/_schema.yml similarity index 100% rename from seeds/zeroex/avalanche_c/_schema.yml rename to dex/seeds/_project/zeroex/avalanche_c/_schema.yml diff --git a/seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv b/dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv rename to dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv diff --git a/seeds/zeroex/base/_schema.yml b/dex/seeds/_project/zeroex/base/_schema.yml similarity index 100% rename from seeds/zeroex/base/_schema.yml rename to dex/seeds/_project/zeroex/base/_schema.yml diff --git a/seeds/zeroex/base/zeroex_base_api_fills_sample.csv b/dex/seeds/_project/zeroex/base/zeroex_base_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/base/zeroex_base_api_fills_sample.csv rename to dex/seeds/_project/zeroex/base/zeroex_base_api_fills_sample.csv diff --git a/seeds/zeroex/bnb/_schema.yml b/dex/seeds/_project/zeroex/bnb/_schema.yml similarity index 100% rename from seeds/zeroex/bnb/_schema.yml rename to dex/seeds/_project/zeroex/bnb/_schema.yml diff --git a/seeds/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/bnb/zeroex_bnb_api_fills_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_api_fills_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_sample.csv diff --git a/seeds/zeroex/bnb/zeroex_bnb_native_fills_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_native_fills_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_native_fills_sample.csv diff --git a/seeds/zeroex/celo/_schema.yml b/dex/seeds/_project/zeroex/celo/_schema.yml similarity index 100% rename from seeds/zeroex/celo/_schema.yml rename to dex/seeds/_project/zeroex/celo/_schema.yml diff --git a/seeds/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/celo/zeroex_celo_api_fills_sample.csv b/dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/celo/zeroex_celo_api_fills_sample.csv rename to dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_sample.csv diff --git a/seeds/zeroex/ethereum/_schema.yml b/dex/seeds/_project/zeroex/ethereum/_schema.yml similarity index 100% rename from seeds/zeroex/ethereum/_schema.yml rename to dex/seeds/_project/zeroex/ethereum/_schema.yml diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv diff --git a/seeds/zeroex/fantom/_schema.yml b/dex/seeds/_project/zeroex/fantom/_schema.yml similarity index 100% rename from seeds/zeroex/fantom/_schema.yml rename to dex/seeds/_project/zeroex/fantom/_schema.yml diff --git a/seeds/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/fantom/zeroex_fantom_api_fills_sample.csv b/dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/fantom/zeroex_fantom_api_fills_sample.csv rename to dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_sample.csv diff --git a/seeds/zeroex/optimism/_schema.yml b/dex/seeds/_project/zeroex/optimism/_schema.yml similarity index 100% rename from seeds/zeroex/optimism/_schema.yml rename to dex/seeds/_project/zeroex/optimism/_schema.yml diff --git a/seeds/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/optimism/zeroex_optimism_api_fills_sample.csv b/dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/optimism/zeroex_optimism_api_fills_sample.csv rename to dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_sample.csv diff --git a/seeds/zeroex/polygon/_schema.yml b/dex/seeds/_project/zeroex/polygon/_schema.yml similarity index 100% rename from seeds/zeroex/polygon/_schema.yml rename to dex/seeds/_project/zeroex/polygon/_schema.yml diff --git a/seeds/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_api_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_api_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_native_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_native_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_native_fills_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv diff --git a/seeds/zeroex/zeroex_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/zeroex_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/zeroex_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/zeroex_api_fills_sample.csv b/dex/seeds/_project/zeroex/zeroex_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_api_fills_sample.csv rename to dex/seeds/_project/zeroex/zeroex_api_fills_sample.csv diff --git a/seeds/zeroex/zeroex_native_fills_sample.csv b/dex/seeds/_project/zeroex/zeroex_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_native_fills_sample.csv rename to dex/seeds/_project/zeroex/zeroex_native_fills_sample.csv diff --git a/seeds/dex/aggregator/_schema.yml b/dex/seeds/aggregator_trades/_schema.yml similarity index 100% rename from seeds/dex/aggregator/_schema.yml rename to dex/seeds/aggregator_trades/_schema.yml diff --git a/seeds/dex/aggregator/dex_aggregator_seed.csv b/dex/seeds/aggregator_trades/dex_aggregator_seed.csv similarity index 100% rename from seeds/dex/aggregator/dex_aggregator_seed.csv rename to dex/seeds/aggregator_trades/dex_aggregator_seed.csv diff --git a/seeds/dex/pools/_schema.yml b/dex/seeds/pools/_schema.yml similarity index 100% rename from seeds/dex/pools/_schema.yml rename to dex/seeds/pools/_schema.yml diff --git a/seeds/dex/pools/dex_pools_seed.csv b/dex/seeds/pools/dex_pools_seed.csv similarity index 100% rename from seeds/dex/pools/dex_pools_seed.csv rename to dex/seeds/pools/dex_pools_seed.csv diff --git a/seeds/_sector/dex/_schema.yml b/dex/seeds/trades/_schema.yml similarity index 100% rename from seeds/_sector/dex/_schema.yml rename to dex/seeds/trades/_schema.yml diff --git a/seeds/_sector/dex/aerodrome_base_base_trades_seed.csv b/dex/seeds/trades/aerodrome_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/aerodrome_base_base_trades_seed.csv rename to dex/seeds/trades/aerodrome_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/airswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/airswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/airswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/airswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_bnb_base_trades_seed.csv b/dex/seeds/trades/airswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/airswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/airswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/airswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_polygon_base_trades_seed.csv b/dex/seeds/trades/airswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/airswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/alienbase_base_base_trades_seed.csv b/dex/seeds/trades/alienbase_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/alienbase_base_base_trades_seed.csv rename to dex/seeds/trades/alienbase_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/apeswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/apeswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_bnb_base_trades_seed.csv b/dex/seeds/trades/apeswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/apeswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/apeswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/apeswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_polygon_base_trades_seed.csv b/dex/seeds/trades/apeswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/apeswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/arbswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/arbswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/arbswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/arbswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/auragi_arbitrum_base_trades_seed.csv b/dex/seeds/trades/auragi_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/auragi_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/auragi_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/autotronic_base_base_trades_seed.csv b/dex/seeds/trades/autotronic_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/autotronic_base_base_trades_seed.csv rename to dex/seeds/trades/autotronic_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/babyswap_bnb_base_trades_seed.csv b/dex/seeds/trades/babyswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/babyswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/babyswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_arbitrum_base_trades_seed.csv b/dex/seeds/trades/balancer_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/balancer_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/balancer_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/balancer_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_base_base_trades_seed.csv b/dex/seeds/trades/balancer_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_base_base_trades_seed.csv rename to dex/seeds/trades/balancer_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_ethereum_base_trades_seed.csv b/dex/seeds/trades/balancer_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_ethereum_base_trades_seed.csv rename to dex/seeds/trades/balancer_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_gnosis_base_trades_seed.csv b/dex/seeds/trades/balancer_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_gnosis_base_trades_seed.csv rename to dex/seeds/trades/balancer_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_optimism_base_trades_seed.csv b/dex/seeds/trades/balancer_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_optimism_base_trades_seed.csv rename to dex/seeds/trades/balancer_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_polygon_base_trades_seed.csv b/dex/seeds/trades/balancer_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_polygon_base_trades_seed.csv rename to dex/seeds/trades/balancer_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_zkevm_base_trades_seed.csv b/dex/seeds/trades/balancer_zkevm_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_zkevm_base_trades_seed.csv rename to dex/seeds/trades/balancer_zkevm_base_trades_seed.csv diff --git a/seeds/_sector/dex/bancor_ethereum_base_trades_seed.csv b/dex/seeds/trades/bancor_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/bancor_ethereum_base_trades_seed.csv rename to dex/seeds/trades/bancor_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/baseswap_base_base_trades_seed.csv b/dex/seeds/trades/baseswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baseswap_base_base_trades_seed.csv rename to dex/seeds/trades/baseswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/baseswap_basex_base_base_trades_seed.csv b/dex/seeds/trades/baseswap_basex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baseswap_basex_base_base_trades_seed.csv rename to dex/seeds/trades/baseswap_basex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/baso_finance_base_base_trades_seed.csv b/dex/seeds/trades/baso_finance_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baso_finance_base_base_trades_seed.csv rename to dex/seeds/trades/baso_finance_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/beethoven_x_fantom_base_trades_seed.csv b/dex/seeds/trades/beethoven_x_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/beethoven_x_fantom_base_trades_seed.csv rename to dex/seeds/trades/beethoven_x_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/beethoven_x_optimism_base_trades_seed.csv b/dex/seeds/trades/beethoven_x_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/beethoven_x_optimism_base_trades_seed.csv rename to dex/seeds/trades/beethoven_x_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/biswap_bnb_base_trades_seed.csv b/dex/seeds/trades/biswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/biswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/biswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/camelot_arbitrum_base_trades_seed.csv b/dex/seeds/trades/camelot_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/camelot_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/camelot_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/carbon_defi_ethereum_base_trades_seed.csv b/dex/seeds/trades/carbon_defi_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/carbon_defi_ethereum_base_trades_seed.csv rename to dex/seeds/trades/carbon_defi_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/carbonhood_celo_base_trades_seed.csv b/dex/seeds/trades/carbonhood_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/carbonhood_celo_base_trades_seed.csv rename to dex/seeds/trades/carbonhood_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/chainhop_optimism_base_trades_seed.csv b/dex/seeds/trades/chainhop_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/chainhop_optimism_base_trades_seed.csv rename to dex/seeds/trades/chainhop_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/chronos_arbitrum_base_trades_seed.csv b/dex/seeds/trades/chronos_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/chronos_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/chronos_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/citadelswap_base_base_trades_seed.csv b/dex/seeds/trades/citadelswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/citadelswap_base_base_trades_seed.csv rename to dex/seeds/trades/citadelswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_arbitrum_base_trades_seed.csv b/dex/seeds/trades/clipper_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/clipper_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_base_base_trades_seed.csv b/dex/seeds/trades/clipper_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_base_base_trades_seed.csv rename to dex/seeds/trades/clipper_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_ethereum_base_trades_seed.csv b/dex/seeds/trades/clipper_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_ethereum_base_trades_seed.csv rename to dex/seeds/trades/clipper_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_optimism_base_trades_seed.csv b/dex/seeds/trades/clipper_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_optimism_base_trades_seed.csv rename to dex/seeds/trades/clipper_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_polygon_base_trades_seed.csv b/dex/seeds/trades/clipper_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_polygon_base_trades_seed.csv rename to dex/seeds/trades/clipper_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/crescentswap_base_base_trades_seed.csv b/dex/seeds/trades/crescentswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/crescentswap_base_base_trades_seed.csv rename to dex/seeds/trades/crescentswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/curvefi_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/curvefi_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_celo_base_trades_seed.csv b/dex/seeds/trades/curvefi_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_celo_base_trades_seed.csv rename to dex/seeds/trades/curvefi_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_ethereum_base_trades_seed.csv b/dex/seeds/trades/curvefi_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_ethereum_base_trades_seed.csv rename to dex/seeds/trades/curvefi_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_fantom_base_trades_seed.csv b/dex/seeds/trades/curvefi_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_fantom_base_trades_seed.csv rename to dex/seeds/trades/curvefi_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_optimism_base_trades_seed.csv b/dex/seeds/trades/curvefi_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_optimism_base_trades_seed.csv rename to dex/seeds/trades/curvefi_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_base_base_trades_seed.csv b/dex/seeds/trades/dackieswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_base_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_v2_optimism_base_trades_seed.csv b/dex/seeds/trades/dackieswap_v2_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_v2_optimism_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_v2_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_v3_optimism_base_trades_seed.csv b/dex/seeds/trades/dackieswap_v3_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_v3_optimism_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_v3_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/defiswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/defiswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/defiswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/defiswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/derpdex_base_base_trades_seed.csv b/dex/seeds/trades/derpdex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/derpdex_base_base_trades_seed.csv rename to dex/seeds/trades/derpdex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/derpdex_zksync_base_trades_seed.csv b/dex/seeds/trades/derpdex_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/derpdex_zksync_base_trades_seed.csv rename to dex/seeds/trades/derpdex_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/dfx_ethereum_base_trades_seed.csv b/dex/seeds/trades/dfx_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dfx_ethereum_base_trades_seed.csv rename to dex/seeds/trades/dfx_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_arbitrum_base_trades_seed.csv b/dex/seeds/trades/dodo_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/dodo_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_base_base_trades_seed.csv b/dex/seeds/trades/dodo_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_base_base_trades_seed.csv rename to dex/seeds/trades/dodo_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_bnb_base_trades_seed.csv b/dex/seeds/trades/dodo_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_bnb_base_trades_seed.csv rename to dex/seeds/trades/dodo_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_ethereum_base_trades_seed.csv b/dex/seeds/trades/dodo_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_ethereum_base_trades_seed.csv rename to dex/seeds/trades/dodo_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_optimism_base_trades_seed.csv b/dex/seeds/trades/dodo_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_optimism_base_trades_seed.csv rename to dex/seeds/trades/dodo_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_polygon_base_trades_seed.csv b/dex/seeds/trades/dodo_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_polygon_base_trades_seed.csv rename to dex/seeds/trades/dodo_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/dooar_polygon_base_trades_seed.csv b/dex/seeds/trades/dooar_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dooar_polygon_base_trades_seed.csv rename to dex/seeds/trades/dooar_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/dracula_finance_zksync_base_trades_seed.csv b/dex/seeds/trades/dracula_finance_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dracula_finance_zksync_base_trades_seed.csv rename to dex/seeds/trades/dracula_finance_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/echodex_linea_base_trades_seed.csv b/dex/seeds/trades/echodex_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/echodex_linea_base_trades_seed.csv rename to dex/seeds/trades/echodex_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/elk_finance_base_base_trades_seed.csv b/dex/seeds/trades/elk_finance_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/elk_finance_base_base_trades_seed.csv rename to dex/seeds/trades/elk_finance_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/elk_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/elk_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/elk_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/elk_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/ellipsis_finance_bnb_base_trades_seed.csv b/dex/seeds/trades/ellipsis_finance_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ellipsis_finance_bnb_base_trades_seed.csv rename to dex/seeds/trades/ellipsis_finance_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/energon_base_base_trades_seed.csv b/dex/seeds/trades/energon_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/energon_base_base_trades_seed.csv rename to dex/seeds/trades/energon_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/equalizer_fantom_base_trades_seed.csv b/dex/seeds/trades/equalizer_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/equalizer_fantom_base_trades_seed.csv rename to dex/seeds/trades/equalizer_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/ezkalibur_zksync_base_trades_seed.csv b/dex/seeds/trades/ezkalibur_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ezkalibur_zksync_base_trades_seed.csv rename to dex/seeds/trades/ezkalibur_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/fraxswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/fraxswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_bnb_base_trades_seed.csv b/dex/seeds/trades/fraxswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/fraxswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_optimism_base_trades_seed.csv b/dex/seeds/trades/fraxswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_polygon_base_trades_seed.csv b/dex/seeds/trades/fraxswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/gemswap_zksync_base_trades_seed.csv b/dex/seeds/trades/gemswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gemswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/gemswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/glacier_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/glacier_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/glacier_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/glacier_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/gmx_arbitrum_base_trades_seed.csv b/dex/seeds/trades/gmx_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gmx_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/gmx_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/gmx_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/gmx_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gmx_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/gmx_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_arbitrum_base_trades_seed.csv b/dex/seeds/trades/gridex_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/gridex_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_base_base_trades_seed.csv b/dex/seeds/trades/gridex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_base_base_trades_seed.csv rename to dex/seeds/trades/gridex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_optimism_base_trades_seed.csv b/dex/seeds/trades/gridex_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_optimism_base_trades_seed.csv rename to dex/seeds/trades/gridex_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/hashflow_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/hashflow_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_bnb_base_trades_seed.csv b/dex/seeds/trades/hashflow_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_bnb_base_trades_seed.csv rename to dex/seeds/trades/hashflow_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_ethereum_base_trades_seed.csv b/dex/seeds/trades/hashflow_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_ethereum_base_trades_seed.csv rename to dex/seeds/trades/hashflow_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_optimism_base_trades_seed.csv b/dex/seeds/trades/hashflow_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_optimism_base_trades_seed.csv rename to dex/seeds/trades/hashflow_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/honeyswap_gnosis_base_trades_seed.csv b/dex/seeds/trades/honeyswap_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/honeyswap_gnosis_base_trades_seed.csv rename to dex/seeds/trades/honeyswap_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/honeyswap_polygon_base_trades_seed.csv b/dex/seeds/trades/honeyswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/honeyswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/honeyswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/horizondex_base_base_trades_seed.csv b/dex/seeds/trades/horizondex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/horizondex_base_base_trades_seed.csv rename to dex/seeds/trades/horizondex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/icecreamswap_base_base_trades_seed.csv b/dex/seeds/trades/icecreamswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/icecreamswap_base_base_trades_seed.csv rename to dex/seeds/trades/icecreamswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/icecreamswap_v2_scroll_base_trades_seed.csv b/dex/seeds/trades/icecreamswap_v2_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/icecreamswap_v2_scroll_base_trades_seed.csv rename to dex/seeds/trades/icecreamswap_v2_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/integral_arbitrum_base_trades_seed.csv b/dex/seeds/trades/integral_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/integral_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/integral_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/integral_ethereum_base_trades_seed.csv b/dex/seeds/trades/integral_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/integral_ethereum_base_trades_seed.csv rename to dex/seeds/trades/integral_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_bnb_base_trades_seed.csv b/dex/seeds/trades/iziswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/iziswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_scroll_base_trades_seed.csv b/dex/seeds/trades/iziswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/iziswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_zksync_base_trades_seed.csv b/dex/seeds/trades/iziswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/iziswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/kyberswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/kyberswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_base_base_trades_seed.csv b/dex/seeds/trades/kyberswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_base_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_bnb_base_trades_seed.csv b/dex/seeds/trades/kyberswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/kyberswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_optimism_base_trades_seed.csv b/dex/seeds/trades/kyberswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_polygon_base_trades_seed.csv b/dex/seeds/trades/kyberswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/leetswap_v2_base_base_trades_seed.csv b/dex/seeds/trades/leetswap_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/leetswap_v2_base_base_trades_seed.csv rename to dex/seeds/trades/leetswap_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/lynex_linea_base_trades_seed.csv b/dex/seeds/trades/lynex_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/lynex_linea_base_trades_seed.csv rename to dex/seeds/trades/lynex_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/mauve_ethereum_base_trades_seed.csv b/dex/seeds/trades/mauve_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mauve_ethereum_base_trades_seed.csv rename to dex/seeds/trades/mauve_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_base_base_trades_seed.csv b/dex/seeds/trades/maverick_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_base_base_trades_seed.csv rename to dex/seeds/trades/maverick_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_bnb_base_trades_seed.csv b/dex/seeds/trades/maverick_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_bnb_base_trades_seed.csv rename to dex/seeds/trades/maverick_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_ethereum_base_trades_seed.csv b/dex/seeds/trades/maverick_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_ethereum_base_trades_seed.csv rename to dex/seeds/trades/maverick_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_zksync_base_trades_seed.csv b/dex/seeds/trades/maverick_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_zksync_base_trades_seed.csv rename to dex/seeds/trades/maverick_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/mdex_bnb_base_trades_seed.csv b/dex/seeds/trades/mdex_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mdex_bnb_base_trades_seed.csv rename to dex/seeds/trades/mdex_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/mento_celo_base_trades_seed.csv b/dex/seeds/trades/mento_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mento_celo_base_trades_seed.csv rename to dex/seeds/trades/mento_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/moonbase_base_base_trades_seed.csv b/dex/seeds/trades/moonbase_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/moonbase_base_base_trades_seed.csv rename to dex/seeds/trades/moonbase_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/mstable_ethereum_base_trades_seed.csv b/dex/seeds/trades/mstable_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mstable_ethereum_base_trades_seed.csv rename to dex/seeds/trades/mstable_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/mummy_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/mummy_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mummy_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/mummy_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/mute_zksync_base_trades_seed.csv b/dex/seeds/trades/mute_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mute_zksync_base_trades_seed.csv rename to dex/seeds/trades/mute_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/nile_linea_base_trades_seed.csv b/dex/seeds/trades/nile_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nile_linea_base_trades_seed.csv rename to dex/seeds/trades/nile_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/nomiswap_bnb_base_trades_seed.csv b/dex/seeds/trades/nomiswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nomiswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/nomiswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/nuri_scroll_base_trades_seed.csv b/dex/seeds/trades/nuri_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nuri_scroll_base_trades_seed.csv rename to dex/seeds/trades/nuri_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/oasisswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/oasisswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oasisswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/oasisswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oasisswap_base_base_trades_seed.csv b/dex/seeds/trades/oasisswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oasisswap_base_base_trades_seed.csv rename to dex/seeds/trades/oasisswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_arbitrum_base_trades_seed.csv b/dex/seeds/trades/oneinch_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/oneinch_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/oneinch_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/oneinch_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_base_base_trades_seed.csv b/dex/seeds/trades/oneinch_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_base_base_trades_seed.csv rename to dex/seeds/trades/oneinch_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_bnb_base_trades_seed.csv b/dex/seeds/trades/oneinch_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_bnb_base_trades_seed.csv rename to dex/seeds/trades/oneinch_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_ethereum_base_trades_seed.csv b/dex/seeds/trades/oneinch_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_ethereum_base_trades_seed.csv rename to dex/seeds/trades/oneinch_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_fantom_base_trades_seed.csv b/dex/seeds/trades/oneinch_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_fantom_base_trades_seed.csv rename to dex/seeds/trades/oneinch_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_gnosis_base_trades_seed.csv b/dex/seeds/trades/oneinch_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_gnosis_base_trades_seed.csv rename to dex/seeds/trades/oneinch_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_optimism_base_trades_seed.csv b/dex/seeds/trades/oneinch_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_optimism_base_trades_seed.csv rename to dex/seeds/trades/oneinch_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_polygon_base_trades_seed.csv b/dex/seeds/trades/oneinch_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_polygon_base_trades_seed.csv rename to dex/seeds/trades/oneinch_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_zksync_base_trades_seed.csv b/dex/seeds/trades/oneinch_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_zksync_base_trades_seed.csv rename to dex/seeds/trades/oneinch_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/onepunchswap_bnb_base_trades_seed.csv b/dex/seeds/trades/onepunchswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/onepunchswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/onepunchswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/openocean_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/openocean_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_base_base_trades_seed.csv b/dex/seeds/trades/openocean_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_base_base_trades_seed.csv rename to dex/seeds/trades/openocean_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_fantom_base_trades_seed.csv b/dex/seeds/trades/openocean_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_fantom_base_trades_seed.csv rename to dex/seeds/trades/openocean_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_optimism_base_trades_seed.csv b/dex/seeds/trades/openocean_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_optimism_base_trades_seed.csv rename to dex/seeds/trades/openocean_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/openxswap_optimism_base_trades_seed.csv b/dex/seeds/trades/openxswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openxswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/openxswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/opx_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/opx_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/opx_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/opx_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_base_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_base_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_bnb_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_linea_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_linea_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_zkevm_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_zkevm_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_zkevm_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_zkevm_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_zksync_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/pharaoh_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/pharaoh_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pharaoh_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/pharaoh_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/plantbaseswap_base_base_trades_seed.csv b/dex/seeds/trades/plantbaseswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/plantbaseswap_base_base_trades_seed.csv rename to dex/seeds/trades/plantbaseswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/platypus_finance_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/platypus_finance_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/platypus_finance_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/platypus_finance_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/quickswap_polygon_base_trades_seed.csv b/dex/seeds/trades/quickswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/quickswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/quickswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/ramses_arbitrum_base_trades_seed.csv b/dex/seeds/trades/ramses_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ramses_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/ramses_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/rocketswap_base_base_trades_seed.csv b/dex/seeds/trades/rocketswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rocketswap_base_base_trades_seed.csv rename to dex/seeds/trades/rocketswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_arbitrum_base_trades_seed.csv b/dex/seeds/trades/rubicon_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/rubicon_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_base_base_trades_seed.csv b/dex/seeds/trades/rubicon_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_base_base_trades_seed.csv rename to dex/seeds/trades/rubicon_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_optimism_base_trades_seed.csv b/dex/seeds/trades/rubicon_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_optimism_base_trades_seed.csv rename to dex/seeds/trades/rubicon_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/scale_base_base_trades_seed.csv b/dex/seeds/trades/scale_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/scale_base_base_trades_seed.csv rename to dex/seeds/trades/scale_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/scrollswap_scroll_base_trades_seed.csv b/dex/seeds/trades/scrollswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/scrollswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/scrollswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/secta_linea_base_trades_seed.csv b/dex/seeds/trades/secta_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/secta_linea_base_trades_seed.csv rename to dex/seeds/trades/secta_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/sharkswap_base_base_trades_seed.csv b/dex/seeds/trades/sharkswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sharkswap_base_base_trades_seed.csv rename to dex/seeds/trades/sharkswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sharkyswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sharkyswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sharkyswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sharkyswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/shibaswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/shibaswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/shibaswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/shibaswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/smardex_arbitrum_base_trades_seed.csv b/dex/seeds/trades/smardex_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/smardex_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/smardex_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/smardex_base_base_trades_seed.csv b/dex/seeds/trades/smardex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/smardex_base_base_trades_seed.csv rename to dex/seeds/trades/smardex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sobal_base_base_trades_seed.csv b/dex/seeds/trades/sobal_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sobal_base_base_trades_seed.csv rename to dex/seeds/trades/sobal_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidlizard_arbitrum_base_trades_seed.csv b/dex/seeds/trades/solidlizard_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidlizard_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/solidlizard_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_base_base_trades_seed.csv b/dex/seeds/trades/solidly_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_base_base_trades_seed.csv rename to dex/seeds/trades/solidly_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_arbitrum_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_base_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_base_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_ethereum_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_ethereum_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_fantom_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_fantom_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_optimism_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_optimism_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/soswap_base_base_trades_seed.csv b/dex/seeds/trades/soswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/soswap_base_base_trades_seed.csv rename to dex/seeds/trades/soswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/spacefi_zksync_base_trades_seed.csv b/dex/seeds/trades/spacefi_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spacefi_zksync_base_trades_seed.csv rename to dex/seeds/trades/spacefi_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/spartacus_exchange_fantom_base_trades_seed.csv b/dex/seeds/trades/spartacus_exchange_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spartacus_exchange_fantom_base_trades_seed.csv rename to dex/seeds/trades/spartacus_exchange_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/spiritswap_fantom_base_trades_seed.csv b/dex/seeds/trades/spiritswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spiritswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/spiritswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/spookyswap_fantom_base_trades_seed.csv b/dex/seeds/trades/spookyswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spookyswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/spookyswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/sterling_finance_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sterling_finance_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sterling_finance_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sterling_finance_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sushiswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/sushiswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_base_base_trades_seed.csv b/dex/seeds/trades/sushiswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_base_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_bnb_base_trades_seed.csv b/dex/seeds/trades/sushiswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_celo_base_trades_seed.csv b/dex/seeds/trades/sushiswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_celo_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/sushiswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_fantom_base_trades_seed.csv b/dex/seeds/trades/sushiswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_gnosis_base_trades_seed.csv b/dex/seeds/trades/sushiswap_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_gnosis_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_linea_base_trades_seed.csv b/dex/seeds/trades/sushiswap_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_linea_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_optimism_base_trades_seed.csv b/dex/seeds/trades/sushiswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_polygon_base_trades_seed.csv b/dex/seeds/trades/sushiswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_scroll_base_trades_seed.csv b/dex/seeds/trades/sushiswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/swaap_v2_arbitrum_base_trades_seed.csv b/dex/seeds/trades/swaap_v2_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swaap_v2_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/swaap_v2_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/swapbased_base_base_trades_seed.csv b/dex/seeds/trades/swapbased_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swapbased_base_base_trades_seed.csv rename to dex/seeds/trades/swapbased_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/swapr_ethereum_base_trades_seed.csv b/dex/seeds/trades/swapr_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swapr_ethereum_base_trades_seed.csv rename to dex/seeds/trades/swapr_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/syncswap_scroll_base_trades_seed.csv b/dex/seeds/trades/syncswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/syncswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/syncswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/syncswap_zksync_base_trades_seed.csv b/dex/seeds/trades/syncswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/syncswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/syncswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/synthetix_optimism_base_trades_seed.csv b/dex/seeds/trades/synthetix_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/synthetix_optimism_base_trades_seed.csv rename to dex/seeds/trades/synthetix_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/synthswap_base_base_trades_seed.csv b/dex/seeds/trades/synthswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/synthswap_base_base_trades_seed.csv rename to dex/seeds/trades/synthswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/thena_bnb_base_trades_seed.csv b/dex/seeds/trades/thena_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/thena_bnb_base_trades_seed.csv rename to dex/seeds/trades/thena_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/throne_exchange_v2_base_base_trades_seed.csv b/dex/seeds/trades/throne_exchange_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/throne_exchange_v2_base_base_trades_seed.csv rename to dex/seeds/trades/throne_exchange_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/throne_exchange_v3_base_base_trades_seed.csv b/dex/seeds/trades/throne_exchange_v3_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/throne_exchange_v3_base_base_trades_seed.csv rename to dex/seeds/trades/throne_exchange_v3_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/torus_base_base_trades_seed.csv b/dex/seeds/trades/torus_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/torus_base_base_trades_seed.csv rename to dex/seeds/trades/torus_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_arbitrum_base_trades_seed.csv b/dex/seeds/trades/trader_joe_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/trader_joe_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_bnb_base_trades_seed.csv b/dex/seeds/trades/trader_joe_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_bnb_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/ubeswap_celo_base_trades_seed.csv b/dex/seeds/trades/ubeswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ubeswap_celo_base_trades_seed.csv rename to dex/seeds/trades/ubeswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_base_base_trades_seed.csv b/dex/seeds/trades/uniswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_base_base_trades_seed.csv rename to dex/seeds/trades/uniswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_bnb_base_trades_seed.csv b/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/uniswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_celo_base_trades_seed.csv b/dex/seeds/trades/uniswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_celo_base_trades_seed.csv rename to dex/seeds/trades/uniswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_optimism_base_trades_seed.csv b/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/uniswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_polygon_base_trades_seed.csv b/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/uniswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_scroll_base_trades_seed.csv b/dex/seeds/trades/uniswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/uniswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_zksync_base_trades_seed.csv b/dex/seeds/trades/uniswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/uniswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_zora_base_trades_seed.csv b/dex/seeds/trades/uniswap_zora_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_zora_base_trades_seed.csv rename to dex/seeds/trades/uniswap_zora_base_trades_seed.csv diff --git a/seeds/_sector/dex/velocimeter_v2_base_base_trades_seed.csv b/dex/seeds/trades/velocimeter_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velocimeter_v2_base_base_trades_seed.csv rename to dex/seeds/trades/velocimeter_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/velocore_zksync_base_trades_seed.csv b/dex/seeds/trades/velocore_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velocore_zksync_base_trades_seed.csv rename to dex/seeds/trades/velocore_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/velodrome_optimism_base_trades_seed.csv b/dex/seeds/trades/velodrome_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velodrome_optimism_base_trades_seed.csv rename to dex/seeds/trades/velodrome_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/verse_dex_ethereum_base_trades_seed.csv b/dex/seeds/trades/verse_dex_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/verse_dex_ethereum_base_trades_seed.csv rename to dex/seeds/trades/verse_dex_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/vesync_zksync_base_trades_seed.csv b/dex/seeds/trades/vesync_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/vesync_zksync_base_trades_seed.csv rename to dex/seeds/trades/vesync_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/voltswap_base_base_trades_seed.csv b/dex/seeds/trades/voltswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/voltswap_base_base_trades_seed.csv rename to dex/seeds/trades/voltswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/wagmi_zksync_base_trades_seed.csv b/dex/seeds/trades/wagmi_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wagmi_zksync_base_trades_seed.csv rename to dex/seeds/trades/wagmi_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/wardenswap_optimism_base_trades_seed.csv b/dex/seeds/trades/wardenswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wardenswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/wardenswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/wigoswap_fantom_base_trades_seed.csv b/dex/seeds/trades/wigoswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wigoswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/wigoswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_bnb_base_trades_seed.csv b/dex/seeds/trades/wombat_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_bnb_base_trades_seed.csv rename to dex/seeds/trades/wombat_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_arbitrum_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_base_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_base_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_optimism_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_optimism_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_arbitrum_base_trades_seed.csv b/dex/seeds/trades/woofi_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/woofi_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/woofi_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/woofi_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_base_base_trades_seed.csv b/dex/seeds/trades/woofi_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_base_base_trades_seed.csv rename to dex/seeds/trades/woofi_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_bnb_base_trades_seed.csv b/dex/seeds/trades/woofi_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_bnb_base_trades_seed.csv rename to dex/seeds/trades/woofi_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_optimism_base_trades_seed.csv b/dex/seeds/trades/woofi_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_optimism_base_trades_seed.csv rename to dex/seeds/trades/woofi_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_arbitrum_base_trades_seed.csv b/dex/seeds/trades/xchange_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/xchange_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_bnb_base_trades_seed.csv b/dex/seeds/trades/xchange_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_bnb_base_trades_seed.csv rename to dex/seeds/trades/xchange_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_ethereum_base_trades_seed.csv b/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_ethereum_base_trades_seed.csv rename to dex/seeds/trades/xchange_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_polygon_base_trades_seed.csv b/dex/seeds/trades/xchange_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_polygon_base_trades_seed.csv rename to dex/seeds/trades/xchange_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/zebra_scroll_base_trades_seed.csv b/dex/seeds/trades/zebra_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zebra_scroll_base_trades_seed.csv rename to dex/seeds/trades/zebra_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/zigzag_arbitrum_base_trades_seed.csv b/dex/seeds/trades/zigzag_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zigzag_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/zigzag_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/zipswap_optimism_base_trades_seed.csv b/dex/seeds/trades/zipswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zipswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/zipswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/zkswap_finance_zksync_base_trades_seed.csv b/dex/seeds/trades/zkswap_finance_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zkswap_finance_zksync_base_trades_seed.csv rename to dex/seeds/trades/zkswap_finance_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/zyberswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/zyberswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zyberswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/zyberswap_arbitrum_base_trades_seed.csv diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql diff --git a/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql b/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql similarity index 100% rename from tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql rename to dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml b/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml index 54e2a286953..a1263080140 100644 --- a/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml +++ b/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml @@ -62,55 +62,6 @@ models: - name: protocol_liquidity_eth description: 'Liquidity of the token in the pool in ETH, except BPTs' - - name: beethoven_x_fantom_pools_fees - meta: - blockchain: fantom - project: beethoven_x - contributors: jacektrocinski, thetroyharris, tomfutago - config: - tags: ['fantom', 'balancer', 'pools_fees'] - description: > - Beethoven X swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index - columns: - - *blockchain - - &contract_address - name: contract_address - description: 'fantom address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &index - name: index - description: '' - tests: - - not_null - - &tx_index - name: tx_index - description: '' - tests: - - not_null - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &block_number - name: block_number - description: 'Block number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - name: beethoven_x_fantom_protocol_fee meta: blockchain: fantom diff --git a/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv b/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv deleted file mode 100644 index 46af91ddd4d..00000000000 --- a/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv +++ /dev/null @@ -1,299 +0,0 @@ -version,name,symbol,pool_address,decoded,dune_namespace,dune_table_name,a,mid_fee,out_fee,token_address,deposit_contract,coin0,coin1,coin2,coin3,undercoin0,undercoin1,undercoin2,undercoin3,gauge_contract -Factory V1 Meta,GOLD/BSD,GBSD,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,no,,,200,4000000,4000000,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,0x804c23b6ccfa0a1fae1a81c9964f42ae689c790e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x804c23b6ccfa0a1fae1a81c9964f42ae689c790e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,cbETH/ETH,cbETH/ETH,0x5fae7e604fc3e24fd43a72867cebac94c65b404a,no,,,200000000,5000000,45000000,0x5b6c539b224014a09b3388e51caaa8e354c959c8,0x5fae7e604fc3e24fd43a72867cebac94c65b404a,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xbe9895146f7af43049ca1c1ae358b0541ea49704,,,,,,, -Factory V2,FXSFPIS,FXSFPIS,0xd4e2fdc354c5dffb865798ca98c2b9d5382f687c,no,,,400000,26000000,45000000,0xb83e5af00b321d2280382b8634625826fbd75c5b,0xd4e2fdc354c5dffb865798ca98c2b9d5382f687c,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xc2544a32872a91f4a553b404c6950e89de901fdb,,,,,,, -Factory V2,RAI/LUSD-3,RAILUSD-3,0xc58fdb8a50ab921a73535656a7c69387dd863ff6,no,,,200000000,500000,5000000,0xd29f1a967441ae1a4ff2ea35ede54fe01cf6b95f,0xc58fdb8a50ab921a73535656a7c69387dd863ff6,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/LUSD-2,RAILUSD-2,0x162b4deefc73a5277b09bd7a02d25da73d66183d,no,,,200000000,500000,5000000,0xd63acb54fffff6b85255a1ffb6eefffc93cfdd91,0x162b4deefc73a5277b09bd7a02d25da73d66183d,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/LUSD,RAILUSD,0x0d1c65b28190cb88f328d2051c524a5c63d10eb5,no,,,200000000,500000,5000000,0x00989e88f674157992b74f11eb78ee10a76e6258,0x0d1c65b28190cb88f328d2051c524a5c63d10eb5,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/DAI-3,RAIDAI-3,0x337ca39842c448030196693f3433332ff1cf3e41,no,,,200000000,500000,5000000,0x4c5e815f0481bb1995ad417a4019669e1017d84b,0x337ca39842c448030196693f3433332ff1cf3e41,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,BTRFLY/ETH,BTRFLYETH,0x6e314039f4c56000f4ebb3a7854a84cc6225fb92,no,,,400000,26000000,45000000,0x7483dd57f6488b0e194a151c57df6ec85c00ace9,0x6e314039f4c56000f4ebb3a7854a84cc6225fb92,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc55126051b22ebb829d00368f4b12bde432de5da,,,,,,, -Factory V2,test2,test2,0xbd917239ec067a6af82aabb6b45dad3d09f4efd8,no,,,400000,26000000,45000000,0x2d011868ac59c5d00b41dead65bfb5ddd4976bda,0xbd917239ec067a6af82aabb6b45dad3d09f4efd8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,test,test,0x118629329731ce1ff01f9401212c53939f8a9eeb,no,,,400000,26000000,45000000,0x14b536dc890b29bb5d317ec4c4585857ccbf0778,0x118629329731ce1ff01f9401212c53939f8a9eeb,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,RAI/DAI-2,RAIDAI-2,0x91d9d17efd378f38a48122ae6ec01b2e83d1ac98,no,,,200000000,500000,45000000,0x85bc2193cd594cddafabed3f4fca48849a9968f8,0x91d9d17efd378f38a48122ae6ec01b2e83d1ac98,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,RAI/DAI,RAIDAI,0x79cb6a84fbec1fe2d66b705a1e7f6482c2993049,no,,,200000000,5000000,45000000,0xc5a62c8a3272e53059386338c9ec2a375f130b33,0x79cb6a84fbec1fe2d66b705a1e7f6482c2993049,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,CTR/ETH,CTRETH,0x383ad525211b8a1a9c13532cc021773052b2f4f8,no,,,400000,26000000,45000000,0x4ce6803f108a667e53fe09a93cf91a18d9d2ad31,0x383ad525211b8a1a9c13532cc021773052b2f4f8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xb3ad645db386d7f6d753b2b9c3f4b853da6890b8,,,,,,, -Factory V2,MATIC/FLEET,MATICFLEET,0x799d141e83d88996c48b98a4f8eb3d96ab422dd3,no,,,400000,26000000,45000000,0x359b630ef33a40b0abeeeed5467fe839f9f7e561,0x799d141e83d88996c48b98a4f8eb3d96ab422dd3,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0xfd56a3dcfc0690881a466ae432d71bb2db588083,,,,,,, -Factory V2,MATIC/SHIB,MATICSHIB,0xb2c248c0b0db7d28dfa0123438b40bb31fb8aa05,no,,,400000,26000000,45000000,0x38f730b5a96fd79b97bb64210021fa67db1ed147,0xb2c248c0b0db7d28dfa0123438b40bb31fb8aa05,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce,,,,,,, -Factory V2,APW/ETH,APWETH,0xc78d84ee5d970227f988a2e2dc0a4a945163bcb9,no,,,400000,26000000,45000000,0x6542d124440269ed8a8a3b14ece9f4923382371a,0xc78d84ee5d970227f988a2e2dc0a4a945163bcb9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4104b135dbc9609fc1a9490e61369036497660c8,,,,,,, -Factory V2,APW/ETH,APWETH,0x316d2606ce036ec0e69a11432a870a4ec66ade96,no,,,400000,26000000,45000000,0x7d4e5c315746ecbf4d82b538767817135f3e3142,0x316d2606ce036ec0e69a11432a870a4ec66ade96,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4104b135dbc9609fc1a9490e61369036497660c8,,,,,,, -Factory V2,BENTCVX/FRAX,BNTCVXFRAX,0xb2e2536821521174a168eda7be78a6c70ea6e5fa,no,,,400000,26000000,45000000,0xdb5a544b6ef951cabd6438eea360758d8b9b9a5f,0xb2e2536821521174a168eda7be78a6c70ea6e5fa,0x9e0441e084f5db0606565737158aa6ab6b970fe0,0x3175df0976dfa876431c2e9ee6bc45b65d3473cc,,,,,,, -Factory V2,BENT/FRAX,BENTFRAXBP,0xd3301b7caa76f932816a6fc7ef0b673238e217ad,no,,,400000,26000000,45000000,0xa3008d3ee33b1ffc448f8891c8c3518b47e0b605,0xd3301b7caa76f932816a6fc7ef0b673238e217ad,0x01597e397605bf280674bf292623460b4204c375,0x3175df0976dfa876431c2e9ee6bc45b65d3473cc,,,,,,, -Factory V2,FLOAT/USDC,FLOATUSDC,0x840cbf6861137624e60380d5e915619885c5aa95,no,,,2000000,5000000,45000000,0x7beb4ee7bfa0f9c16911e57d2aac933e249d840e,0x840cbf6861137624e60380d5e915619885c5aa95,0xb05097849bca421a3f51b249ba6cca4af4b97cb9,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,Phanes,PNHS,0x9bfb082f2dd5d63907afa33dbb8f9c0bcd5c2333,no,,,400000,26000000,45000000,0x799ebe5e2faae084480e890aefc1b23bf626df3b,0x9bfb082f2dd5d63907afa33dbb8f9c0bcd5c2333,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4425c9c6302bd2a815c21012dc7f692216fb3176,,,,,,, -Factory V2,MXNT/USDC,MXNTUSDC,0xc12a73c46d49fa0d7433c90291bc8d1a9eae7b23,no,,,200000000,5000000,45000000,0xf10dba33dcba27e4e45ca77e69c6c2afb96068db,0xc12a73c46d49fa0d7433c90291bc8d1a9eae7b23,0xed03ed872159e199065401b6d0d487d78d9464aa,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,mxnt,MXNT-3Crv,0x039fd59541b3989c7a1e9278431038b3b6ba5f43,no,,,200000000,26000000,45000000,0xdf0b71258854fc8a685e2b63972cdaad61a1c165,0x039fd59541b3989c7a1e9278431038b3b6ba5f43,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,RAREPEPE,NAKAMOTO,0xddbdcebb989b1ef804338d6c9a902f91c2738936,no,,,300000,30000000,50000000,0xaf47ced866c824fdbd3e00f651bdde19ac9cbd03,0xddbdcebb989b1ef804338d6c9a902f91c2738936,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,NAKAMOTOCARD,RAREPEPE,0xfce1b5447a3db7e18352e8ae4bcd780029012383,no,,,300000,30000000,50000000,0x77b46d22ca8fba667929e5b78d8cd1310f6b8504,0xfce1b5447a3db7e18352e8ae4bcd780029012383,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,WETH/RAREPEPE,RAREPEPE,0xec1f6df37b16432e520942affe28149badc5bc5e,no,,,250000,25000000,100000000,0xd3c499639e581f0aa2f85be0b385d1298831c22f,0xec1f6df37b16432e520942affe28149badc5bc5e,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,aCRV/CRV,aCRV,0x95f3672a418230c5664b7154dfce0acfa7eed68d,no,,,200000000,10000000,90000000,0x2c97c40c24e2ff11c6965dc40ca77967bcec4719,0x95f3672a418230c5664b7154dfce0acfa7eed68d,0x2b95a1dcc3d405535f9ed33c219ab38e8d7e0884,0xd533a949740bb3306d119cc777fa900ba034cd52,,,,,,, -Factory V2,frETH/WETH,frETHWETH,0x6e77889ff348a16547caba3ce011cb120ed73bfc,no,,,400000,26000000,45000000,0x517e47a2e8c38e5a96708ed866a39ccbaa105640,0x6e77889ff348a16547caba3ce011cb120ed73bfc,0xb4bd4628e6efb0cb521d9ec35050c75840320374,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,UNBNK/ETH,UNBNK/ETH,0x5114f86027d4c9a509cba072b8135a171402c6d5,no,,,400000,26000000,45000000,0x20a1512284dc88102bfe169c08530c743d85dcc7,0x5114f86027d4c9a509cba072b8135a171402c6d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x06b884e60794ce02aafab13791b59a2e6a07442f,,,,,,, -Factory V2,ARTH/DAI,ARTH+DAI,0xfd484a99d21ca118f22871134f467b1ca3f842aa,no,,,200000000,5000000,45000000,0xd1dca101e8155f79db50bc51abbd4ff74bc53f25,0xfd484a99d21ca118f22871134f467b1ca3f842aa,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,bSTBL/DAI,bSTBLDAI,0xa148bd19e26ff9604f6a608e22bfb7b772d0d1a3,no,,,200000000,1000000,10000000,0x7657ceb382013f1ce9ac7b08dd8db4f28d3a7538,0xa148bd19e26ff9604f6a608e22bfb7b772d0d1a3,0x6b175474e89094c44da98b954eedeac495271d0f,0x5ee08f40b637417bcc9d2c51b62f4820ec9cf5d8,,,,,,, -Factory V2,ARTH/USDC,ARTH+USDC,0x7f2af2c7bfdad063ff01dcec077a216d95a0a944,no,,,200000000,5000000,45000000,0x6cd19aeae3df93fec7b75c11db3c68f9831a44d5,0x7f2af2c7bfdad063ff01dcec077a216d95a0a944,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,,,,,,, -Factory V2,ARTH,ARTH+USDC,0xbfca1a72edd92fff61a8c88f61d4e64e99232b4b,no,,,200000000,5000000,45000000,0x82ebe2c1a4f235efdebabd534ca00cfef59cf22b,0xbfca1a72edd92fff61a8c88f61d4e64e99232b4b,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ARTH,ARTH+3pool,0x7d99469fb3a530136ec0ab6981d64bc9ff81ad04,no,,,200000000,5000000,45000000,0xbb6b6a7204385031a161210967b93b7eb02f8d5e,0x7d99469fb3a530136ec0ab6981d64bc9ff81ad04,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ARTH,ARTH+3pool,0x6525e7e2e8450741ab97bd3948bfa47878f83ec6,no,,,200000000,5000000,45000000,0x240558287687e0645f552c17865a28d64dccf8df,0x6525e7e2e8450741ab97bd3948bfa47878f83ec6,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,PSL/ETH,PSLETH,0xd434eaf67bba1903f61cdd3ede6700cac74a5ff2,no,,,400000,26000000,45000000,0xa149523fed056edff817062fbb59455ed3a4380f,0xd434eaf67bba1903f61cdd3ede6700cac74a5ff2,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc775c0c30840cb9f51e21061b054ebf1a00acc29,,,,,,, -Factory V2,TRU/ETH,TRUETH,0x7f787210c83012fca364ae79ad8fc26641c6fbe5,no,,,400000,26000000,45000000,0x79d34ea9f93abfdf163073e87051b75b768079e9,0x7f787210c83012fca364ae79ad8fc26641c6fbe5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4c19596f5aaff459fa38b0f7ed92f11ae6543784,,,,,,, -Factory V1 Meta,CRV/GNO,CRVGNOOK,0xf08dbd81fcc712004e6943454c83c52de963cdec,no,,,10,4000000,4000000,0xf08dbd81fcc712004e6943454c83c52de963cdec,0xf08dbd81fcc712004e6943454c83c52de963cdec,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,CRV/GNO,CRVGNOOK,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,no,,,10,4000000,4000000,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,Test Only,TestOnly,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,no,,,200,4000000,4000000,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,0xadf15ec41689fc5b6dca0db7c53c9bfe7981e655,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,DYDX/stkDYDX,DYDXstDYDX,0x04ecd49246bf5143e43e2305136c46aeb6fad400,no,,,10,4000000,4000000,0x04ecd49246bf5143e43e2305136c46aeb6fad400,0x04ecd49246bf5143e43e2305136c46aeb6fad400,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x65f7ba4ec257af7c55fd5854e5f6356bbd0fb8ec,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdFXS,sdFXSFXS,0x8c524635d52bd7b1bd55e062303177a7d916c046,no,,,10,4000000,4000000,0x8c524635d52bd7b1bd55e062303177a7d916c046,0x8c524635d52bd7b1bd55e062303177a7d916c046,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x402f878bdd1f5c66fdaf0fababcf74741b68ac36,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xa9a9bc60fc80478059a83f516d5215185eec2fc0 -Factory V1 Plain,sdANGLE,sdAGAG,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,no,,,10,4000000,4000000,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,0x31429d1856ad1377a8a0079410b297e1a9e214c2,0x752b4c6e92d96467fe9b9a2522ef07228e00f87c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x03ffc218c7a9306d21193565cbdc4378952faa8c -Factory V1 Plain,dfxCAD/CADC,dfx2CAD,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,no,,,100,4000000,4000000,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,0xfe32747d0251ba92bcb80b6d16c8257ecf25ab1c,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xa5f483571c126b173e33c327e8a293a3492e4566 -Factory V1 Meta,USDT/DAI,USDT/DAI_M,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,no,,,10,4000000,4000000,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,USDT/DAI,USDTDAI_OP,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,no,,,10,4000000,4000000,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x8b3138df9aa1f60648c65c67d6ff646be305788b,no,,,10,4000000,4000000,0x8b3138df9aa1f60648c65c67d6ff646be305788b,0x8b3138df9aa1f60648c65c67d6ff646be305788b,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,no,,,10,4000000,4000000,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,USDS/3CRV,USDS3CRV,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,no,,,2000,4000000,4000000,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x87872be0c56ef97156f2617b3083d22423fc62e9,no,,,10,4000000,4000000,0x87872be0c56ef97156f2617b3083d22423fc62e9,0x87872be0c56ef97156f2617b3083d22423fc62e9,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x85f102be3a76165be9668be0bf36e906a488fd33,no,,,10,4000000,4000000,0x85f102be3a76165be9668be0bf36e906a488fd33,0x85f102be3a76165be9668be0bf36e906a488fd33,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,no,,,10,4000000,4000000,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,handleUSD,fxUSD,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,no,,,200,4000000,4000000,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,0x8616e8ea83f048ab9a5ec513c9412dd2993bce3f,,,,0x8616e8ea83f048ab9a5ec513c9412dd2993bce3f,,,, -Factory V1 Meta,MIMFRAXBP,MIMFRAXBP,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,no,,,200,4000000,4000000,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,,,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,,,, -Factory V1 Meta,MAI+3pool,MAIpool,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,no,,,500,4000000,4000000,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,0x8d6cebd76f18e1558d4db88138e2defb3909fad6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8d6cebd76f18e1558d4db88138e2defb3909fad6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,EUROC,EUROC/3CRV,0x642562115cf5a5e72ab517e6448ec8b61843dac9,no,,,200,4000000,4000000,0x642562115cf5a5e72ab517e6448ec8b61843dac9,0x642562115cf5a5e72ab517e6448ec8b61843dac9,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xad25a97fee68e68eed9453e551d43555d7571554 -Factory V1 Meta,MXNT,crvMXNT,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,no,,,200,4000000,4000000,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,alUSDFRAXBP,ALUSDFRXBP,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,no,,,200,4000000,4000000,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,, -Factory V1 Meta,3CRV/lvUSD,CRVlvUSD,0x67c7f0a63ba70a2dac69477b716551fc921aed00,no,,,10,4000000,4000000,0x67c7f0a63ba70a2dac69477b716551fc921aed00,0x67c7f0a63ba70a2dac69477b716551fc921aed00,0x99899399c097a55afb6b48f797dc5acfa7d343b1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x99899399c097a55afb6b48f797dc5acfa7d343b1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x427aa775edab0f2d9301cd988a5a99ba6cc792e6 -Factory V1 Meta,USDi,USDi-3CRV,0x63594b2011a0f2616586bf3eef8096d42272f916,no,,,1000,4000000,4000000,0x63594b2011a0f2616586bf3eef8096d42272f916,0x63594b2011a0f2616586bf3eef8096d42272f916,0x2a54ba2964c8cd459dc568853f79813a60761b58,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x2a54ba2964c8cd459dc568853f79813a60761b58,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,OMI/USD,OMIUSD,0x8116e7c29f60fdacf3954891a038f845565ef5a0,no,,,200,40000000,40000000,0x8116e7c29f60fdacf3954891a038f845565ef5a0,0x8116e7c29f60fdacf3954891a038f845565ef5a0,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,MBSC DeFi (USD),MBSC,0xee60f4a3487c07b4570ccffef315401c4c5744c8,no,,,100,5000000,5000000,0xee60f4a3487c07b4570ccffef315401c4c5744c8,0xee60f4a3487c07b4570ccffef315401c4c5744c8,0x8e3cf6478582a87a30cd5e6a10e939b642cd7c16,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8e3cf6478582a87a30cd5e6a10e939b642cd7c16,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,Ubiquity 3Pool,uAD3crv,0x9558b18f021fc3cba1c9b777603829a42244818b,no,,,10,4000000,4000000,0x9558b18f021fc3cba1c9b777603829a42244818b,0x9558b18f021fc3cba1c9b777603829a42244818b,0x0f644658510c95cb46955e55d7ba9dda9e9fbec6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0f644658510c95cb46955e55d7ba9dda9e9fbec6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,home,HOME+3crv,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,no,,,200,4000000,4000000,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xe277dd681d966e83f68e5bc7fbfeaf5f1341195f -Factory V1 Meta,3CRVUST,CRVUST,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,no,,,10,4000000,4000000,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,$Pc/ETH,$Pc,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,no,,,10,4000000,4000000,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,0x2fe269292f74f0a98c5786088317b4f86313c211,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x2fe269292f74f0a98c5786088317b4f86313c211,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,PUSd,PUSd-,0x8ee017541375f6bcd802ba119bddc94dad6911a1,no,,,100,4000000,4000000,0x8ee017541375f6bcd802ba119bddc94dad6911a1,0x8ee017541375f6bcd802ba119bddc94dad6911a1,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x89664d561e79ca22fd2ea4076b3e5def0b219c15 -Factory V1 Meta,PUSd,PUSd-3CRV,0xeb07fcd7a8627281845ba3acbed24435802d4b52,no,,,100,4000000,4000000,0xeb07fcd7a8627281845ba3acbed24435802d4b52,0xeb07fcd7a8627281845ba3acbed24435802d4b52,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,pbtc,pbtc,0xc9467e453620f16b57a34a770c6bcebece002587,no,,,200,4000000,4000000,0xc9467e453620f16b57a34a770c6bcebece002587,0xc9467e453620f16b57a34a770c6bcebece002587,0x62199b909fb8b8cf870f97bef2ce6783493c4908,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x62199b909fb8b8cf870f97bef2ce6783493c4908,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xb5efa93d5d23642f970af41a1ea9a26f19cbd2eb -Factory V2,[Test] Test CTDL/wBTC,testCTDL,0x3c42b0f384d2912661c940d46cffe1cd10f1c66f,no,,,400000,26000000,45000000,0xe2b11613bbe8e09f73fa81b4a09f0dadb20f5df6,0x3c42b0f384d2912661c940d46cffe1cd10f1c66f,0xaf0b1fdf9c6bfec7b3512f207553c0ba00d7f1a2,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,, -Factory V2,CXD/USDC,CXDUSDC,0x4535913573d299a6372ca43b90aa6be1cf68f779,no,,,400000,26000000,45000000,0x70a03471b4f2dee5174ade1165742e2d3fed2e27,0x4535913573d299a6372ca43b90aa6be1cf68f779,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x5a56da75c50aa2733f5fa9a2442aaefcbc60b2e6,,,,,,, -Factory V2,CXD/ETH,CXDETH,0x5d898fd41875b14c1781fb497aecab8e9b24dfc9,no,,,400000,26000000,45000000,0x1979f8296492ff9e6527eca47fc44bb30c391139,0x5d898fd41875b14c1781fb497aecab8e9b24dfc9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x5a56da75c50aa2733f5fa9a2442aaefcbc60b2e6,,,,,,, -Factory V2,ETH/VIRTUE,ETHVIRT,0xd0a1d2a9350824516ae8729b8311557ba7e55bff,no,,,400000,30000000,100000000,0x94f6c0201e1bfcba290345338c3c4abc1901d336,0xd0a1d2a9350824516ae8729b8311557ba7e55bff,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9416ba76e88d873050a06e5956a3ebf10386b863,,,,,,, -Factory V2,VIRTUE/ETH,VIRTETH,0xb2e113a6b8edea086a44b1509013c4fc69ec4bf0,no,,,400000,30000000,100000000,0x203dd977cdb764176ac0fa12f96b3da377fdf5e5,0xb2e113a6b8edea086a44b1509013c4fc69ec4bf0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9416ba76e88d873050a06e5956a3ebf10386b863,,,,,,, -Factory V2,FPI2Pool,FPIFRAX,0xf861483fa7e511fbc37487d91b6faa803af5d37c,no,,,200000000,15000000,30000000,0x4704ab1fb693ce163f7c9d3a31b3ff4eaf797714,0xf861483fa7e511fbc37487d91b6faa803af5d37c,0x853d955acef822db058eb8505911ed77f175b99e,0x5ca135cb8527d76e932f34b5145575f9d8cbe08e,,,,,,, -Factory V2,VNXAU/USDC,VNXAUSDC,0x62d1d9065b4c78964040b640ab404d86d8f68263,no,,,200000000,5000000,45000000,0xfbe8925bdee1c5dd778b3e2ac3ffaeaac462f3c9,0x62d1d9065b4c78964040b640ab404d86d8f68263,0x6d57b2e05f26c26b549231c866bdd39779e4a488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,CADC/3CRV,CADC3CRV,0x595146ed98c81dde9bd23d0c2ab5b807c7fe2d9f,no,,,200000000,5000000,45000000,0x7372601c874a8fa339f52bf0673d14e86f550bfb,0x595146ed98c81dde9bd23d0c2ab5b807c7fe2d9f,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,CNC/ETH,CNCETH,0x838af967537350d2c44abb8c010e49e32673ab94,no,,,400000,26000000,45000000,0xf9835375f6b268743ea0a54d742aa156947f8c06,0x838af967537350d2c44abb8c010e49e32673ab94,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9ae380f0272e2162340a5bb646c354271c0f5cfc,,,,,,, -Factory V2,CNC/ETH,CNCETH,0x782115c863a05abf8795df377d89aad1aadf4dfa,no,,,400000,26000000,45000000,0xc0f888d0987287aa1d09cac49f2cca89f7bbe774,0x782115c863a05abf8795df377d89aad1aadf4dfa,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9ae380f0272e2162340a5bb646c354271c0f5cfc,,,,,,, -Factory V2,JPEG/ETH,JPEGETH,0x7e050cf658777cc1da4a4508e79d71859044b60e,no,,,400000,26000000,45000000,0x34ed182d0812d119c92907852d2b429f095a9b07,0x7e050cf658777cc1da4a4508e79d71859044b60e,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xe80c0cd204d654cebe8dd64a4857cab6be8345a3,,,,,,, -Factory V2,eth/nfd,nfdeth,0x7472764c28f843ba246f294c44de9456911a3454,no,,,400000,26000000,45000000,0x5d331b8c8f87130ffbe55011d9d0f74a7af9a21c,0x7472764c28f843ba246f294c44de9456911a3454,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xdfdb7f72c1f195c5951a234e8db9806eb0635346,,,,,,, -Factory V2,LFT/ETH,LFTETH,0xfe4a08f22fe65759ba91db2e2cada09b4415b0d7,no,,,400000,26000000,45000000,0x401322b9fddba8c0a8d40fbcece1d1752c12316b,0xfe4a08f22fe65759ba91db2e2cada09b4415b0d7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xb620be8a1949aa9532e6a3510132864ef9bc3f82,,,,,,, -Factory V2,JZC Miners,JZC/ETH,0x86cf48e9735f84d3311141e8941b2494fb4b8142,no,,,400000,26000000,45000000,0x1b8577b2d5cde12f29f01c5c4d5420e5f4b25e5f,0x86cf48e9735f84d3311141e8941b2494fb4b8142,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x7bb46c33a972349ef48e7545cac068fb77b89e5a,,,,,,, -Factory V2,KP3R/ETH,KP3RETH,0x21410232b484136404911780bc32756d5d1a9fa9,no,,,400000,26000000,45000000,0x4647b6d835f3b393c7a955df51eefcf0db961606,0x21410232b484136404911780bc32756d5d1a9fa9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x1ceb5cb57c4d4e2b2433641b95dd330a33185a44,,,,,,, -Factory V2,PAL/ETH,PALETH,0x75a6787c7ee60424358b449b539a8b774c9b4862,no,,,400000,26000000,45000000,0xbe4f3ad6c9458b901c81b734cb22d9eae9ad8b50,0x75a6787c7ee60424358b449b539a8b774c9b4862,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xab846fb6c81370327e784ae7cbb6d6a6af6ff4bf,,,,,,, -Factory V2,USDC/STG,USDCSTG,0x751d3feffed0890b76e9b86476cfeeaa1fcda73d,no,,,400000,26000000,45000000,0x61bfabe002d2617b897c0a40f4ad45c9fde1b88b,0x751d3feffed0890b76e9b86476cfeeaa1fcda73d,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,,,,,,, -Factory V2,USDC/STG,USDCSTG,0x39567db64f0b25db2c35fc7a4f60c3c5258e4654,no,,,400000,26000000,45000000,0x09eff23aeff4b0a89a31fbcaad85ee7248a5ac83,0x39567db64f0b25db2c35fc7a4f60c3c5258e4654,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,,,,,,, -Factory V2,Test,AAA,0xa6b28989b81b2fe4ec03fde324de1a99ae4366e4,no,,,200000000,5000000,45000000,0xaf0c83990e3fd6a6999d364ee7bf0c9fddcf43e0,0xa6b28989b81b2fe4ec03fde324de1a99ae4366e4,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x514910771af9ca656af840dff83e8264ecf986ca,,,,,,, -Factory V2,ALUSD/BNT,ALUSDBNT,0x6b234f354eda8fae082be20dcf790fd886b42340,no,,,100000000,6500000,45000000,0xa21da2e5335cb06b3d031732c496e334386c1de4,0x6b234f354eda8fae082be20dcf790fd886b42340,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,,,,,,, -Factory V2,ibKRW/USDC,ibKRWUSDC,0xef04f337fcb2ea220b6e8db5edbe2d774837581c,no,,,200000000,5000000,45000000,0x80caccdbd3f07bbdb558db4a9e146d099933d677,0xef04f337fcb2ea220b6e8db5edbe2d774837581c,0x95dfdc8161832e4ff7816ac4b6367ce201538253,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibJPY/USDC,ibJPYUSDC,0xeb0265938c1190ab4e3e1f6583bc956df47c0f93,no,,,200000000,5000000,45000000,0x127091ede112aed7bae281747771b3150bb047bb,0xeb0265938c1190ab4e3e1f6583bc956df47c0f93,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibGBP/USDC,ibGBPUSDC,0xacce4fe9ce2a6fe9af83e7cf321a3ff7675e0ab6,no,,,200000000,5000000,45000000,0x22cf19eb64226e0e1a79c69b345b31466fd273a7,0xacce4fe9ce2a6fe9af83e7cf321a3ff7675e0ab6,0x69681f8fde45345c3870bcd5eaf4a05a60e7d227,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibCHF/USDC,ibCHFUSDC,0x6df0d77f0496ce44e72d695943950d8641fca5cf,no,,,200000000,5000000,45000000,0x08cea8e5b4551722deb97113c139dd83c26c5398,0x6df0d77f0496ce44e72d695943950d8641fca5cf,0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibAUD/USDC,ibAUDUSDC,0x5b692073f141c31384fae55856cfb6cbffe91e60,no,,,200000000,5000000,45000000,0x54c8ecf46a81496eeb0608bd3353388b5d7a2a33,0x5b692073f141c31384fae55856cfb6cbffe91e60,0xfafdf0c4c1cb09d430bf88c75d88bb46dae09967,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,Curve sETH2-stETH,sETH2stETH,0xd1011b637f979a5d9093df1b32e7736c289024f5,no,,,50,4000000,4000000,0xd1011b637f979a5d9093df1b32e7736c289024f5,0xd1011b637f979a5d9093df1b32e7736c289024f5,0xfe2e637202056d30016725477c5da089ab0a043a,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sETH2/stETH,sETH2stETH,0xe95e4c2dac312f31dc605533d5a4d0af42579308,no,,,50,4000000,4000000,0xe95e4c2dac312f31dc605533d5a4d0af42579308,0xe95e4c2dac312f31dc605533d5a4d0af42579308,0xfe2e637202056d30016725477c5da089ab0a043a,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xecb860e54e33fea8fab5b076734e2591d1a9eba4 -Factory V1 Plain,TriCRV,TriCRV,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,no,,,50,30000000,30000000,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,0xd6ecdfd41ddb7167f3ed9b37f33fb24d57543e26,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,,,,,0x29e86ff40fad527fe54af75afe3bb89708af3aa7 -Factory V1 Plain,sdCRV,sdCRVCRV,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,no,,,10,4000000,4000000,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,0xd533a949740bb3306d119cc777fa900ba034cd52,0xd1b5651e55d4ceed36251c61c50c889b36f6abb5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdCRV,sdCRVCRV,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,no,,,10,4000000,4000000,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,0xd533a949740bb3306d119cc777fa900ba034cd52,0xd1b5651e55d4ceed36251c61c50c889b36f6abb5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x663fc22e92f26c377ddf3c859b560c4732ee639a -Factory V1 Plain,mCRV-CRV,mCRV-CRV,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,no,,,10,15000000,15000000,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,0x79317218de52dfa2a233a3aeed098161889418c7,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,FRAX/ARTH.usd,FRAXARTHu,0x5a59fd6018186471727faaeae4e57890abc49b08,no,,,100,4000000,4000000,0x5a59fd6018186471727faaeae4e57890abc49b08,0x5a59fd6018186471727faaeae4e57890abc49b08,0x973f054edbecd287209c36a2651094fa52f99a71,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CLever CVX,clevCVX,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,no,,,200,4000000,4000000,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xf05e58fcea29ab4da01a495140b349f8410ba904,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CLever CVX,clevCVX,0x8c1de7a8f8852197b109daf75a6fbb685c013315,no,,,200,20000000,20000000,0x8c1de7a8f8852197b109daf75a6fbb685c013315,0x8c1de7a8f8852197b109daf75a6fbb685c013315,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xf05e58fcea29ab4da01a495140b349f8410ba904,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x0e9470d9e8f5c726158704b982c6de1466372ef2 -Factory V2,ibEUR/USDC,ibEURUSDC,0x1570af3df649fc74872c5b8f280a162a3bdd4eb6,no,,,200000000,5000000,45000000,0x8682fbf0cbf312c891532ba9f1a91e44f81ad7df,0x1570af3df649fc74872c5b8f280a162a3bdd4eb6,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,ApeUSD-FRAX,ApeUSDFRAX,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,no,,,200,4000000,4000000,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,0xff709449528b6fb6b88f557f7d93dece33bca78d,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CPI2Pool,FPIVOLT,0x07350d8c30d463179de6a58764c21558db66dd9c,no,,,200,4000000,4000000,0x07350d8c30d463179de6a58764c21558db66dd9c,0x07350d8c30d463179de6a58764c21558db66dd9c,0x853d955acef822db058eb8505911ed77f175b99e,0x559ebc30b0e58a45cc9ff573f77ef1e5eb1b3e18,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CPI2Pool,FPIVOLT,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,no,,,200,4000000,4000000,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,0x5ca135cb8527d76e932f34b5145575f9d8cbe08e,0x559ebc30b0e58a45cc9ff573f77ef1e5eb1b3e18,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,pxCVX/CVX,pxCVX,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,no,,,50,15000000,15000000,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,0xbce0cf87f513102f22232436cca2ca49e815c3ac,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,COMP/ETH,COMPETH,0x9c6751593a1424108f53e5ad6754940fedaa5bc0,no,,,400000,26000000,45000000,0x675eaafa53d80400bc4144876f467622f628ebcb,0x9c6751593a1424108f53e5ad6754940fedaa5bc0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc00e94cb662c3520282e6f5717214004a7f26888,,,,,,, -Factory V1 Plain,WOMI/OMI,WOMIOMI,0xee98d56f60a5905cbb52348c8719b247dafe60ec,no,,,10,10000000,10000000,0xee98d56f60a5905cbb52348c8719b247dafe60ec,0xee98d56f60a5905cbb52348c8719b247dafe60ec,0x04969cd041c0cafb6ac462bd65b536a5bdb3a670,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,dfxSGD/XSGD,dfx2SGD,0x943b7e761f34866da12c9b84c99888fe2ef607c5,no,,,100,4000000,4000000,0x943b7e761f34866da12c9b84c99888fe2ef607c5,0x943b7e761f34866da12c9b84c99888fe2ef607c5,0x52ddda10eb0abdb34528329c4af16d218ab95bd1,0x70e8de73ce538da2beed35d14187f6959a8eca96,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,yveCRV,yvecrv,0x7e46fd8a30869aa9ed55af031067df666efe87da,no,,,50,15000000,15000000,0x7e46fd8a30869aa9ed55af031067df666efe87da,0x7e46fd8a30869aa9ed55af031067df666efe87da,0xd533a949740bb3306d119cc777fa900ba034cd52,0xc5bddf9843308380375a611c18b50fb9341f502a,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Euro Pool,europool,0xe7a3b38c39f97e977723bd1239c3470702568e7b,no,,,10,4000000,4000000,0xe7a3b38c39f97e977723bd1239c3470702568e7b,0xe7a3b38c39f97e977723bd1239c3470702568e7b,0xee586e7eaad39207f0549bc65f19e336942c992f,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,,,,,0x9f57569eaa61d427deeebac8d9546a745160391c -Factory V1 Plain,MATIC/FLEET,MATICFLEET,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,no,,,10,4000000,4000000,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,0xfd56a3dcfc0690881a466ae432d71bb2db588083,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Euro Pool,europool,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,no,,,10,4000000,4000000,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,0xee586e7eaad39207f0549bc65f19e336942c992f,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,GCD / USDP,GCDUSDP,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,no,,,100,4000000,4000000,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,0x213ecae6b3cbc0ad976f7d82626546d5b63a71cb,0x1456688345527be1f37e9e627da0837d6f08c925,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,stETH/aETHb,stETHaETHb,0x875df0ba24ccd867f8217593ee27253280772a97,no,,,100,4000000,4000000,0x875df0ba24ccd867f8217593ee27253280772a97,0x875df0ba24ccd867f8217593ee27253280772a97,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0xd01ef7c0a5d8c432fc2d1a85c66cf2327362e5c6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdLFT,sdLFTLFT,0xc69b00366f07840ff939cc9fdf866c3dccb10804,no,,,10,4000000,4000000,0xc69b00366f07840ff939cc9fdf866c3dccb10804,0xc69b00366f07840ff939cc9fdf866c3dccb10804,0xb620be8a1949aa9532e6a3510132864ef9bc3f82,0x0879c1a344910c2944c29b892a1cf0c216122c66,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,AAVE/ETH,AAVEETH,0xbf9702efefe1303a61b7c944b5741b773dd930a7,no,,,400000,26000000,45000000,0xd0ed79293aeb9705944aef1871f09d6cbeb8fb54,0xbf9702efefe1303a61b7c944b5741b773dd930a7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9,,,,,,, -Factory V2,MKR/ETH,MKRETH,0x90ce3285a9cce2d36149f12df2c1e357af304a1d,no,,,400000,26000000,45000000,0xd7d81c8665dcd3e6960afe64f204a564d8f8c54b,0x90ce3285a9cce2d36149f12df2c1e357af304a1d,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,,,,,,, -Factory V2,Goldfinch FIDU/USDC,fidu-usdc,0x80aa1a80a30055daa084e599836532f3e58c95e2,no,,,200000000,5000000,45000000,0x42ec68ca5c2c80036044f3eead675447ab3a8065,0x80aa1a80a30055daa084e599836532f3e58c95e2,0x6a445e9f40e0b97c92d0b8a3366cef1d67f700bf,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,frxETH,frxETH,0x7c0316c925e12ebfc55e0f325794b43ead425157,no,,,100,4000000,4000000,0x7c0316c925e12ebfc55e0f325794b43ead425157,0x7c0316c925e12ebfc55e0f325794b43ead425157,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x00000000008fd4f395ec6f12920bae9cb6c722e4,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tMYC/MYC,tMYC,0x83d78bf3f861e898cca47bd076b3839ab5469d70,no,,,1000000000,4000000,4000000,0x83d78bf3f861e898cca47bd076b3839ab5469d70,0x83d78bf3f861e898cca47bd076b3839ab5469d70,0x061aee9ab655e73719577ea1df116d7139b2a7e7,0x4b13006980acb09645131b91d259eaa111eaf5ba,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,agEUR/EUROC,agEUREUROC,0xba866791f98098df41c3187d4d5433be29215c79,no,,,200,4000000,4000000,0xba866791f98098df41c3187d4d5433be29215c79,0xba866791f98098df41c3187d4d5433be29215c79,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,agEUR/EUROC,agEUREUROC,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,no,,,1000,4000000,4000000,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xf9f46ef781b9c7b76e8b505226d5e0e0e7fe2f04 -Factory V1 Plain,cbETH,cbETHETH,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,no,,,100,4000000,4000000,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,aETH,aETH,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,no,,,10,10000000,10000000,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x030ba81f1c18d280636f32af80b9aad02cf0854e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,SILO/FRAX,silofrax,0x9a22cdb1ca1cdd2371cd5bb5199564c4e89465eb,no,,,400000,26000000,45000000,0x2302aabe69e6e7a1b0aa23aac68fccb8a4d2b460,0x9a22cdb1ca1cdd2371cd5bb5199564c4e89465eb,0x6f80310ca7f2c654691d1383149fa1a57d8ab1f8,0x853d955acef822db058eb8505911ed77f175b99e,,,,,,, -Factory V2,OHM/ETH,OHMETH,0x6ec38b3228251a0c5d491faf66858e2e23d7728b,no,,,400000,26000000,45000000,0x3660bd168494d61ffdac21e403d0f6356cf90fd7,0x6ec38b3228251a0c5d491faf66858e2e23d7728b,0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,OHM/ETH,OHMETH,0x365901db5adb4c789801f19d5f1f46c574783ad6,no,,,400000,26000000,45000000,0xbce2c09c6757cf002dfba4e8b9c6f3d3437dc8dc,0x365901db5adb4c789801f19d5f1f46c574783ad6,0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,YFI/ETH,YFIETH,0xc26b89a667578ec7b3f11b2f98d6fd15c07c54ba,yes,curvefi,yfieth_swap,400000,26000000,45000000,0x29059568bb40344487d62f7450e78b8e6c74e0e5,0xc26b89a667578ec7b3f11b2f98d6fd15c07c54ba,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e,,,,,,, -Regular,y,y,0x45f783cce6b7ff23b2ab2d70e416cdb7d6055f51,yes,curvefi,y_swap,,,,0xdf5e0e81dff6faf3a7e52ba697820c5e32d806a8,0xbbc81d23ea2c3ec7e56d39296f0cbb648873a5d3,0x16de59092dae5ccf4a1e6439d611fd0653f0bd01,0xd6ad7a6750a7593e092a9b218d66c0a814a3436e,0x83f798e925bcd4017eb265844fddabb448f1707d,0x73a052500105205d34daf004eab301916da8190f,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x0000000000085d4780b73119b644ae5ecd22b376,0xfa712ee4788c042e2b7bb55e6cb8ec569c4530c1 -Regular,xautusd,xautusd,0xadcfcf9894335dc340f6cd182afa45999f45fc44,yes,curvefi,xautusd_swap,,,,0x8484673ca7bff40f82b041916881aea15ee84834,0xc5fa220347375ac4f91f9e4a4aab362f22801504,0x68749665ff8d2d112fa859aa293f07a622782f38,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x68749665ff8d2d112fa859aa293f07a622782f38,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x1b3e14157ed33f60668f2103bcd5db39a1573e5b -Factory V1 Meta,wormhole v2 UST-3Pool,UST_whv2,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,yes,curvefi,wormhole_v2,10,4000000,4000000,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb0f5d00e5916c8b8981e99191a1458704b587b2b -Factory V1 Meta,Wasabi BTC,waBTC,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,yes,curvefi,waBTC,200,4000000,4000000,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,0xfd8e70e83e399307db3978d3f34b060a06792c36,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xfd8e70e83e399307db3978d3f34b060a06792c36,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6, -Regular,ust,ust,0x890f4e345b1daed0367a877a1612f86a1f86985f,yes,curvefi,ust_swap,,,,0x94e131324b6054c0d789b190b2dac504e4361b53,0xb0a0716841f2fc03fba72a891b8bb13584f52f2d,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x3b7020743bc2a4ca9eaf9d0722d42e20d6935855 -Factory V1 Meta,USDV,USDV,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,yes,curvefi,usdv,10,4000000,4000000,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,0xea3fb6f331735252e7bfb0b24b3b761301293dbe,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xea3fb6f331735252e7bfb0b24b3b761301293dbe,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,usdt,usdt,0x52ea46506b9cc5ef470c5bf89f17dc28bb35d85c,yes,curvefi,usdt_swap,,,,0x9fc689ccada600b6df723d9e47d84d76664a1f23,0xac795d2c97e60df6a99ff1c814727302fd747a80,0x5d3a536e4d6dbd6114cc1ead35777bab948e3643,0x39aa39c021dfbae8fac545936693ac917d5e7563,0xdac17f958d2ee523a2206206994597c13d831ec7,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xbc89cd85491d81c6ad2954e6d0362ee29fca8f53 -Regular,usdp,usdp,0x42d7025938bec20b69cbae5a77421082407f053a,yes,curvefi,usdp_swap,,,,0x7eb40e450b9655f4b3cc4259bcc731c63ff55ae6,0x3c8caee4e09296800f8d29a68fa3837e2dae4940,0x1456688345527be1f37e9e627da0837d6f08c925,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1456688345527be1f37e9e627da0837d6f08c925,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x055be5ddb7a925bfef3417fc157f53ca77ca7222 -Regular,usdn,usdn,0x0f9cb53ebe405d49a0bbdbd291a65ff571bc83e1,yes,curvefi,usdn_swap,,,,0x4f3e8f405cf5afc05d68142f3783bdfe13811522,0x094d12e5b541784701fd8d65f11fc0598fbc6332,0x674c6ad92fd080e4004b2312b45f796a192d27a0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x674c6ad92fd080e4004b2312b45f796a192d27a0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xf98450b5602fa59cc66e1379dffb6fddc724cfc4 -Factory V1 Meta,USDM,USDM,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,yes,curvefi,usdm,10,4000000,4000000,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,0x31d4eb09a216e181ec8a43ce79226a487d6f0ba9,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x31d4eb09a216e181ec8a43ce79226a487d6f0ba9,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9af13a7b1f1bbf1a2b05c6fbf23ac23a9e573b4e -Regular,usdk,usdk,0x3e01dd8a5e1fb3481f0f589056b428fc308af0fb,yes,curvefi,usdk_swap,,,,0x97e2768e8e73511ca874545dc5ff8067eb19b787,0xf1f85a74ad6c64315f85af52d3d46bf715236adc,0x1c48f86ae57291f7686349f12601910bd8d470bb,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1c48f86ae57291f7686349f12601910bd8d470bb,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc2b1df84112619d190193e48148000e3990bf627 -Factory V1 Meta,USDD/3CRV,USDD3CRV,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,yes,curvefi,usdd,200,4000000,4000000,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd5d3efc90ffb38987005fdea303b68306aa5c624 -Factory V1 Meta,tusd-3pool,tusd3pool,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,yes,curvefi,tusd3pool,200,4000000,4000000,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,0xef779cf3d260dbe6177b30ff08b10db591a6dd9c,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xef779cf3d260dbe6177b30ff08b10db591a6dd9c,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,tusd,tusd,0xecd5e75afb02efa118af914515d6521aabd189f1,yes,curvefi,tusd,,,,0xecd5e75afb02efa118af914515d6521aabd189f1,0xa79828df1850e8a3a3064576f380d90aecdd3359,0x0000000000085d4780b73119b644ae5ecd22b376,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0000000000085d4780b73119b644ae5ecd22b376,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x359fd5d6417ae3d8d6497d9b2e7a890798262ba4 -Regular,tricrypto,tricrypto,0x80466c64868e1ab14a1ddf27a676c3fcbe638fe5,yes,curvefi,tricrypto_swap,,,,0xca3d75ac011bf5ad07a98d02f18225f9bd9a6bdf,0x331af2e331bd619defaa5dac6c038f53fcf9f785,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,0x6955a55416a06839309018a8b0cb72c4ddc11f15 -Regular,tricrypto2,tricrypto2,0xd51a44d3fae010294c616388b506acda1bfaae46,yes,curvefi,tricrypto2_swap,,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x3993d34e7e99abf6b6f367309975d1360222d446,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,0xdefd8fdd20e0f34115c7018ccfb655796f6b2168 -Factory V1 Meta,Test Pool D,TPD,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,yes,curvefi,tpd,10,4000000,4000000,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,0x4185cf99745b2a20727b37ee798193dd4a56cdfa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x4185cf99745b2a20727b37ee798193dd4a56cdfa,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,3pool,3pool,0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7,yes,curvefi,threepool_swap,,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,,,,,0xbfcf63294ad7105dea65aa58f8ae5be2d9d0952a -Regular,teth,teth,0x752ebeb79963cf0732e9c0fec72a49fd1defaeac,yes,curvefi,teth_swap,,,,0xcb08717451aae9ef950a2524e33b6dcaba60147b,,0x0000000000000000000000000000000000000000,0xcdf7028ceab81fa0c6971208e83fa7872994bee5,,,,,,,0x6070fbd4e608ee5391189e7205d70cc4a274c017 -Regular,tbtc,tbtc,0xc25099792e9349c7dd09759744ea681c7de2cb66,yes,curvefi,tbtc_swap,,,,0x64eda51d3ad40d56b9dfc5554e06f94e1dd786fd,0xaa82ca713d94bba7a89ceab55314f9effeddc78c,0x8daebade922df735c38c80c7ebd708af50815faa,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8daebade922df735c38c80c7ebd708af50815faa,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x6828bcf74279ee32f2723ec536c22c51eed383c6 -Factory V1 Meta,tbtc2,tbtc2,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,yes,curvefi,tbtc2,200,4000000,4000000,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,0x18084fba666a33d37592fa2633fd49a74dd93a88,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x18084fba666a33d37592fa2633fd49a74dd93a88,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x29284d30bcb70e86a6c3f84cbc4de0ce16b0f1ca -Factory V1 Plain,Tokemak tWETH/WETH,tWETH+WETH,0x06d39e95977349431e3d800d49c63b4d472e10fb,yes,curvefi,tWETH_WETH,10,4000000,4000000,0x06d39e95977349431e3d800d49c63b4d472e10fb,0x06d39e95977349431e3d800d49c63b4d472e10fb,0xd3d13a578a53685b4ac36a1bab31912d2b2a2f36,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tTCR/TCR,tTCR,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,yes,curvefi,tTCR,1000000000,4000000,4000000,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,0x15a629f0665a3eb97d7ae9a7ce7abf73aeb79415,0x9c4a4204b79dd291d6b6571c5be8bbcd0622f050,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tSUSHI/SUSHI,tSUSHI,0x0437ac6109e8a366a1f4816edf312a36952db856,yes,curvefi,tSUSHI,1000000000,4000000,4000000,0x0437ac6109e8a366a1f4816edf312a36952db856,0x0437ac6109e8a366a1f4816edf312a36952db856,0xf49764c9c5d644ece6ae2d18ffd9f1e902629777,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tSNX/SNX,tSNX,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,yes,curvefi,tSNX,1000000000,4000000,4000000,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,0xeff721eae19885e17f5b80187d6527aad3ffc8de,0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tGAMMA/GAMMA,tGAMMA,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,yes,curvefi,tGAMMA,1000000000,4000000,4000000,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,0x2fc6e9c1b2c07e18632efe51879415a580ad22e1,0x6bea7cfef803d1e3d5f7c0103f7ded065644e197,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tFXS/FXS,tFXS,0x961226b64ad373275130234145b96d100dc0b655,yes,curvefi,tFXS,1000000000,4000000,4000000,0x961226b64ad373275130234145b96d100dc0b655,0x961226b64ad373275130234145b96d100dc0b655,0xadf15ec41689fc5b6dca0db7c53c9bfe7981e655,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,tFRAX/FRAX Test,tFRAX+FRAX,0x694650a0b2866472c2eea27827ce6253c1d13074,yes,curvefi,tFRAXFRAX,1000000000,4000000,4000000,0x694650a0b2866472c2eea27827ce6253c1d13074,0x694650a0b2866472c2eea27827ce6253c1d13074,0x94671a3cee8c7a12ea72602978d1bb84e920efb2,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tFOX/FOX,tFOX,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,yes,curvefi,tFOX,1000000000,4000000,4000000,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,0x808d3e6b23516967ceae4f17a5f9038383ed5311,0xc770eefad204b5180df6a14ee197d99d808ee52d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tAPW/APW,tAPW,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,yes,curvefi,tAPW,1000000000,4000000,4000000,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,0xdc0b02849bb8e0f126a216a2840275da829709b0,0x4104b135dbc9609fc1a9490e61369036497660c8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tALCX/ALCX,tALCX,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,yes,curvefi,tALCX,1000000000,4000000,4000000,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,0xd3b5d9a561c293fb42b446fe7e237daa9bf9aa84,0xdbdb4d16eda451d0503b854cf79d55697f90c8df,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,susdv2,susd,0xa5407eae9ba41422680e2e00537571bcc53efbfd,yes,curvefi,susd_swap,,,,0xc25a3a3b969415c80451098fa907ec722572917f,0xfcba3e75865d2d561be8d220616520c171f12851,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x57ab1e02fee23774580c119740129eac7081e9d3,0xa90996896660decc6e997655e065b23788857849 -Regular,steth,steth,0xdc24316b9ae028f1497c275eb9192a3ea0f67022,yes,curvefi,steth_swap,,,,0x06325440d014e39736583c165c2963ba99faf14e,,0x0000000000000000000000000000000000000000,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,,,,,,,0x182b723a58739a9c974cfdb385ceadb237453c28 -Factory V1 Plain,stETH concentrated,STETHETH_C,0x828b154032950c8ff7cf8085d841723db2696056,yes,curvefi,stETHconcentrated,1000,4000000,4000000,0x828b154032950c8ff7cf8085d841723db2696056,0x828b154032950c8ff7cf8085d841723db2696056,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xf668e6d326945d499e5b35e7cd2e82acfbcfe6f0 -Regular,spelleth,spelleth,0x98638facf9a3865cd033f36548713183f6996122,yes,curvefi,spelleth_swap,,,,0x8282bd15dca2ea2bdf24163e8f2781b30c43a2ef,,0x0000000000000000000000000000000000000000,0x090185f2135308bad17527004364ebcc2d37e5f6,,,,,,,0x08380a4999be1a958e2abba07968d703c7a3027c -Regular,seth,seth,0xc5424b857f758e906013f3555dad202e4bdb4567,yes,curvefi,seth_swap,,,,0xa3d87fffce63b53e0d54faa1cc983b7eb0b74a9c,,0x0000000000000000000000000000000000000000,0x5e74c9036fb86bd7ecdcb084a0673efc32ea31cb,,,,,,,0x3c0ffff15ea30c35d7a85b85c0782d6c94e1d238 -Factory V2,SDT/ETH,SDTETH,0xfb8814d005c5f32874391e888da6eb2fe7a27902,yes,curvefi,sdteth_swap,400000,26000000,45000000,0x6359b6d3e327c497453d4376561ee276c6933323,0xfb8814d005c5f32874391e888da6eb2fe7a27902,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x73968b9a57c6e53d41345fd57a6e6ae27d6cdb2f,,,,,,, -Factory V1 Plain,sdCRV,sdCRV,0x737bc004136f66ae3f8fd5a1199e81c18388097b,yes,curvefi,sdCRV,200,15500000,15500000,0x737bc004136f66ae3f8fd5a1199e81c18388097b,0x737bc004136f66ae3f8fd5a1199e81c18388097b,0x478bbc744811ee8310b461514bdc29d03739084d,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xe64026269a7a528cb9ce17c3a403a956ac973a97 -Regular,sbtc,sbtc,0x7fc77b5c7614e1533320ea6ddc2eb61fa00a9714,yes,curvefi,sbtc_swap,,,,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,,,,,,0x705350c4bcd35c9441419ddd5d2f097d7a55410f -Factory V1 Plain,Wanna Avoid Tether?,sansUSDT,0x08eaf78d40abfa6c341f05692eb48edca425ce04,yes,curvefi,sansUSDT,10,4000000,4000000,0x08eaf78d40abfa6c341f05692eb48edca425ce04,0x08eaf78d40abfa6c341f05692eb48edca425ce04,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x0000000000000000000000000000000000000000,,,,, -Regular,saave,saave,0xeb16ae0052ed37f479f7fe63849198df1765a733,yes,curvefi,saave_swap,,,,0x02d341ccb60faaf662bc0554d13778015d1b285c,,0x028171bca77440897b824ca71d1c56cac55b68a3,0x6c5024cd4f8a59110119c56f8933403a539555eb,,,0x6b175474e89094c44da98b954eedeac495271d0f,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,0x462253b8f74b72304c145db0e4eebd326b22ca39 -Factory V1 Meta,sUSD Metapool,sUSD,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,yes,curvefi,sUSD,100,4000000,4000000,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x1c633797b992bbdf20048b822ba58fd0ea17a8c8 -Regular,rsv,rsv,0xc18cc39da8b11da8c3541c598ee022258f9744da,yes,curvefi,rsv_swap,,,,0xc2ee6b0334c261ed60c72f6054450b61b8f18e35,0xbe175115bf33e12348ff77ccfee4726866a0fbd5,0x196f4727526ea7fb1e17b2071b3d8eaa38486988,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x196f4727526ea7fb1e17b2071b3d8eaa38486988,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4dc4a289a8e33600d8bd4cf5f6313e43a37adec7 -Factory V2,RocketPool rETH,rp-eth,0x1dff955cddd55fba58db3cd658f9e3e3c31851eb,yes,curvefi,rpeth_swap,400000,26000000,45000000,0x367d89e3577b95e5d9a770945225b93889b1dc8d,0x1dff955cddd55fba58db3cd658f9e3e3c31851eb,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xae78736cd615f374d3085123a210448e74fc6393,,,,,,, -Regular,reth,reth,0xf9440930043eb3997fc70e1339dbb11f341de7a8,yes,curvefi,reth_swap,,,,0x53a901d48795c58f485cbb38df08fa96a24669d5,,0x9559aaa82d9649c7a7b220e7c461d2e74c9a3593,0x0000000000000000000000000000000000000000,,,,,,,0x824f13f1a2f29cfeea81154b46c0fc820677a637 -Regular,ren,ren,0x93054188d876f558f4a66b2ef1d97d16edf0895b,yes,curvefi,ren_swap,,,,0x49849c98ae39fff122806c06791fa73784fb3675,,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,,0xb1f2cdec61db658f091671f5f199635aef202cac -Factory V2,RAI/FRAX,RAIFRAX,0xc68ffddea3a77b456227b50ebfdcc3c33bc2a8a4,yes,curvefi,raifrax_swap,200000000,5000000,45000000,0x1b8b8a78e12397e18a2bd2b400205d1eb8897573,0xc68ffddea3a77b456227b50ebfdcc3c33bc2a8a4,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x853d955acef822db058eb8505911ed77f175b99e,,,,,,, -Factory V2,RAI/ETH,RAIETH,0x96fb2ab514ca569a1486c50339533ca4637b338b,yes,curvefi,raieth_swap,400000,26000000,45000000,0xde3e8978896e1fa31f1ea2b9012caa4057adb273,0x96fb2ab514ca569a1486c50339533ca4637b338b,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,RAI/agEUR,RAIAGEUR,0xb6d9b32407bfa562d9211acdba2631a46c850956,yes,curvefi,raiageur_swap,200000000,5000000,45000000,0xca7c3ac4e5fb7b2ae60472c80344ea9403c6d2b1,0xb6d9b32407bfa562d9211acdba2631a46c850956,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,,,,,,, -Regular,rai,rai,0x618788357d0ebd8a37e763adab3bc575d54c2c7d,yes,curvefi,rai_swap,,,,0x6ba5b4e438fa0aaf7c1bd179285af65d13bd3d90,0xcb636b81743bb8a7f1e355debb7d33b07009cccc,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x66ec719045bbd62db5ebb11184c18237d3cc2e62 -Factory V1 Plain,rETH/wstETH,rETHwstETH,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,yes,curvefi,rETHwstETH,50,4000000,4000000,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,0xae78736cd615f374d3085123a210448e74fc6393,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x8ad7e0e6edc61bc48ca0dd07f9021c249044ed30 -Factory V2,pxCVX/CVX,pxCVXCVX,0xf3456e8061461e144b3f252e69dcd5b6070fdee0,yes,curvefi,pxCVXCVX,200000000,15000000,30000000,0xace78d9bab82b6b4783120dba82aa10b040a14d9,0xf3456e8061461e144b3f252e69dcd5b6070fdee0,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xbce0cf87f513102f22232436cca2ca49e815c3ac,,,,,,, -Regular,pbtc,pbtc,0x7f55dde206dbad629c080068923b36fe9d6bdbef,yes,curvefi,pbtc_swap,,,,0xde5331ac4b3630f94853ff322b66407e0d6331e8,0x11f419adabbff8d595e7d5b223eee3863bb3902c,0x5228a22e72ccc52d415ecfd199f99d0665e7733b,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x5228a22e72ccc52d415ecfd199f99d0665e7733b,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xd7d147c6bb90a718c3de8c0568f9b560c79fa416 -Factory V1 Meta,Paxos Dollar (USDP),pax-usdp,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,yes,curvefi,paxusdp,1000,4000000,4000000,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc95bdf13a08a547e4dd9f29b00ab7ff08c5d093d -Regular,pax,pax,0x06364f10b501e868329afbc005b3492902d6c763,yes,curvefi,pax_swap,,,,0xd905e2eaebe188fc92179b6350807d8bd91db0d8,0xa50ccc70b6a011cffddf45057e39679379187287,0x99d1fa417f94dcd62bfe781a1213c092a47041bc,0x9777d7e2b60bb01759d0e2f8be2095df444cb07e,0x1be5d71f2da660bfdee8012ddc58d024448a0a59,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x64e3c23bfc40722d3b649844055f1d51c1ac041d -Factory V2,PAR/USDC,PARUSDC,0xdad60c5b748306ba5a0c9a3c3482a8d1153dad2a,yes,curvefi,parusdc_swap,200000000,5000000,45000000,0x030cafae2ece75ed411aeb53633fbed3092c3e32,0xdad60c5b748306ba5a0c9a3c3482a8d1153dad2a,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Meta,PAR/USDC,PARUSDC,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,yes,curvefi,par3crv,10,4000000,4000000,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,AAVE/palStkAAVE,palStkAAVE,0x48536ec5233297c367fd0b6979b75d9270bb6b15,yes,curvefi,palstkaave_swap,200000000,5000000,45000000,0x6085def4343a0b5d97820f131a362dae9fe59841,0x48536ec5233297c367fd0b6979b75d9270bb6b15,0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9,0x24e79e946dea5482212c38aab2d0782f04cdb0e0,,,,,,, -Regular,obtc,obtc,0xd81da8d904b52208541bade1bd6595d8a251f8dd,yes,curvefi,obtc_swap,,,,0x2fe94ea3d5d4a175184081439753de15aef9d614,0xd5bcf53e2c81e1991570f33fa881c49eea570c8d,0x8064d9ae6cdf087b1bcd5bdf3531bd5d8c537a68,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8064d9ae6cdf087b1bcd5bdf3531bd5d8c537a68,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x11137b10c210b579405c21a07489e28f3c040ab1 -Regular,musd,musd,0x8474ddbe98f5aa3179b3b3f5942d724afcdec9f6,yes,curvefi,musd_swap,,,,0x1aef73d49dedc4b1778d0706583995958dc862e6,0x803a2b40c5a9bb2b86dd630b274fa2a9202874c2,0xe2f2a5c287993345a840db3b0845fbc70f5935a5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xe2f2a5c287993345a840db3b0845fbc70f5935a5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x5f626c30ec1215f4edcc9982265e8b1f411d1352 -Regular,mim,mim,0x5a6a4d54456819380173272a5e8e9b9904bdf41b,yes,curvefi,mim,,,,0x5a6a4d54456819380173272a5e8e9b9904bdf41b,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd8b712d29381748db89c36bca0138d7c75866ddf -Factory V1 Plain,Meta EUR,mEUR,0x3cfaa1596777cad9f5004f9a0c443d912e262243,yes,curvefi,mEUR,100,4000000,4000000,0x3cfaa1596777cad9f5004f9a0c443d912e262243,0x3cfaa1596777cad9f5004f9a0c443d912e262243,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0xc581b735a1688071a1746c968e0798d642ede491,0xdb25f211ab05b1c97d595516f45794528a807ad8,0xd71ecff9342a5ced620049e616c5035f1db98620,,,,, -Regular,lusd,lusd,0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca,yes,curvefi,lusd_swap,,,,0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9b8519a9a00100720ccdc8a120fbed319ca47a14 -Regular,linkusd,linkusd,0xe7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171,yes,curvefi,linkusd_swap,,,,0x6d65b498cb23deaba52db31c93da9bffb340fb8f,0x1de7f0866e2c4adac7b457c58cc25c8688cda1f2,0x0e2ec54fc0b509f445631bf4b91ab8168230c752,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0e2ec54fc0b509f445631bf4b91ab8168230c752,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,link,link,0xf178c0b5bb7e7abf4e12a4838c7b7c5ba2c623c0,yes,curvefi,link_swap,,,,0xcee60cfa923170e4f8204ae08b4fa6a3f5656f3a,,0x514910771af9ca656af840dff83e8264ecf986ca,0xbbc455cb4f1b9e4bfc4b73970d360c8f032efee6,,,,,,,0xfd4d8a17df4c27c1dd245d153ccf4499e806c87d -Factory V1 Meta,kusd-3pool,kusd3pool,0xed09ca8275dffb09c632b6ea58c035a851f73616,yes,curvefi,kusd3pool,200,4000000,4000000,0xed09ca8275dffb09c632b6ea58c035a851f73616,0xed09ca8275dffb09c632b6ea58c035a851f73616,0x332e824e46fceeb9e59ba9491b80d3e6d42b0b59,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x332e824e46fceeb9e59ba9491b80d3e6d42b0b59,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,jGBP/TGBP,jGBP+TGBP,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,yes,curvefi,jGBP_TGBP,200,4000000,4000000,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,0x7409856cae628f5d578b285b45669b36e7005283,0x00000000441378008ea67f4284a57932b1c000a5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,ib,ib,0x2dded6da1bf5dbdf597c45fcfaa3194e53ecfeaf,yes,curvefi,ironbank_swap,,,,0x5282a4ef67d9c33135340fb3289cc1711c13638c,,0x8e595470ed749b85c6f7669de83eae304c2ec68f,0x76eb2fe28b36b3ee97f3adae0c69606eedb2a37c,0x48759f220ed983db51fa7a8c0d2aab8f3ce4166a,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xf5194c3325202f456c95c1cf0ca36f8475c1949f -Factory V2,INV/DOLA,INVDOLA,0x99af0326ab1c2a68c6712a5622c1aa8e4b35fd57,yes,curvefi,invdola_swap,400000,26000000,45000000,0x1868e657122554750eb07b2fa45b4044af35c583,0x99af0326ab1c2a68c6712a5622c1aa8e4b35fd57,0x41d5d79431a913c4ae7d69a668ecdfe5ff9dfb68,0x865377367054516e17014ccded1e7d814edc9ce4,,,,,,, -Factory V1 Meta,ibBTC,ibbtc,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,yes,curvefi,ibbtc,100,4000000,4000000,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,0x8751d4196027d4e6da63716fa7786b5174f04c15,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8751d4196027d4e6da63716fa7786b5174f04c15,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x346c7bb1a7a6a30c8e81c14e90fc2f0fbddc54d8 -Factory V1 Meta,Interest Bearing Bitcoin,ibbtc,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,yes,curvefi,ibbtc,200,4000000,4000000,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,0xc4e15973e6ff2a35cc804c2cf9d2a1b817a8b40f,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xc4e15973e6ff2a35cc804c2cf9d2a1b817a8b40f,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xe9ef132a724ff731b17bd550709c38a3258edc4e -Factory V1 Plain,ibZAR/ZARP,ibZAR+ZARP,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,yes,curvefi,ibZAR_ZARP,200,4000000,4000000,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,0x8cb24ed2e4f7e2065f4eb2be5f6b0064b1919850,0x81d66d255d47662b6b16f3c5bbfbb15283b05bc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xdb190e4d9c9a95fdf066b258892b8d6bb107434e -Factory V1 Plain,ibKRW/sKRW,ibKRW+sKRW,0x8461a004b50d321cb22b7d034969ce6803911899,yes,curvefi,ibKRW_sKRW,100,4000000,4000000,0x8461a004b50d321cb22b7d034969ce6803911899,0x8461a004b50d321cb22b7d034969ce6803911899,0x95dfdc8161832e4ff7816ac4b6367ce201538253,0x269895a3df4d73b077fc823dd6da1b95f72aaf9b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x1750a3a3d80a3f5333bbe9c4695b0fad41061ab1 -Factory V1 Plain,ibJPY/sJPY,ibJPY+sJPY,0x8818a9bb44fbf33502be7c15c500d0c783b73067,yes,curvefi,ibJPY_sJPY,100,4000000,4000000,0x8818a9bb44fbf33502be7c15c500d0c783b73067,0x8818a9bb44fbf33502be7c15c500d0c783b73067,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0xf6b1c627e95bfc3c1b4c9b825a032ff0fbf3e07d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xeff437a56a22d7dd86c1202a308536ed8c7da7c1 -Factory V1 Plain,ibGBP/sGBP,ibGBP+sGBP,0xd6ac1cb9019137a896343da59dde6d097f710538,yes,curvefi,ibGBP_sGBP,100,4000000,4000000,0xd6ac1cb9019137a896343da59dde6d097f710538,0xd6ac1cb9019137a896343da59dde6d097f710538,0x69681f8fde45345c3870bcd5eaf4a05a60e7d227,0x97fe22e7341a0cd8db6f6c021a24dc8f4dad855f,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x63d9f3ab7d0c528797a12a0684e50c397e9e79dc -Factory V1 Plain,ibEUR/sEUR,ibEUR+sEUR,0x1f71f05cf491595652378fe94b7820344a551b8e,yes,curvefi,ibEUR_sEUR,100,4000000,4000000,0x1f71f05cf491595652378fe94b7820344a551b8e,0x1f71f05cf491595652378fe94b7820344a551b8e,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,ibEUR/sEUR,ibEUR+sEUR,0x19b080fe1ffa0553469d20ca36219f17fcf03859,yes,curvefi,ibEUR_sEUR,100,4000000,4000000,0x19b080fe1ffa0553469d20ca36219f17fcf03859,0x19b080fe1ffa0553469d20ca36219f17fcf03859,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x99fb76f75501039089aac8f20f487bf84e51d76f -Factory V1 Plain,ibCHF/sCHF,ibCHF+sCHF,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,yes,curvefi,ibCHF_sCHF,100,4000000,4000000,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309,0x0f83287ff768d1c1e17a42f44d644d7f22e8ee1d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x2fa53e8fa5fadb81f4332c8ece39fe62ea2f919e -Factory V1 Plain,ibAUD/sAUD,ibAUD+sAUD,0x3f1b0278a9ee595635b61817630cc19de792f506,yes,curvefi,ibAUD_sAUD,100,4000000,4000000,0x3f1b0278a9ee595635b61817630cc19de792f506,0x3f1b0278a9ee595635b61817630cc19de792f506,0xfafdf0c4c1cb09d430bf88c75d88bb46dae09967,0xf48e200eaf9906362bb1442fca31e0835773b8b4,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x05ca5c01629a8e5845f12ea3a03ff7331932233a -Regular,husd,husd,0x3ef6a01a0f81d6046290f3e2a8c5b843e738e604,yes,curvefi,husd_swap,,,,0x5b5cfe992adac0c9d48e05854b2d91c73a003858,0x09672362833d8f703d5395ef3252d4bfa51c15ca,0xdf574c24545e5ffecb9a659c229253d4111d87e1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xdf574c24545e5ffecb9a659c229253d4111d87e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2db0e83599a91b508ac268a6197b8b14f5e72840 -Regular,hbtc,hbtc,0x4ca9b3063ec5866a4b82e437059d2c43d1be596f,yes,curvefi,hbtc_swap,,,,0xb19059ebb43466c323583928285a49f558e572fd,,0x0316eb71485b0ab14103307bf65a021042c6d380,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,,0x4c18e409dc8619bfb6a1cb56d114c3f592e0ae79 -Regular,gusd,gusd,0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956,yes,curvefi,gusd_swap,,,,0xd2967f45c4f384deea880f807be904762a3dea07,0x64448b78561690b70e17cbe8029a3e5c1bb7136e,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc5cfada84e902ad92dd40194f0883ad49639b023 -Factory V2,FXS/ETH,FXSETH,0x1667954f14f5b22c703116d8d806f988b1e09018,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x27ca67c8d7a060988c9f8f57bf7c784dd41816a6,0x1667954f14f5b22c703116d8d806f988b1e09018,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x03470b57b05089ee40c651dac9e0387f1f3cb46f,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x1aea495539b514a5538878d3d3695c7aeddc61f1,0x03470b57b05089ee40c651dac9e0387f1f3cb46f,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x941eb6f616114e4ecaa85377945ea306002612fe,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x90244f43d548a4f8dfecfad91a193465b1fad6f7,0x941eb6f616114e4ecaa85377945ea306002612fe,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x6ec176b5449dd7c1a87ca8d97acecc531c0ca0d8,yes,curvefi,fxseth_swap,400000,26000000,45000000,0xd67f3684346e416a8b1311c8955fb6000a083aaa,0x6ec176b5449dd7c1a87ca8d97acecc531c0ca0d8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V1 Plain,handleEUR,fxEUR_CRV,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,yes,curvefi,fxEUR_CRV,10,4000000,4000000,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,0x116172b2482c5dc3e6f445c16ac13367ac3fcd35,0xdb25f211ab05b1c97d595516f45794528a807ad8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xe99de9059e65683f7c5e29a0078efecea34e1c2f -Regular,frax,frax,0xd632f22692fac7611d2aa1c0d552930d43caed3b,yes,curvefi,frax,,,,0xd632f22692fac7611d2aa1c0d552930d43caed3b,,0x853d955acef822db058eb8505911ed77f175b99e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x853d955acef822db058eb8505911ed77f175b99e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x72e158d38dbd50a483501c24f792bdaaa3e7d55c -Factory V1 Meta,fiat,FIAT+3Crv,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,yes,curvefi,fiat3crv,200,4000000,4000000,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,0x586aa273f262909eef8fa02d90ab65f5015e0516,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x586aa273f262909eef8fa02d90ab65f5015e0516,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x71c5dc1b395b02834a97ecf5a0ca062bf8801b07 -Factory V1 Meta,BUSDFRAXBP,BUSDFRAXBP,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,yes,curvefi,factory_metapoool_busdfraxbp,200,4000000,4000000,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,0x4fabb145d64652a948d72533023f6e7a623c7c53,,,,0x4fabb145d64652a948d72533023f6e7a623c7c53,,,,0xaeac6dcd12cc0be74c8f99efe4bb5205a1f9a608 -Factory V1 Meta,USDDFRAXBP,USDDFRAXBP,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,yes,curvefi,factory_metapool_usddfraxbp,200,4000000,4000000,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,,,,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,,,,0xb8b9dfcb48614fa873ccec72c79d728d39ec9a5c -Factory V1 Meta,TUSDFRAXBP,TUSDFRAXBP,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,yes,curvefi,factory_metapool_tusdfraxbp,200,4000000,4000000,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,0x0000000000085d4780b73119b644ae5ecd22b376,,,,0x0000000000085d4780b73119b644ae5ecd22b376,,,,0xf865fdd6a5f307f398a94dc40687995cfaa77bc9 -Factory V1 Meta,sUSDFRAXBP,SUSDFRAXBP,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,yes,curvefi,factory_metapool_susdfraxbp,200,4000000,4000000,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,,0xf6d7087d4ae4dcf85956d743406e63cda74d99ad -Factory V1 Meta,LUSDFRAXBP,LUSDFRAXBP,0x497ce58f34605b9944e6b15ecafe6b001206fd25,yes,curvefi,factory_metapool_lusdfraxbp,200,4000000,4000000,0x497ce58f34605b9944e6b15ecafe6b001206fd25,0x497ce58f34605b9944e6b15ecafe6b001206fd25,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,0x389fc079a15354e9cbce8258433cc0f85b755a42 -Factory V1 Meta,GUSDFRAXBP,GUSDFRAXBP,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,yes,curvefi,factory_metapool_gusdfraxbp,200,4000000,4000000,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,,,,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,,,,0xda7f9dd286577cc338047b040c289463743a474e -Factory V1 Meta,apeUSDFRAXBP,APEUSDBP,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,yes,curvefi,factory_metapool_apeusdfraxbp,200,4000000,4000000,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,0xff709449528b6fb6b88f557f7d93dece33bca78d,,,,0xff709449528b6fb6b88f557f7d93dece33bca78d,,,,0xd6e48cc0597a1ee12a8beeb88e22bfdb81777164 -Factory V1 Meta,alUSDFRAXBP,alUSDFRAXB,0xb30da2376f63de30b42dc055c93fa474f31330a5,yes,curvefi,factory_metapool_alusdfraxbp,200,4000000,4000000,0xb30da2376f63de30b42dc055c93fa474f31330a5,0xb30da2376f63de30b42dc055c93fa474f31330a5,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0x740ba8aa0052e07b925908b380248cb03f3de5cb -Factory V1 Meta,fUSD-3pool,fUSD,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,yes,curvefi,fUSD,200,4000000,4000000,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,0x42ef9077d8e79689799673ae588e046f8832cb95,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x42ef9077d8e79689799673ae588e046f8832cb95,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,eurtusd,eurtusd,0x9838eccc42659fa8aa7daf2ad134b53984c9427b,yes,curvefi,eurtusd_swap,,,,0x3b6831c0077a1e44ed0a21841c3bc4dc11bce833,0x5d0f47b32fdd343bfa74ce221808e2abe4a53827,0xc581b735a1688071a1746c968e0798d642ede491,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc581b735a1688071a1746c968e0798d642ede491,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4fd86ce7ecea88f7e0aa78dc12625996fb3a04bc -Factory V1 Plain,Euro Tether,EURT,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,yes,curvefi,eurt,100,4000000,4000000,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,0xc581b735a1688071a1746c968e0798d642ede491,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,eursusd,eursusd,0x98a7f18d4e56cfe84e3d081b40001b3d5bd3eb8b,yes,curvefi,eursusdc_swap,,,,0x3d229e1b4faab62f621ef2f6a610961f7bd7b23b,,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdb25f211ab05b1c97d595516f45794528a807ad8,,,,,,,0x65ca7dc5cb661fc58de57b1e1af404649a27ad35 -Regular,eurs,eurs,0x0ce6a5ff5217e38315f87032cf90686c96627caa,yes,curvefi,eurs_swap,,,,0x194ebd173f6cdace046c53eacce9b953f28411d1,,0xdb25f211ab05b1c97d595516f45794528a807ad8,0xd71ecff9342a5ced620049e616c5035f1db98620,,,,,,,0x90bb609649e0451e5ad952683d64bd2d1f245840 -Factory V2,DYDX/ETH,DYDXETH,0x8b0afa4b63a3581b731da9d79774a3eae63b5abd,yes,curvefi,dydxeth_swap,400000,26000000,45000000,0x4acc1bf7d6a591016641325aa6664a1cd178f002,0x8b0afa4b63a3581b731da9d79774a3eae63b5abd,0x92d6c1e31e14520e676a687f0a93788b716beff5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Regular,dusd,dusd,0x8038c01a0390a8c547446a0b2c18fc9aefecc10c,yes,curvefi,dusd_swap,,,,0x3a664ab939fd8482048609f652f9a0b0677337b9,0x61e10659fe3aa93d036d099405224e4ac24996d0,0x5bc25f649fc4e26069ddf4cf4010f9f706c23831,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x5bc25f649fc4e26069ddf4cf4010f9f706c23831,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xaea6c312f4b3e04d752946d329693f7293bc2e6d -Factory V2,DUCK/ETH,DUCKETH,0xd8c49617e6a2c7584ddbeab652368ee84954bf5c,yes,curvefi,ducketh,400000,26000000,45000000,0x91f2f1b9d9c7d838c87b687d2accd1f0be8fae5d,0xd8c49617e6a2c7584ddbeab652368ee84954bf5c,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x92e187a03b6cd19cb6af293ba17f2745fd2357d5,,,,,,, -Factory V1 Meta,DOLA-3pool Curve LP,DOLA3POOL,0xaa5a67c256e27a5d80712c51971408db3370927d,yes,curvefi,dola_3crv_pool,100,4000000,4000000,0xaa5a67c256e27a5d80712c51971408db3370927d,0xaa5a67c256e27a5d80712c51971408db3370927d,0x865377367054516e17014ccded1e7d814edc9ce4,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x865377367054516e17014ccded1e7d814edc9ce4,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x8fa728f393588e8d8dd1ca397e9a710e53fa553a -Factory V1 Meta,DEI,DEI,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,yes,curvefi,dei,10,4000000,4000000,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,0xde12c7959e1a72bbe8a5f7a1dc8f8eef9ab011b3,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xde12c7959e1a72bbe8a5f7a1dc8f8eef9ab011b3,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,cvxFxs/Fxs,cvxFXSFXS,0xd658a338613198204dca1143ac3f01a722b5d94a,yes,curvefi,cvxfxsfxs_swap,200000000,15000000,30000000,0xf3a43307dcafa93275993862aae628fcb50dc768,0xd658a338613198204dca1143ac3f01a722b5d94a,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xfeef77d3f69374f66429c91d732a244f074bdf74,,,,,,, -Regular,cvxeth,cvxeth,0xb576491f1e6e5e62f1d8f26062ee822b40b0e0d4,yes,curvefi,cvxeth_swap,,,,0x3a283d9c08e8b55966afb64c515f5143cf907611,,0x0000000000000000000000000000000000000000,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,,,,,,,0x7e1444ba99dcdffe8fbdb42c02f0005d14f13be1 -Factory V1 Plain,cvxCRV,cvxcrv,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,yes,curvefi,cvxcrv,50,15000000,15000000,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,0xd533a949740bb3306d119cc777fa900ba034cd52,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x903da6213a5a12b61c821598154efad98c3b20e4 -Regular,crveth,crveth,0x8301ae4fc9c624d1d396cbdaa1ed877821d7c511,yes,curvefi,crveth_swap,,,,0xed4064f376cb8d68f770fb1ff088a3d0f3ff5c4d,,0x0000000000000000000000000000000000000000,0xd533a949740bb3306d119cc777fa900ba034cd52,,,,,,,0x1cebdb0856dd985fae9b8fea2262469360b8a3a6 -Factory V1 Plain,Curve.fi sCRV/CRV,crvCRVsCRV,0x621f13bf667207335c601f8c89ea5ec260bada9a,yes,curvefi,crvCRVsCRV,100,4000000,4000000,0x621f13bf667207335c601f8c89ea5ec260bada9a,0x621f13bf667207335c601f8c89ea5ec260bada9a,0xd38aeb759891882e78e957c80656572503d8c1b1,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Ahead of the Curve,crvCRV,0xda5b670ccd418a187a3066674a8002adc9356ad1,yes,curvefi,crvCRV,10,4000000,4000000,0xda5b670ccd418a187a3066674a8002adc9356ad1,0xda5b670ccd418a187a3066674a8002adc9356ad1,0xd533a949740bb3306d119cc777fa900ba034cd52,0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0xd38aeb759891882e78e957c80656572503d8c1b1,,,,, -Regular,compound,compound,0xa2b47e3d5c44877cca798226b7b8118f9bfb7a56,yes,curvefi,compound_swap,,,,0x845838df265dcd2c412a1dc9e959c7d08537f8a2,0xeb21209ae4c2c9ff2a86aca31e123764a3b6bc06,0x5d3a536e4d6dbd6114cc1ead35777bab948e3643,0x39aa39c021dfbae8fac545936693ac917d5e7563,,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,0x7ca5b0a2910b33e9759dc7ddb0413949071d7575 -Factory V2,CADC/USDC,CADCUSDC,0xe07bde9eb53deffa979dae36882014b758111a78,yes,curvefi,cadcusdc_swap,200000000,5000000,45000000,0x1054ff2ffa34c055a13dcd9e0b4c0ca5b3aeceb9,0xe07bde9eb53deffa979dae36882014b758111a78,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,Badger Locked CVX,bveCVX-CVX,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,yes,curvefi,bveCVX_CVX,100,4000000,4000000,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xfd05d3c7fe2924020620a8be4961bbaa747e6305,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x1b759a88543931f4bb983bca4194306039cb979c -Regular,busdv2,busdv2,0x4807862aa8b2bf68830e4c8dc86d0e9a998e085a,yes,curvefi,busdv2,,,,0x4807862aa8b2bf68830e4c8dc86d0e9a998e085a,,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd4b22fedca85e684919955061fdf353b9d38389b -Regular,busd,busd,0x79a8c46dea5ada233abaffd40f3a0a2b1e5a4f27,yes,curvefi,busd_swap,,,,0x3b3ac5386837dc563660fb6a0937dfaa5924333b,0xb6c057591e073249f2d9d88ba59a46cfc9b59edb,0xc2cb1040220768554cf699b0d863a3cd4324ce32,0x26ea744e5b887e5205727f55dfbe8685e3b21951,0xe6354ed5bc4b393a5aad09f21c46e101e692d447,0x04bc0ab673d88ae9dbc9da2380cb6b79c4bca9ae,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x69fb7c45726cfe2badee8317005d3f94be838840 -Factory V2,BTRFLY/ETH,BTRFLYETH,0xf43b15ab692fde1f9c24a9fce700adcc809d5391,yes,curvefi,btrfly_eth_swap,400000,26000000,45000000,0xe160364fd8407ffc8b163e278300c6c5d18ff61d,0xf43b15ab692fde1f9c24a9fce700adcc809d5391,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc0d4ceb216b3ba9c3701b291766fdcba977cec3a,,,,,,, -Factory V1 Meta,Bhome,bhome,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,yes,curvefi,bhome,10,4000000,4000000,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,bentCVX,bentcvx,0xf083fba98ded0f9c970e5a418500bad08d8b9732,yes,curvefi,bentcvx,50,15000000,15000000,0xf083fba98ded0f9c970e5a418500bad08d8b9732,0xf083fba98ded0f9c970e5a418500bad08d8b9732,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0x9e0441e084f5db0606565737158aa6ab6b970fe0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Bean-LUSD,BEANLUSD,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,yes,curvefi,bean_lusd_pool,100,4000000,4000000,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,0xdc59ac4fefa32293a95889dc396682858d52e5db,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,bbtc,bbtc,0x071c661b4deefb59e2a3ddb20db036821eee8f4b,yes,curvefi,bbtc_swap,,,,0x410e3e86ef427e30b9235497143881f717d93c2a,0xc45b2eee6e09ca176ca3bb5f7eee7c47bf93c756,0x9be89d2a4cd102d8fecc6bf9da793be995c22541,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x9be89d2a4cd102d8fecc6bf9da793be995c22541,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xdfc7adfa664b08767b735de28f9e84cd30492aee -Factory V1 Meta,baoUSD,baoUSD-,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,yes,curvefi,baoUSD,100,4000000,4000000,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,0x7945b0a6674b175695e5d1d08ae1e6f13744abb0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x7945b0a6674b175695e5d1d08ae1e6f13744abb0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,BADGER/WBTC,BADGERWBTC,0x50f3752289e1456bfa505afd37b241bca23e685d,yes,curvefi,badgerwbtc_swap,400000,26000000,45000000,0x137469b55d1f15651ba46a89d0588e97dd0b6562,0x50f3752289e1456bfa505afd37b241bca23e685d,0x3472a5a71965499acd81997a54bba8d852c6e53d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,, -Regular,ankreth,ankreth,0xa96a65c051bf88b4095ee1f2451c2a9d43f53ae2,yes,curvefi,ankreth_swap,,,,0xaa17a236f2badc98ddc0cf999abb47d47fc0a6cf,,0x0000000000000000000000000000000000000000,0xe95a203b1a91a908f9b9ce46459d101078c2c3cb,,,,,,,0x6d10ed2cf043e6fcf51a0e7b4c2af3fa06695707 -Regular,alusd,alusd,0x43b4fdfd4ff969587185cdb6f0bd875c5fc83f8c,yes,curvefi,alusd,,,,0x43b4fdfd4ff969587185cdb6f0bd875c5fc83f8c,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9582c4adacb3bce56fea3e590f05c3ca2fb9c477 -Factory V1 Plain,alETH,alETH+ETH,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,yes,curvefi,aleth,100,4000000,4000000,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x0100546f2cd4c9d97f798ffc9755e47865ff7ee6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x12dcd9e8d1577b5e4f066d8e7d404404ef045342 -Factory V2,ALCX/ETH,ALCXETH,0xa498b08ca3c109e4ebc7ff01422b6769eaef16ef,yes,curvefi,alcxeth_swap,400000,26000000,45000000,0x3010c5746833bbd5f244bd42f97f20c45f2bbf25,0xa498b08ca3c109e4ebc7ff01422b6769eaef16ef,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xdbdb4d16eda451d0503b854cf79d55697f90c8df,,,,,,, -Factory V1 Plain,agEUR/ibEUR,ag+ib-EUR,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,yes,curvefi,ag_ibEUR,200,4000000,4000000,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x38039dd47636154273b287f74c432cac83da97e2 -Factory V1 Plain,agEUR,agEUR/sEUR,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,yes,curvefi,agEURsEUR,200,4000000,4000000,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,aave,aave,0xdebf20617708857ebe4f679508e7b7863a8a8eee,yes,curvefi,aave_swap,,,,0xfd2a8fa60abd58efe3eee34dd494cd491dc14900,,0x028171bca77440897b824ca71d1c56cac55b68a3,0xbcca60bb61934080951369a648fb03df4f96263c,0x3ed3b47dd13ec9a98b44e6204a523e766b225811,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xd662908ada2ea1916b3318327a97eb18ad588b5d -Factory V1 Plain,AAVE Untethered,aUSDC+aDAI,0x6a274de3e2462c7614702474d64d376729831dca,yes,curvefi,aUSDC_aDAI,100,4000000,4000000,0x6a274de3e2462c7614702474d64d376729831dca,0x6a274de3e2462c7614702474d64d376729831dca,0xbcca60bb61934080951369a648fb03df4f96263c,0x028171bca77440897b824ca71d1c56cac55b68a3,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd81370cad41b244b8d2129153997e26ceeab3bef -Factory V1 Plain,Ankr Reward-Earning Staked MATIC,aMATICb,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,yes,curvefi,aMATICb,200,4000000,4000000,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd4a0db2627670a3fc1390f0947ed1ccd29bed28c -Factory V1 Plain,Ankr Reward-Earning Staked ETH,aETHb,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,yes,curvefi,aETHb,100,4000000,4000000,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xd01ef7c0a5d8c432fc2d1a85c66cf2327362e5c6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xdd9b30168aeded944042568bfe16f73ef2b4573e -Factory V1 Meta,SORA XSTUSD,XSTUSD,0x1033812efec8716bbae0c19e5678698d25e26edf,yes,curvefi,XSTUSD,100,4000000,4000000,0x1033812efec8716bbae0c19e5678698d25e26edf,0x1033812efec8716bbae0c19e5678698d25e26edf,0xc7d9c108d4e1dd1484d3e2568d7f74bfd763d356,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc7d9c108d4e1dd1484d3e2568d7f74bfd763d356,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb3d8e2a22a28dc55b26236c45cc1df75e5081ef5 -Factory V1 Meta,xDollar Interverse Money,XIM3CRV,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,yes,curvefi,XIM3CRV,100,4000000,4000000,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xim,XIM,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,yes,curvefi,XIM,100,4000000,4000000,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x63093c86472469f55c4f6c7cbff83ec18cd8a94b -Factory V1 Plain,Stax Frax/Temple xLP + LP,xFraxTplLP,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,yes,stax,Vyper_contract,40,29400000,29400000,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,0xbcb8b7fc9197feda75c101fa69d3211b5a30dcd9,0x6021444f1706f15465bee85463bcc7d7cc17fc03,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x8f162742a7bcdb87eb52d83c687e43356055a68b -Factory V1 Meta,dForce,USX3CRV,0x76264772707c8bc24261516b560cbf3cbe6f7819,yes,curvefi,USX3CRV,100,4000000,4000000,0x76264772707c8bc24261516b560cbf3cbe6f7819,0x76264772707c8bc24261516b560cbf3cbe6f7819,0x0a5e677a6a24b2f1a2bf4f3bffc443231d2fdec8,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0a5e677a6a24b2f1a2bf4f3bffc443231d2fdec8,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,UST-FRAX,UST-FRAX,0x1c65ba665ce39cfe85639227eccf17be2b167058,yes,curvefi,USTFRAX,200,4000000,4000000,0x1c65ba665ce39cfe85639227eccf17be2b167058,0x1c65ba665ce39cfe85639227eccf17be2b167058,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x3084218bd8338a0340c74b658aff2212ab69cab1 -Factory V2,TOKE/ETH,TOKEETH,0xe0e970a99bc4f53804d8145bebbc7ebc9422ba7f,yes,curvefi,TOKEETH,400000,26000000,45000000,0x7ea4ad8c803653498bf6ac1d2debc04dce8fd2ad,0xe0e970a99bc4f53804d8145bebbc7ebc9422ba7f,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x2e9d63788249371f1dfc918a52f8d799f4a38c94,,,,,,, -Factory V2,STG/USDC,STGUSDC,0x3211c6cbef1429da3d0d58494938299c92ad5860,yes,curvefi,STG_USDC,400000,26000000,45000000,0xdf55670e27be5cde7228dd0a6849181891c9eba1,0x3211c6cbef1429da3d0d58494938299c92ad5860,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Meta,RAMP rUSD,RAMP rUSD,0x8083b047e962ca45b210e28ac755fbda3d773c5b,yes,curvefi,RAMPrUSD,100,4000000,4000000,0x8083b047e962ca45b210e28ac755fbda3d773c5b,0x8083b047e962ca45b210e28ac755fbda3d773c5b,0xcf178a685471927e977a0ea8ee555c11b2aa6b7b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xcf178a685471927e977a0ea8ee555c11b2aa6b7b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xecd04fcf4c1a2b1c300e386a96d0906bc31e22b3 -Factory V1 Meta,QBIT Well,QWell1,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,yes,curvefi,QWell1,100,8400000,8400000,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,QabbalahBit Wellsprings,QBITWELLS,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,yes,curvefi,QBITWELLS,10,18000000,18000000,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,PWRD Metapool,PWRD3CRV,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,yes,curvefi,PWRD3CRV,200,4000000,4000000,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x17f18b0bc46dafb1772d88897a8f8782bf3285e8 -Factory V1 Meta,PWRD Metapool,PWRD,0xbcb91e689114b9cc865ad7871845c95241df4105,yes,curvefi,PWRD,200,4000000,4000000,0xbcb91e689114b9cc865ad7871845c95241df4105,0xbcb91e689114b9cc865ad7871845c95241df4105,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb07d00e0ee9b1b2eb9f1b483924155af7af0c8fa -Factory V1 Meta,Orkan,ORK,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,yes,curvefi,ORK,100,4000000,4000000,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,0xe1406825186d63980fd6e2ec61888f7b91c4bae4,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xe1406825186d63980fd6e2ec61888f7b91c4bae4,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6, -Factory V1 Plain,OPEN MATIC,OPEN MATIC,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,yes,curvefi,OPEN_MATIC,100,4000000,4000000,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,0x69e8b9528cabda89fe846c67675b5d73d463a916,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,MIM-UST,MIM-UST,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,yes,curvefi,MIM_UST,200,4000000,4000000,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xb518f5e3242393d4ec792bd3f44946a3b98d0e48 -Factory V1 Plain,JPYC/ibJPY,JPYC+ibJPY,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,yes,curvefi,JPYC_ibJPY,200,4000000,4000000,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,0x2370f9d504c7a6e775bf6e14b3f12846b594cd53,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,FEI Metapool,FEI3CRV,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,yes,fei_protocol,Fei3Crv,10,4000000,4000000,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xdc69d4cb5b86388fff0b51885677e258883534ae -Factory V1 Plain,Fei PCV 1,FEIPCV-1,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,yes,curvefi,FEIPCV_1,1000,4000000,4000000,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,0x683923db55fead99a79fa01a27eec3cb19679cc3,0x028171bca77440897b824ca71d1c56cac55b68a3,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Neutrino EUR,EURN/EURT,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,yes,curvefi,EURN_EURT,200,4000000,4000000,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,0x9fcf418b971134625cdf38448b949c8640971671,0xc581b735a1688071a1746c968e0798d642ede491,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd9277b0d007464eff133622ec0d42081c93cef02 -Factory V1 Plain,Sharedstake ETH/vETH2,ETH/vETH2,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,yes,curvefi,ETH_vETH2,100,4000000,4000000,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,0x898bad2774eb97cf6b94605677f43b41871410b1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,ELONX POOL,ELONXSWAP,0x8ed10e4e307822b969bcdaffd49095235f6f892b,yes,curvefi,ELONXSWAP,10,4000000,4000000,0x8ed10e4e307822b969bcdaffd49095235f6f892b,0x8ed10e4e307822b969bcdaffd49095235f6f892b,0x815b4ce34fac32b951bd26ea85901e3b834204b6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x815b4ce34fac32b951bd26ea85901e3b834204b6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,DSU,DSU+3Crv,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,yes,curvefi,DSU3Crv,200,4000000,4000000,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,DSU,DSU,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,yes,curvefi,DSU,200,4000000,4000000,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x76d96c0522b3f820de53ea8ea98fe8b38b35af3f -Factory V1 Plain,d3pool,D3,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,yes,curvefi,D3,200,4000000,4000000,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,0x853d955acef822db058eb8505911ed77f175b99e,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x0000000000000000000000000000000000000000,,,,,0x16c2bee6f55dab7f494dba643ff52ef2d47fba36 -Factory V1 Meta,BTCpx,BTCpx,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,yes,curvefi,BTCpx,200,4000000,4000000,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,0x9c32185b81766a051e08de671207b34466dd1021,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x9c32185b81766a051e08de671207b34466dd1021,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x517616c02c4286daa20e5841cad084039f2062fc -Factory V1 Meta,AETHV1,AETHV1,0x97aeb34ac6561146dd9ce191efd5634f6465def4,yes,curvefi,AETHV1,10,4000000,4000000,0x97aeb34ac6561146dd9ce191efd5634f6465def4,0x97aeb34ac6561146dd9ce191efd5634f6465def4,0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,3EURpool,3EURpool,0xb9446c4ef5ebe66268da6700d26f96273de3d571,yes,curvefi,3eurpool,200,4000000,4000000,0xb9446c4ef5ebe66268da6700d26f96273de3d571,0xb9446c4ef5ebe66268da6700d26f96273de3d571,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0xc581b735a1688071a1746c968e0798d642ede491,0xdb25f211ab05b1c97d595516f45794528a807ad8,0x0000000000000000000000000000000000000000,,,,,0x1e212e054d74ed136256fc5a5dddb4867c6e003f -Factory V1 Meta,DYDX-3CRV,3DYDX,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,yes,curvefi,3DYDX,100,4000000,4000000,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,cvxCRV,2CRV,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,yes,curvefi,2CRV,10,15000000,15000000,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,0xd533a949740bb3306d119cc777fa900ba034cd52,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,17PctCryptoDiversifiedDollar,17PctCypt,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,yes,curvefi,17PctCypt,10,4000000,4000000,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,17PctCryptoDiversifiedDollar,17PctCypt,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,yes,curvefi,17PctCypt,10,4000000,4000000,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, diff --git a/seeds/dex/trades/_schema.yml b/seeds/dex/trades/_schema.yml deleted file mode 100644 index 5542398b7a4..00000000000 --- a/seeds/dex/trades/_schema.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 - -seeds: - - name: dex_trades_seed - config: - column_types: - tx_hash: varbinary - token_bought_address: varbinary - token_sold_address: varbinary - token_bought_amount: double - token_sold_amount: double - block_date: timestamp diff --git a/seeds/dex/trades/dex_trades_seed.csv b/seeds/dex/trades/dex_trades_seed.csv deleted file mode 100644 index 1ad1878fbb3..00000000000 --- a/seeds/dex/trades/dex_trades_seed.csv +++ /dev/null @@ -1,541 +0,0 @@ -blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_bought_amount,token_sold_address,token_sold_amount -avalanche_c,pharaoh,1,2023-12-27,0xba5d58703f53313a5d46bc2f14043735580123c66817558adfee943fe5fb5e49,19,0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7,50008753,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,50000000 -ethereum,kyberswap,elastic_2,2023-01-09,0xa6d744fdbe93ed48ad6d8d3d3b86715e7a5bab9d95a970b56f9a40cbde38fc5a,413,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,10.3359399189,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,18256.893542 -ethereum,maverick,1,2023-03-10,0x0da5b35106718de658279fc109cc593cf5d81de829e77a6cea01566f3bf7def6,130,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15035.242634,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,14628.522982718923 -ethereum,uniswap,1,2022-08-10,0xc5d051f200779582390fe36838263f346e3f9c13731f6d186f12bd72e1223501,164,0x6b175474e89094c44da98b954eedeac495271d0f,114.525972456783,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.062801179402571 -ethereum,uniswap,1,2022-08-10,0x6a6aaf4e55c3f7a070b1b2bb955c8a072bd7f3a00db898bb6ad9c35ff1d0bd36,58,0x23b608675a2b2fb1890d3abbd85c5775c51691d5,0.00485937701376674,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0941477783366224 -ethereum,uniswap,1,2022-08-10,0x73e6503108c7774fad6f297303553153bb074d7a8abea64e67c23025dbd9cdd1,259,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1604.708387,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.9605157 -ethereum,uniswap,1,2022-08-10,0x085c1de4ae885aced9e145292fe1e7619ad707df91db2a47046e6394f0a2ab14,39,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.45503069565416,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2500 -ethereum,uniswap,1,2022-08-09,0xcb3958bb94b8d1d8ba8960e4c76e90f4f60446311f9ad595f7768077084f41b3,126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.205795017804108,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,0.325960741989667 -ethereum,uniswap,1,2022-08-10,0x0995c3e2ae836c9d1c2648c9bbbdc06710294c933faed35a7cf5fe84295324c6,274,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00130012577707246,0x3d1ba9be9f66b8ee101911bc36d3fb562eac2244,3418.726 -ethereum,uniswap,2,2022-08-14,0x906bf116aa38282ea12a0a55fccdd9684d4904c0ddb5bff8c1a6e4e1bf791eb2,17,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,300.357175,0x6b175474e89094c44da98b954eedeac495271d0f,301.348892417344 -ethereum,uniswap,2,2022-08-14,0x644857941ede03358cbb28793d925e374184d07faa62cba22b1ca974035c06ee,161,0x6b175474e89094c44da98b954eedeac495271d0f,149.606421160013,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150 -ethereum,uniswap,2,2022-08-14,0x51b191c8c620b1dc5867f1c0e1c3b2c4acb20009a7e29a8540c0ed94f678c350,194,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,1980.88020260497,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.13345856353334 -ethereum,uniswap,2,2022-08-14,0x77bdb8bff66248595b99851084a3a921db653ba2fb2a775ac7f0614cf4bddab5,23,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.13666561702156,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,683.8 -ethereum,uniswap,2,2022-08-14,0xb00a6f017198bbbcc4d2d390326cec87301e08880e1e1e0d6877b28b906a61d5,33,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.9695767307707,0x6b175474e89094c44da98b954eedeac495271d0f,15531.4453730142 -ethereum,uniswap,3,2022-09-28,0x021a4ea590baee1e6bec5ecdb3b03cb67a4efaac67ac764f97ac3b152fe1ad10,8,0xae78736cd615f374d3085123a210448e74fc6393,0.490796462724159,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.510288592522475 -ethereum,uniswap,3,2022-09-28,0x566b4dd208a3af70b3b80e9352e35f263db73ec29ed6e6385f719773b98d19ce,239,0x3845badade8e6dff049820680d1f14bd3903a5d0,15.6789364011265,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,uniswap,3,2022-09-28,0xdcaf9394fddb84afbf971045661d7e96ed2d01a743ea913abceb20cf4c13452e,2,0xdac17f958d2ee523a2206206994597c13d831ec7,18410.19214,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,13.7977443609023 -ethereum,uniswap,3,2022-09-28,0x4bda429e77bdd899139e00628c8fee2e119db6098745cba00e11efeeb1a99bd2,84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,10747.932591,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,8.06043203550863 -ethereum,uniswap,3,2022-09-28,0x7a98cdef70a5518538457c807d90e69340d709d2a2a87699a869db8be7a66d8f,112,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,46942.648238,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,35.2 -optimism,uniswap,3,2022-09-30,0xf55b5c5ec3bf016046a173f484fe972e32fdcba467d7f9e736aa24c72ba77f77,7,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,100.981029315346,0x7f5c764cbc14f9669b88837ca1490cca17c31607,101 -optimism,uniswap,3,2022-09-30,0x1eb5e4679743665b626af08e0e1cb571982d851e4d9a26ca84763ab4e97b2413,10,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,5.38359932389085,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5.384615 -optimism,uniswap,3,2022-09-30,0x14d51305de3c0224f1474e895d8a75c3f6f31c050a8384fb56352b9ce23dfde5,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,60.46196,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,60.456251 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xd36c783cd53d3bf612ec74f6f41c1044ca99f45dd16673e9152093df6089e2b5,293,0x6b175474e89094c44da98b954eedeac495271d0f,9.18792133,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xcdb69602e9ecf42a2e0375eeaef525f825c06d4d83943f69dfb2aca882c54308,272,0xd533a949740bb3306d119cc777fa900ba034cd52,3381.61805,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2977.71 -ethereum,airswap,swap_v3,2022-08-19,0x00399b5f2fc5535efd528b03f76a871766e5f2d2869799281b3064cd02de14fe,308,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,825.220907,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4863593 -ethereum,airswap,swap_v3,2022-08-25,0x0000e369cb6a2d5908c26d736d0012a3136603f2020acfe8bfd86af4790c8590,213,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.357272738807249,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,600 -ethereum,airswap,swap,2022-09-29,0x30219b51b252348303f297778374024b4afcd6023d522b4442d2304b8f0c154d,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,102122.5869,0xe34c023c0ea9899a8f8e9381437a604908e8b719,103441.57 -ethereum,airswap,swap,2022-09-27,0x1daef042310db224f72cb4c922e1a4ccfa2cbbba8f2757dec38651e95933c6f7,32,0x72b886d09c117654ab7da13a14d603001de0b777,253905.87392903,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,30500 -ethereum,airswap,light,2022-05-25,0x02881571864ff927f2c1e3a65e88ac2cdb63bcc8b075b3b5cac1fabdbff8719a,287,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3901.628058,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.98514 -ethereum,airswap,light,2022-05-31,0x041c1b58767f3428419d4c3e767e4dda0490d5aa2459902955f9bca530739bc8,175,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.02477942922041,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2000 -ethereum,airswap,light_v0,2021-03-19,0xc418c91e3ac55dd29d4471f12fd5d425df952d2bbe70d5f7157f6a15c49b4c6f,272,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.11323417,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3816.26867 -ethereum,airswap,light_v0,2021-03-19,0xc204cbd09767db2c912a7185dcda818b267bc6119a6ba7fc9a16d5ebca654068,109,0xdac17f958d2ee523a2206206994597c13d831ec7,909.704519,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4985 -ethereum,curve,Regular,2022-09-03,0x0fc5910c411bdbbf1827fa278c22b3351892e8931e7c3db02e817bc052a489fc,11,0xdac17f958d2ee523a2206206994597c13d831ec7,45324225240,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.929896609E+019 -ethereum,curve,Regular,2022-09-04,0x4ca41e0f0700f357111aaae66a85b0def53b00a6ca02145e6e6ec00775621df5,537,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,7.93070096583753E+022,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,7.78328E+022 -ethereum,curve,Factory V1 Meta,2022-09-23,0x182e11e393388ea9365b1e566bfc66754bbdfb7f83344f6e1e4f05cde97ea66b,11,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,4.29398385988372E+020,0xa693b19d2931d498c5b318df961919bb4aee87a5,10259457322 -ethereum,curve,Factory V1 Plain,2022-09-19,0xe31b85292938984c61b4a9d8d2eb781f20bfa22c068a380a67fce94ef8ec450c,60,0xd533a949740bb3306d119cc777fa900ba034cd52,7.42474512665705E+020,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,7.74567425737246E+020 -ethereum,curve,Factory V2,2022-09-03,0x02fe546401dd52e07528532ed1ac4ed1d4f525118836f71a4014282fb6a06839,4,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,5.13561732187354E+022,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,33333000000 -ethereum,clipper,1,2021-07-14,0x8d246ba8ec0775e6b7cff03010b858e22a9295d24b7fd08a8f705bbd3d333dab,301,0xdac17f958d2ee523a2206206994597c13d831ec7,165.266255,0x0000000000000000000000000000000000000000,0.082849 -ethereum,clipper,2,2022-08-05,0xdae0599fd4db92ae4ba8c69bb8f0955c8d6e33bef1b5dd91f7b42aff95d1bffb,90,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00905195942930063 -ethereum,clipper,3,2022-10-05,0x2a85b64c9b39ad26cd62b72c984fb31c6c53e2eab317d79a34787a10d9883942,222,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.110806219109147 -ethereum,sushiswap,1,2021-09-15,0x7074892627f2bccfbf394ec8760cade1d3d672289b46fbc7c5e590db31c16c95,3,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,3017.55093634511,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,11.7781782389008 -ethereum,sushiswap,1,2021-11-22,0x3d68c5df7a7a82ad679592d00eced1461447b487d1c54d89f0fa46ddc21bac84,7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.46565784374643,0xd291e7a03283640fdc51b121ac401383a46cc623,1121.3436686981 -ethereum,sushiswap,1,2021-11-27,0x0de46956f3fbdf6c9613f087f063daf62b7be67aeb8f092704d98feb1d2a0911,8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.309451321421892,0xf422b6f41a14fb74b21cb95a8d82971a3b527117,16109.3510951687 -ethereum,sushiswap,1,2021-08-01,0x901305aef9025df025b948065b89dd2f6350c09d9cd4eb957b3b69d4a487b1eb,8,0x25f8087ead173b73d6e8b84329989a8eea16cf73,3588.33361827192,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.18922607574853 -ethereum,swapr,1,2022-09-03,0xc58ae666672615f121747458b336004b5bac48823a6135163d3b23afeab4d632,333,0x6b175474e89094c44da98b954eedeac495271d0f,68.407407578415861544,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0441670997926941 -ethereum,swapr,1,2022-05-04,0x53f3c3e596923e6c74988dffb69b52fe90d5bc191237dd87bd926de934b2f310,181,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.278764086245774,0x6b175474e89094c44da98b954eedeac495271d0f,781.537753648362 -ethereum,defiswap,1,2020-09-10,0xe1fa03eaadc2050042d0a70799776d4788a22732ba4914c80644629cd6312e65,196,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0.03502,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0001 -ethereum,defiswap,1,2022-02-03,0x6f280443c97a4f5f75d041ae8c378af7bd88aeb9df893019aac2e8f13f7c04ed,48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,852.379306321183,0xc00e94cb662c3520282e6f5717214004a7f26888,3674.21052715029 -ethereum,dfx,0.5,2022-10-14,0x8e51157eb06f0dcd4a546db83a8c4419ea6438e8d5f049c9a7ac71c6a03ca179,604,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,101.003244,0x2c537e5624e4af88a7ae4060c022609376c8d0eb,1891.282964 -ethereum,dfx,0.5,2022-10-13,0xa655e13b90fdfb4e590422308ebd51c45e4c213c466c2c765e307207936b6375,19,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,39601.170618,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,38720 -arbitrum,zigzag,1,2022-10-16,0x65149408bc88fdf9b690269f7e57dcaf8d5577af412ccd3b6d8cb13a9e5c11f8,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,266374900,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,266363162 -arbitrum,zigzag,1,2022-10-26,0xc36027e8ccac981439cae6471824c08fad2831a94d18245052f60ec68e95fd1e,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,214452952992,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,1060036291 -arbitrum,zigzag,1,2022-10-01,0x0a18966c178428cdedcec56823ceea18cd25b30f3da0051185af6633ace725b7,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,114719722544,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,86485492800931211274 -bnb,pancake,2,2022-10-02,0x621c3436f07ab0c7228b50618195a1d9c19c62268d51f556fe3e9595c21cb2c6,140,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,4.128690371495819498,0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82,0.9182291278576036 -bnb,pancake,2,2022-10-06,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,46,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,29.176228605313702756,0xaef0d72a118ce24fee3cd1d43d383897d05b4e99,266659.423741634885391646 -ethereum,dodo,1,2020-09-01,0x784afe0cd29926a86e15390c6d894eccfd3fcfd3d170cbb69a1a9aeb9f98e5af,72,0xc00e94cb662c3520282e6f5717214004a7f26888,24.88,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,6557.285496 -ethereum,dodo,1,2021-01-30,0x616b4f09c34a3e598b00373a961e1daa4c2decc7a5315192f2927a68e767a4d6,100,0xc00e94cb662c3520282e6f5717214004a7f26888,22.84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,7017.918 -ethereum,dodo,2_dvm,2022-11-01,0xd22f88ac18cec7940d5d238140e8cd70e1fb77f01524e92cdba9002831405e53,48,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,823.892847,0x4bdcb66b968060d9390c1d12bd29734496205581,15050.127244362413 -ethereum,dodo,2_dsp,2022-11-01,0x217a50ce8c056b6f240ca0fee82a7aea76fde5845238717d4d2fe36a1d885fe3,18,0x6b175474e89094c44da98b954eedeac495271d0f,16786.79842759679,0xdac17f958d2ee523a2206206994597c13d831ec7,16789.191028 -bnb,dodo,1,2022-01-02,0x520b133f33a11da463ef652c2204e89056384f3755aa17ed3bd8692a708e2daf,9,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,15000,0xe9e7cea3dedca5984780bafc599bd69add087d56,14999.373075377125 -bnb,dodo,1,2021-12-08,0x5a3656a980ff18ea51639ec55b909e06c05447296ad41234cce2a6504e7e3cd1,555,0xe9e7cea3dedca5984780bafc599bd69add087d56,6499.127981081047,0x55d398326f99059ff775485246999027b3197955,6493.88249982855 -bnb,dodo,2_dvm,2022-10-27,0x1b313c2256a8fe451949711d34dfadf49b33e6e49fa95564394c764f1fa10a96,138,0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623,16153.846153846154,0xb5102cee1528ce2c760893034a4603663495fd72,804.7505008944851 -bnb,dodo,2_dsp,2022-01-28,0x0adbde9ea212758528e872e94cd4056e77aae00d64a270df9cd10adef1a43883,185,0x2c30b4cb4b3001afa5b8c43c5a7ca548067562a0,282.61385074773614,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,282.357407285385 -bnb,dodo,2_dpp,2022-12-18,0x5425c84608187bfd827a076b30760402987276fdcc5168b4b9cce30ac531752b,15,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.4460644851563125,0xe9e7cea3dedca5984780bafc599bd69add087d56,350.17016117475544 -bnb,dodo,2_dpp,2022-12-18,0x8a13bf64a7c9b5db044f3771b6a654e822c37434f55d1e41d8b5a7808221835b,40,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.8608918052876906,0x55d398326f99059ff775485246999027b3197955,451.18801668480404 -arbitrum,dodo,1,2023-01-07,0x9ed6106825fc5d53665ee6376f3501b4b54a554c19290afc4d51e06ff8bbb6ce,16,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,50.014816,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,50 -arbitrum,dodo,1,2023-01-07,0xd6415725b7c78e43935708dad578870363486a806d38ef8a0e9a8f6ab4cfe475,14,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,101.859893,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,101.809143 -arbitrum,dodo,2_dvm,2023-10-09,0x8c4a3f95cd30e91aca5ec95cab93543af728256c299110b14a29438e79f62e72,15,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.108417,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.002622797526025669 -arbitrum,dodo,2_dsp,2023-01-07,0x75bf7f2fbb62b1d543e1e8b3e3641f85fffcdedeb4e3eeaedd0fc9461563be79,12,0x641441c631e2f909700d2f41fd87f0aa6a6b4edb,1211.1861381535175,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1211.102662 -arbitrum,dodo,2_dpp,2023-02-23,0x55c6277132f498dbaf7ad4df56380f0838f14121491b4b2954d7af42f3024cc0,23,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.2164701922659768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,360.422629 -optimism,dodo,2_dvm,2022-08-18,0x64557e632ccb92997101e6fe03d93b926f54488d82fa3c1a1ff28f32e2ccdef6,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.491844,0x4200000000000000000000000000000000000006,0.000338547426391858 -ethereum,bancor,1,2021-07-19,0x00c78e18b2ff2f7da30364f421d7b32e026523d64d37617a8c5acfa94f8850a1,235,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,306.394926082191,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.45 -ethereum,bancor,1,2022-01-01,0xe3a7a76069d1109e9d4d13236ee746ce1cf5dbf9dcf430fde8b257f19a98162e,196,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,1991.31923775975,0xb056c38f6b7dc4064367403e26424cd2c60655e1,10000 -ethereum,bancor,1,2022-08-10,0xc470cc109b2fd341d5e155ef0a5b270d31e46320fec423616bfbf8e08bde1d89,87,0x4a220e6096b25eadb88358cb44068a3248254675,4.21008338989588,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,879.148341427923 -ethereum,carbon_defi,1,2023-04-24,0xd4d6be5f2e8475ff67c7f718edfdb8b1de9bef225e7f82f8b3867f07da3d6032,396,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,60.764468,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.032 -ethereum,carbon_defi,1,2023-06-10,0x11646f9854a79d49fc4f8005fb542b6afd6ac2ae3b444a89ca3a57b6e325f8a1,214,0x6b175474e89094c44da98b954eedeac495271d0f,18803.048784261206,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10.553764 -ethereum,carbon_defi,1,2023-07-04,0x28b9ffba580de047e5b3025e28b6dc6e9b4a0091dc7e90e87a3b9df1a72e1fee,424,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,731.6246907423406,0x48fb253446873234f2febbf9bdeaa72d9d387f94,1402.8429106481624 -ethereum,hashflow,1,2022-10-11,0x32cf4a6b5cc8f98c1e581c4c645c4e8a5509b524798789d9ba4d32e169c367f5,16,0xdac17f958d2ee523a2206206994597c13d831ec7,17911.421153,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,22400 -ethereum,hashflow,1,2022-10-11,0xe4e4a36fba54da2aae2fd17bd783d448636f2a439f5ee8c65a6bd6b1a0015812,60,0x0000000000000000000000000000000000000000,1.3681194955173488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1744.214319 -ethereum,mstable,feederpool,2021-05-05,0x44d84fd2602b8cc6c8872f7c1ec1354b7265a8dde35c3099310298322f948ce8,393,0x4fabb145d64652a948d72533023f6e7a623c7c53,207366.593542953125079686,0x6b175474e89094c44da98b954eedeac495271d0f,207343.38432717659586164 -ethereum,mstable,feederpool,2021-07-12,0x40a185a0e023931c764c9e0c367494ec0491ac1c83c104e52c0f80ec5eecf227,39,0x6b175474e89094c44da98b954eedeac495271d0f,14152.444151925737407389,0x4fabb145d64652a948d72533023f6e7a623c7c53,14170.8094 -ethereum,mstable,masset,2022-08-11,0x251247062570a31c65605c5c022d0b6375c0e0a7f78ff846ed0194e6eb89d75f,48,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,1.48620013,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,1.49136326 -ethereum,mstable,masset,2022-11-10,0x2a25f982c167701bb14fedab38e36db11b80e0df84415224a9b9358810abe5e9,20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,97891.598255842626470327,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,98029.682483 -avalanche_c,sushiswap,1,2022-02-25,0x82fd5a6540dce85d1e21f32f1c3caed449899345ef111576a17c2954fe0effc6,33,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,1379.137017,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1373.864622043913288097 -avalanche_c,sushiswap,1,2022-05-12,0x73e34eb697701cff1cd6f045855584d6cc7a8e7923d8e2f494a0ffba034500c8,116,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.210377021755772039,0x50b7545627a5162f82a992c33b87adc75187b218,0.0002241 -gnosis,sushiswap,1,2021-11-08,0x5071403049381a8e0a9b1859d933a4367ac95db0549597d615f11d8d6989766b,103,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,138.845996,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,138.937452952743346786 -gnosis,sushiswap,1,2022-06-28,0x73b7fc9d26042dc2552a014c6a8e138dedaabb3150721f538404a109f5efd031,9,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,4.529829473199357637,0xe2e73a1c69ecf83f464efce6a5be353a37ca09b2,0.650820213174998578 -arbitrum,sushiswap,1,2023-01-10,0xafa7fc216c42ebc38df30ee06c935d34454603b51c8f30110b09ba0c96a5cf2b,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.988441,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,2 -arbitrum,sushiswap,1,2023-01-10,0x6ae9f8365f8e9ce4b6fa5e957558f798eb79552370533b525d2cfcc49ac895d6,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.003433,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0000026 -arbitrum,sushiswap,1,2023-01-09,0x98032f79d4f04087984d9a29bf0cda82b2ab80afaf7c53172a9886d5cad4a66e,12,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.892222,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0006764 -avalanche_c,fraxswap,1,2022-07-16,0xa3b0a0511b2454fc1120234bee1c8d55b389fd18aeef5c7facf901ebbeb22347,11,0x214db107654ff987ad859f34125307783fc8e387,200.0,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1094.4001103042203 -avalanche_c,fraxswap,1,2022-08-19,0x92ffa2b7400b5ce9f50561358c9704a93b4c60133a2cd12b22393cdcf0cf4d5f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1026.1252914116867,0x214db107654ff987ad859f34125307783fc8e387,167.62804286355896 -avalanche_c,fraxswap,1,2022-07-13,0xf57b7cfe775b4f21f74ed2c08d56eaceb84a1e9191f3c7d5097128b08ab7444b,9,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,500.0,0x214db107654ff987ad859f34125307783fc8e387,103.83628889808516 -avalanche_c,fraxswap,1,2022-10-15,0xe29a3bc86f7903618c9716037437256d8cb3bd37368f356e19c825d505b21616,4,0x214db107654ff987ad859f34125307783fc8e387,167.2033272898448,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0 -avalanche_c,fraxswap,1,2022-09-05,0xc0d3943d0fb158b7fa111a20ae64e81044161e6a1cabf819f64252980f81af3f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1330.6397885530023,0x214db107654ff987ad859f34125307783fc8e387,215.93386151058667 -avalanche_c,fraxswap,1,2022-06-16,0x17cc2def9d5869f604789dc0593af77b68fc6b51dd98e0dacf9f50d744d5d534,86,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,228.50208340351497 -avalanche_c,fraxswap,1,2022-06-16,0xc7973b9adc9c15c4b536ac3682344420b8e8e541e801e0f451a52f685a10d002,65,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,229.28068237184743 -avalanche_c,fraxswap,1,2022-09-05,0x608542c07700429cf096204f91a193341e40ae4059b7940d7eb5ad9f051836b8,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1052.0376768716717,0x214db107654ff987ad859f34125307783fc8e387,169.6623770097244 -avalanche_c,hashflow,1,2022-09-23,0xb64cabc1fc83f1922a9bf1c315a6bf7e81530dc33b68be78871e61329884078a,25,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1003.182468,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,57.71187672458048 -avalanche_c,hashflow,1,2022-08-29,0x3b837a7861992717ee9843e7b46bf414255eb77583f4eb5409d2945ee0295597,38,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,11.276858734485854208,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,200 -avalanche_c,hashflow,1,2023-01-12,0xab0c51f0fc13c3bd30194e0fabf1827fd9ae164ffc2ca8aab83c0443a2e63abd,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,431.856634,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,432.07267 -avalanche_c,curve,2,2022-11-03,0x5fac517fbfdd744ff858c15babc0998cbc7c2d0c4aa064f60bd17b2a3a53d670,17,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,24396.061353,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,24408.524998416038829515 -avalanche_c,curve,2,2022-06-04,0x36158219ea84887d26aa64deb11ca2ccc3e1576e5464b044edbd446aa277beda,20,0xc7198437980c041c805a1edcba50c1ce5db95118,149.228657,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,149.167743 -avalanche_c,curve,2,2022-11-02,0xcd7a6bd17655e6d54bc4a21927082f27b1f499c9b791bad783084c19b95ce4e1,168,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,647.498626,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,647.585569 -avalanche_c,platypus_finance,1,2022-05-01,0xc9cf002b6422ef0a617284537683372c66b92e84e0b28fde8a0cc04a4eef519e,23,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,4994.308573,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,4994.787342 -avalanche_c,platypus_finance,1,2022-05-03,0x75dc4b71defb76d9888aabbd8771e8b38ee48fb41d43cc3ecae6fb73b3911c84,20,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,21009.805223,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,21012.319756 -avalanche_c,platypus_finance,1,2022-05-03,0x93bd89cf8a4d602d5cbc32446e5fb4bf9ed170f5ac72c2dc23294c8f5e1a8a05,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1199719.208427,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1200000.0 -avalanche_c,platypus_finance,1,2022-05-04,0x306818d93ecd131c5e5e40a2293150db9484555d539a45e0512cc28a7041ebfb,45,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,220.0206736954061,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,220.0 -avalanche_c,platypus_finance,1,2022-05-04,0x9e982c5f221d878d5c30291f3b1af3bb4896a0d15ecc305ff4d4e63936ed191e,64,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,728.2722352237333,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,728.227031 -avalanche_c,platypus_finance,1,2022-05-05,0xd1d05ff16c664884875cf17ded334008fe1005b15103460c76a8979a791d3cc1,13,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,148967.354389,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,149000.0 -avalanche_c,platypus_finance,1,2022-05-05,0x138e58cdee3bd8ccb09bfaaffe340f84c29688d4a239dab4b94d12e49434d5a9,82,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,783.164086,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,783.2365264361647 -avalanche_c,platypus_finance,1,2022-05-06,0x48596630bee61338ac47f100539d58fd783215ceb624d888249818b9c7eade5f,59,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,741.001182,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,741.1522427698851 -avalanche_c,platypus_finance,1,2022-05-07,0x2954327b19870057c067530f4f951014163795afe991f5cd2657649ab8151a88,74,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1034.338934536323,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1034.310287 -avalanche_c,platypus_finance,1,2022-05-07,0x9ac609a5cf6084d4152e835fcf790f45dbdb363bda79afc62ac3dfc5235eea7d,17,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,121.298967,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,121.300365 -avalanche_c,platypus_finance,1,2022-05-07,0x2a3a710fa23fe85c0153a701167ac8265327e08c4e527e9de3d0727099934f48,8,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,2069.426263,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,2069.863443 -avalanche_c,platypus_finance,1,2022-05-09,0xa268e678b9167e2afbff624d6c473e1de4e69e00bbbf15cff30fec754965161e,80,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,504890.913495,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,505000.0 -avalanche_c,platypus_finance,1,2022-05-09,0x2747e96f2e6198cbaad9a34257faae3d1282401ec89c4d8e2b8980830417f7e4,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,23608.565879,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,23614.60193014132 -avalanche_c,platypus_finance,1,2022-05-09,0x4587aca823136fd6dbe9ecf9a992074062c49d13ee38fc65a7f547e5647c40d6,34,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,340.040453,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,340.06469425688414 -avalanche_c,platypus_finance,1,2022-05-09,0x916f2f560b3c13f31aa4139608b067e00ad042bd3bdb197a683e68d77c80aab0,12,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,25017.262697,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,25023.099847 -avalanche_c,platypus_finance,1,2022-05-09,0xd1e3319eb5ab9cae929d2a18e79facb10309f84a8e38073596df084745c2f2f1,113,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,289498.193117,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,289560.3059171445 -avalanche_c,platypus_finance,1,2022-05-09,0x7fa1daa95f0c034752cb3719b62e7ae3d372945db163bda78e26cdc3a18192c3,6,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7500.368177,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,7500.0 -avalanche_c,platypus_finance,1,2022-05-09,0x363e3d084f738cb84cc809ca6ec9738bc23ceb606ca13148fe210b0bb098115b,22,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,78918.176151,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,78938.0 -avalanche_c,platypus_finance,1,2022-05-09,0x70aa1e9d8f0698b0b4b118b5296d67a3fb15f380a8ca105ba3c433655ae93aa6,28,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,44548.677919,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,44561.0 -avalanche_c,platypus_finance,1,2022-05-10,0x1bbe2f7773c059f500de2cd6acdee778d04b8c8185d4c69bb20db835feda9b76,24,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1505.784684,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1506.0280424835855 -arbitrum,gmx,1,2022-11-14,0x4c4f46a92fba43bfcb232568d7a31b4af63e91ab332b36549f2cc8929057bf11,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.20892017,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,259 -arbitrum,gmx,1,2022-11-15,0xe8c98bea3bf37ebb632c2f59e8e8db88f06456c12a1a9b1f6217f896820928b8,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0023785668,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,3 -avalanche_c,gmx,1,2022-11-14,0x4fee39a37c1adab2e185876f06395fe3a0ed53d2d2d10e82ef7b40dbdb70714e,16,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,562.108981,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.46443571715597298 -avalanche_c,gmx,1,2022-11-15,0x834202fb166e9cd8056bb1b7109c3a63e636244b5306080b3405d0321c0731c4,11,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,260.988536,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,20 -polygon,uniswap,3,2022-11-14,0x065d1410e74a0f973feb1b2b81030c4e48787fc9e540700d6018dfb5f96bfcf0,2,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,240.508119698835042944,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,219.13821 -polygon,uniswap,3,2022-11-14,0x17e206610661e39deac15979717f6658035a531aa66c78ffcdc6e8d02a4dd4a9,60,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,230.890774,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.0140068 -polygon,uniswap,3,2022-11-05,0x2f2f34207e9b8b521e87e40aaf452c0ddb57c580b5174a615cc286366efca79d,33,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1005.454808280348265291,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1212.644735 -polygon,dodo,1,2023-01-07,0xa4d5eb370faea67353f0a86d7942acc80ac927fdc3c058487436fb322ac7b7d1,183,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,46.625415,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,46.644294 -polygon,dodo,1,2023-01-07,0x1aba3621500f42af37f31950137b0776485ae1530a958fc05a68c39f414280c2,115,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,891.937912,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,892.289088 -polygon,dodo,2_dvm,2023-01-07,0x828df8835147ed71b60e504127e409ffeb3bf7495dfec75a712c117f07d28f56,405,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.00005737,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.2059550547960038 -polygon,dodo,2_dpp,2023-01-07,0x76f9dbda9492d12478525d27fce7963152bb9c5f3f7dafc2c5e9a8effd03f2d8,39,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,750,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,933.2716544242052 -avalanche_c,woofi,1,2022-11-08,0xae581cf151eacf9877f628e722514674f3f13b19abcce4e82808a2350526134a,25,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,33.765119660094401667,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,565.826462 -avalanche_c,woofi,1,2022-05-10,0x4ab2a9385bda8de7df444e6f342c12dd70ad6300fdf3a351d80f46e119a7811c,122,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,126322.419554,0x50b7545627a5162f82a992c33b87adc75187b218,4.00000076 -avalanche_c,woofi,1,2022-07-28,0xa1bcc8d3ec39c8694c2be30f5489091fe1bfe8ffd570841e55e00bef6ee3359c,6,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,0.197657,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.008699999999999999 -avalanche_c,woofi,1,2022-09-07,0xf48e0d36d6a51f82edecb408b20c1aa275fddc71f18d4118e734e3116c19d359,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2.714758315778573433,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,49.97 -bnb,woofi,1,2021-12-21,0xf3d0410543a546cf714ecbbe97caf9b6dc89f0caf627a44dc3b24eb8717b8c56,66,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,1.572913555840424953,0x55d398326f99059ff775485246999027b3197955,75491.688052189872040799 -bnb,woofi,1,2021-12-17,0xec25e2af89961b2ca54b69312a2cee1f545786e96d5287dec9fd12b2aba8df63,37,0x55d398326f99059ff775485246999027b3197955,12083.822061807061265726,0x2170ed0880ac9a755fd29b2688956bd959f933f8,3.097519332673643182 -bnb,woofi,2,2022-08-21,0x37420ded51ff96116d39301b4e4e75f3c713423b94319eb4fe3f29e31d3bd6cb,83,0x55d398326f99059ff775485246999027b3197955,14.977390055532270669,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050325032466406425 -bnb,iziswap,1,2022-11-21,0x07e7b79ed2e7958c7744accc12ce8c732d82c6d62ce586365d276a72ecca8ba4,97,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.91980872085136,0x55d398326f99059ff775485246999027b3197955,1000.0 -bnb,iziswap,1,2022-11-21,0x8c1e8cb4f4766ef9a775f040c576dd88a3a6993c8754c35f1e6faf4e1aa65718,197,0x55d398326f99059ff775485246999027b3197955,1016.3951483032495,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,iziswap,1,2022-11-21,0x57bbc0040e8db0bdf9dd38b1e888dfc124159a4ef4c0368426f89238db23d8de,264,0x55d398326f99059ff775485246999027b3197955,1019.5850870781412,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,fraxswap,1,2022-11-19,0x36f1b32a8115300906f74d3ddf2051d62a226045611a251d84a8a32395ead967,439,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,0.251513613449462899,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.001 -bnb,fraxswap,1,2022-10-26,0xe09dd465622225d25f5555214eb8e8e6e74d4a4fa5f6ac51b35f520150011f24,50,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,4.663005228579123357,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018388924302368166 -ethereum,fraxswap,1,2022-07-25,0x36ea8f58b542aed8c3f35ce396da15054e04a522efb25281c8ed0080a081083a,200,0x853d955acef822db058eb8505911ed77f175b99e,6321.896197119067345439,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,1000 -ethereum,fraxswap,1,2022-08-21,0x39714256ccf47a89e297b726e8de9eec9446949a224d5e2215fd4dc87c0c8969,406,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,2000.000000000000121322,0x853d955acef822db058eb8505911ed77f175b99e,13014.187897251069443882 -polygon,fraxswap,1,2022-11-01,0xda324654d84c5f9b67f6947575878eb25f8789153151295d08ee2738847a0750,135,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,0.008797854552852608,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.01 -polygon,fraxswap,1,2022-11-01,0x9f4b2967cd1cc64490f2765b6d95c70f8d6df37eaa7f2b441e141b2a41f7a793,188,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.987969423771805753,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,1.759300000000000086 -bnb,biswap,1,2022-11-22,0x66a602998a3585037eb498c103b009a4face2faf93ea57dfb1a44d1fa4a06dad,163,0xe9e7cea3dedca5984780bafc599bd69add087d56,33.830622552179025128,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2128.2655 -bnb,biswap,1,2022-11-22,0x9050a1e2f7aa392e39195b5b22382d595e94104b72699655b198c498f82bbfe6,153,0xe9e7cea3dedca5984780bafc599bd69add087d56,26.146488901376957832,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,1643.319 -bnb,biswap,1,2022-11-22,0xe2efd633720bd29322da7e39857e98b3c9904a1c55f9b3995441160983e06296,119,0xe9e7cea3dedca5984780bafc599bd69add087d56,43.898605549510836795,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2756.0281 -bnb,biswap,1,2022-11-22,0x0b9ba3ee4a0b3f4db2baba70be527f5a50aea77423cd921106ec9f0ac8dcf169,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018248512111984361,0xe9e7cea3dedca5984780bafc599bd69add087d56,4.837104443141354752 -bnb,biswap,1,2022-11-22,0xaf03946d9b98e5d6e841bb50555208801e48d773a8dfdf1ecc203d943c27c603,350,0x2170ed0880ac9a755fd29b2688956bd959f933f8,6.247796965743473757,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.43849 -bnb,nomiswap,1,2022-12-01,0x3b8f8370f2535fb7cd8b68a63d7bdb722cb5452b79a231122a9f5dd246be6657,295,0xe9e7cea3dedca5984780bafc599bd69add087d56,3.4406837272665105,0x60322971a672b81bcce5947706d22c19daecf6fb,8.610658726450525 -bnb,nomiswap,1,2022-12-01,0x2cb3567eada4e2f6350c44a7765516d381641db036cc664e3a64d15b303ac7ad,2503,0x60322971a672b81bcce5947706d22c19daecf6fb,85.62389404482691,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.191528536984286 -bnb,nomiswap,1,2022-11-30,0x9e3dfbd555adc7bd60844ca970bf6fd8ca6a24981b0c05925660f0f5ee8b4a5e,655,0x60322971a672b81bcce5947706d22c19daecf6fb,90.47037459371727,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.79453094032464 -bnb,nomiswap,1,2022-11-30,0xe504096106135022b0d0917e863c8255cc5f8777bcaa70ee38f342be6f74c56d,338,0x60322971a672b81bcce5947706d22c19daecf6fb,103.77456768715207,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.45117236156748 -bnb,nomiswap,1,2022-12-02,0xad22e5ec3486fe0b950510bb500c37baf27f4f50bf5f0fbd6c4ccfc777e2ad15,249,0xe9e7cea3dedca5984780bafc599bd69add087d56,44.399389252049524,0x60322971a672b81bcce5947706d22c19daecf6fb,114.46999990155486 -bnb,babyswap,1,2022-11-22,0x0f4e9d9f303d6d87cd95d85f2dbe48f3cc8e7e8240952e4bd485ef0f81503617,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050410279081245794,0x55d398326f99059ff775485246999027b3197955,13.346254023941418542 -bnb,babyswap,1,2022-11-22,0x6ba016ab36bd67d7459b4fbaead32e82a57a8930564355d3bfbd3ec7f876d559,244,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004192030247987002,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,40.39956 -bnb,babyswap,1,2022-11-22,0x0e6d9777fc533bc403df3ebe1b82b5399870f1301e45c90427b9664438efcc31,353,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,1738.090365320173641069,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.18104693184 -bnb,babyswap,1,2022-11-30,0x279dfbce106e55f05a20331ed088e1fd2e1ff68c05ab089cca473f3dbbaef9fe,283,0x55d398326f99059ff775485246999027b3197955,1654.599686417120624489,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,60085.854 -avalanche_c,trader_joe,1,2022-11-08,0x1f90838d916d2edf881ba53d8abfe5b557ff2a8d23d7ed692cc0687a71a9cd53,15,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,342510510,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,21741961515422881640 -avalanche_c,trader_joe,1,2022-11-09,0x82cd2992be090d073b82406e3f3882c43eeb4ac7e7ce26839290c6e028b2ac3b,130,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,30093631,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2354558311510002477 -optimism,velodrome,1,2022-12-02,0x8c4641cbf23a94be095e73660510f7e265d76601b414ea6f838f651609741c87,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,338.699889,0x4200000000000000000000000000000000000042,311 -optimism,velodrome,1,2022-12-02,0x52e9f5710d07923e189104e31b1c98f569a9fa038b41b67043e9b991fcf7a95f,5,0x7f5c764cbc14f9669b88837ca1490cca17c31607,896.242313,0x4200000000000000000000000000000000000042,823.875076815262 -bnb,mdex,1,2022-12-01,0xcd3cb070ee7f3524bbe091d15cc228676301ba87c8f11101293dd704c7442aa3,633,0xe9e7cea3dedca5984780bafc599bd69add087d56,41.22399442847115,0xa7f552078dcc247c2684336020c03648500c6d9f,1149.6338751257592 -bnb,mdex,1,2022-12-01,0x5558ee58a68414ca812e6861e4f1743fd4670669ab67bdd6cfde72f2185bf098,169,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050624007144351967,0xe9e7cea3dedca5984780bafc599bd69add087d56,15.035196244738406 -bnb,mdex,1,2022-12-01,0xfdd41f1fbd608530bd96c19fdfc713d861ec483d9c71976df981a4f61fd28140,376,0x55d398326f99059ff775485246999027b3197955,3.854107292216319,0x3ee2200efb3400fabb9aacf31297cbdd1d435d47,12.23 -bnb,mdex,1,2022-12-01,0x7d8f360ee960583133bbde85314d0257703feabf7a87518e5dc7b3a83de5c001,436,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1,0x55d398326f99059ff775485246999027b3197955,29.673387128124077 -bnb,mdex,1,2022-12-01,0xc2e17fc3812f583f5cd2ac1622939828181600b4a65bc1a30449050e3955522c,341,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.60004338983994,0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd,5.179156079954205 -bnb,ellipsis_finance,1,2022-06-12,0x264e4b912aa4d9a5338fc3803687229fd8fd6fb3cdc3008c97060d10a959f62a,437,0x1075bea848451a13fd6f696b5d0fda52743e6439,2.291714623466671663,0x2170ed0880ac9a755fd29b2688956bd959f933f8,2 -bnb,ellipsis_finance,1,2022-11-10,0x9c962e3862c0912117ad770035c492a2a4bca4e72f38baa12165853f85960992,458,0xe9e7cea3dedca5984780bafc599bd69add087d56,78.965818265473976219,0x7c869b5a294b1314e985283d01c702b62224a05f,78.401313456087213685 -bnb,ellipsis_finance,1,2022-05-22,0x85e68cfc48c650f4d7cfb9ce98b09c89e0952b3f7b7b2111ead705a72bd4cb38,349,0xe9e7cea3dedca5984780bafc599bd69add087d56,299.616793572788036088,0xdcecf0664c33321ceca2effce701e710a2d28a3f,314.194676267749213306 -bnb,wombat,1,2022-10-27,0xb228abac355fbc699ab0b134f48a495929069310aa32132ca5cdb679a81b6128,111,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,173.56579848904872,0xe9e7cea3dedca5984780bafc599bd69add087d56,173.79087768722817 -bnb,wombat,1,2022-10-27,0x7a6f269ba6a5826e1ac578ec0bb3272429912ab38a8e2533706415cad6cf0634,128,0x1bdd3cf7f79cfb8edbb955f20ad99211551ba275,0.001925010584091731,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.002 -bnb,wombat,1,2022-10-27,0x478de9749640e880e80485550c62a63072fa946c791f3cf00b60e417c34cb4dd,138,0xe9e7cea3dedca5984780bafc599bd69add087d56,100.08972348327656,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,100.1 -bnb,hashflow,1,2022-10-10,0xf7ae714fd7b9c2c5a6f5d1cda6f17b90c3a8585e1d3a2c8efa14826b15f9b9b7,19,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.784257887632644608,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,762 -bnb,hashflow,1,2022-10-10,0x7add80a388efcf38752d98b48a63844b6c3f45a4df9305268180bd8c2cc6d4b0,207,0xe9e7cea3dedca5984780bafc599bd69add087d56,110.063488,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.4 -bnb,hashflow,1,2023-01-14,0x082830ea432a172e3bab91f690c27830e3fe812aa0cd6613fd62f91be7586fc1,137,0xb3999f658c0391d94a37f7ff328f3fec942bcadc,2.73,0x44ec807ce2f4a6f2737a92e985f318d035883e47,2.73 -bnb,apeswap,1,2022-12-01,0xe4a7e72a504a6a295a75d3f264d0c94b441e89c813b9526f94f660f547c5c835,714,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00120638837141382,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.36 -bnb,apeswap,1,2022-12-01,0x23340f2b63579368aeec4765d4dcda837ea706755e9de56f9ee240877d73d5fe,31,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.003268023598876883,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.9757957073529867 -bnb,apeswap,1,2022-12-01,0xec62c204ea228732d789965d8cbadf18282c0d8fa172623bef62a440ad119827,218,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.013379338141206242,0x55d398326f99059ff775485246999027b3197955,4 -bnb,apeswap,1,2022-12-01,0x293589cdd2503ed9c667d7dd22ddbb65aaaf66490b197c47cb479a4dd84ef023,335,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01336201242131474,0xe9e7cea3dedca5984780bafc599bd69add087d56,4 -bnb,apeswap,1,2022-12-01,0x8a751f20be9f46c85fa9ed18490f9da5c7907b5fa5ffa93b2aec182778f24cda,442,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.7425522170245182,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.005817836045524239 -polygon,apeswap,1,2022-11-22,0x2f15cd0b477cc45c55924b7aa461a516e2b2f369a3806b55042e3c0e5b0877da,157,0x46d502fac9aea7c5bc7b13c8ec9d02378c33d36f,2248,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,57.048500720012677391 -polygon,apeswap,1,2022-11-22,0x3d56ef902984864931d8feb5f1e91cf896e2d1d535a4ada3968942f2f1c500fa,10,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,699.067345412356780819,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.530171159999668219 -polygon,apeswap,1,2022-11-22,0x740f53bcc15bb3a96c1435003e837677f8bc8f0d94d0c3ff6c33f45443cb746b,134,0xc004e2318722ea2b15499d6375905d75ee5390b8,22416.52442997,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21 -polygon,apeswap,1,2022-11-22,0x194d468d6c62a717806b5ee4b71131e9f834d724cbd4309a525fac5d9a320f64,185,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.99267586734214204,0x5d47baba0d66083c52009271faf3f50dcc01023c,12.616273336186259757 -polygon,apeswap,1,2022-11-22,0xe1d484c6453e2f701a0b246764d4c6dac27d99588b4df3ba6caee50f72f21429,290,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,33,0xc004e2318722ea2b15499d6375905d75ee5390b8,35313.94136592 -fantom,curve,2,2023-01-26,0x2c82d58a52e773e79abe81c8f04ab506f9ddded1b17d7f87ff40861a10681e4b,27,0x04068da6c83afcfa0e13ba15a6696662335d5b75,194.438488,0xdc301622e621166bd8e82f2ca0a26c13ad0be355,191.5377712986513 -fantom,curve,2,2023-01-26,0x7e20e5a8d85bf205cfe3dd7cb6a6668c82707f0ab7f7581a5d78dffbe1dac8ee,10,0x04068da6c83afcfa0e13ba15a6696662335d5b75,93.168043,0xfb98b335551a418cd0737375a2ea0ded62ea213b,93.91500221736457 -fantom,spookyswap,1,2023-01-22,0x0d8a71bb5d5d881dae96a62603d51aed6029fcb1f400eb90afd33fdacbd1b3fb,3,0x049d68029688eabf473097a2fc38ef61633a3c7a,94.447206,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,248.3197518 -fantom,spookyswap,1,2023-01-22,0xc408dfc2a9be6f97e60b89fa8c5711e796e73c55c62f74d22ad9ae54667b6565,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,590,0x049d68029688eabf473097a2fc38ef61633a3c7a,225.486545 -optimism,beethoven_x,2,2023-01-22,0x3be1a0fb7f1ef890351fe4a575a095e6e996625e01af1e4b43893d00ac35bbb6,1,0x4200000000000000000000000000000000000042,56.0439404452666,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.261625 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,508,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,0.000034701468348079,0x4200000000000000000000000000000000000042,0.000111535848130678 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,512,0x4200000000000000000000000000000000000042,1.38960477071438,0x4200000000000000000000000000000000000006,0.00195330326074912 -optimism,beethoven_x,2,2023-01-21,0xbc0015bacc88ed681b13ee19ef14c3ec74184cb8fe4e96128313f2ab797c283e,8,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0716016140629488,0x4200000000000000000000000000000000000006,0.0789256223359575 -optimism,beethoven_x,2,2023-01-22,0x0d0042f1f3726a6958ef3a491482e734d559cf07ed24d1e19b65541d893fe75d,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,96.65967,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0539912808878705 -optimism,rubicon,1,2023-01-23,0x9b881a99a4d952ce35e69e938aeb6fa433e9b6aa609338a6451d61231fadd565,106,0x4200000000000000000000000000000000000006,0.0687643728672874,0x7f5c764cbc14f9669b88837ca1490cca17c31607,112.189533 -optimism,rubicon,1,2023-01-24,0x0808ab44a5ba3c04cd3411216feb1cf7f6d2408f6173ae0d2c533f1ee9ec7317,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.997583,0x4200000000000000000000000000000000000042,5.01949758830531 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.817783,0x4200000000000000000000000000000000000042,4.02459708671438 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,15,0x4200000000000000000000000000000000000006,0.00538901884526646,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.816901 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,22,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,8.670616,0x4200000000000000000000000000000000000006,0.00538847955865886 -fantom,sushiswap,1,2023-01-20,0xed537c0e7ebd3d654bd8e5cf8ceec84a4fdc0483eee59802c890d0fcfcf1060c,166,0x321162cd933e2be498cd2267a90534a804051b11,0.00756091,0x74b23882a30290451a17c44f4f05243b6b58c76d,0.1022693 -fantom,sushiswap,1,2023-01-20,0xd0e069b94d62579995037ae2180a1e88811012383cfc0927092680f87e0ed2d3,29,0x049d68029688eabf473097a2fc38ef61633a3c7a,70.205678,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,230 -arbitrum,arbswap,1,2022-12-17,0x0e24e2a7c61821707441ac12f8e8d4ce38ff829f94b86a70ede3cfd9af52511a,19,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.001234459141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.458842 -arbitrum,arbswap,1,2022-12-17,0x3390d9871240fc2a540dc5d0dec18cbcc6991c936330c5fbe7513c6a0a990ec0,5,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,19.230924,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,18.86197078 -arbitrum,arbswap,1,2022-12-18,0xea091ea1def1416b81a3903b1c266bd53cb137f8c52d9fab883811440ac9e474,4,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01899934141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,23.112426 -arbitrum,balancer,2,2022-10-25,0x8cc9955e4368d88ef78a0c6dc8505da3e7272446e70947126286780daa454f84,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,430.19906,0x6694340fc020c5e6b96567843da2df01b2ce1eb6,900 -ethereum,balancer,1,2020-08-02,0xac80f41cdfc018bfdc6d37f881fe3def377aa9fd3d0b794c3d7e7ee1e6501ce4,99,0x6b175474e89094c44da98b954eedeac495271d0f,25.34746680728174,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0658152885716226 -ethereum,balancer,2,2022-05-06,0xb6bba47d296682416f32fb4264cfe3fe2994284183081beafc8c36cc1e76b1f2,3,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.755554997108105,0xba100000625a3754423978a60c9317c58a424e3d,758.7236799507402 -gnosis,balancer,2,2023-01-20,0x70a7380d73bd8dc96aa2a2ec338f6a660df54e797bab507b5ee04c27e6433844,20,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2.811201702694398,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,2.811563 -optimism,balancer,2,2023-01-14,0xbcd5b16b59067a5c9dc98fe5fcf0c2ec8b0554249bdb54db423d805d2e20265c,33,0x4200000000000000000000000000000000000006,0.020434661575615593,0x7f5c764cbc14f9669b88837ca1490cca17c31607,31.094857 -polygon,balancer,2,2022-02-05,0x24685d2daebdf4ade873366e33863e0c9b349e974270d786fc773cf5bc8554ec,254,0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39,6.60916362154873,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.03965 -fantom,spartacus_exchange,1,2023-01-23,0x6768ad671c7da39ee9d75b37ad58b77c72982aa7bf21d1dfb030fa7546ad58d9,13,0x04068da6c83afcfa0e13ba15a6696662335d5b75,13273.768685,0x049d68029688eabf473097a2fc38ef61633a3c7a,13276.71125 -fantom,spartacus_exchange,1,2023-01-22,0xc0a1b20ead30eb1f7c730afcf9399945ce84b5bcdcb9dabf3bcfa3411499d1b5,6,0x04068da6c83afcfa0e13ba15a6696662335d5b75,25.332101,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,67 -fantom,equalizer,1,2023-01-22,0xca3fce464272fae479cc0056caa15e882e3fde396a5da883871ba9b8ff1fbbf3,43,0x5cc61a78f164885776aa610fb0fe1257df78e59b,129.98998930892284,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1.049684 -fantom,equalizer,1,2023-01-22,0xf72faa8d02ad82c498e2bef2eafa3071d4e531b8245be1defc963f314ab96a24,48,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.017632,0x04068da6c83afcfa0e13ba15a6696662335d5b75,9.019453 -fantom,wigoswap,1,2023-01-22,0xecaff2b9aeedca150c05e79e27474e25a2c40722ae2b70b3b90be163f2a9f8b9,15,0x04068da6c83afcfa0e13ba15a6696662335d5b75,87.454047,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,220 -fantom,wigoswap,1,2023-01-22,0x3a5eaeb4b331a05e24406c955f2ee89c0da7b37365b6049de224aa08d9b4e38b,17,0x1e4f97b9f9f913c46f1632781732927b9019c68b,33.77612953779118,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,96.8125 -fantom,spiritswap,1,2023-01-23,0x2d2c2b842b1a0118bbfb931715b21ee17d3ae0a0128e6402b3cfa4645e3a69c4,57,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,48.501746184182,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,19.985 -fantom,spiritswap,1,2023-01-23,0xf02b0492697aa787cac842b91a47a4f5582386822e7a493dbf278718175ccfbd,4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,282.525324,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,700 -optimism,synthetix,1,2023-01-29,0x8ae97667b2e098ab76d6fc3e89a62fca7a736894fba7a740a3636f9c64cc8077,7,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,20,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,33025.1881585549 -optimism,synthetix,1,2023-01-30,0x81f4b75e257aae89b5ac2a79764260131f9db2ff4551cc837e3f758df444e12e,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,67.814135331492,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.04161141 -optimism,synthetix,1,2023-01-30,0x26fdd3b38051f353979603153113ba2600290e6e9a4455c4f32a933b52c2e91d,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.154574875193123,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.0001 -optimism,synthetix,1,2023-01-30,0xe32cc68ee496955f2aee625067b304cea1f066ac5f23cb864ddc1466636e5cff,7,0xfbc4198702e81ae77c06d58f81b629bdf36f0a71,0.128596335180203,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.1396 -optimism,synthetix,1,2023-01-30,0x298ec0451a7380c6c5f470414248c896ac473996ecd5cc1b2abfcc542770b536,7,0xc5db22719a06418028a40a9b5e9a7c02959d0d08,437.636404718796,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,3080.5826 -optimism,curve,1,2022-12-02,0x80b901d362d34109fc5ab3d2501390a9a0e54e69388e5eea84469ce77a3b9302,9,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,73.0574092246244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,72.2707437014961 -optimism,curve,1,2022-12-01,0x9b98ca1a43c0b4c7709285f8e591a605905dc35e8f52234410628de6ebf1d365,42,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.034302,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1.03049060456676 -optimism,curve,1,2023-01-31,0x77fadc1a0ea6ab065fc3190a24f4f67ff35f22dc824f003cf0656d79089669c4,25,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.435843637716131,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.429232709933431 -optimism,curve,1,2023-01-30,0xa0b8591ffcbc148432fd3c603616dce7877f6097d93716d726ef6dae9a6bcd8f,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0218734943841243,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0215416887092783 -optimism,curve,1,2023-01-30,0xfca84e35c36c4d6fe0f40eac69c229e9bf4fa3a12f7b8267ae9609aff58a65af,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,45.648713,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,45.6283342082489 -optimism,curve,1,2023-01-30,0x76780eb40844a0fc1cbaa16a30d8098d55bec4d774cfee1a7baed9c8dd4f6a92,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0799001414721287,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0786881443367727 -optimism,curve,1,2023-01-30,0x72f451639593a62c0ec916d20de947b11d15f2ae5075452ddf08d68f77b54e87,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0998759919306217,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0983609378552637 -optimism,curve,1,2023-01-31,0xa70d826c5b3b5afbe9585e15f1e58c75cbcc1359784d48de48b9d025270985d9,70,0x7f5c764cbc14f9669b88837ca1490cca17c31607,32.037157,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,32.036492 -optimism,curve,1,2023-01-31,0x2a4ff09a9d921f631e4e14a61fc6f7fd7997691ed40acac415c0988fe93f9f96,39,0x7f5c764cbc14f9669b88837ca1490cca17c31607,16.006302,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,16.006705 -optimism,curve,1,2023-01-30,0xf14d489c5cb44772b1082e7589781fac60d0f559fa2999844b2cbb782d434443,75,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.00233,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,8.00249590591778 -optimism,curve,1,2023-01-30,0x2615836b17d0b9a467f187a84c497233ee3a815a0ad341d70b63e28d2c6c98df,159,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.283656,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,128.286430267516 -optimism,curve,1,2023-01-30,0x4569f2998b9f00eea1c372d82a36fa32b7aa7ca9fba7378bf63756614e2733e9,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,255.877053,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,255.914112076597 -optimism,zipswap,1,2022-04-06,0xbdad190b91443e3b18e07e213b2b8ebc2725e188571f0f43eb8962d8f885c932,3,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3867.857072,0x4200000000000000000000000000000000000006,1.15 -optimism,zipswap,1,2022-02-05,0x111251020222b3efbd71693d4d5ef3f3e3ff9598f023152877f47ad87f2b60b8,5,0x4200000000000000000000000000000000000006,1.44270162397699,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,4293.85850577198 -optimism,zipswap,1,2022-02-12,0x25b8b0f3465265e895c92353e967bd934d86ae6a0ce9a5a7bf45d967868a1582,9,0x4200000000000000000000000000000000000006,1.00158875384491,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2961.21850646285 -optimism,zipswap,1,2022-03-06,0xbc6ec237edd3883acd524defb5f1d8635df3610eb195828b4679b3dc9e6e6b0e,4,0x4200000000000000000000000000000000000006,1.89814384488954,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4924.180007 -optimism,zipswap,1,2022-03-01,0xb285876c166ca5a4614c28cb838a1067cf12b8a0f5217fe1021427f7d4571548,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5587.487912,0x4200000000000000000000000000000000000006,1.9 -avalanche_c,trader_joe,2,2023-02-17,0x51c5b4dabbcedf31ab4379eeb163dd8a72db4ed827655e6c4019a84d59e45c0b,55,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477 -avalanche_c,trader_joe,2,2023-02-17,0x582496cdacfa83cbb32bdc9e6a7a0baecb31e43ca798728500e783b95c2b6673,14,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868 -polygon,quickswap,3,2023-02-17,0x8d1bffc369ccde33fff07cb5edaf58bdc4a63217e5e234d8fe1f3908779610ae,105,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,200,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,293.856899 -polygon,quickswap,3,2023-02-17,0x5761ecf943d9ccdec872484d42d45c28f72b3a3760c6da97b573c8a7e2e38af4,192,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,147.193696,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,quickswap,2,2022-10-17,0x89588a0facfd37f5e6787bab1a534d4ceb94b0c630a177397150cd580151f2e0,179,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,13.420646,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,13.425263636998267 -polygon,quickswap,2,2022-10-14,0x7fb5168d79b8a249784a62e266d4d805e98ae81af2b69c54dc23060ce4ceaae9,216,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,494.340474,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.37290529608348755 -polygon,quickswap,2,2022-06-25,0xe9da7260f20bbb8b5d135c217c073758b5474e2973ac9540b4ee919d0219650b,288,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,183.901282,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,300 -fantom,beethoven_x,1,2023-02-01,0xb353ea3753bd43f79452a99a5f0b4ba79848eb535406006b2a325e2610cc20c7,10,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,10.79068245,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,10.9191819 -fantom,beethoven_x,1,2023-02-01,0x406e3b0bfa2b7289eb7a9c37a87f55d1c1f7b5dc1c90cf638ccf6bc06b73f4f0,43,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,154.8200719,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,156.6637268 -fantom,beethoven_x,1,2023-02-01,0x9ed054600393f6ddfd5e9e271ceacc419ea1ea5c5069032f3bccf6e0bbd1057c,9,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,4.419601846,0x04068da6c83afcfa0e13ba15a6696662335d5b75,4.417833 -fantom,beethoven_x,1,2023-02-01,0x3ad542dcee62446ad4cea36a4606c1dfecdc654d83113509ca43c958737b97b9,44,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,1999.4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1042.833542 -fantom,beethoven_x,1,2023-02-01,0xf73a2c4c02eb03d263d39f5b640229bb9b23f8242a5389b37a5c8aedc428b17e,56,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,84.55916959,0xc5e2b037d30a390e62180970b3aa4e91868764cd,550.564336 -ethereum,pancakeswap,2,2023-01-12,0x176632fa77a3e328cf904f814888f77ee97c57cde0a014d1dedcab92accfc959,247,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1936898575,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,274.694256 -ethereum,pancakeswap,2,2023-01-09,0xc1f7f412ac0636e914b2e55e21ddbb79f313be2d7ca4c5e084db223787c52441,325,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,39.768234,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.03053786191 -ethereum,pancakeswap,2,2022-12-01,0x70cb37c8e8a566b850d1475606b3c4b64adf51cca9bb9e32645344b93c99c8f9,17,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.607205635,0xdac17f958d2ee523a2206206994597c13d831ec7,9627.386202 -ethereum,pancakeswap,2,2022-12-13,0x0ba7e4e4a630729028258782ac77f81444de749ffe9fbc526295c29979a9cca1,49,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.479851125,0xdac17f958d2ee523a2206206994597c13d831ec7,1948.798982 -ethereum,pancakeswap,2,2022-12-13,0xc66b844b06fdfcc8376915467463328e5bd189335f03249670473a247e38741a,300,0xdac17f958d2ee523a2206206994597c13d831ec7,187.010126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1401299988 -arbitrum,integral,size,2022-07-14,0x16f35abbffc8b50bc985d2db02abeaf337e16de587b85eb3c834b70bf6e9cfc7,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01900877891605384,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,21.123742 -arbitrum,integral,size,2022-10-23,0xb705d45124099b8e98e9dd7205392dbda8a34d40e3ad47a875239cf38c9a81fe,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000653038267454768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.855361 -arbitrum,integral,size,2022-10-29,0x769e31ebc00639ce2a44b9885070473d619ed35ddcdbcff789852067457e2785,4,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.03,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000018904849893185 -arbitrum,integral,size,2022-11-10,0x3d18f064963df7166dd579e65c775b4d4e8260923041e4393615fc032977a9a4,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.642262,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0005 -arbitrum,integral,size,2023-01-27,0xbf780d189520cb325350d3c94423f1a46c42387f765f35c4dcca7e1e8bdff06e,10,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0012454151038722 -arbitrum,integral,size,2023-03-05,0x8bda9d3016f4e7768181325032442549348c251f2e161852bce177b00143c2ed,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00291816855303509,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.579709 -ethereum,integral,size,2022-03-21,0xae7bb04cb102287ca2b832010121bd8fdac1396359a428f50ce992a5c6ebc212,153,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005070744820370721,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,14.77512 -ethereum,integral,size,2022-07-03,0x5534f8443a6a08c6c279e5fbaaaa39ffe5a698de2be8240827dc732320585761,244,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.24908715433948347,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,265.219513 -ethereum,integral,size,2023-01-06,0x822561900aada258035a1645eb34c866b9d02638ada3fd9f5dc4739d18d680c1,80,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,89483.765933,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,72 -ethereum,integral,size,2023-01-30,0xe51df574230b4e1002606a3cd73d511e85003e19413c6d1db52f3d6b788935a0,158,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,126.18176269960297,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,199977.007606 -ethereum,integral,size,2023-02-14,0x7c01d8115c86b110ed4673068feed8febe7d26115d56779161c0d5c1e2a01ae3,170,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,45.174995872186976,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,69953.020039 -ethereum,integral,size,2023-03-05,0x93a28f10be5e758a9ac05722595c8a2d8c5900a107ad097e47027eeea57ebe61,91,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,43.29894547565704,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,68000 -optimism,sushiswap,trident-cpp,2023-02-25,0x556acdec157c9c7beaecbd3013a988e5ed13e4d4293231274bd0055687b6d3fe,19,0x4200000000000000000000000000000000000042,1.2359258546421,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.834014 -optimism,sushiswap,trident-cpp,2023-02-25,0x49135f081d16041793f3f4c52c91085382c9a8cc2e7bfd6b4d90306ff624f954,22,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.318854,0x4200000000000000000000000000000000000042,4.48285194988426 -optimism,sushiswap,trident-cpp,2023-02-25,0xfec6e552c846e1a321fe73dffd923ba15312066d0b91b3dd1d7d7d169a86e789,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.791866,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1.839893 -optimism,sushiswap,trident-sp,2022-10-10,0x83c508e618dc0994dfbb7cdc027e5959fab51038dce9d561c75179e09f86f47e,17,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,7.60726339281,0x7f5c764cbc14f9669b88837ca1490cca17c31607,7.749999 -optimism,sushiswap,trident-sp,2022-10-04,0x62e0ddfab23a326c20b192d2532493ab8457a2ae8eddcc935bf467d88d6fe745,17,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,3.999622063709,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4.000001 -bnb,pancakeswap,mmpool,2023-03-03,0x42b4dcf040808d2a22928744c0a78aaf9873b30b027a638ae93b1983295cf0fc,306,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.944209657,0x55d398326f99059ff775485246999027b3197955,2012.077814 -bnb,pancakeswap,mmpool,2023-03-03,0x653194cae17a57e6b1ceddb9e7fcd917435094460772c16d9bf0a97b60a4b9b2,94,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3451386066,0x55d398326f99059ff775485246999027b3197955,100 -bnb,pancakeswap,mmpool,2023-03-03,0x590e143ba81d3aca84b3e84391f7943af2aedbbb3fb600eea4b455cc974c519a,390,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3394153334,0x55d398326f99059ff775485246999027b3197955,98.37106848 -bnb,pancakeswap,mmpool,2023-03-03,0x0d9e5f3bb655fdab7281e376d5baba55867a8f16bfe53f2c6dfa8e88885b5570,255,0x55d398326f99059ff775485246999027b3197955,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.5188477066 -bnb,pancakeswap,mmpool,2023-03-03,0x077b09506b8b3cf5fa5737ff1b5f865f5cb846eca7325abe08092b043f9f6fcd,107,0xe9e7cea3dedca5984780bafc599bd69add087d56,53,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.183167344 -ethereum,pancakeswap,mmpool,2023-03-09,0x4a4e3ed3c8048ae97d776d90a8e6c7a20036aefb98846dd5158a01dd29b0996d,231,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,71.119581,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0462709406 -ethereum,pancakeswap,mmpool,2023-03-09,0x19cc99f99a1c638bf5a45711a50f3c185cedd9ad4e1cbda231895c6d0f365abf,277,0xdac17f958d2ee523a2206206994597c13d831ec7,1283.292428,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.8356205947 -ethereum,pancakeswap,mmpool,2023-03-09,0x7d97ffaff69d26a44b1f0347675fe839cb72c886b46e94becec16a381a6e6c8e,349,0x4fabb145d64652a948d72533023f6e7a623c7c53,38.18645876,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02489566923 -ethereum,pancakeswap,mmpool,2023-03-09,0xe8fceccb966aa76d8b847f0b067f987b233313699d53a8dfd95f3e4869b9c621,500,0x4fabb145d64652a948d72533023f6e7a623c7c53,39.47962744,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02571453404 -ethereum,pancakeswap,mmpool,2023-03-09,0x06e1b3740c4a4d8fa60f7ddf6defb706f1ec64c563b697f0695647921b2b8c89,288,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1535.457365,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1 -bnb,pancakeswap,stableswap,2022-09-30,0xc8e562b51d15bc7dcc461f0d8f674c368cb17d5b338c825fc2021da4e070635d,42,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,44.96591897,0xe9e7cea3dedca5984780bafc599bd69add087d56,45 -bnb,pancakeswap,stableswap,2023-02-23,0x926a9463e8b1c94b267f8996c0aa3d25f0650b16d84cdf22c5c8cbd175b35a92,95,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,29.52590913,0xe9e7cea3dedca5984780bafc599bd69add087d56,29.53001786 -bnb,pancakeswap,stableswap,2023-02-23,0x2748ee8746f8ef3188f256312489cf877f819725c7b8526eabd2588437bced33,318,0xe9e7cea3dedca5984780bafc599bd69add087d56,17.00035523,0x55d398326f99059ff775485246999027b3197955,17 -bnb,pancakeswap,stableswap,2023-02-23,0xac4971ca3d750e40957720b9ed7d312de71868da236c5775f6cee8dc6a14bf30,226,0x55d398326f99059ff775485246999027b3197955,1000.607238,0xe9e7cea3dedca5984780bafc599bd69add087d56,1000.83 -bnb,pancakeswap,stableswap,2023-02-23,0xe71f7a8812df06a0b36b88a2746d1d48ad39bb5bcb61c23572aeea04df96cc50,181,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,2499.859114,0x55d398326f99059ff775485246999027b3197955,2500 -arbitrum,clipper,1,2022-12-15,0x4e8b282691842b546869ff2ffb6e33e515d609bced31527bc049f92e6e00c831,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.490002,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,5.49 -arbitrum,clipper,1,2022-12-15,0x3c63866b0a50ef829cf1431b90116fad82e44823228dfa57a6fb43eda552304b,2,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.474675,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0083 -arbitrum,clipper,1,2023-02-15,0x52f3a5f2a8217e8bba343841bd379c076cfa06c1279d64ee43f891fc4aaedebc,3,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,114.4518751,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,114.56 -arbitrum,clipper,1,2022-12-17,0x283d63748d6390489926c305d148468c5308c75e58ea120fb0329a345b9c9447,22,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.04963966456,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,58.644399 -arbitrum,clipper,1,2023-02-15,0x967ac0e5c10a6d27df334f4a33a35c25a3cbf58e7ee48d6a58b97467a16496cc,58,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.1052072797,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.00736108 -optimism,curve,1,2022-11-12,0xcea94039dcf9ce75c6081f0ed26fc3f6b9193036f901372b002edc67f960a711,9,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.001012,0x2e3d870790dc77a83dd1d18184acc7439a53f475,0.00101798869624305 -optimism,curve,1,2022-05-20,0xf0a56683a1f5c98f734da37362976c19ced781ea2ca1168c203d605593689308,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,112.531495,0x7f5c764cbc14f9669b88837ca1490cca17c31607,106.894737 -optimism,curve,1,2022-05-16,0x1daf9b0e5b53bbb0cf2cc82fc56ea4b03e4b04642326c4c34ee5034edcc419a0,5,0x2e3d870790dc77a83dd1d18184acc7439a53f475,2028.06638964748,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,2002.456704 -optimism,curve,1,2022-05-11,0x9e35d672d4202923c30f0e65eeaae4b7e922600b2715dacde56a98cef3903062,5,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1002.93221,0x2e3d870790dc77a83dd1d18184acc7439a53f475,1001.2474503025 -optimism,curve,1,2022-05-14,0xa3178cf9778f11a12c896e7967a38ab72b2ca043e2f569dc56e7fe58de6d7995,3,0x2e3d870790dc77a83dd1d18184acc7439a53f475,6057.51457069822,0xfb21b70922b9f6e3c6274bcd6cb1aa8a0fe20b80,30000 -ethereum,verse_dex,1,2023-04-04,0x18c614748464c21582bcd495cc7b733b79c229f704175c1148ce38586315979a,152,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00955734414316444,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,16661.729412 -ethereum,verse_dex,1,2023-04-04,0x8ff523946a9fc2f8fde8d15bab4987afaf68ac5af60112dfde75d784ee833a7c,324,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,1.7744202052689952,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000001 -ethereum,clipper,4,2023-04-06,0x3772f0915d742bc2d40fec51d5be6c0f92e511290fea9212d45561ebae61f7f7,156,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,4134.968625,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.175 -ethereum,clipper,4,2023-04-06,0x844d2221065c96722aeb29ff2a412042c41515ce86bede33615e29357fb76d10,118,0xdac17f958d2ee523a2206206994597c13d831ec7,18956.433604,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10 -ethereum,clipper,4,2023-03-30,0x4e4aa9d5238083c16fab7077782dfafd928cd9fc5fe1946230345a6c06393c29,168,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,6.766262249310329856,0xdac17f958d2ee523a2206206994597c13d831ec7,12000 -ethereum,pancakeswap,3,2023-04-02,0x3a0097fcc23266394c9ec6e5cf1dd667e60717b1f92fbc76a5e5e2aa50a430ba,84,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.001637811713,0xdac17f958d2ee523a2206206994597c13d831ec7,3 -ethereum,pancakeswap,3,2023-04-01,0x942d7e8064aa1925e484ad9e38b25b0eea8620aa2b85a42a47b957bcdc5df18b,175,0xdac17f958d2ee523a2206206994597c13d831ec7,0.980006,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1 -bnb,pancakeswap,3,2023-04-02,0x34e2f3b9224779e88f114b4c4a65f1480e9caa66ff85921f9c3bba825ef51f63,266,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.000003526055978,0x55d398326f99059ff775485246999027b3197955,0.1 -bnb,pancakeswap,3,2023-04-02,0x54ce217448356994969038a892c0e7b5613ae237305a8191a95ff0d034321c52,174,0x55d398326f99059ff775485246999027b3197955,0.1933971381,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.1934275369 -bnb,pancakeswap,3,2023-04-02,0x570f6d65a9f3046b184feb4efea90de552b31e6b06c1a04baf645636a3389ca1,265,0x55d398326f99059ff775485246999027b3197955,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.002954374 -ethereum,kyberswap,elastic,2023-03-18,0x294c98fc947bf25331849d24ecc6dda039c293aa36b5046c88a8e677b1621d78,94,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,25060.144,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,12.515483515 -ethereum,kyberswap,elastic,2023-03-15,0x672f52ebebab645191403cfecb43dbb512100552e669288f4fc81174f9bdf587,104,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15081.44,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,8.03308903 -ethereum,kyberswap,elastic,2023-01-09,0xa508a934395ab577132be907912b0d70c1493730696db951fc39e9b4506b9a96,37,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,5.222238778,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,4.767894198 -bnb,onepunchswap,quick,2023-03-03,0xa74ad784d8b0f673cb7ebe659f46d136a6d4a58bbd6386f3c4cc8a3adb064bdd,273,0x55d398326f99059ff775485246999027b3197955,1099.16920747,0xe9e7cea3dedca5984780bafc599bd69add087d56,1100 -bnb,onepunchswap,normal,2023-01-12,0xa723fca3a321586a38c738a1bc221a4e9bf4f5e7732660ae6ffc9d64024ec92d,448,0x55d398326f99059ff775485246999027b3197955,21.499975900000003,0xe9e7cea3dedca5984780bafc599bd69add087d56,22 -arbitrum,kyberswap,elastic,2023-04-11,0xdf4e944f86454b662499e8326333dce6af1c18f9663d1289c89b5d49a18d5e9f,5,0x912ce59144191c1204e64559fe8253a0e49e6548,579.3333333,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.370589731 -arbitrum,kyberswap,elastic,2023-03-11,0xbfd464a0d559cceebbdd20c42ee8a1054de12c936396adbec4bafad9eba60faa,13,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2468.999762,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,1.723592528 -arbitrum,kyberswap,elastic,2023-03-26,0x070e704ea6da35b05c97e2a2f9ccf01136f9bdf6d411da31206a837d373e58ca,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0029,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.145281 -bnb,sushiswap,1,2021-11-01,0xc66fb80242b7c788c2896b3dc8c611203771be9474d18f85cb2032d594de327c,830,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.07525109648,0x049d68029688eabf473097a2fc38ef61633a3c7a,43.351292 -bnb,sushiswap,1,2021-11-01,0xffc3e47949b600ee61d7b3b7b57da6137ed4c55652da396d02ff3ece60bfdd9b,591,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01789196956,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.541071 -polygon,sushiswap,1,2021-06-16,0xc625dc2c5e923afd8469e9e03233d37eab64d627a4e6f221c8b63efcf276523c,179,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.1131447356,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,191.734491 -polygon,sushiswap,1,2021-06-16,0xa727f3165a6e7533cbeecfbe67e4072f8b9a0eec486a4c9976b25b902a1bd6f0,310,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0008197673253,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.388941988 -arbitrum,arbswap,1,2023-04-20,0x33634f26b1e30f11e9e838aff4d9b80aba590b7e606cd098aaf44dff750453f0,26,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,393.359856,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,393.622497 -arbitrum,arbswap,1,2023-04-20,0x7067cf03ac33918acdfdc6e92baa72116fe9fcf8f80a66f50eadb1622b045749,24,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,301.67528,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,301.87521 -arbitrum,arbswap,1,2023-04-20,0x3f0b0b0a16ade0cde73012628a814ee1115191648bd0d194e85a75c8f9f74267,20,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1225.214854,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1226.048896 -avalanche_c,glacier,2,2023-04-22,0x8e5b51477a54c3de4e5850c09f33958ca357baa676bb7342389030bc4ba3e901,5,0x3712871408a829c5cd4e86da1f4ce727efcd28f6,63.768883740248004859,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.1 -avalanche_c,glacier,3,2023-10-11,0x1751558603dd0b89deff0e55ada181d3491079ef14e47ec44e8441be9958d386,51,0x152b9d0FdC40C096757F570A51E494bd4b943E50,0.00003735,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,1 -bnb,thena,1,2023-01-13,0x5e9dbda2365611fd1a32b5b674aa082008194192ce42764e9ba7cb68e81a770f,205,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2832796564,0xf307910a4c7bbc79691fd374889b36d8531b08e3,3794.420108 -bnb,thena,1,2023-03-20,0xce4925f4437a57ca2c81eaa2d9ffe98d3f057e7814517f06011c61706038ec57,54,0x3e0a7c7db7bb21bda290a80c9811de6d47781671,106017.0695,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2878260858 -bnb,thena,1,2023-01-13,0x9ac1353991d2f9b54d9bbe5bf410f572ca49b2cd55f9b21129d2c34d044869d2,70,0xe9e7cea3dedca5984780bafc599bd69add087d56,248.3024372,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.85 -bnb,thena,1,2023-01-11,0x9bef538535e92fcceeaa0d0e53671a96f99b7f4caf3e5571bce376b376ba1792,86,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.02782935491,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.0001 -bnb,thena,1,2023-01-15,0x19c3e71f0813076f8c101040e915ebf57e518b12a34299ba9d901092ce023b47,93,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.300626579,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.656329907 -bnb,thena,fusion,2023-04-25,0xbb4c30455d3d5e8b69d11dfcfa3bf1bcb77822d9f1d34726cba5a6d09e1e9fa2,409,0x55d398326f99059ff775485246999027b3197955,7009.844541,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,7010.638184 -bnb,thena,fusion,2023-04-21,0xc7fc3cd4454421a2f37db49d965be5ab236419988cce54245da9fa38e301a7b7,64,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.82962897,0x55d398326f99059ff775485246999027b3197955,1553.83144 -bnb,thena,fusion,2023-04-22,0xbce3f03c353621d410f8bb396b157c644a03153699cf2821f6fd042225a37044,87,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.491571503,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.504299198 -bnb,thena,fusion,2023-04-23,0x436ade4d35952187e4a045cfbe9495839b1bcf8b26448f3b67dbbdd54636c831,293,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.27418968,0xad29abb318791d579433d831ed122afeaf29dcfe,971.5572125 -bnb,thena,fusion,2023-04-23,0xc0dda2219f7daa1866b234f324dae21abeebae534e5a63378d3c90b039c5ae71,98,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,7.677802518,0x55d398326f99059ff775485246999027b3197955,2535.952589 -bnb,trader_joe,2,2023-03-22,0xac02d1ccbda4a91fd1536f651b8fb4e5f007c2946895b5b79f75172b7d8ffa65,89,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.272454476,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.4238820505 -bnb,trader_joe,2,2023-03-29,0x13ec4185ea44e8bfc20f697d78cdc143857a4b4e5bb4c38912ffa0a6816b8c34,101,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03494438202,0x55d398326f99059ff775485246999027b3197955,10.94292897 -bnb,trader_joe,2,2023-03-30,0x2def8747ff99350ff0aa9fcbfa71a863ad597f430a99ae8a625263f101be0b8a,67,0xf7de7e8a6bd59ed41a4b5fe50278b3b7f31384df,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2773595262 -bnb,trader_joe,2,2023-03-30,0xf0fbd4b3c90627a03e4d5711ba46cc8d34a9b98e7a9e66d956df655107a0744e,152,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.0003537724251,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03171060155 -bnb,trader_joe,2,2023-03-18,0x8a0fb41570066245da48355ec6d29a08d6a7a16078e55992444f0f0e81268d58,310,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00499 -polygon,clipper,coves1,2022-06-03,0x93e44bb7e6ddf344eed6b2b4c5515e3c05b2e446ec31af6872cc682718b060a6,163,0x172370d5cd63279efa6d502dab29171933a610af,0.123367431088796876,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.002702 -polygon,clipper,coves1,2022-06-05,0x3c054758e23b93515785e9c2700043d354d880340e390a7b8b8a98a8b8b2bfe3,159,0x0621d647cecbfb64b79e44302c1933cb4f27054d,90.847377705661993975,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.039663 -polygon,clipper,coves1,2023-03-04,0xa58ec465b5e28a212f86083c0dfeecb154f24f40104445a7990c5c576230e0c3,443,0x6bfce69d1df30fd2b2c8e478edec9daa643ae3b8,5.099499802721257244,0x482bc619ee7662759cdc0685b4e78f464da39c73,713.373882 -arbitrum,clipper,coves1,2022-12-06,0xa0a47ca5f454a5c9d001d03de6563fe0e2a48e16c8723d3c0a26088a7f940f41,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,0.158964119815058764,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.01 -arbitrum,clipper,coves1,2022-12-09,0xc1b08d81333f584ac973dd872bbc77f1d008e772451d7de74a154b57de7f883f,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,15.114099040607641726,0x75c9bc761d88f70156daf83aa010e84680baf131,1815.668906918918325545 -arbitrum,clipper,coves1,2023-03-20,0x2931dbddc1a0871c8ab04e51da506c576e799c0bfdc8a4e779a0dae75c5dfcc3,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,3.119357483899408340,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.553 -polygon,clipper,1,2022-01-26,0x555c31d37b6b77de5edbbaa623761737a33a5b71441d1f909eb8557ab9d7a166,205,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,133.833762,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.051695 -polygon,clipper,1,2022-01-26,0xd41d3a78cf89308068ff7f8e7019c85ad52d9ca67e39df15421d29328075e5ee,106,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.5,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.296711840114860928 -polygon,clipper,1,2022-01-27,0x756a078124017590745a408ed1e73b6fe5c2b2b6173d58ec5a00f5ef335d5b16,681,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,644.744585586146541568,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1027.15 -polygon,clipper,2,2023-05-05,0xb435e13ddd117c716da7a545cee52c0044d13e426ad828a2320f452e28e6af85,133,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21.938739,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,22 -polygon,clipper,2,2023-05-02,0x3a421f0ecb82952458147c5e36a74b3a76b3a19b73b8f12876cba549abe05c89,33,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.89233926939564864,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,1646.45 -polygon,clipper,2,2023-04-30,0xc0d794026723e06e8ed27ac51deea4c6721349cfed72c7adae93a4e25e4bd9cf,103,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,9.9588119216496128,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,10.03 -optimism,clipper,1,2022-02-12,0xd22ecf018e5f53662e338637030fc9b421ca9eb2d0bb8780f82153c3081ad0ce,2,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.980299461242894336,0x4200000000000000000000000000000000000006,0.001 -optimism,clipper,1,2022-02-14,0x76bceae919aa817fd3bfb14752bdf6cc2a9fc2103e95b16e32bdd495751644a0,2,0x4200000000000000000000000000000000000006,0.001993505781816838,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,6 -optimism,clipper,1,2022-06-19,0xdffb84123a6e954f391a44d1a3c045097cdbb9cc8a2d74c29d92fbe84b7a3b91,3,0x4200000000000000000000000000000000000006,0.025954788650449416,0x7f5c764cbc14f9669b88837ca1490cca17c31607,27 -optimism,clipper,2,2023-01-07,0xa9ebe982d106fda99c19deb174e8f4c3ab5cfd86f3a59bd733e6be2a9cc4fce2,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2.95,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.95 -optimism,clipper,2,2023-04-28,0x9858f1003e8e35dfa563531e4af26303fbb4d3e04ef8e56b0e601cf012fb365e,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,174.913443,0x4200000000000000000000000000000000000006,0.092345 -optimism,clipper,2,2023-05-08,0x0a79d12a8a315b8f3bc098e137b9984f64e4f74b8593d15fe7238f0913eae25a,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,100.800922,0x7f5c764cbc14f9669b88837ca1490cca17c31607,100.89 -optimism,clipper,coves1,2022-12-13,0x201e546c8871abf6220934093065e1aac8fab88320f6815cad4e78273e07626b,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.618159001037606673,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,21.3 -optimism,clipper,coves1,2023-03-17,0xdce9dc4b6817b3038e339b0db046d35e602a830023808dad953146f14ea1e076,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.246568672972728249,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.489492 -optimism,clipper,coves1,2023-01-08,0xeaa79d87de38e9f0a5ee5b0ab948dd998a342348f11a35ab63a726054d31b472,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,3.085208524632291028,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,107.717588 -arbitrum,camelot,1,2023-02-10,0x03bad3b7a62d5dcde805ebcf1441e6966fdf66f4d03fabc040955e953b26e8e9,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.09033515213962749,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,249.5412320381824 -arbitrum,camelot,1,2023-02-06,0x04fd14aa1471a9561a66fd804a5c995ec211aa7e96bbcbeb48801efdbdb236d6,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.22457814589748834,0x088cd8f5ef3652623c22d48b1605dcfe860cd704, -arbitrum,camelot,1,2023-02-16,0x0aba2b8e2046b670abd3046e28e55e5fb521b6271d2ec8fb72c54df1f5977079,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.707795125477355,0x51318b7d00db7acc4026c88c3952b66278b6a67f,1759.9819725646116 -arbitrum,camelot,1,2023-02-08,0x317879e802e220cd2b910c2b477406506eff5ef62894344adc9f7e26fa3589e0,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,466.224209,0xba42a714bc9c16be6a1ce5eb66ab4deb3904862a, -arbitrum,camelot,1,2023-02-20,0x2d820ba0c8ee0b2b3dfbe1002520bfd952fd65e6f52217722fdd83ed44b982cb,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.18770390514247653,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,225 -ethereum,xchange,1,2023-06-05,0x46da856ff5390f122260b3ddeff8c84e6471d715722bcec69410859a9dd7a9ce,26,0x70008f18fc58928dce982b0a69c2c21ff80dca54,6177.083844891557065659,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.25809555 -ethereum,xchange,1,2023-06-04,0xb9cf9af8c09ee4b01f7998e4d09b5732e3d59db577453d8f649c3368a5be4723,3,0x7102dc82ef61bfb0410b1b1bf8ea74575bf0a105,16740.414870869491102082,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,349.842891200744390656 -ethereum,xchange,1,2023-06-04,0xdca9e79f3d41644b579994c0e62f73e8741605b85bb9a80fcc6d173180fd891c,26,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,264.386114548212846651,0x7103ebdbf1f89be2d53eff9b3cf996c9e775c105,16740.857191421503408067 -ethereum,xchange,1,2023-06-12,0xf71d8fd364e2402eb11ba7bfbd9b59336e2b075571c1523d119f74a11a1986e3,170,0x117546d1467d80c6bde13910412c724383260cf9,345579.7727468311529198,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -ethereum,xchange,1,2023-06-12,0x7da422240ab88976df8c9694114daf8b8cfc335e1f851a8c175bca99e5e4cdcd,200,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.134508790612232095,0x117546d1467d80c6bde13910412c724383260cf9,477750.8030874053723140 -ethereum,xchange,1,2023-06-12,0x4eba2bbed2a473a3a6b2fbfc1d784940b5157afc285c35aff1200e491ea1346a,115,0xdbc7945c5403c589ec39a9aa8c5af234c706f6a2,14049529527.028758241707276441,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -arbitrum,rubicon,1,2023-06-22,0xd8360d1c435e78ccb4dd69a09a86fcae9cbfd03be22880f375bc63f945f86105,9,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000001,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.045454 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,116,0x55d398326f99059ff775485246999027b3197955,616.3450112,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.4932 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,112,0x55d398326f99059ff775485246999027b3197955,80.43094329,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3252 -bnb,maverick,1,2023-07-11,0xdcabb7f0bf4e3b5dd66cd5920bdac9aff12525bbf19cd6ff1fdaa580c13c91d2,284,0x55d398326f99059ff775485246999027b3197955,39.15345608,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.15791026 -bnb,maverick,1,2023-07-11,0x39e0ca81018ce7c7af3988d7c07b711bd0c388285f53b0d00a215e1aa5da2f33,239,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.007728228509,0x55d398326f99059ff775485246999027b3197955,1.919414559 -bnb,maverick,1,2023-07-11,0x840ba933291c56edf365f610145a3daaddca924d05cdbb854406bfd9e1456c5c,490,0x55d398326f99059ff775485246999027b3197955,0.09150513578,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00037 -bnb,biswap,3,2023-07-04,0xf1e982bbc994157eb9166ff1dd38007563be61732e4d9cf68c9054c06172d914,388,0x55d398326f99059ff775485246999027b3197955,347.9115816,0x965f527d9159dce6288a2219db51fc6eef120dd1,3393.698051 -bnb,biswap,3,2023-07-04,0x374992d7f8a643561b0e2e81fba3476bed551ff56923cdb7249a6ed55f0048f9,62,0x55d398326f99059ff775485246999027b3197955,4250.697313,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,17.322 -bnb,biswap,3,2023-07-04,0x48f8c54608537fd65159b1ddd29816ecb8898d24d8db5d499081dc6d54ff970b,203,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.749781574,0x55d398326f99059ff775485246999027b3197955,918 -bnb,biswap,3,2023-07-04,0xc7eafa7888604093d5519a2781a11ccfc13a3886ff527a2d7994ab149736bc38,111,0x55d398326f99059ff775485246999027b3197955,432.8623893,0x965f527d9159dce6288a2219db51fc6eef120dd1,4211.332437 -bnb,biswap,3,2023-07-04,0x72d5dac9c7a76ac8a22f187904b7426b558679e7e67bf57d445c2843e76b7ce9,353,0x55d398326f99059ff775485246999027b3197955,2067.243048,0x965f527d9159dce6288a2219db51fc6eef120dd1,20000 -arbitrum,clipper,2,2023-08-18,0x1768f47e4c444d7c0ddd57a3443e7d33fac05e50f3fdd2df90ff2668ceec3b84,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.511516502316425216,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.03255 -arbitrum,clipper,2,2023-08-18,0x90e3be5cdf42ec6b3a73ec3d05223eab42838ac30ad5cc74289f794af6b577f2,21,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.846399351080674428,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1414.806453 -arbitrum,clipper,2,2023-08-18,0x6b111ae4d162a9edc797aed817bb7c63c6dc822d1779cb81fa5b059ace8d4d9f,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.10982751402043816,0xaf88d065e77c8cc2239327c5edb3a432268e5831,183.36 -bnb,trader_joe,2.1,2023-07-28,0xb33ad6a6e11af49bab308fdee266792b9f2076ddc0ddda7a67f914a2f16b8556,414,0x55d398326f99059ff775485246999027b3197955,43.56323804,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1813504168 -bnb,trader_joe,2.1,2023-07-28,0xd46f2e27a78eba9f1be4c977d455e6149a5378ff00c09ca688ecbc758a074d46,137,0x55d398326f99059ff775485246999027b3197955,79.36140925,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3298806352 -bnb,trader_joe,2.1,2023-07-28,0x83a45610d0c433efd31036beae942c56f622a8199e06af63504665aa77db5877,213,0x55d398326f99059ff775485246999027b3197955,84.52649753,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3513502969 -bnb,trader_joe,2.1,2023-07-27,0xb82b8d676b6c1ee79634ca1c1cb581061c81c63f028145b67b299ea66d7bb236,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01662917245,0x55d398326f99059ff775485246999027b3197955,3.9994 -bnb,trader_joe,2.1,2023-07-27,0x34e262e0bc312d589c71f35e75bcf77ae849804f46fdb18bec9b32a8b80e48d0,886,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004132442613,0x55d398326f99059ff775485246999027b3197955,0.99985 -arbitrum,pancakeswap,3,2023-08-10,0x5717320a6ee550e52766121090ee54b07b3709f4f0711cc92eebc0ef98254f83,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,11,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005948697782 -arbitrum,pancakeswap,2,2023-08-10,0x827d5b1184f9a6f635ef1a0a114a3c00f9a9ee365270c7650d780fb915803878,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.500654,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0002455680987 -arbitrum,pancakeswap,2,2023-08-10,0x83a33922c2a82f94f34cae0d4db5d5870f96591c1a934966f683f4cdc9b16874,5,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2627488973,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001916379656 -arbitrum,pancakeswap,2,2023-08-10,0xc3e422ff2d453e0f4e4e28a99ceb4ec86b63d7bd3326f79ca7e93c499c74337a,4,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2425571142,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00014 -arbitrum,pancakeswap,2,2023-08-10,0x1958fe5d2b768dff806749c4d029be07fd5a0e182d4de5e2328b84dbfac8520d,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.239277,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001 -arbitrum,pancakeswap,2,2023-08-10,0xb9cda996210e763e0edaa5489a276e96f4db35161b15b95407f95cfd4a8e2c79,10,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.221946,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001257329137 -base,uniswap,3,2023-08-12,0xc04be42e9fe8cfcbaa9aebab27c9b527b692473f89a7f8c0df6f09c8f5573cbc,10,0x8544fe9d190fd7ec52860abbf45088e81ee24a8c,,0x4200000000000000000000000000000000000006, -base,uniswap,3,2023-08-18,0x43c43e6b8316986ab3c14123c0e297e3f47891d1f17d16760cdd9e04be53d967,48,0x4200000000000000000000000000000000000006,,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, -base,sushiswap,1,2023-08-11,0x9a0de02d064c2093c18eb1fcf221c5d2f8ddbb959f152a50953ff7305d7487d3,33,0x4200000000000000000000000000000000000006,,0xeb466342c4d449bc9f53a865d5cb90586f405215, -gnosis,honeyswap,2,2023-08-21,0xe0945f4c866da125593006178aebc47ad709977fa1cef3267f2f393998096208,5,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,56.58785072313919,0x9c58bacc331c9aa871afd802db6379a98e80cedb,0.5544256540774396 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,34,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7,0x3a97704a1b25f08aa230ae53b352e2e72ef52843,0.000001006924689829 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,37,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000026616366730299,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7 -gnosis,honeyswap,2,2023-08-21,0x47b8a32f6fb1c87166640072a6e882be5751c9cf32bbb5bfbc0c6283b135d5c3,45,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000003449911839519,0x524b969793a64a602342d89bc2789d43a016b13a,0.000124343025949923 -gnosis,honeyswap,2,2023-08-21,0xe9a4089db84306526abfab3fd1410a6b55104753b7a2cee09353ca4754bbfff6,9,0xe68856eb29b2fb39699286cca7f10f90ce8ae9de,0.003243743285956065,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.00001 -celo,uniswap,3,2023-07-26,0xb4c714f5f3ada0aab91354ea4f98b81d3f22b99a44bd1120064804375baaf0f1,39,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000000128752079,0x471EcE3750Da237f93B8E339c536989b8978a438,0.0000001651 -celo,uniswap,3,2023-07-24,0xfd97ff672aabdbd57b3ff7f51ec91b3170e946e5c6a93f4486c33b6a8619fac8,22,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000013520104342,0x471EcE3750Da237f93B8E339c536989b8978a438,0.00001732 -celo,uniswap,3,2023-09-01,0xa97e020130d49ce315764b2508064d6ff039f2448f2061bd6ba974179d09303f,12,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.000018520277777,0x471EcE3750Da237f93B8E339c536989b8978a438,0.000046 -celo,uniswap,3,2023-09-03,0x1450d020ee268a70b1794e0bb248604cf30b2f7510c6065e93cd4adaae20cf85,32,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.027461717078225,0x471EcE3750Da237f93B8E339c536989b8978a438,0.07 -celo,uniswap,3,2022-07-08,0x481633031a8e6c30fb13d788ff16bfe294adbc71c0cf7ae291a7798935eb789d,41,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,2.948959733277387,0x765DE816845861e75A25fCA122bb6898B8B1282a,3 -base,aerodrome,1,2023-08-29,0x7d759da49295695ec7cade65a7f8abbdf83d6f639efa03ad73533f46f387375e,21,0x9e53e88dcff56d3062510a745952dec4cefdff9e,949750.9264,0x4200000000000000000000000000000000000006,0.2 -base,aerodrome,1,2023-08-29,0x3c00dfe0b735b6c7f3dd302e41cdb5bc32fa64ce98b958ea2a99e9b868f24976,8,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,16.521567,0x4200000000000000000000000000000000000006,0.01 -base,aerodrome,1,2023-08-29,0x644579f1f66b20b7aacddc4300ea746963ef3c68c37b32d14c7a9f59a92d2151,17,0x9e53e88dcff56d3062510a745952dec4cefdff9e,1.59E+06,0x4200000000000000000000000000000000000006,0.3 -base,aerodrome,1,2023-08-29,0x552ae20fd4164aa9ef2a37616510c7dd54333733578a4af20074e81dc14af8ce,143,0x4200000000000000000000000000000000000006,0.06062542,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,100 -base,aerodrome,1,2023-08-29,0x8e6c892e94a991f843932a8b9af962f448d06c25addca4c608eef800aaf2ab70,16,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,170.841539,0x4200000000000000000000000000000000000006,0.1 -base,pancakeswap,3,2023-08-31,0x5c4a3562d59f1f93dc0957c343e76b35b6e950fe7ad5fbdf076cc22c8da8174e,28,0x4200000000000000000000000000000000000006,0.003720470707,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,6.343995 -base,pancakeswap,3,2023-08-31,0xea7b7bd6c573297654b851fe15360dcd00adb93fdfbff8a9a92335321afe9abf,4,0x4200000000000000000000000000000000000006,0.005807826327,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,9.580012 -base,pancakeswap,3,2023-09-01,0x6d95168e601891640fa88da905543ef7a462558b78ca18bf99db90eb1abc110f,26,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.41335,0x4200000000000000000000000000000000000006,0.0002522152926 -base,pancakeswap,3,2023-09-01,0x640b78e9b17af09de2fc40078be4b4f21b2972f88a9072d7efa409f12bfd5250,452,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2.937885,0x4200000000000000000000000000000000000006,0.001785943443 -base,pancakeswap,3,2023-09-01,0xbc5078838d0be6b2f8622cf083f5d4c9730d4ee634c187ed0c0a6433d134a50e,21,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,10,0x4200000000000000000000000000000000000006,0.006102659752 -base,pancakeswap,2,2023-08-31,0x9a02a20dca2bf9e479728cedbaa40aba6cbff9a0bb39d74acbe697d8f448e0a1,7,0x4200000000000000000000000000000000000006,0.004908297163,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,522.2112531 -base,pancakeswap,2,2023-08-31,0xc3dbd8776badacf03df41d3b465ec8ea39fe3eabd955d3a617f9f389a16dcceb,32,0x4200000000000000000000000000000000000006,0.002061983011,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,236.8625742 -base,pancakeswap,2,2023-09-02,0xdc89e32ecf7ae2bec89917684fc4bfdd67810fd57a5233b08f99c72d82296613,11,0x4200000000000000000000000000000000000006,0.0009771073402,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,1.547626 -base,pancakeswap,2,2023-09-03,0x242eae02b5a66da57e2c3262ef4bac617cfb32b4a040b22bb2cdc516df520de6,5,0x4200000000000000000000000000000000000006,0.0005003577617,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.818416 -base,pancakeswap,2,2023-09-03,0x4bcf24191cfadc78f8d99c300c82fe203814e136cf0c3a628a889c3c0dfcd0b4,4,0x4200000000000000000000000000000000000006,0.0004002484217,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.653942 -celo,mento,1,2023-07-17,0x5da85d08a4baa9c78510bad37fc0cf9ef2045db2aa46e988a0dd82bb8212b2f4,100,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,20.956079931951415,0x471ece3750da237f93b8e339c536989b8978a438,40.605169743968546 -celo,mento,1,2023-07-12,0x3e4cdec526c199a166cf6cb20153c1497e8a644a0a41f1e697e895b9165548e8,20,0x471ece3750da237f93b8e339c536989b8978a438,800.0054,0x765de816845861e75a25fca122bb6898b8b1282a,395.59555761415027 -celo,mento,1,2023-07-09,0x2dd4a8ded11dc1c72ecc777ad46dac15c0d43d8a39c9ba3f27ce14e4484ed79e,9,0x765de816845861e75a25fca122bb6898b8b1282a,96.17799572228877,0x471ece3750da237f93b8e339c536989b8978a438,187.82965109563872 -celo,mento,1,2023-07-13,0x2f7be9a913a12c73eb45713140e4d3952153e90d3e81c26fbdd29726e164fee8,26,0x471ece3750da237f93b8e339c536989b8978a438,6.975571396935835,0x765de816845861e75a25fca122bb6898b8b1282a,3.3358208614857126 -celo,mento,1,2023-07-22,0xa1e3eb8c0b08d483915ddcb2921593cdf8e1a1eaf8ec2679bc5fe9fcbf179e6a,4,0xe8537a3d056da446677b9e9d6c5db704eaab4787,607.0101626243413,0x471ece3750da237f93b8e339c536989b8978a438,256 -celo,mento,2,2023-06-21,0xb91f34e839f46eb834105bab4b66eabe0bf47dd155fc30160da75a452a32d096,83,0x765de816845861e75a25fca122bb6898b8b1282a,445.2967749304183,0x471ece3750da237f93b8e339c536989b8978a438,1030 -celo,mento,2,2023-06-30,0xfd0f315871c06f18b2c6b0debc2a518d199aafae7b83d25567fd68e6dae811e7,106,0x471ece3750da237f93b8e339c536989b8978a438,100.38789463130256,0xe8537a3d056da446677b9e9d6c5db704eaab4787,210.92554896017592 -celo,mento,2,2023-06-21,0x534776eb975e06ff6d31674d397851105049c5dd35962a8f50b505ad45a9bede,133,0xeb466342c4d449bc9f53a865d5cb90586f405215,490.058081,0x765de816845861e75a25fca122bb6898b8b1282a,490.15611234048663 -celo,mento,2,2023-06-10,0x2ca1f551c2d7444069a391bcba4b203d675e68d09db37bbbee90350e55c4c34b,66,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,291.95751633951255,0x471ece3750da237f93b8e339c536989b8978a438,788.89 -celo,mento,2,2023-06-22,0x5e7703f4b32df24f6c5c3539028e09f37bdbd174b00d6da565ecc1c54ba4f39d,58,0x471ece3750da237f93b8e339c536989b8978a438,189.2299185313668,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,76.73486063607002 -base,dodo,2_dpp,2023-08-24,0x8d284b3f21f9fae6bfffa14d0396c735b986accea585fe845d8e34b1e130d349,30,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.08111752951130441,0x4200000000000000000000000000000000000006,135.73585 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,46,0xa8d0e6799ff3fd19c6459bf02689ae09c4d78ba7,4.139726896e-09,0x471ece3750da237f93b8e339c536989b8978a438,1e-08 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,85,0x471ece3750da237f93b8e339c536989b8978a438,0.011131926416824384,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.004629938972936026 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,57,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859808034948372,0x64defa3544c695db8c535d289d843a189aa26b98,0.00031599070221135 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,65,0x98587fa3fe8ae28ace515281c1fec1e992a7f214,0.002284075177457273,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859901297288047 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,79,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.00342165606916204,0x918146359264c492bd6934071c6bd31c854edbc3,0.003661695659348901 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,71,0x918146359264c492bd6934071c6bd31c854edbc3,0.001781202060105895,0x918146359264c492bd6934071c6bd31c854edbc3,2.2958504411753e-05 -optimism,opx_finance,1,2023-09-14,0x2fc2351426e105434af65e0e2f1faa992c7285748e5938133bf03f99aa64a4d0,9,0x7f5c764cbc14f9669b88837ca1490cca17c31607,385.924225,0x4200000000000000000000000000000000000006,0.239356245490566881 -optimism,opx_finance,1,2022-11-04,0x66e3aba1a244fe17e3ff45be045c1318a8957e150e811bc19ecfad0f203b6de0,11,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.936762,0x4200000000000000000000000000000000000006,0.0068 -optimism,opx_finance,1,2023-02-03,0x6c81ff042560bb6583a1646ff37ad07cd4e96594381235c50d836966a544d354,8,0x7f5c764cbc14f9669b88837ca1490cca17c31607,14.070861,0x4200000000000000000000000000000000000042,5 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,29,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468,0x471ece3750da237f93b8e339c536989b8978a438,35.37827374653412 -celo,sushiswap,1,2023-09-15,0xd932e433b0f672f29af0490b5304361095ea3ce2096f824c495dfae5bf72e026,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.008584151286614612,0x471ece3750da237f93b8e339c536989b8978a438,31.755965948104855 -celo,sushiswap,1,2023-09-15,0x157447e41e81e05ba65c69caac7d56200f371a977ee5c841dfeec683317b98fb,38,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.015146900389257045,0x765de816845861e75a25fca122bb6898b8b1282a,23.8728179530718 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.03129519531871116,0x471ece3750da237f93b8e339c536989b8978a438,114.90811086228412 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,23,0x765de816845861e75a25fca122bb6898b8b1282a,15.255434965463113,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,26,0x765de816845861e75a25fca122bb6898b8b1282a,49.42283255941517,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.031295195318706094 -arbitrum,trader_joe,2.1,2023-09-27,0xa0c3a8baeb889f57962e1f90f02878c52bc2703923ea44d6c32b54ac85a182fa,4,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1000.850315,0xaf88d065e77c8cc2239327c5edb3a432268e5831,999.9975 -arbitrum,trader_joe,2,2023-02-25,0x0089a8b75a142474502974fa9a69d69bf007d7fcd760df9e78e1e38cdc63a8bd,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.119172119245068251,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,748.500000000000004917 -ethereum,mauve,1,2023-09-14,0x9287ef89d064846c961ae2102b32cf1327bc5b26bde1ae0f9c884f6dec6b73e9,485,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.05361889288401018,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0.05 -ethereum,mauve,1,2023-09-13,0x7f71f44e295edd95a55425e96e8a05e5059908f2cabbe53497b7657037ac6c31,102,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.007446710798914315 -ethereum,mauve,1,2023-09-14,0xcc62f06a8c9b4351ebb510d178fc68fe946bba1cd05244db92de76fd62a824b7,200,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,16.83761,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,mauve,1,2023-09-14,0x94993dbf07f4ef0bf38a15a303182a3dbd0ef4525f09c4be0f2babbb5be2e2aa,236,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,1758.083836,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1850 -optimism,openxswap,1,2023-02-24,0xaed44713142d008b7771dbd844dc04996fdf84d2a759b18000fbbd1cedda9ee2,7,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,2234.6467852361957,0x4200000000000000000000000000000000000006,0.30264897056 -optimism,openxswap,1,2023-02-24,0x2ab499560940eec712e662231d9a0dc39199c592ee4f651cfc5fe26ae60ded20,13,0x4200000000000000000000000000000000000006,1.0286444738988605,0x4200000000000000000000000000000000000042,544.7762488522358 -optimism,openxswap,1,2023-04-15,0x4083325e7db95f35ef9e425ee7cf550ca7504af92355f214af8071d70659a9df,8,0x4200000000000000000000000000000000000006,0.004769354772713511,0x7f5c764cbc14f9669b88837ca1490cca17c31607,9.994 -arbitrum,camelot,3,2023-10-15,0x939231c21d47605a86fce8536da3cfb556a7ca4334e3f1963a23006633597f03,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01 -arbitrum,camelot,3,2023-10-15,0xe12624f375d78828270cf0b84757b6c1e3fd2a8efddb3c25cac301fe5bfb71ae,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.168 -arbitrum,camelot,3,2023-10-15,0x810b6259d2171ca029a3ddb86dfbf682a9306443424082198afe63050fc699a9,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.02553995037289231,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee, -optimism,wardenswap,2,2022-09-21,0x2c44ca40b62d3154a01796de00696cba3a3247ab5124ddd263165cf4b470fc4c,43,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,529.0905775854186,0x4200000000000000000000000000000000000006,0.4280560649800964 -optimism,wardenswap,2,2022-07-27,0xd025c68690340c035e9b9b5e3d53435c2f301a3f9e6a7bdceb7cb9a82bf28174,20,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,16.093947010513283,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,270 -optimism,wardenswap,2,2022-06-26,0x2084856c984f51a9a9bd377bfbc6ce78be410cc8c9b2836282b83b1dc2b2d677,16,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1393.326394,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1397.048637 -optimism,openocean,2,2023-09-04,0x1c2bc7857ce9acd8d6b018eea4b2e2affbda61e56916161b4348ef0603ff7935,23,0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6,82.11154686585886,0x7f5c764cbc14f9669b88837ca1490cca17c31607,500.376315 -optimism,openocean,2,2023-06-30,0x4a823ca5c73264723a1326c9d3dedd0f1b2bbbc446e7f2c71ac5c998234b8ca2,9,0x1db2466d9f5e10d7090e7152b68d62703a2245f0,14.714535262567255,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2 -optimism,openocean,2,2022-08-03,0x13875f629d4c608d034411333bf0f0095fb6ac41c219163ed8d359805a63fa05,25,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,11.319842,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.265711412351504 -celo,curve,1,2023-10-17,0x4cef035b424859b5d61b1da3c2f03febd83f03083c764fa1af860bf4e26d28b3,16,0x37f750b7cc259a2f741af45294f6a16572cf5cad,118810.850166,0x765de816845861e75a25fca122bb6898b8b1282a,118999.79999999999 -celo,curve,1,2023-10-15,0x0a524624a533492b91c1204004589225f697d37bf63af60fde884b226e8b1f26,14,0x37f750b7cc259a2f741af45294f6a16572cf5cad,10.329967,0x765de816845861e75a25fca122bb6898b8b1282a,10.34099704814135 -celo,curve,1,2023-10-16,0xba430c475c9ee7e8bd17c760f6a7833b0779781092033de73ca1bf3f7e86e7f8,43,0x37f750b7cc259a2f741af45294f6a16572cf5cad,5.189966,0x765de816845861e75a25fca122bb6898b8b1282a,5.197918504908161 -celo,curve,1,2023-10-15,0x28500eb8fe60219ee750bbea028e4ace3259aae1f350727c97311be3ac579dd4,13,0x37f750b7cc259a2f741af45294f6a16572cf5cad,432.240793,0x765de816845861e75a25fca122bb6898b8b1282a,432.6936029057536 -optimism,openocean,2,2023-05-30,0xc97e676905d6d2763fa55ac9aac6d6d85f6597901cf34711d6b65981b0cb0f75,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.193448,0x4200000000000000000000000000000000000006,0.00167453389173889 -optimism,openocean,2,2023-11-07,0xde2d7e6f02cfce8eb8a1bb752ce956cfcf81b7bf8380490bcdfeab9694b4e5ad,15,0x8700daec35af8ff88c16bdf0418774cb3d7599b4,2.9738578135579843,0x4200000000000000000000000000000000000006,0.003958725899153863 -optimism,openocean,2,2023-07-31,0x92188637370c0bf3595ae4bef248db90f43167483320fc9b21adb016cfb84e76,81,0x8b21e9b7daf2c4325bf3d18c1beb79a347fe902a,1438.894027919516,0x4200000000000000000000000000000000000042,14.86875 -base,maverick,1,2023-10-24,0xf76389f7730beb6a51a3e1881b0a9139fe8ec07d8403061fd52d5aaf1357ad00,12,0x50c5725949a6f0c72e6c4a641f24049a917db0cb,2955.014794642196128309,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2954.059434 -optimism,woofi,1,2023-06-21,0x2e968976942bbbd2a843a1b3d2b8c344f4f0b705d6e8d1d3742078b6fab28b10,38,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.628553,0x4200000000000000000000000000000000000006,0.0009 -optimism,woofi,1,2023-07-30,0x58b21db3dc2a145b8c844471310eebdc85fdf3ec8820d4a6ea526bc1f735aec0,15,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.102243,0x4200000000000000000000000000000000000042,0.06525080616397874 -optimism,woofi,1,2023-06-07,0x203dbe62e1896dc9892dae69e7c4dbdc7c491d775923fb44a094c45b916a9946,12,0x4200000000000000000000000000000000000042,8.853725019194362,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.180901 -zksync,maverick,1,2023-10-23,0xbe2700aac1174728513863a4f42d37aa9ac7a7d73389fa00a5abcfbd3570d5a6,4,0x2039bb4116B4EFc145Ec4f0e2eA75012D6C0f181,1.723727835619188444,0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4,1.7232 -arbitrum,1inch LOP,1,2021-09-24,0xfaebdcb7948f7141d05709373681b0e04c0672051b072db49268066c5ed146b6,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.308879 -arbitrum,1inch LOP,2,2021-12-10,0x1c7b1db733029cdfefa5d33372061dcf392e6ddd668774306f7e80c6057d9631,1,0x0e15258734300290a651fdbae8deb039a8e7a2fa,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.63023 -arbitrum,1inch LOP,3,2022-11-25,0x5c8b58d7b37384216431a6fd41f424f1a750b4cb28c0a891d313454590cb1046,1,0xbfa641051ba0a0ad1b0acf549a89536a0d76472e,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1 -arbitrum,1inch LOP,3 RFQ,2023-04-26,0x51b8f0aeaa4944927bf2c1c4c8c379fcfb7e7a3cdcd5389a424d8cecdb1a9b4e,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005639386973373932,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.995641 -avalanche_c,1inch LOP,2,2022-01-18,0x17648dc902706d6d6e169087fdd0d5d9ed9c0a13a568ec8a48051f0b1ba5c908,1,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,5,0xc7198437980c041c805a1edcba50c1ce5db95118,4.992058 -avalanche_c,1inch LOP,2 RFQ,2022-01-24,0xb2b5c36e970b5b7bcdc90cfe4f62200c2f3f30cbdbfc05dbaea5d1539ad6280c,1,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.02,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,47.776 -avalanche_c,1inch LOP,3,2022-11-30,0x7f208a0a570fb7276214dc4db47080a2aa90447fc7e5113ee3bda6cf694f7b0f,1,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,7.724e-05,0xc7198437980c041c805a1edcba50c1ce5db95118,0.001 -base,1inch LOP,3,2023-08-16,0x30231210e1afdc76c1cddd2576a52aa1ea98457297e62c902a7a5aa5bd7e9791,1,0x4200000000000000000000000000000000000006,0.001,0xeb466342c4d449bc9f53a865d5cb90586f405215,1.823264 -bnb,1inch LOP,1,2021-06-03,0x660036450cb8728a2ac5f2deb22bff8758af26aa099d4d0dbbae609093f47795,1,0x111111111117dc0aa78b770fa6a738034120c302,0.01,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.240829737963e-05 -bnb,1inch LOP,1 RFQ,2021-06-07,0x0205753c08d2642e2a12525ac0949d078a99e02ee87e559456245be24dc6803a,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,3.8,0x111111111117dc0aa78b770fa6a738034120c302,1 -bnb,1inch LOP,2,2021-12-06,0x9d7783360204258b9f2307f4ce4970f8de2a6d67db9b0b6215b9a0dcc39d0eff,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,2.1,0x111111111117dc0aa78b770fa6a738034120c302,0.5 -bnb,1inch LOP,2 RFQ,2021-11-10,0x582066cd36fe1535334a05de5203025a0abadb6d2fb07542dba06d79b9fcb121,1,0x55d398326f99059ff775485246999027b3197955,2e-14,0xe9e7cea3dedca5984780bafc599bd69add087d56,1e-14 -bnb,1inch LOP,3,2022-11-21,0x76952e9657a210fa51de9d0caf38cb66a4e594b8963790e9e282321b0608d560,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,1 -bnb,1inch LOP,3 RFQ,2023-04-26,0x25086a72ce6a3cf12f836808a97c05432dae39fe74947fa2b9d0129bb47cceea,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,188.91263865081478,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.09669320051055542 -ethereum,1inch LOP,1,2021-06-08,0x7430839c7a467a4946b2723bdb8d54d4bfeb72a54fbee988a184fc6ccee0c8fe,1,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005705137173652603 -ethereum,1inch LOP,1 RFQ,2021-06-24,0x17eedf52cd16e9a2a6cf7dcd0ea60f07b25d9b972564542b702cd86301270bc4,1,0x6b175474e89094c44da98b954eedeac495271d0f,1.23e-16,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.23e-16 -ethereum,1inch LOP,2,2021-12-09,0x72e2bd374bad0f3ba7844edb0ddabcd3bf2b0b04c082e9eafc2e1e705d6d111a,1,0x111111111117dc0aa78b770fa6a738034120c302,1,0x888888435fde8e7d4c54cab67f206e4199454c60,1.8550742510066875 -ethereum,1inch LOP,2 RFQ,2021-11-12,0x3069e869f54a593d282f6d72e78c16638555bbb460ce09376f3b969a49740eb9,1,0xdac17f958d2ee523a2206206994597c13d831ec7,100,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0217122261545476 -ethereum,1inch LOP,3,2022-11-15,0xd6f31e37e9a2bdf79f9e08a3a1aff7aa27b6f33fad8e34506930058f944944eb,1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000794199483325101,0x6b175474e89094c44da98b954eedeac495271d0f,1 -ethereum,1inch LOP,3 RFQ,2022-11-28,0x6daff653b30efeda718d49eb9b6e30b42298603dba0722bbb035f797ef8420bc,1,0x4d224452801aced8b2f0aebe155379bb5d594381,919.1542838365331,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3799.290434 -fantom,1inch LOP,2 RFQ,2022-04-12,0x23a0a583070aedd2ab9a8dd8984b431751469932d6423cedada0a550b25a266f,1,0x049d68029688eabf473097a2fc38ef61633a3c7a,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,16.89972442886853 -fantom,1inch LOP,3,2022-11-20,0x60219b7e2fea63be636203aa8feaeaae96edd76514aebe8042cd23204ac522e7,1,0x04068da6c83afcfa0e13ba15a6696662335d5b75,0.999842,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,1 -gnosis,1inch LOP,2,2022-01-17,0xb0bfe04bdc2a2492173d561b19bbba1ccb0fda47050e6c3b25244e133e1e6977,1,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,1.9896530579786145 -gnosis,1inch LOP,3,2022-11-25,0xd94d1559f1c5bf2647da93659003d2dfab158ead080b79837c5a28e9d9160c7b,1,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2 -optimism,1inch LOP,2,2022-08-09,0xdb2a1b694452ef009cf8899ad6e8bae2b18c84fc75e293a9508a5633bda26f79,1,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,1.3430288208555679 -optimism,1inch LOP,3,2022-11-25,0x7a40bb7f50e59c5e673afe94e8733494243acd0877d227a809aa9ba1c16ba33d,1,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1,0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc,12 -polygon,1inch LOP,1,2021-06-10,0x4ec29b58b188d26022191edd51af35f155b9edec5e79303fd78b3aef0400e8bb,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,8,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,2.6666666666666665 -polygon,1inch LOP,1 RFQ,2021-06-21,0x30e49b6e23145b5904bc1cd776a65ad2309e61e95c00c0b452cbf578e957b2aa,1,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,20,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.010257304255126252 -polygon,1inch LOP,2,2021-12-16,0x9f883ed622c357df0756ea6552c525b1fef3ccdd785772a0a27acb3e83b147a9,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.612715402673482,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.61342 -polygon,1inch LOP,2 RFQ,2022-04-08,0x7f4d4290f3b5fd42d8c148457aa0c5b0ae5ad6a52f538eb7d1f611a6551224a1,1,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,15,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,22.0248 -polygon,1inch LOP,3,2022-11-16,0x4367e740ccdaf64bb9300d64ce071c691ecc305c2f1ac5aff3f7ba3fe19f82c8,1,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0747847780830808,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,1inch LOP,3 RFQ,2022-11-24,0x5fc98b8f538e6258f554039c182aa9094b2d3f83293812ad86a8ec8ffe122092,1,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.02,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,0.01 -zksync,1inch LOP,3,2023-04-25,0xce890512f93dd7d2f1576214025a384a7e4d77d0696f7586b08aa7f2abbb3666,1,0x85d84c774cf8e9ff85342684b0e795df72a24908,473.99490916145186,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.021538506874320695 -zksync,1inch LOP,3 RFQ,2023-05-02,0x96a6f0a3b6dca895ae56ad55b14366f9ec0993409754caad26c0921598beebf8,1,0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4,42.322852,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.023143049624060132 -avalanche_c,uniswap,3,2023-11-11,0x3fd0df30055592268a66399a4d958ae6aaa957cab7442c0ecc60d7257a156261,7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,497.409883,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,34.17977416 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,14,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1379.142478 -avalanche_c,uniswap,3,2023-11-11,0x79cc2e2b8543ae7b5215f9f389069106061efc619fa23437b5662d81fac2d8dc,2,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,661.400762,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,46 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,16,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.6729956329,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643 -avalanche_c,uniswap,3,2023-11-11,0x41b6ec0e3ba96f6c72bab7954353152ba44904bd61232f91e824c9a74495b1e4,2,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,600.415091,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,41.78982883 -optimism,mummy_finance,1,2023-06-20,0xcb520a60a0eae0a5a7b9e5658345151a370ef9c236072db32d9b3212ee24a496,36,0x4200000000000000000000000000000000000042,793.6112352289659,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1048.751532 -optimism,mummy_finance,1,2023-06-30,0x671265ebe5dd61134633adf575ba80faec6be090271351ad79fed7c0f5468d50,65,0x4200000000000000000000000000000000000006,0.37616451992981625,0x4200000000000000000000000000000000000042,525.2047826760436 -optimism,mummy_finance,1,2023-06-09,0xd7cadb14f39a79bf0ca3ea0ebf9aa85caa1465da154010294ee502942a8de5d4,21,0x4200000000000000000000000000000000000006,1.530834771081591,0x4200000000000000000000000000000000000042,2097.160814236567 -optimism,hashflow,1,2023-04-13,0x0c2c4ed714220d38b0f93b13398e7bd7454120a07a1188095a740afc055e85dd,5,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,1.0942802244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.0945 -optimism,hashflow,1,2023-07-26,0xc5237e5f00c0f8059bf9d21edca6f541fdd3e11331e0204aa3792be7d71742f8,54,0x4200000000000000000000000000000000000006,0.22758095181286583,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,425.593457 -optimism,hashflow,1,2022-10-26,0xa4cc224376e71b43c83a9913f466986d2b51f0b0bd5e6102d2e93ade474991d8,1,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.999996,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1 -avalanche_c,trader_joe,2.1,2023-08-17,0x3eccbee27f56c671eccd2ad82fca3b0448053d8d978a2003025817529b33c47a,5,0xc7198437980c041c805a1edcba50c1ce5db95118,154.777492,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,154.714055 -avalanche_c,trader_joe,2.1,2023-08-17,0xd74525e25428aa4d32f129511ed8349516aeff791691277551663ad944fafeed,2,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,100.00000003864702,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1120.132837 -avalanche_c,trader_joe,2.1,2023-08-17,0xbacddb47282c250d7126995a0a32a77e2be8c98e69b85c7dd3ef9cdb295b5084,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,8.961454748219834,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,99.979979 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,14,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7427.555309,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,672.1804038165711 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,13,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,0.847235,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.07651931900157347 From 76a05e23d9d7e60300add3403c7f837ebfa0aeb9 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 18:00:53 -0400 Subject: [PATCH 08/63] move generic tests --- {tests => dex/tests}/generic/check_dex_aggregator_seed.sql | 0 {tests => dex/tests}/generic/check_dex_base_trades_seed.sql | 0 {tests => dex/tests}/generic/check_dex_info_relationship.sql | 0 {tests => dex/tests}/generic/check_dex_pools_seed.sql | 0 {tests => dex/tests}/generic/check_dex_seed.sql | 0 {tests => dex/tests}/generic/dex_trades_token_bought.sql | 0 .../tests/generic}/zeroex_ethereum_fills_deduped_test.sql | 0 .../ethereum => dex/tests/generic}/zeroex_ethereum_fills_test.sql | 0 .../ethereum => dex/tests/generic}/zeroex_ethereum_nft_test.sql | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename {tests => dex/tests}/generic/check_dex_aggregator_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_base_trades_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_info_relationship.sql (100%) rename {tests => dex/tests}/generic/check_dex_pools_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_seed.sql (100%) rename {tests => dex/tests}/generic/dex_trades_token_bought.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_fills_deduped_test.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_fills_test.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_nft_test.sql (100%) diff --git a/tests/generic/check_dex_aggregator_seed.sql b/dex/tests/generic/check_dex_aggregator_seed.sql similarity index 100% rename from tests/generic/check_dex_aggregator_seed.sql rename to dex/tests/generic/check_dex_aggregator_seed.sql diff --git a/tests/generic/check_dex_base_trades_seed.sql b/dex/tests/generic/check_dex_base_trades_seed.sql similarity index 100% rename from tests/generic/check_dex_base_trades_seed.sql rename to dex/tests/generic/check_dex_base_trades_seed.sql diff --git a/tests/generic/check_dex_info_relationship.sql b/dex/tests/generic/check_dex_info_relationship.sql similarity index 100% rename from tests/generic/check_dex_info_relationship.sql rename to dex/tests/generic/check_dex_info_relationship.sql diff --git a/tests/generic/check_dex_pools_seed.sql b/dex/tests/generic/check_dex_pools_seed.sql similarity index 100% rename from tests/generic/check_dex_pools_seed.sql rename to dex/tests/generic/check_dex_pools_seed.sql diff --git a/tests/generic/check_dex_seed.sql b/dex/tests/generic/check_dex_seed.sql similarity index 100% rename from tests/generic/check_dex_seed.sql rename to dex/tests/generic/check_dex_seed.sql diff --git a/tests/generic/dex_trades_token_bought.sql b/dex/tests/generic/dex_trades_token_bought.sql similarity index 100% rename from tests/generic/dex_trades_token_bought.sql rename to dex/tests/generic/dex_trades_token_bought.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_fills_deduped_test.sql b/dex/tests/generic/zeroex_ethereum_fills_deduped_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_fills_deduped_test.sql rename to dex/tests/generic/zeroex_ethereum_fills_deduped_test.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_fills_test.sql b/dex/tests/generic/zeroex_ethereum_fills_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_fills_test.sql rename to dex/tests/generic/zeroex_ethereum_fills_test.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_nft_test.sql b/dex/tests/generic/zeroex_ethereum_nft_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_nft_test.sql rename to dex/tests/generic/zeroex_ethereum_nft_test.sql From 8090ff60a73396c63319d1fafa8f1205670e94c0 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 18:55:33 -0400 Subject: [PATCH 09/63] move project views, fix compile errors --- .../_projects}/aerodrome/aerodrome_trades.sql | 0 .../_projects}/airswap/airswap_trades.sql | 0 .../_projects}/apeswap/apeswap_trades.sql | 0 .../_projects}/arbswap/arbswap_trades.sql | 0 .../_projects}/babyswap/babyswap_trades.sql | 0 .../balancer/trades/arbitrum/_schema.yml | 0 .../arbitrum/balancer_arbitrum_trades.sql | 0 .../arbitrum/balancer_v2_arbitrum_trades.sql | 8 +- .../balancer/trades/avalanche_c/_schema.yml | 0 .../balancer_avalanche_c_trades.sql | 0 .../balancer_v2_avalanche_c_trades.sql | 8 +- .../balancer/trades/balancer_trades.sql | 0 .../balancer/trades/base/_schema.yml | 0 .../trades/base/balancer_base_trades.sql | 0 .../trades/base/balancer_v2_base_trades.sql | 8 +- .../balancer/trades/ethereum/_schema.yml | 0 .../ethereum/balancer_ethereum_trades.sql | 0 .../ethereum/balancer_v1_ethereum_trades.sql | 0 .../ethereum/balancer_v2_ethereum_trades.sql | 8 +- .../balancer/trades/gnosis/_schema.yml | 0 .../trades/gnosis/balancer_gnosis_trades.sql | 0 .../gnosis/balancer_v2_gnosis_trades.sql | 8 +- .../balancer/trades/optimism/_schema.yml | 0 .../optimism/balancer_optimism_trades.sql | 0 .../optimism/balancer_v2_optimism_trades.sql | 8 +- .../balancer/trades/polygon/_schema.yml | 0 .../polygon/balancer_polygon_trades.sql | 0 .../polygon/balancer_v2_polygon_trades.sql | 8 +- .../balancer/trades/zkevm/_schema.yml | 0 .../trades/zkevm/balancer_v2_zkevm_trades.sql | 8 +- .../trades/zkevm/balancer_zkevm_trades.sql | 0 .../_projects}/bancor/bancor_trades.sql | 0 .../beethoven_x/beethoven_x_trades.sql | 0 .../_projects}/biswap/biswap_trades.sql | 0 .../_projects}/camelot/camelot_trades.sql | 0 .../carbon_defi/carbon_defi_trades.sql | 0 .../_projects}/clipper/clipper_trades.sql | 0 .../_projects}/curvefi/curvefi_trades.sql | 0 .../_projects}/defiswap/defiswap_trades.sql | 0 .../_projects/dex_trades_views_schema.yml | 2 +- .../models/_projects}/dfx/dfx_trades.sql | 0 .../models/_projects}/dodo/dodo_trades.sql | 0 .../ellipsis_finance_trades.sql | 0 .../_projects}/equalizer/equalizer_trades.sql | 0 .../_projects}/fraxswap/fraxswap_trades.sql | 0 .../_projects}/glacier/glacier_trades.sql | 0 .../models/_projects}/gmx/gmx_trades.sql | 0 .../_projects}/hashflow/hashflow_trades.sql | 0 .../_projects}/honeyswap/honeyswap_trades.sql | 0 .../_projects}/integral/integral_trades.sql | 0 .../_projects}/iziswap/iziswap_trades.sql | 0 .../_projects}/kyberswap/kyberswap_trades.sql | 0 .../models/_projects}/mauve/mauve_trades.sql | 0 .../_projects}/maverick/maverick_trades.sql | 0 .../models/_projects}/mdex/mdex_trades.sql | 0 .../_projects}/mstable/mstable_trades.sql | 0 .../mummy_finance/mummy_finance_trades.sql | 0 .../_projects}/nomiswap/nomiswap_trades.sql | 0 .../onepunchswap/onepunchswap_trades.sql | 0 .../_projects}/openocean/openocean_trades.sql | 0 .../_projects}/openxswap/openxswap_trades.sql | 0 .../opx_finance/opx_finance_trades.sql | 0 .../pancakeswap/pancakeswap_trades.sql | 0 .../platypus_finance_trades.sql | 0 .../_projects}/quickswap/quickswap_trades.sql | 0 .../_projects}/rubicon/rubicon_trades.sql | 0 .../_projects}/shibaswap/shibaswap_trades.sql | 0 .../spartacus_exchange_trades.sql | 0 .../spiritswap/spiritswap_trades.sql | 0 .../spookyswap/spookyswap_trades.sql | 0 .../_projects}/sushiswap/sushiswap_trades.sql | 0 .../models/_projects}/swapr/swapr_trades.sql | 0 .../_projects}/synthetix/synthetix_trades.sql | 0 .../models/_projects}/thena/thena_trades.sql | 0 .../trader_joe/trader_joe_trades.sql | 0 .../_projects}/ubeswap/ubeswap_trades.sql | 0 .../_projects}/velodrome/velodrome_trades.sql | 0 .../_projects}/verse_dex/verse_dex_trades.sql | 0 .../wardenswap/wardenswap_trades.sql | 0 .../_projects}/wigoswap/wigoswap_trades.sql | 0 .../_projects}/wombat/wombat_trades.sql | 0 .../models/_projects}/woofi/woofi_trades.sql | 0 .../_projects}/xchange/xchange_trades.sql | 0 .../_projects}/zigzag/zigzag_trades.sql | 0 .../_projects}/zipswap/zipswap_trades.sql | 0 .../balancer/pools/optimism/_schema.yml | 3 +- .../ethereum/cow_protocol_ethereum_schema.yml | 167 +----------- .../gnosis/cow_protocol_gnosis_schema.yml | 54 +--- .../balancer_v2/labels_balancer_v2_schema.yml | 249 +----------------- sources/_subprojects/spellbook/_sources.yml | 26 +- 90 files changed, 71 insertions(+), 494 deletions(-) rename {models/_project => dex/models/_projects}/aerodrome/aerodrome_trades.sql (100%) rename {models/_project => dex/models/_projects}/airswap/airswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/apeswap/apeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/arbswap/arbswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/babyswap/babyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/balancer_arbitrum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/balancer_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/balancer_base_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/balancer_v2_base_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_ethereum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/balancer_gnosis_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/balancer_optimism_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/balancer_v2_optimism_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/balancer_polygon_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/balancer_v2_polygon_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/balancer_zkevm_trades.sql (100%) rename {models/_project => dex/models/_projects}/bancor/bancor_trades.sql (100%) rename {models/_project => dex/models/_projects}/beethoven_x/beethoven_x_trades.sql (100%) rename {models/_project => dex/models/_projects}/biswap/biswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/camelot/camelot_trades.sql (100%) rename {models/_project => dex/models/_projects}/carbon_defi/carbon_defi_trades.sql (100%) rename {models/_project => dex/models/_projects}/clipper/clipper_trades.sql (100%) rename {models/_project => dex/models/_projects}/curvefi/curvefi_trades.sql (100%) rename {models/_project => dex/models/_projects}/defiswap/defiswap_trades.sql (100%) rename models/_project/_schema.yml => dex/models/_projects/dex_trades_views_schema.yml (99%) rename {models/_project => dex/models/_projects}/dfx/dfx_trades.sql (100%) rename {models/_project => dex/models/_projects}/dodo/dodo_trades.sql (100%) rename {models/_project => dex/models/_projects}/ellipsis_finance/ellipsis_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/equalizer/equalizer_trades.sql (100%) rename {models/_project => dex/models/_projects}/fraxswap/fraxswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/glacier/glacier_trades.sql (100%) rename {models/_project => dex/models/_projects}/gmx/gmx_trades.sql (100%) rename {models/_project => dex/models/_projects}/hashflow/hashflow_trades.sql (100%) rename {models/_project => dex/models/_projects}/honeyswap/honeyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/integral/integral_trades.sql (100%) rename {models/_project => dex/models/_projects}/iziswap/iziswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/kyberswap/kyberswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/mauve/mauve_trades.sql (100%) rename {models/_project => dex/models/_projects}/maverick/maverick_trades.sql (100%) rename {models/_project => dex/models/_projects}/mdex/mdex_trades.sql (100%) rename {models/_project => dex/models/_projects}/mstable/mstable_trades.sql (100%) rename {models/_project => dex/models/_projects}/mummy_finance/mummy_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/nomiswap/nomiswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/onepunchswap/onepunchswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/openocean/openocean_trades.sql (100%) rename {models/_project => dex/models/_projects}/openxswap/openxswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/opx_finance/opx_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/pancakeswap/pancakeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/platypus_finance/platypus_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/quickswap/quickswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/rubicon/rubicon_trades.sql (100%) rename {models/_project => dex/models/_projects}/shibaswap/shibaswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/spartacus_exchange/spartacus_exchange_trades.sql (100%) rename {models/_project => dex/models/_projects}/spiritswap/spiritswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/spookyswap/spookyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/sushiswap/sushiswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/swapr/swapr_trades.sql (100%) rename {models/_project => dex/models/_projects}/synthetix/synthetix_trades.sql (100%) rename {models/_project => dex/models/_projects}/thena/thena_trades.sql (100%) rename {models/_project => dex/models/_projects}/trader_joe/trader_joe_trades.sql (100%) rename {models/_project => dex/models/_projects}/ubeswap/ubeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/velodrome/velodrome_trades.sql (100%) rename {models/_project => dex/models/_projects}/verse_dex/verse_dex_trades.sql (100%) rename {models/_project => dex/models/_projects}/wardenswap/wardenswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/wigoswap/wigoswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/wombat/wombat_trades.sql (100%) rename {models/_project => dex/models/_projects}/woofi/woofi_trades.sql (100%) rename {models/_project => dex/models/_projects}/xchange/xchange_trades.sql (100%) rename {models/_project => dex/models/_projects}/zigzag/zigzag_trades.sql (100%) rename {models/_project => dex/models/_projects}/zipswap/zipswap_trades.sql (100%) diff --git a/models/_project/aerodrome/aerodrome_trades.sql b/dex/models/_projects/aerodrome/aerodrome_trades.sql similarity index 100% rename from models/_project/aerodrome/aerodrome_trades.sql rename to dex/models/_projects/aerodrome/aerodrome_trades.sql diff --git a/models/_project/airswap/airswap_trades.sql b/dex/models/_projects/airswap/airswap_trades.sql similarity index 100% rename from models/_project/airswap/airswap_trades.sql rename to dex/models/_projects/airswap/airswap_trades.sql diff --git a/models/_project/apeswap/apeswap_trades.sql b/dex/models/_projects/apeswap/apeswap_trades.sql similarity index 100% rename from models/_project/apeswap/apeswap_trades.sql rename to dex/models/_projects/apeswap/apeswap_trades.sql diff --git a/models/_project/arbswap/arbswap_trades.sql b/dex/models/_projects/arbswap/arbswap_trades.sql similarity index 100% rename from models/_project/arbswap/arbswap_trades.sql rename to dex/models/_projects/arbswap/arbswap_trades.sql diff --git a/models/_project/babyswap/babyswap_trades.sql b/dex/models/_projects/babyswap/babyswap_trades.sql similarity index 100% rename from models/_project/babyswap/babyswap_trades.sql rename to dex/models/_projects/babyswap/babyswap_trades.sql diff --git a/models/_project/balancer/trades/arbitrum/_schema.yml b/dex/models/_projects/balancer/trades/arbitrum/_schema.yml similarity index 100% rename from models/_project/balancer/trades/arbitrum/_schema.yml rename to dex/models/_projects/balancer/trades/arbitrum/_schema.yml diff --git a/models/_project/balancer/trades/arbitrum/balancer_arbitrum_trades.sql b/dex/models/_projects/balancer/trades/arbitrum/balancer_arbitrum_trades.sql similarity index 100% rename from models/_project/balancer/trades/arbitrum/balancer_arbitrum_trades.sql rename to dex/models/_projects/balancer/trades/arbitrum/balancer_arbitrum_trades.sql diff --git a/models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql b/dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql similarity index 93% rename from models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql rename to dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql index 2baa6afd2b2..0aeeed435c5 100644 --- a/models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql +++ b/dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/avalanche_c/_schema.yml b/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml similarity index 100% rename from models/_project/balancer/trades/avalanche_c/_schema.yml rename to dex/models/_projects/balancer/trades/avalanche_c/_schema.yml diff --git a/models/_project/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql b/dex/models/_projects/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql similarity index 100% rename from models/_project/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql rename to dex/models/_projects/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql diff --git a/models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql b/dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql similarity index 93% rename from models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql rename to dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql index d1a0eb61af5..3de611ffa3e 100644 --- a/models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql +++ b/dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/balancer_trades.sql b/dex/models/_projects/balancer/trades/balancer_trades.sql similarity index 100% rename from models/_project/balancer/trades/balancer_trades.sql rename to dex/models/_projects/balancer/trades/balancer_trades.sql diff --git a/models/_project/balancer/trades/base/_schema.yml b/dex/models/_projects/balancer/trades/base/_schema.yml similarity index 100% rename from models/_project/balancer/trades/base/_schema.yml rename to dex/models/_projects/balancer/trades/base/_schema.yml diff --git a/models/_project/balancer/trades/base/balancer_base_trades.sql b/dex/models/_projects/balancer/trades/base/balancer_base_trades.sql similarity index 100% rename from models/_project/balancer/trades/base/balancer_base_trades.sql rename to dex/models/_projects/balancer/trades/base/balancer_base_trades.sql diff --git a/models/_project/balancer/trades/base/balancer_v2_base_trades.sql b/dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql similarity index 93% rename from models/_project/balancer/trades/base/balancer_v2_base_trades.sql rename to dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql index b94589a490a..78f9f0f482f 100644 --- a/models/_project/balancer/trades/base/balancer_v2_base_trades.sql +++ b/dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/ethereum/_schema.yml b/dex/models/_projects/balancer/trades/ethereum/_schema.yml similarity index 100% rename from models/_project/balancer/trades/ethereum/_schema.yml rename to dex/models/_projects/balancer/trades/ethereum/_schema.yml diff --git a/models/_project/balancer/trades/ethereum/balancer_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_ethereum_trades.sql similarity index 100% rename from models/_project/balancer/trades/ethereum/balancer_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_ethereum_trades.sql diff --git a/models/_project/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql similarity index 100% rename from models/_project/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql diff --git a/models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql similarity index 93% rename from models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql index dfb4c2439bf..1576a017b0f 100644 --- a/models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql +++ b/dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/gnosis/_schema.yml b/dex/models/_projects/balancer/trades/gnosis/_schema.yml similarity index 100% rename from models/_project/balancer/trades/gnosis/_schema.yml rename to dex/models/_projects/balancer/trades/gnosis/_schema.yml diff --git a/models/_project/balancer/trades/gnosis/balancer_gnosis_trades.sql b/dex/models/_projects/balancer/trades/gnosis/balancer_gnosis_trades.sql similarity index 100% rename from models/_project/balancer/trades/gnosis/balancer_gnosis_trades.sql rename to dex/models/_projects/balancer/trades/gnosis/balancer_gnosis_trades.sql diff --git a/models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql b/dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql similarity index 93% rename from models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql rename to dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql index 090b5b9e737..d9e629fe0df 100644 --- a/models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql +++ b/dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/optimism/_schema.yml b/dex/models/_projects/balancer/trades/optimism/_schema.yml similarity index 100% rename from models/_project/balancer/trades/optimism/_schema.yml rename to dex/models/_projects/balancer/trades/optimism/_schema.yml diff --git a/models/_project/balancer/trades/optimism/balancer_optimism_trades.sql b/dex/models/_projects/balancer/trades/optimism/balancer_optimism_trades.sql similarity index 100% rename from models/_project/balancer/trades/optimism/balancer_optimism_trades.sql rename to dex/models/_projects/balancer/trades/optimism/balancer_optimism_trades.sql diff --git a/models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql b/dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql similarity index 93% rename from models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql rename to dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql index b53e845ddd6..b04f7ea49bc 100644 --- a/models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql +++ b/dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/polygon/_schema.yml b/dex/models/_projects/balancer/trades/polygon/_schema.yml similarity index 100% rename from models/_project/balancer/trades/polygon/_schema.yml rename to dex/models/_projects/balancer/trades/polygon/_schema.yml diff --git a/models/_project/balancer/trades/polygon/balancer_polygon_trades.sql b/dex/models/_projects/balancer/trades/polygon/balancer_polygon_trades.sql similarity index 100% rename from models/_project/balancer/trades/polygon/balancer_polygon_trades.sql rename to dex/models/_projects/balancer/trades/polygon/balancer_polygon_trades.sql diff --git a/models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql b/dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql similarity index 93% rename from models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql rename to dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql index 37b12105abe..5a5f19c028e 100644 --- a/models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql +++ b/dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/zkevm/_schema.yml b/dex/models/_projects/balancer/trades/zkevm/_schema.yml similarity index 100% rename from models/_project/balancer/trades/zkevm/_schema.yml rename to dex/models/_projects/balancer/trades/zkevm/_schema.yml diff --git a/models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql b/dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql similarity index 93% rename from models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql rename to dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql index 36cc38e4a44..72103686ff8 100644 --- a/models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql +++ b/dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/zkevm/balancer_zkevm_trades.sql b/dex/models/_projects/balancer/trades/zkevm/balancer_zkevm_trades.sql similarity index 100% rename from models/_project/balancer/trades/zkevm/balancer_zkevm_trades.sql rename to dex/models/_projects/balancer/trades/zkevm/balancer_zkevm_trades.sql diff --git a/models/_project/bancor/bancor_trades.sql b/dex/models/_projects/bancor/bancor_trades.sql similarity index 100% rename from models/_project/bancor/bancor_trades.sql rename to dex/models/_projects/bancor/bancor_trades.sql diff --git a/models/_project/beethoven_x/beethoven_x_trades.sql b/dex/models/_projects/beethoven_x/beethoven_x_trades.sql similarity index 100% rename from models/_project/beethoven_x/beethoven_x_trades.sql rename to dex/models/_projects/beethoven_x/beethoven_x_trades.sql diff --git a/models/_project/biswap/biswap_trades.sql b/dex/models/_projects/biswap/biswap_trades.sql similarity index 100% rename from models/_project/biswap/biswap_trades.sql rename to dex/models/_projects/biswap/biswap_trades.sql diff --git a/models/_project/camelot/camelot_trades.sql b/dex/models/_projects/camelot/camelot_trades.sql similarity index 100% rename from models/_project/camelot/camelot_trades.sql rename to dex/models/_projects/camelot/camelot_trades.sql diff --git a/models/_project/carbon_defi/carbon_defi_trades.sql b/dex/models/_projects/carbon_defi/carbon_defi_trades.sql similarity index 100% rename from models/_project/carbon_defi/carbon_defi_trades.sql rename to dex/models/_projects/carbon_defi/carbon_defi_trades.sql diff --git a/models/_project/clipper/clipper_trades.sql b/dex/models/_projects/clipper/clipper_trades.sql similarity index 100% rename from models/_project/clipper/clipper_trades.sql rename to dex/models/_projects/clipper/clipper_trades.sql diff --git a/models/_project/curvefi/curvefi_trades.sql b/dex/models/_projects/curvefi/curvefi_trades.sql similarity index 100% rename from models/_project/curvefi/curvefi_trades.sql rename to dex/models/_projects/curvefi/curvefi_trades.sql diff --git a/models/_project/defiswap/defiswap_trades.sql b/dex/models/_projects/defiswap/defiswap_trades.sql similarity index 100% rename from models/_project/defiswap/defiswap_trades.sql rename to dex/models/_projects/defiswap/defiswap_trades.sql diff --git a/models/_project/_schema.yml b/dex/models/_projects/dex_trades_views_schema.yml similarity index 99% rename from models/_project/_schema.yml rename to dex/models/_projects/dex_trades_views_schema.yml index 00230ce31ee..8b969c29d8d 100644 --- a/models/_project/_schema.yml +++ b/dex/models/_projects/dex_trades_views_schema.yml @@ -1,6 +1,6 @@ version: 2 -models: +models: - name: aerodrome_trades - name: airswap_trades - name: apeswap_trades diff --git a/models/_project/dfx/dfx_trades.sql b/dex/models/_projects/dfx/dfx_trades.sql similarity index 100% rename from models/_project/dfx/dfx_trades.sql rename to dex/models/_projects/dfx/dfx_trades.sql diff --git a/models/_project/dodo/dodo_trades.sql b/dex/models/_projects/dodo/dodo_trades.sql similarity index 100% rename from models/_project/dodo/dodo_trades.sql rename to dex/models/_projects/dodo/dodo_trades.sql diff --git a/models/_project/ellipsis_finance/ellipsis_finance_trades.sql b/dex/models/_projects/ellipsis_finance/ellipsis_finance_trades.sql similarity index 100% rename from models/_project/ellipsis_finance/ellipsis_finance_trades.sql rename to dex/models/_projects/ellipsis_finance/ellipsis_finance_trades.sql diff --git a/models/_project/equalizer/equalizer_trades.sql b/dex/models/_projects/equalizer/equalizer_trades.sql similarity index 100% rename from models/_project/equalizer/equalizer_trades.sql rename to dex/models/_projects/equalizer/equalizer_trades.sql diff --git a/models/_project/fraxswap/fraxswap_trades.sql b/dex/models/_projects/fraxswap/fraxswap_trades.sql similarity index 100% rename from models/_project/fraxswap/fraxswap_trades.sql rename to dex/models/_projects/fraxswap/fraxswap_trades.sql diff --git a/models/_project/glacier/glacier_trades.sql b/dex/models/_projects/glacier/glacier_trades.sql similarity index 100% rename from models/_project/glacier/glacier_trades.sql rename to dex/models/_projects/glacier/glacier_trades.sql diff --git a/models/_project/gmx/gmx_trades.sql b/dex/models/_projects/gmx/gmx_trades.sql similarity index 100% rename from models/_project/gmx/gmx_trades.sql rename to dex/models/_projects/gmx/gmx_trades.sql diff --git a/models/_project/hashflow/hashflow_trades.sql b/dex/models/_projects/hashflow/hashflow_trades.sql similarity index 100% rename from models/_project/hashflow/hashflow_trades.sql rename to dex/models/_projects/hashflow/hashflow_trades.sql diff --git a/models/_project/honeyswap/honeyswap_trades.sql b/dex/models/_projects/honeyswap/honeyswap_trades.sql similarity index 100% rename from models/_project/honeyswap/honeyswap_trades.sql rename to dex/models/_projects/honeyswap/honeyswap_trades.sql diff --git a/models/_project/integral/integral_trades.sql b/dex/models/_projects/integral/integral_trades.sql similarity index 100% rename from models/_project/integral/integral_trades.sql rename to dex/models/_projects/integral/integral_trades.sql diff --git a/models/_project/iziswap/iziswap_trades.sql b/dex/models/_projects/iziswap/iziswap_trades.sql similarity index 100% rename from models/_project/iziswap/iziswap_trades.sql rename to dex/models/_projects/iziswap/iziswap_trades.sql diff --git a/models/_project/kyberswap/kyberswap_trades.sql b/dex/models/_projects/kyberswap/kyberswap_trades.sql similarity index 100% rename from models/_project/kyberswap/kyberswap_trades.sql rename to dex/models/_projects/kyberswap/kyberswap_trades.sql diff --git a/models/_project/mauve/mauve_trades.sql b/dex/models/_projects/mauve/mauve_trades.sql similarity index 100% rename from models/_project/mauve/mauve_trades.sql rename to dex/models/_projects/mauve/mauve_trades.sql diff --git a/models/_project/maverick/maverick_trades.sql b/dex/models/_projects/maverick/maverick_trades.sql similarity index 100% rename from models/_project/maverick/maverick_trades.sql rename to dex/models/_projects/maverick/maverick_trades.sql diff --git a/models/_project/mdex/mdex_trades.sql b/dex/models/_projects/mdex/mdex_trades.sql similarity index 100% rename from models/_project/mdex/mdex_trades.sql rename to dex/models/_projects/mdex/mdex_trades.sql diff --git a/models/_project/mstable/mstable_trades.sql b/dex/models/_projects/mstable/mstable_trades.sql similarity index 100% rename from models/_project/mstable/mstable_trades.sql rename to dex/models/_projects/mstable/mstable_trades.sql diff --git a/models/_project/mummy_finance/mummy_finance_trades.sql b/dex/models/_projects/mummy_finance/mummy_finance_trades.sql similarity index 100% rename from models/_project/mummy_finance/mummy_finance_trades.sql rename to dex/models/_projects/mummy_finance/mummy_finance_trades.sql diff --git a/models/_project/nomiswap/nomiswap_trades.sql b/dex/models/_projects/nomiswap/nomiswap_trades.sql similarity index 100% rename from models/_project/nomiswap/nomiswap_trades.sql rename to dex/models/_projects/nomiswap/nomiswap_trades.sql diff --git a/models/_project/onepunchswap/onepunchswap_trades.sql b/dex/models/_projects/onepunchswap/onepunchswap_trades.sql similarity index 100% rename from models/_project/onepunchswap/onepunchswap_trades.sql rename to dex/models/_projects/onepunchswap/onepunchswap_trades.sql diff --git a/models/_project/openocean/openocean_trades.sql b/dex/models/_projects/openocean/openocean_trades.sql similarity index 100% rename from models/_project/openocean/openocean_trades.sql rename to dex/models/_projects/openocean/openocean_trades.sql diff --git a/models/_project/openxswap/openxswap_trades.sql b/dex/models/_projects/openxswap/openxswap_trades.sql similarity index 100% rename from models/_project/openxswap/openxswap_trades.sql rename to dex/models/_projects/openxswap/openxswap_trades.sql diff --git a/models/_project/opx_finance/opx_finance_trades.sql b/dex/models/_projects/opx_finance/opx_finance_trades.sql similarity index 100% rename from models/_project/opx_finance/opx_finance_trades.sql rename to dex/models/_projects/opx_finance/opx_finance_trades.sql diff --git a/models/_project/pancakeswap/pancakeswap_trades.sql b/dex/models/_projects/pancakeswap/pancakeswap_trades.sql similarity index 100% rename from models/_project/pancakeswap/pancakeswap_trades.sql rename to dex/models/_projects/pancakeswap/pancakeswap_trades.sql diff --git a/models/_project/platypus_finance/platypus_finance_trades.sql b/dex/models/_projects/platypus_finance/platypus_finance_trades.sql similarity index 100% rename from models/_project/platypus_finance/platypus_finance_trades.sql rename to dex/models/_projects/platypus_finance/platypus_finance_trades.sql diff --git a/models/_project/quickswap/quickswap_trades.sql b/dex/models/_projects/quickswap/quickswap_trades.sql similarity index 100% rename from models/_project/quickswap/quickswap_trades.sql rename to dex/models/_projects/quickswap/quickswap_trades.sql diff --git a/models/_project/rubicon/rubicon_trades.sql b/dex/models/_projects/rubicon/rubicon_trades.sql similarity index 100% rename from models/_project/rubicon/rubicon_trades.sql rename to dex/models/_projects/rubicon/rubicon_trades.sql diff --git a/models/_project/shibaswap/shibaswap_trades.sql b/dex/models/_projects/shibaswap/shibaswap_trades.sql similarity index 100% rename from models/_project/shibaswap/shibaswap_trades.sql rename to dex/models/_projects/shibaswap/shibaswap_trades.sql diff --git a/models/_project/spartacus_exchange/spartacus_exchange_trades.sql b/dex/models/_projects/spartacus_exchange/spartacus_exchange_trades.sql similarity index 100% rename from models/_project/spartacus_exchange/spartacus_exchange_trades.sql rename to dex/models/_projects/spartacus_exchange/spartacus_exchange_trades.sql diff --git a/models/_project/spiritswap/spiritswap_trades.sql b/dex/models/_projects/spiritswap/spiritswap_trades.sql similarity index 100% rename from models/_project/spiritswap/spiritswap_trades.sql rename to dex/models/_projects/spiritswap/spiritswap_trades.sql diff --git a/models/_project/spookyswap/spookyswap_trades.sql b/dex/models/_projects/spookyswap/spookyswap_trades.sql similarity index 100% rename from models/_project/spookyswap/spookyswap_trades.sql rename to dex/models/_projects/spookyswap/spookyswap_trades.sql diff --git a/models/_project/sushiswap/sushiswap_trades.sql b/dex/models/_projects/sushiswap/sushiswap_trades.sql similarity index 100% rename from models/_project/sushiswap/sushiswap_trades.sql rename to dex/models/_projects/sushiswap/sushiswap_trades.sql diff --git a/models/_project/swapr/swapr_trades.sql b/dex/models/_projects/swapr/swapr_trades.sql similarity index 100% rename from models/_project/swapr/swapr_trades.sql rename to dex/models/_projects/swapr/swapr_trades.sql diff --git a/models/_project/synthetix/synthetix_trades.sql b/dex/models/_projects/synthetix/synthetix_trades.sql similarity index 100% rename from models/_project/synthetix/synthetix_trades.sql rename to dex/models/_projects/synthetix/synthetix_trades.sql diff --git a/models/_project/thena/thena_trades.sql b/dex/models/_projects/thena/thena_trades.sql similarity index 100% rename from models/_project/thena/thena_trades.sql rename to dex/models/_projects/thena/thena_trades.sql diff --git a/models/_project/trader_joe/trader_joe_trades.sql b/dex/models/_projects/trader_joe/trader_joe_trades.sql similarity index 100% rename from models/_project/trader_joe/trader_joe_trades.sql rename to dex/models/_projects/trader_joe/trader_joe_trades.sql diff --git a/models/_project/ubeswap/ubeswap_trades.sql b/dex/models/_projects/ubeswap/ubeswap_trades.sql similarity index 100% rename from models/_project/ubeswap/ubeswap_trades.sql rename to dex/models/_projects/ubeswap/ubeswap_trades.sql diff --git a/models/_project/velodrome/velodrome_trades.sql b/dex/models/_projects/velodrome/velodrome_trades.sql similarity index 100% rename from models/_project/velodrome/velodrome_trades.sql rename to dex/models/_projects/velodrome/velodrome_trades.sql diff --git a/models/_project/verse_dex/verse_dex_trades.sql b/dex/models/_projects/verse_dex/verse_dex_trades.sql similarity index 100% rename from models/_project/verse_dex/verse_dex_trades.sql rename to dex/models/_projects/verse_dex/verse_dex_trades.sql diff --git a/models/_project/wardenswap/wardenswap_trades.sql b/dex/models/_projects/wardenswap/wardenswap_trades.sql similarity index 100% rename from models/_project/wardenswap/wardenswap_trades.sql rename to dex/models/_projects/wardenswap/wardenswap_trades.sql diff --git a/models/_project/wigoswap/wigoswap_trades.sql b/dex/models/_projects/wigoswap/wigoswap_trades.sql similarity index 100% rename from models/_project/wigoswap/wigoswap_trades.sql rename to dex/models/_projects/wigoswap/wigoswap_trades.sql diff --git a/models/_project/wombat/wombat_trades.sql b/dex/models/_projects/wombat/wombat_trades.sql similarity index 100% rename from models/_project/wombat/wombat_trades.sql rename to dex/models/_projects/wombat/wombat_trades.sql diff --git a/models/_project/woofi/woofi_trades.sql b/dex/models/_projects/woofi/woofi_trades.sql similarity index 100% rename from models/_project/woofi/woofi_trades.sql rename to dex/models/_projects/woofi/woofi_trades.sql diff --git a/models/_project/xchange/xchange_trades.sql b/dex/models/_projects/xchange/xchange_trades.sql similarity index 100% rename from models/_project/xchange/xchange_trades.sql rename to dex/models/_projects/xchange/xchange_trades.sql diff --git a/models/_project/zigzag/zigzag_trades.sql b/dex/models/_projects/zigzag/zigzag_trades.sql similarity index 100% rename from models/_project/zigzag/zigzag_trades.sql rename to dex/models/_projects/zigzag/zigzag_trades.sql diff --git a/models/_project/zipswap/zipswap_trades.sql b/dex/models/_projects/zipswap/zipswap_trades.sql similarity index 100% rename from models/_project/zipswap/zipswap_trades.sql rename to dex/models/_projects/zipswap/zipswap_trades.sql diff --git a/models/_project/balancer/pools/optimism/_schema.yml b/models/_project/balancer/pools/optimism/_schema.yml index 249a0192c83..88a17c5195a 100644 --- a/models/_project/balancer/pools/optimism/_schema.yml +++ b/models/_project/balancer/pools/optimism/_schema.yml @@ -83,7 +83,8 @@ models: - &evt_block_number name: evt_block_number description: 'Event Block Number' - - *contract_address + - &contract_address + name: contract_address - &evt_tx_hash name: evt_tx_hash description: 'Transaction hash' diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml index 76dd468aacf..c0712beb0b5 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml @@ -10,19 +10,6 @@ models: tags: ['ethereum','cow_protocol','solver'] description: > CoW Protocol solvers list on Ethereum - columns: - - &address - name: address - description: "Solver's wallet address" - - &environment - name: environment - description: "Development environment" - - &name - name: name - description: "Solver's name" - - &active - name: active - description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - name: cow_protocol_ethereum_batches meta: @@ -33,43 +20,6 @@ models: tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator', 'auction'] description: > CoW Protocol enriched batches table on Ethereum - columns: - - *block_date - - *block_number - - *block_time - - &num_trades - name: num_trades - description: Number of trades settled within the batch - - &dex_swaps - name: dex_swaps - description: Number of AMM interactions used to settle the batch (Null when unknown) - - &batch_value - name: batch_value - description: Total USD value of trades settled within the batch - - &solver_address - name: solver_address - description: Ethereum address of solver settled batch (equivalent to tx.from) - - *tx_hash - - &gas_price - name: gas_price - description: Gas price (in WEI) of transaction - - &gas_used - name: gas_used - description: Total/cumulative gas consumed (in WEI) to settle the batch - - &tx_cost_usd - name: tx_cost_usd - description: USD cost of batch execution (gas_price * gas_used) / 1e18 * ETH price - - &fee_value - name: Total USD valuation of fees collected from all trades within the batch - - &call_data_size - name: call_data_size - description: Size (in Kilobytes) of call data passed into the settle method. - - &unwraps - name: unwraps - description: Number of WETH unwraps performed within the settlement - - &token_approvals - name: token_approvals - description: Number of ERC20 token approvals made within the settlement - name: cow_protocol_ethereum_app_data meta: @@ -80,26 +30,6 @@ models: tags: ['ethereum','cow_protocol','app_data', "metadata"] description: > CoW Protocol App Data is JSON content stored on IPFS corresponding to order AppHash (cf. CoW Documentation https://docs.cow.fi/front-end/creating-app-ids). - columns: - - &app_hash - name: app_hash - description: Unique identifier of AppData published on-chain, used to fetch remaining content from IPFS. This can be recovered from call data provided to the Settlement Contracts `settle` method - - &app_code - name: app_code - description: App Code is an indicator of where the order came from - primarily intended to be used for integration partners - - *environment - - &order_class - name: order_class - description: Enum flag indicating if an order was a market or limit order (can be Null) - - &referrer - name: referrer - description: Ethereum address of referrer - used for tracking affiliate data (can be Null) - - &slippage_bips - name: slippage_bips - description: User's slippage tolerance configured through the interface. Used to compute trade execution price improvement (can be Null) - - &utm - name: utm - description: utm object associated with the app data (consisting of fields utmSource, utmContent and utmMedium) - name: cow_protocol_ethereum_order_rewards meta: @@ -111,22 +41,6 @@ models: description: > Order Rewards (or more appropriately named Order Meta) contains off-chain meta data relevant to the solver competition on the granularity level of orders. - columns: - - *tx_hash - - &solver - name: solver - description: "Address of the solver who settled the order (i.e. the from address of the corresponding transaction)" - - *block_number - - &cow_reward - name: cow_reward - description: "COW token reward distributed to solver for settling order" - - &surplus_fee - name: surplus_fee - description: "Fee taken from limit orders" - - *order_uid - - "e_solver - name: quote_solver - description: "Address of the solver who provided the winning quote for this order" - name: cow_protocol_ethereum_eth_flow_orders meta: @@ -140,30 +54,6 @@ models: through the ETHFlow contract (https://github.com/cowprotocol/ethflowcontract) sending native which then wraps the asset as an ERC20. The order is filled through this intermediary contract that uses ERC1271 signature verification to place the order on the user's behalf. - columns: - - *block_date - - *block_time - - *block_number - - *tx_hash - - *environment - - *valid_to - - "e_id - name: quote_id - description: Integer corresponding to the quote user was given in the interface. - - &sell_amount - name: sell_amount - description: sell amount as part of the signed user order - - *fee - - &buy_amount - name: buy_amount - description: buy amount as part of the signed user order - - *buy_token - - *receiver - - &sender - name: sender - description: sender of order placement transaction. Equivalent to "trader" - - *app_hash - - *order_uid - name: cow_protocol_ethereum_referrals meta: @@ -177,9 +67,6 @@ models: A referral is considered valid whenever a new trader comes and places their first order with referral address in the meta content. This table contains the relevant query to build the affiliate mapping. - columns: - - *trader - - *referrer - name: cow_protocol_ethereum_trade_slippage meta: @@ -197,25 +84,6 @@ models: combination_of_columns: - order_uid - block_number - columns: - - *order_uid - - *block_time - - *block_number - - &buy_quote - name: buy_quote - - &sell_quote - name: sell_quote - - &tolerance_bips - name: tolerance_bips - - &trade_usd_value - name: trade_usd_value - - *fill_proportion - - &amount_atoms - name: amount_atoms - - &amount_percentage - name: amount_percentage - - &amount_usd - name: amount_usd - name: cow_protocol_ethereum_airdrop_claims meta: @@ -231,37 +99,4 @@ models: combination_of_columns: - tx_hash - recipient - - evt_index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - *block_time - - *block_number - - &project - name: project - description: "Project name" - - &airdrop_number - name: airdrop_number - description: "Airdrop identifier number" - - &recipient - name: recipient - description: "Airdrop recipient" - - &contract_address - name: contract_address - description: "Contract addressed used" - - *tx_hash - - name: amount_raw - description: "Raw amount of tokens" - - name: amount_original - description: "Original amount of tokens" - - name: amount_usd - description: "USD value of tokens" - - &token_address - name: token_address - description: "Token address" - - &token_symbol - name: token_symbol - description: "Token symbol" - - *evt_index - + - evt_index \ No newline at end of file diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml index fc89caaae7a..80d39a5c579 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml @@ -10,19 +10,7 @@ models: tags: ['gnosis_chain','cow_protocol','solver'] description: > CoW Protocol solvers list on Gnosis Chain - columns: - - &address - name: address - description: "Solver's wallet address" - - &environment - name: environment - description: "Solver's environment" - - &name - name: name - description: "Solver's name" - - &active - name: active - description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." + - name: cow_protocol_gnosis_batches meta: blockchain: gnosis @@ -32,43 +20,3 @@ models: tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator', 'auction'] description: > CoW Protocol enriched batches table on Gnosis Chain - columns: - - *block_date - - *block_time - - &num_trades - name: num_trades - description: Number of trades settled within the batch - - &dex_swaps - name: dex_swaps - description: Number of AMM interactions used to settle the batch (estimated) - - &batch_value - name: batch_value - description: Total USD value of trades settled within the batch - - &solver_address - name: solver_address - description: Ethereum address of solver settled batch (equivalent to tx.from) - - name: tx_hash - description: "Transaction hash of trade" - tests: - - unique - - &gas_price - name: gas_price - description: Gas price (in WEI) of transaction - - &gas_used - name: gas_used - description: Total/cumulative gas consumed (in WEI) to settle the batch - - &tx_cost_usd - name: tx_cost_usd - description: USD cost of batch execution (gas_price * gas_used) / 1e18 * ETH price - - &fee_value - name: fee_value - description: Total USD valuation of fees collected from all trades within the batch - - &call_data_size - name: call_data_size - description: Size (in Kilobytes) of call data passed into the settle method. - - &unwraps - name: unwraps - description: Number of WETH unwraps performed within the settlement - - &token_approvals - name: token_approvals - description: Number of ERC20 token approvals made within the settlement diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index 0c364663bb7..67f9ad1026b 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -17,9 +17,18 @@ models: - &address name: address description: 'Address of liquidity pool' + - &pool_address + name: pool_address + description: "Address of the pool to which a Gauge belongs" + - &child_gauge_address + name: child_gauge_address + description: "Address of the Child Gauge on L2s, NULL if on mainnet" - &name name: name description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + - &status + name: status + description: "Flag for whether a gauge is active or inactive" - &category name: category description: 'Label category' @@ -42,246 +51,6 @@ models: name: label_type description: "Type of label (see labels overall readme)" - - name: labels_balancer_v2_pools_polygon - meta: - blockchain: polygon - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'polygon', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_gnosis - meta: - blockchain: gnosis - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'gnosis', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Gnosis.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_avalanche_c - meta: - blockchain: avalanche_c - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'avalanche_c', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Avalanche Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_base - meta: - blockchain: base - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'base', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Base Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_arbitrum - meta: - blockchain: arbitrum - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'arbitrum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Arbitrum.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_optimism - meta: - blockchain: optimism - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'optimism', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Optimism.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_zkevm - meta: - blockchain: zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'zkevm', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon zkevm.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - - name: labels_balancer_v2_pools - meta: - blockchain: ethereum, polygon, arbitrum, optimism, gnosis, base, avalanche_c, zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: - [ - 'labels', - 'ethereum', - 'polygon', - 'arbitrum', - 'optimism', - 'avalanche_c', - 'base', - 'gnosis', - 'zkevm', - 'balancer', - 'pools', - ] - description: 'Balancer V2 liquidity pools created across blockchains.' - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_gauges - meta: - blockchain: ethereum, polygon, optimism, arbitrum, avalanche_c, base, gnosis, zkevm - sector: labels - project: balancer_v2 - contributors: jacektrocinski, viniabussafi - config: - tags: ['labels', 'ethereum', 'polygon', 'optimism', 'arbitrum', 'avalanche_c', 'base', 'gnosis', 'zkevm', 'gauges'] - description: 'Balancer v2 gauge labels.' - columns: - - *blockchain - - *address - - &pool_address - name: pool_address - description: "Address of the pool to which a Gauge belongs" - - &child_gauge_address - name: child_gauge_address - description: "Address of the Child Gauge on L2s, NULL if on mainnet" - - *name - - &status - name: status - description: "Flag for whether a gauge is active or inactive" - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - name: labels_balancer_v2_gauges_ethereum meta: blockchain: ethereum diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 5dc77214c45..f38ccc41c6f 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -64,4 +64,28 @@ sources: - name: addresses_optimism tables: - name: fee_vaults - - name: grants_funding \ No newline at end of file + - name: grants_funding + - name: balancer_v2_optimism + tables: + - name: trades + - name: balancer_v2_arbitrum + tables: + - name: trades + - name: balancer_v2_avalanche_c + tables: + - name: trades + - name: balancer_v2_base + tables: + - name: trades + - name: balancer_v2_ethereum + tables: + - name: trades + - name: balancer_v2_gnosis + tables: + - name: trades + - name: balancer_v2_polygon + tables: + - name: trades + - name: balancer_v2_zkevm + tables: + - name: trades \ No newline at end of file From 9c4dac537f3a6f585943f0ad6f9433be23d7afb2 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:36:55 -0400 Subject: [PATCH 10/63] move more pools --- .../models/_projects/arrakis/_schema.yml | 0 .../arrakis/arrakis_uniswap_pools.sql | 0 .../_projects/arrakis/optimism/_schema.yml | 0 .../arrakis_optimism_uniswap_pools.sql | 0 .../models/_projects/gamma/_schema.yml | 0 .../_projects}/gamma/gamma_uniswap_pools.sql | 0 .../_projects/gamma/optimism/_schema.yml | 0 .../optimism/gamma_optimism_uniswap_pools.sql | 0 dex/models/_projects/uniswap/_schema.yml | 29 ++++++++++++++ .../uniswap_liquidity_manager_pools.sql | 0 models/_project/uniswap/uniswap_schema.yml | 38 ------------------- 11 files changed, 29 insertions(+), 38 deletions(-) rename models/arrakis/arrakis_schema.yml => dex/models/_projects/arrakis/_schema.yml (100%) rename {models => dex/models/_projects}/arrakis/arrakis_uniswap_pools.sql (100%) rename models/arrakis/optimism/arrakis_optimism_schema.yml => dex/models/_projects/arrakis/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/arrakis/optimism/arrakis_optimism_uniswap_pools.sql (100%) rename models/gamma/gamma_schema.yml => dex/models/_projects/gamma/_schema.yml (100%) rename {models => dex/models/_projects}/gamma/gamma_uniswap_pools.sql (100%) rename models/gamma/optimism/gamma_optimism_schema.yml => dex/models/_projects/gamma/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/gamma/optimism/gamma_optimism_uniswap_pools.sql (100%) rename {models/_project => dex/models/_projects}/uniswap/uniswap_liquidity_manager_pools.sql (100%) diff --git a/models/arrakis/arrakis_schema.yml b/dex/models/_projects/arrakis/_schema.yml similarity index 100% rename from models/arrakis/arrakis_schema.yml rename to dex/models/_projects/arrakis/_schema.yml diff --git a/models/arrakis/arrakis_uniswap_pools.sql b/dex/models/_projects/arrakis/arrakis_uniswap_pools.sql similarity index 100% rename from models/arrakis/arrakis_uniswap_pools.sql rename to dex/models/_projects/arrakis/arrakis_uniswap_pools.sql diff --git a/models/arrakis/optimism/arrakis_optimism_schema.yml b/dex/models/_projects/arrakis/optimism/_schema.yml similarity index 100% rename from models/arrakis/optimism/arrakis_optimism_schema.yml rename to dex/models/_projects/arrakis/optimism/_schema.yml diff --git a/models/arrakis/optimism/arrakis_optimism_uniswap_pools.sql b/dex/models/_projects/arrakis/optimism/arrakis_optimism_uniswap_pools.sql similarity index 100% rename from models/arrakis/optimism/arrakis_optimism_uniswap_pools.sql rename to dex/models/_projects/arrakis/optimism/arrakis_optimism_uniswap_pools.sql diff --git a/models/gamma/gamma_schema.yml b/dex/models/_projects/gamma/_schema.yml similarity index 100% rename from models/gamma/gamma_schema.yml rename to dex/models/_projects/gamma/_schema.yml diff --git a/models/gamma/gamma_uniswap_pools.sql b/dex/models/_projects/gamma/gamma_uniswap_pools.sql similarity index 100% rename from models/gamma/gamma_uniswap_pools.sql rename to dex/models/_projects/gamma/gamma_uniswap_pools.sql diff --git a/models/gamma/optimism/gamma_optimism_schema.yml b/dex/models/_projects/gamma/optimism/_schema.yml similarity index 100% rename from models/gamma/optimism/gamma_optimism_schema.yml rename to dex/models/_projects/gamma/optimism/_schema.yml diff --git a/models/gamma/optimism/gamma_optimism_uniswap_pools.sql b/dex/models/_projects/gamma/optimism/gamma_optimism_uniswap_pools.sql similarity index 100% rename from models/gamma/optimism/gamma_optimism_uniswap_pools.sql rename to dex/models/_projects/gamma/optimism/gamma_optimism_uniswap_pools.sql diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml index 9b676eec81d..886e8438644 100644 --- a/dex/models/_projects/uniswap/_schema.yml +++ b/dex/models/_projects/uniswap/_schema.yml @@ -42,6 +42,35 @@ models: - name: contract_address description: "Contract address used to create the pool" + - name: uniswap_liquidity_manager_pools + meta: + blockchain: optimism + project: uniswap + contributors: msilb7 + config: + tags: ['optimism','uniswap','pools','liquidity managers'] + description: > + A table containing Uniswap mappings for known liquidity manager pools created. + columns: + - name: blockchain + description: 'Blockchain of the LP Token' + - name: dex_project_name + description: "DEX Project Name - This will be used for overall DEX LM incentives models" + - name: dex_project_version + description: "DEX Project Version - This will be used for overall DEX LM incentives models" + - name: project + description: 'Project Name of the LP Token' + - name: contract_address + description: 'Manager LP Token contract address' + - name: pool_contract + description: "Uniswap liquidity pool contract address" + - name: fee + description: "Swap fee of a Uniswap liquidity pool. Divide by 1e4 or power(10,4) to get the fee percentage" + - name: token0 + description: "Token0 contract address" + - name: token1 + description: "Token1 contract address" + - name: uniswap_arbitrum_pools meta: blockchain: arbitrum diff --git a/models/_project/uniswap/uniswap_liquidity_manager_pools.sql b/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from models/_project/uniswap/uniswap_liquidity_manager_pools.sql rename to dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/models/_project/uniswap/uniswap_schema.yml b/models/_project/uniswap/uniswap_schema.yml index a4a15a7134a..379f24a05d8 100644 --- a/models/_project/uniswap/uniswap_schema.yml +++ b/models/_project/uniswap/uniswap_schema.yml @@ -1,44 +1,6 @@ version: 2 models: - - name: uniswap_liquidity_manager_pools - meta: - blockchain: optimism - project: uniswap - contributors: msilb7 - config: - tags: ['optimism','uniswap','pools','liquidity managers'] - description: > - A table containing Uniswap mappings for known liquidity manager pools created. - columns: - - &blockchain_lm - name: blockchain - description: 'Blockchain of the LP Token' - - &dex_project_name - name: dex_project_name - description: "DEX Project Name - This will be used for overall DEX LM incentives models" - - &dex_project_version - name: dex_project_version - description: "DEX Project Version - This will be used for overall DEX LM incentives models" - - &project_lm - name: project - description: 'Project Name of the LP Token' - - &contract_address_lm - name: contract_address - description: 'Manager LP Token contract address' - - &pool_contract - name: pool_contract - description: "Uniswap liquidity pool contract address" - - &fee - name: fee - description: "Swap fee of a Uniswap liquidity pool. Divide by 1e4 or power(10,4) to get the fee percentage" - - &token0 - name: token0 - description: "Token0 contract address" - - &token1 - name: token1 - description: "Token1 contract address" - - name: uniswap_flashloans meta: blockchain: ethereum, bnb, arbitrum, optimism, polygon, celo From a86977bb15b67b1dc5906f49807873359bc494f9 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:43:53 -0400 Subject: [PATCH 11/63] initiate dex sources file, update first ref to source --- .../balancer/balancer_liquidity_macro.sql | 2 +- .../balancer/balancer_protocol_fee_macro.sql | 2 +- ...r_token_balance_changes_daily_agg_macro.sql | 2 +- .../platforms/geodnet_polygon_revenue.sql | 2 +- .../alchemydao_ethereum_airdrop_claims.sql | 4 ++-- .../fantom/beethoven_x_fantom_protocol_fee.sql | 2 +- models/dao/balances/dao_balances.sql | 2 +- .../dao_transactions_arbitrum_erc20.sql | 2 +- .../arbitrum/dao_transactions_arbitrum_eth.sql | 2 +- .../base/dao_transactions_base_erc20.sql | 2 +- .../base/dao_transactions_base_eth.sql | 2 +- .../dao_transactions_ethereum_erc20.sql | 2 +- .../gnosis/dao_transactions_gnosis_erc20.sql | 2 +- .../polygon/dao_transactions_polygon_erc20.sql | 2 +- .../gearbox_ethereum_airdrop_claims.sql | 4 ++-- .../keep3r_network_token_prices.sql | 2 +- .../paraswap_ethereum_airdrop_claims.sql | 4 ++-- .../ethereum/safe_ethereum_airdrop_claims.sql | 4 ++-- .../thales_ethereum_airdrop_claims.sql | 4 ++-- .../value_defi_ethereum_airdrop_claims.sql | 4 ++-- .../velodrome_optimism_airdrop_claims.sql | 4 ++-- sources/_subprojects/dex/_sources.yml | 18 ++++++++++++++++++ 22 files changed, 46 insertions(+), 28 deletions(-) create mode 100644 sources/_subprojects/dex/_sources.yml diff --git a/macros/models/_project/balancer/balancer_liquidity_macro.sql b/macros/models/_project/balancer/balancer_liquidity_macro.sql index 5bb70f51e48..7b8655a3414 100644 --- a/macros/models/_project/balancer/balancer_liquidity_macro.sql +++ b/macros/models/_project/balancer/balancer_liquidity_macro.sql @@ -30,7 +30,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql index aa8328088fd..d74c3c352a2 100644 --- a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql +++ b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql @@ -35,7 +35,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql b/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql index 7500f5d7e82..27af2752d29 100644 --- a/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql +++ b/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql @@ -24,7 +24,7 @@ WITH contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} {% if is_incremental() %} WHERE {{ incremental_predicate('hour') }} {% endif %} diff --git a/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql b/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql index 54039ad513c..7b4db3e07bf 100644 --- a/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql +++ b/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql @@ -51,7 +51,7 @@ WITH AVG(median_price) AS price, DATE_TRUNC('hour', hour) AS hour, DATE_TRUNC('day', hour) AS day - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'polygon' AND contract_address = 0xac0f66379a6d7801d7726d5a943356a172549adb diff --git a/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql b/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql index ab6b97c580d..b3c283afdd9 100644 --- a/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql +++ b/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{alch_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'ALCH' AS token_symbol , t.evt_index FROM {{ source('alchemydao_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{alch_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-03-28' AND TIMESTAMP '2021-04-19' \ No newline at end of file diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql b/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql index ac4f94d2a9f..a41f2474d8b 100644 --- a/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql +++ b/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql @@ -37,7 +37,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/models/dao/balances/dao_balances.sql b/models/dao/balances/dao_balances.sql index b0e3cb81769..f8ec9cc8af9 100644 --- a/models/dao/balances/dao_balances.sql +++ b/models/dao/balances/dao_balances.sql @@ -107,7 +107,7 @@ LEFT JOIN AND e.blockchain = 'ethereum' AND e.symbol = 'WETH' LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.contract_address = db.asset_contract_address AND d.day = dp.hour AND dp.blockchain = db.blockchain diff --git a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql index 256c48ac13d..ac30ba0550a 100644 --- a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql +++ b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'arbitrum' diff --git a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql index 336a4293265..f74e60d078e 100644 --- a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql +++ b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 AND dp.blockchain = 'arbitrum' diff --git a/models/dao/transactions/base/dao_transactions_base_erc20.sql b/models/dao/transactions/base/dao_transactions_base_erc20.sql index 6d2539d0ddd..a90cf4970f5 100644 --- a/models/dao/transactions/base/dao_transactions_base_erc20.sql +++ b/models/dao/transactions/base/dao_transactions_base_erc20.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'base' diff --git a/models/dao/transactions/base/dao_transactions_base_eth.sql b/models/dao/transactions/base/dao_transactions_base_eth.sql index 09d9750ae22..1263f0646ce 100644 --- a/models/dao/transactions/base/dao_transactions_base_eth.sql +++ b/models/dao/transactions/base/dao_transactions_base_eth.sql @@ -158,7 +158,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 AND dp.blockchain = 'base' diff --git a/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql b/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql index 508565a4a15..e74f72321ae 100644 --- a/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql +++ b/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'ethereum' diff --git a/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql b/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql index ef19f91936e..09c767a191f 100644 --- a/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql +++ b/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'gnosis' diff --git a/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql b/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql index 58ab12a4b91..51a0fe6175e 100644 --- a/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql +++ b/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'polygon' diff --git a/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql b/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql index f89b73b04b5..b25454ee3e3 100644 --- a/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql +++ b/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{gear_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'GEAR' AS token_symbol , t.evt_index FROM {{ source('gearbox_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{gear_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2022-04-05' AND TIMESTAMP '2022-07-22' \ No newline at end of file diff --git a/models/keep3r_network/keep3r_network_token_prices.sql b/models/keep3r_network/keep3r_network_token_prices.sql index 05a08b2b99c..34c79f3681f 100644 --- a/models/keep3r_network/keep3r_network_token_prices.sql +++ b/models/keep3r_network/keep3r_network_token_prices.sql @@ -37,7 +37,7 @@ dex_price as ( blockchain, date_trunc('day', hour) as day, avg(median_price) as price - FROM {{ ref('dex_prices') }} prc --on prc.contract_address = tkn.token_address and prc.blockchain = prc.blockchain + FROM {{ source('dex', 'prices') }} prc --on prc.contract_address = tkn.token_address and prc.blockchain = prc.blockchain where hour >= timestamp '2021-10-10' -- month of $K3PR Mint and contract_address in (select token_address from dex_tokens) diff --git a/models/paraswap/paraswap_ethereum_airdrop_claims.sql b/models/paraswap/paraswap_ethereum_airdrop_claims.sql index 2b79f196302..7339ca842d6 100644 --- a/models/paraswap/paraswap_ethereum_airdrop_claims.sql +++ b/models/paraswap/paraswap_ethereum_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{psp_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'ethereum' AS blockchain , 'PSP' AS token_symbol , t.evt_index FROM {{ source('erc20_ethereum', 'evt_transfer') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{psp_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/models/safe/ethereum/safe_ethereum_airdrop_claims.sql b/models/safe/ethereum/safe_ethereum_airdrop_claims.sql index cea0fad0d3b..8808f7f9cf2 100644 --- a/models/safe/ethereum/safe_ethereum_airdrop_claims.sql +++ b/models/safe/ethereum/safe_ethereum_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{safe_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'ethereum' AS blockchain , 'SAFE' AS token_symbol , t.evt_index FROM {{ source('erc20_ethereum', 'evt_transfer') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{safe_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/models/thales/ethereum/thales_ethereum_airdrop_claims.sql b/models/thales/ethereum/thales_ethereum_airdrop_claims.sql index 7c7c9e33e48..c9dd3152565 100644 --- a/models/thales/ethereum/thales_ethereum_airdrop_claims.sql +++ b/models/thales/ethereum/thales_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{thales_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'THALES' AS token_symbol , t.evt_index FROM {{ source('thales_ethereum', 'Airdrop_evt_Claim') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{thales_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-09-15' AND TIMESTAMP '2022-02-02' \ No newline at end of file diff --git a/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql b/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql index e3833083d99..181199ab47f 100644 --- a/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql +++ b/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{vusd_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'vUSD' AS token_symbol , t.evt_index FROM {{ source('value_defi_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{vusd_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-01-19' AND TIMESTAMP '2021-09-26' \ No newline at end of file diff --git a/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql b/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql index ae9cfaea183..da7a001f4d4 100644 --- a/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql +++ b/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH price_bounds AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'optimism' AND contract_address= {{velo_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'optimism' AS blockchain , 'VELO' AS token_symbol , t.evt_index FROM {{ source('velodrome_optimism', 'MerkleClaim_evt_Claim') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'optimism' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'optimism' AND pu.contract_address= {{velo_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml new file mode 100644 index 00000000000..879b16eab2c --- /dev/null +++ b/sources/_subprojects/dex/_sources.yml @@ -0,0 +1,18 @@ +version: 2 + +sources: + - name: dex + description: "output models of the DEX sector (dbt subproject)" + tables: + - name: trades + - name: prices + - name: prices_latest + - name: pools + - name: addresses + - name: atomic_arbitrages + - name: sandwiches + - name: sandwiched + - name: info + - name: dex_aggregator + tables: + - name: trades \ No newline at end of file From 469e4503347ca71c331239a6d946cf74d7d959f7 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:45:49 -0400 Subject: [PATCH 12/63] cleanup subproject sources --- sources/_subprojects/dex/_sources.yml | 29 ++++++++++++++++++++- sources/_subprojects/spellbook/_sources.yml | 29 +-------------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 879b16eab2c..b0909867b79 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -15,4 +15,31 @@ sources: - name: info - name: dex_aggregator tables: - - name: trades \ No newline at end of file + - name: trades + - name: balancer_v2_optimism + tables: + - name: trades + - name: balancer_v2_arbitrum + tables: + - name: trades + - name: balancer_v2_avalanche_c + tables: + - name: trades + - name: balancer_v2_base + tables: + - name: trades + - name: balancer_v2_ethereum + tables: + - name: trades + - name: balancer_v2_gnosis + tables: + - name: trades + - name: balancer_v2_polygon + tables: + - name: trades + - name: balancer_v2_zkevm + tables: + - name: trades + - name: uniswap_v3_optimism + tables: + - name: ovm1_pool_mapping \ No newline at end of file diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index f38ccc41c6f..007ffd7685d 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -44,9 +44,6 @@ sources: - name: bridge_optimism tables: - name: standard_bridge_flows - - name: uniswap_v3_optimism - tables: - - name: ovm1_pool_mapping - name: op_optimism tables: - name: airdrop_1_claims @@ -64,28 +61,4 @@ sources: - name: addresses_optimism tables: - name: fee_vaults - - name: grants_funding - - name: balancer_v2_optimism - tables: - - name: trades - - name: balancer_v2_arbitrum - tables: - - name: trades - - name: balancer_v2_avalanche_c - tables: - - name: trades - - name: balancer_v2_base - tables: - - name: trades - - name: balancer_v2_ethereum - tables: - - name: trades - - name: balancer_v2_gnosis - tables: - - name: trades - - name: balancer_v2_polygon - tables: - - name: trades - - name: balancer_v2_zkevm - tables: - - name: trades \ No newline at end of file + - name: grants_funding \ No newline at end of file From 9a4b5c730f69b55a6c28c53aef23d88760a68296 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:23:21 -0400 Subject: [PATCH 13/63] update dex aggregator to source --- ...w_protocol_tx_hash_labels_bluechip_investment_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_early_investment_ethereum.sql | 4 ++-- .../cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql | 2 +- ...tocol_tx_hash_labels_staking_token_investment_ethereum.sql | 2 +- ...w_protocol_tx_hash_labels_treasury_management_ethereum.sql | 2 +- .../ethereum/labels_arbitrage_traders_ethereum.sql | 2 +- .../dex_aggregator_traders/labels_dex_aggregator_traders.sql | 2 +- .../dex/persona/trader_platforms/labels_trader_platforms.sql | 2 +- .../average_trade_values/labels_average_trade_values.sql | 2 +- .../addresses/dex/usage/trader_age/labels_trader_age.sql | 2 +- .../trader_dex_diversity/labels_trader_dex_diversity.sql | 2 +- .../usage/trader_frequencies/labels_trader_frequencies.sql | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql index b12bc6ddb47..65658e8e288 100644 --- a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql @@ -22,7 +22,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select bluechip_address from bluechips) and token_sold_address not in (select bluechip_address from bluechips) diff --git a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql index 579a3fa63ac..90d1c2abb74 100644 --- a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql @@ -12,7 +12,7 @@ with min(block_date) as project_start from ( select token_bought_address, block_date - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' UNION ALL select token_bought_address, block_date @@ -29,7 +29,7 @@ with * from ( select tx_hash, evt_index, project, version, block_date, token_bought_address - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' UNION ALL select tx_hash, evt_index, project, version, block_date, token_bought_address diff --git a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql index 20cd6180d98..4036c55b538 100644 --- a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql @@ -29,7 +29,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) UNION ALL diff --git a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql index 1da41c55b8a..37bbae0d99f 100644 --- a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql index ffbf0ba3b48..2bd01150afe 100644 --- a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql index 9bb5e10bb21..c6ad902177f 100644 --- a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql index 7b03a8e2fbe..caa6c9192e5 100644 --- a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql @@ -32,7 +32,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select staking_token_address from staking_tokens) UNION ALL diff --git a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql index 2db843bc30a..79d3a437a63 100644 --- a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql @@ -19,7 +19,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and taker in (select address from daos) UNION ALL diff --git a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql index 388ff5e8a42..a1ee2c7c64a 100644 --- a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql @@ -68,7 +68,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ ref('dex_aggregator_trades') }} --{{ref('dex_aggregator_trades')}} + FROM {{ source('dex_aggregator', 'trades') }} --{{ref('dex_aggregator_trades')}} ) t1 INNER JOIN ( diff --git a/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql b/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql index 47c2ccee1cf..c5b8ccbedbc 100644 --- a/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql +++ b/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql @@ -12,7 +12,7 @@ with dex_traders as ( select distinct taker as address, blockchain - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} ) select blockchain, diff --git a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql index af353c40a18..091586d1bcf 100644 --- a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql +++ b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql @@ -20,7 +20,7 @@ with trader_platforms as ( taker, project, block_time - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, diff --git a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql index bb7ef4799cc..dbf015bb768 100644 --- a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql +++ b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql @@ -17,7 +17,7 @@ with blockchain from ( select taker, blockchain, amount_usd - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select taker, blockchain, amount_usd from {{ ref('dex_trades') }} diff --git a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql index d294534930c..eab97fabf7e 100644 --- a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql +++ b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql @@ -15,7 +15,7 @@ with trader_age as ( taker as address from ( select blockchain, taker, block_date - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date from {{ ref('dex_trades') }} diff --git a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql index 284de74fc99..5b5f2efde8c 100644 --- a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql +++ b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql @@ -16,7 +16,7 @@ with count(distinct project) as dex_diversity, taker as address from (select blockchain, taker, project - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} union all select blockchain, taker, project from {{ ref('dex_trades') }}) diff --git a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql index 497037d4765..8875e3079cc 100644 --- a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql +++ b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql @@ -21,7 +21,7 @@ with end as trades_per_day from ( select blockchain, taker, block_date, tx_hash - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date, tx_hash from {{ ref('dex_trades') }} From 34f097357be5cd482c166a389e4afb537bfe3408 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:27:38 -0400 Subject: [PATCH 14/63] dex trades ref to source --- ...w_protocol_tx_hash_labels_bluechip_investment_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_early_investment_ethereum.sql | 4 ++-- .../cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql | 2 +- ...tocol_tx_hash_labels_staking_token_investment_ethereum.sql | 2 +- ...w_protocol_tx_hash_labels_treasury_management_ethereum.sql | 2 +- models/keep3r_network/keep3r_network_token_prices.sql | 4 ++-- .../op_chains/labels_op_chains_likely_bot_addresses.sql | 2 +- .../op_chains/labels_op_chains_likely_bot_contracts.sql | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql index 65658e8e288..672f596f107 100644 --- a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql @@ -28,7 +28,7 @@ with and token_sold_address not in (select bluechip_address from bluechips) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select bluechip_address from bluechips) and token_sold_address not in (select bluechip_address from bluechips) diff --git a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql index 90d1c2abb74..64d9d6d66d2 100644 --- a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql @@ -16,7 +16,7 @@ with where blockchain = 'ethereum' UNION ALL select token_bought_address, block_date - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' ) group by @@ -33,7 +33,7 @@ with where blockchain = 'ethereum' UNION ALL select tx_hash, evt_index, project, version, block_date, token_bought_address - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' ) t join project_starts p on t.token_bought_address = p.token_bought_address where diff --git a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql index 4036c55b538..146941f4b73 100644 --- a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql @@ -34,7 +34,7 @@ with and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) ) diff --git a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql index 37bbae0d99f..4e95074a5ce 100644 --- a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql index 2bd01150afe..4386df4889f 100644 --- a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql index c6ad902177f..1a10036443f 100644 --- a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql index caa6c9192e5..ed8af754027 100644 --- a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql @@ -37,7 +37,7 @@ with and token_bought_address in (select staking_token_address from staking_tokens) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select staking_token_address from staking_tokens) ) diff --git a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql index 79d3a437a63..999d9883439 100644 --- a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql @@ -24,7 +24,7 @@ with and taker in (select address from daos) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and taker in (select address from daos) ) diff --git a/models/keep3r_network/keep3r_network_token_prices.sql b/models/keep3r_network/keep3r_network_token_prices.sql index 34c79f3681f..8e9c7a08c08 100644 --- a/models/keep3r_network/keep3r_network_token_prices.sql +++ b/models/keep3r_network/keep3r_network_token_prices.sql @@ -55,7 +55,7 @@ dex_trade as ( blockchain, block_date as day, (amount_usd / token_sold_amount) as price - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where token_sold_address in (select token_address from dex_tokens) and block_date >= timestamp '2021-10-10' @@ -65,7 +65,7 @@ dex_trade as ( blockchain, block_date as day, (amount_usd / token_bought_amount) as price - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where token_bought_address in (select token_address from dex_tokens) and block_date >= timestamp '2021-10-10' diff --git a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql index 10218f55b3d..e246dd6735d 100644 --- a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql +++ b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql @@ -33,7 +33,7 @@ WITH sender_transfer_rates AS ( WHEN EXISTS (SELECT 1 FROM {{ ref('nft_' + chain + '_transfers') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_token_tfer_txs - , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('dex_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs + , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('dex', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('perpetual_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_perp_trade_txs , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('nft_trades') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_nft_trade_txs diff --git a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql index 18e526044ea..55e5fd90e02 100644 --- a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql +++ b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql @@ -35,7 +35,7 @@ FROM ( WHEN EXISTS (SELECT 1 FROM {{ ref('nft_' + chain + '_transfers') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number ) THEN 1 ELSE 0 END) AS num_token_tfer_txs, - SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('dex_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs, + SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('dex', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs, SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('perpetual_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_perp_trade_txs, SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('nft_trades') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_nft_trade_txs, COUNT(*) AS num_txs, COUNT(DISTINCT "from") AS num_senders, COUNT(*)/COUNT(DISTINCT "from") AS txs_per_sender, From 932bb07110b95ff30907595c8639b47ccef89b69 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:30:23 -0400 Subject: [PATCH 15/63] cow protocol ref to source --- .../cow_protocol/ethereum/cow_protocol_ethereum_batches.sql | 2 +- .../ethereum/cow_protocol_ethereum_referrals.sql | 2 +- .../ethereum/cow_protocol_ethereum_trade_slippage.sql | 2 +- sources/_subprojects/dex/_sources.yml | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql index 9318c5d61fa..743499aea18 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql @@ -54,7 +54,7 @@ batch_values as ( sum(usd_value) as batch_value, sum(fee_usd) as fee_value, price as eth_price - from {{ ref('cow_protocol_ethereum_trades') }} + from {{ source('cow_protocol_ethereum', 'trades') }} left outer join {{ source('prices', 'usd') }} as p on p.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 {% if is_incremental() %} diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql index 928ff6a299c..6af195f559a 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql @@ -23,7 +23,7 @@ referral_map as ( ROW_NUMBER() OVER(PARTITION BY trader ORDER BY block_time, evt_index) AS user_trade_index, trader, app_data - FROM {{ ref('cow_protocol_ethereum_trades') }} + FROM {{ source('cow_protocol_ethereum', 'trades') }} GROUP BY trader, block_time, app_data, evt_index ) ,user_first_trade as ( diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql index 12637353537..4b3987a9bab 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql @@ -31,7 +31,7 @@ select usd_value as trade_usd_value, slippage_bips as tolerance_bips from {{ref('cow_protocol_ethereum_app_data')}} as ad -inner join {{ ref('cow_protocol_ethereum_trades') }} as t on t.app_data = ad.app_hash +inner join {{ source('cow_protocol_ethereum', 'trades') }} as t on t.app_data = ad.app_hash where slippage_bips is not null ), diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index b0909867b79..ec4125af648 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -42,4 +42,7 @@ sources: - name: trades - name: uniswap_v3_optimism tables: - - name: ovm1_pool_mapping \ No newline at end of file + - name: ovm1_pool_mapping + - name: cow_protocol_ethereum + tables: + - name: trades \ No newline at end of file From 449717ec374f097258d2906ef013caf79aa77c9e Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:34:45 -0400 Subject: [PATCH 16/63] cow gnosis ref to source --- models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql | 2 +- sources/_subprojects/dex/_sources.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql b/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql index 6aaad8388cc..4654c7053ab 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql @@ -53,7 +53,7 @@ batch_values as ( sum(usd_value) as batch_value, sum(fee_usd) as fee_value, price as eth_price - from {{ ref('cow_protocol_gnosis_trades') }} + from {{ source('cow_protocol_gnosis', 'trades') }} left outer join {{ source('prices', 'usd') }} as p on p.contract_address = 0xe91d153e0b41518a2ce8dd3d7944fa863463a97d {% if is_incremental() %} diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index ec4125af648..165c8423e30 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -44,5 +44,8 @@ sources: tables: - name: ovm1_pool_mapping - name: cow_protocol_ethereum + tables: + - name: trades + - name: cow_protocol_gnosis tables: - name: trades \ No newline at end of file From a582f6946aa406a138ee749a3eb2a3311a73ee1f Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:45:38 -0400 Subject: [PATCH 17/63] cleanup old uniswap models --- .../arbitrum/uniswap_arbitrum_schema.yml | 129 --------- .../arbitrum/uniswap_arbitrum_trades.sql | 45 ---- .../arbitrum/uniswap_v3_arbitrum_trades.sql | 111 -------- .../uniswap_avalanche_c_schema.yml | 96 ------- .../uniswap_avalanche_c_trades.sql | 44 ---- .../uniswap_v3_avalanche_c_trades.sql | 106 -------- .../uniswap/base/uniswap_base_schema.yml | 96 ------- .../uniswap/base/uniswap_base_trades.sql | 43 --- .../uniswap/base/uniswap_v3_base_trades.sql | 110 -------- .../uniswap/bnb/uniswap_bnb_schema.yml | 129 --------- .../uniswap/bnb/uniswap_bnb_trades.sql | 44 ---- .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 111 -------- .../uniswap/celo/uniswap_celo_schema.yml | 142 +--------- .../uniswap/celo/uniswap_celo_trades.sql | 45 ---- .../uniswap/celo/uniswap_v3_celo_trades.sql | 109 -------- .../ethereum/uniswap_ethereum_schema.yml | 248 ++---------------- .../ethereum/uniswap_ethereum_trades.sql | 47 ---- .../ethereum/uniswap_v1_ethereum_trades.sql | 134 ---------- .../ethereum/uniswap_v2_ethereum_trades.sql | 116 -------- .../ethereum/uniswap_v3_ethereum_trades.sql | 111 -------- .../optimism/uniswap_optimism_schema.yml | 126 --------- .../optimism/uniswap_optimism_trades.sql | 45 ---- .../optimism/uniswap_v3_optimism_trades.sql | 111 -------- .../polygon/uniswap_polygon_schema.yml | 129 --------- .../polygon/uniswap_polygon_trades.sql | 45 ---- .../polygon/uniswap_v3_polygon_trades.sql | 111 -------- 26 files changed, 24 insertions(+), 2559 deletions(-) delete mode 100644 models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql delete mode 100644 models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql delete mode 100644 models/_project/uniswap/base/uniswap_base_schema.yml delete mode 100644 models/_project/uniswap/base/uniswap_base_trades.sql delete mode 100644 models/_project/uniswap/base/uniswap_v3_base_trades.sql delete mode 100644 models/_project/uniswap/bnb/uniswap_bnb_trades.sql delete mode 100644 models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql delete mode 100644 models/_project/uniswap/celo/uniswap_celo_trades.sql delete mode 100644 models/_project/uniswap/celo/uniswap_v3_celo_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql delete mode 100644 models/_project/uniswap/optimism/uniswap_optimism_trades.sql delete mode 100644 models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql delete mode 100644 models/_project/uniswap/polygon/uniswap_polygon_trades.sql delete mode 100644 models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml index 733b9070d98..e81e5710d3d 100644 --- a/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml +++ b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke, mtitus6 - config: - tags: ['arbitrum','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: arbitrum - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke, mtitus6 - config: - tags: ['arbitrum','dex','trades', 'uniswap'] - description: > - Uniswap trades on Arbitrum across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_arbitrum_flashloans meta: blockchain: arbitrum diff --git a/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql deleted file mode 100644 index adfa8e14cac..00000000000 --- a/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_arbitrum_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) diff --git a/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql deleted file mode 100644 index 48e18251c6f..00000000000 --- a/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_arbitrum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["arbitrum"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc","mtitus6"]\') }}' - ) -}} - -{% set project_start_date = '2021-06-01' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_arbitrum', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_arbitrum', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT DISTINCT - 'arbitrum' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('arbitrum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'arbitrum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'arbitrum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'arbitrum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'arbitrum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml deleted file mode 100644 index 947cc59a418..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: uniswap_v3_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: uniswap_v3 - contributors: phu - config: - tags: ['avalanche_c','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: avalanche_c - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql deleted file mode 100644 index 767f36bef15..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql +++ /dev/null @@ -1,44 +0,0 @@ -{{ config( - schema = 'uniswap_avalanche_c' - , alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_avalanche_c_models = [ -'uniswap_v3_avalanche_c_trades' -] %} - -SELECT * -FROM ( - {% for dex_model in uniswap_avalanche_c_models %} - SELECT - blockchain, - project, - version, - block_date, - block_month, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ ref(dex_model) }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql deleted file mode 100644 index d3b189d99f3..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql +++ /dev/null @@ -1,106 +0,0 @@ -{{ config( - schema = 'uniswap_v3_avalanche_c', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'] - ) -}} - -{% set project_start_date = '2023-06-21' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_avalanche_c', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_avalanche_c', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'avalanche_c' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,TRY_CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,cast(dexs.token_bought_amount_raw AS uint256) AS token_bought_amount_raw - ,cast(dexs.token_sold_amount_raw AS uint256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('avalanche_c', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'avalanche_c' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'avalanche_c' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_base_schema.yml b/models/_project/uniswap/base/uniswap_base_schema.yml deleted file mode 100644 index 8fa0b4a7979..00000000000 --- a/models/_project/uniswap/base/uniswap_base_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: uniswap_v3_base_trades - meta: - blockchain: base - sector: dex - project: uniswap_v3 - contributors: wuligy - config: - tags: ['base','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Base - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: base - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_base_trades.sql b/models/_project/uniswap/base/uniswap_base_trades.sql deleted file mode 100644 index 6390c817a7f..00000000000 --- a/models/_project/uniswap/base/uniswap_base_trades.sql +++ /dev/null @@ -1,43 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_base_models = [ -'uniswap_v3_base_trades' -] %} - -SELECT * -FROM ( - {% for dex_model in uniswap_base_models %} - SELECT - blockchain, - project, - version, - block_date, - block_month, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ ref(dex_model) }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_v3_base_trades.sql b/models/_project/uniswap/base/uniswap_v3_base_trades.sql deleted file mode 100644 index e9f96ec9f4b..00000000000 --- a/models/_project/uniswap/base/uniswap_v3_base_trades.sql +++ /dev/null @@ -1,110 +0,0 @@ -{{ config( - schema = 'uniswap_v3_base', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["base"]\', - "project", - "uniswap_v3", - \'["wuligy"]\') }}' - ) -}} - -{% set project_start_date = '2023-07-16' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_base', 'UniswapV3Pool_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_base', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'base' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,TRY_CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,cast(dexs.token_bought_amount_raw AS uint256) AS token_bought_amount_raw - ,cast(dexs.token_sold_amount_raw AS uint256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('base', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'base' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'base' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'base' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'base' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/bnb/uniswap_bnb_schema.yml b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml index faccd0cecb0..768b8c47dc4 100644 --- a/models/_project/uniswap/bnb/uniswap_bnb_schema.yml +++ b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_bnb_trades - meta: - blockchain: bnb - sector: dex - project: uniswap_v3 - contributors: chrispearcx - config: - tags: ['bnb','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on BNB chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: bnb - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_date - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_bnb_trades - meta: - blockchain: bnb - sector: dex - project: uniswap - contributors: chrispearcx - config: - tags: ['bnb','dex','trades', 'uniswap'] - description: > - Uniswap trades on BNB chain across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_bnb_flashloans meta: blockchain: bnb diff --git a/models/_project/uniswap/bnb/uniswap_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_bnb_trades.sql deleted file mode 100644 index fd14d526849..00000000000 --- a/models/_project/uniswap/bnb/uniswap_bnb_trades.sql +++ /dev/null @@ -1,44 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_bnb_models = [ -ref('uniswap_v3_bnb_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_bnb_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql deleted file mode 100644 index 8c582789d1b..00000000000 --- a/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_bnb', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["bnb"]\', - "project", - "uniswap_v3", - \'["chrispearcx"]\') }}' - ) -}} - -{% set project_start_date = '2023-03-01' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_bnb', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_bnb', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'bnb' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('bnb', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'bnb' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'bnb' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'bnb' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'bnb' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/celo/uniswap_celo_schema.yml b/models/_project/uniswap/celo/uniswap_celo_schema.yml index b83c06e6676..0560a061054 100644 --- a/models/_project/uniswap/celo/uniswap_celo_schema.yml +++ b/models/_project/uniswap/celo/uniswap_celo_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_celo_trades - meta: - blockchain: celo - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke, tomfutago - config: - tags: ['celo','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Celo - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: celo - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_celo_trades - meta: - blockchain: celo - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke, tomfutago - config: - tags: ['celo','dex','trades', 'uniswap'] - description: > - Uniswap trades on Celo across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_celo_flashloans meta: blockchain: celo @@ -146,17 +17,18 @@ models: - tx_hash - evt_index columns: - - *blockchain - - *project - - *version - - *block_time + - name: blockchain + - name: project + - name: version + - name: block_time - name: block_number - name: amount - name: amount_usd - - *tx_hash - - *evt_index + - name: tx_hash + - name: evt_index - name: fee - name: currency_contract - name: currency_symbol - name: recipient - name: contract_address + - name: block_month diff --git a/models/_project/uniswap/celo/uniswap_celo_trades.sql b/models/_project/uniswap/celo/uniswap_celo_trades.sql deleted file mode 100644 index d0421add4b7..00000000000 --- a/models/_project/uniswap/celo/uniswap_celo_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_celo_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) diff --git a/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql b/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql deleted file mode 100644 index ec605b2f080..00000000000 --- a/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql +++ /dev/null @@ -1,109 +0,0 @@ -{{ config( - schema = 'uniswap_v3_celo', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["celo"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc", "tomfutago"]\') }}' - ) -}} - -{% set project_start_date = '2022-07-07' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_celo', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_celo', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT DISTINCT - 'celo' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('celo', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'celo' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'celo' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'celo' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'celo' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml index b4ee9281c39..27a5bd5cca3 100644 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml @@ -1,231 +1,6 @@ version: 2 models: - - name: uniswap_v1_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v1 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v1','trades', 'uniswap','dex'] - description: > - Uniswap V1 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_v2_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v2 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v2','trades', 'uniswap','dex'] - description: > - Uniswap V2 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 2 - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - - name: uniswap_v3_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 3 - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - - name: uniswap_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','dex','trades', 'uniswap', 'jeff-dude'] - description: > - Uniswap trades on Ethereum across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_ethereum_votes meta: blockchain: ethereum @@ -243,7 +18,9 @@ models: description: "Version of the contract built and deployed by the DAO project" - name: block_time description: "UTC event block time of each DAO vote" - - *block_month + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" - name: tx_hash description: "Unique transaction hash value tied to each vote on the DAO" - &dao_name @@ -350,12 +127,18 @@ models: - recipient - evt_index columns: - - *blockchain - - *block_time + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - &block_number name: block_number description: "Block number of transaction" - - *project + - &project + name: project + description: "Project name of the DEX" - &airdrop_number name: airdrop_number description: "Airdrop identifier number" @@ -365,7 +148,9 @@ models: - &contract_address name: contract_address description: "Contract addressed used" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - name: amount_raw description: "Raw amount of tokens" - name: amount_original @@ -374,7 +159,8 @@ models: description: "USD value of tokens" - *token_address - *token_symbol - - *evt_index + - &evt_index + name: evt_index - name: uniswap_v3_ethereum_flashloans meta: diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql deleted file mode 100644 index 956d767aedc..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql +++ /dev/null @@ -1,47 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v1_ethereum_trades') -,ref('uniswap_v2_ethereum_trades') -,ref('uniswap_v3_ethereum_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) - diff --git a/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql deleted file mode 100644 index fa79ab08f68..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql +++ /dev/null @@ -1,134 +0,0 @@ -{{ config( - schema = 'uniswap_v1_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v1", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2018-11-01' %} -{% set weth_address = '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' %} - -WITH dexs AS -( - -- Uniswap v1 TokenPurchase - SELECT - t.evt_block_time AS block_time - ,t.buyer AS taker - ,CAST(NULL as VARBINARY) as maker - ,t.tokens_bought AS token_bought_amount_raw - ,t.eth_sold AS token_sold_amount_raw - ,NULL AS amount_usd - ,f.token AS token_bought_address - ,{{weth_address}} AS token_sold_address --Using WETH for easier joining with USD price table - ,t.contract_address AS project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_ethereum', 'Exchange_evt_TokenPurchase') }} t - INNER JOIN {{ source('uniswap_ethereum', 'Factory_evt_NewExchange') }} f - ON f.exchange = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} - - UNION ALL - - -- Uniswap v1 EthPurchase - SELECT - t.evt_block_time AS block_time - ,t.buyer AS taker - ,CAST(NULL as VARBINARY) as maker - ,t.eth_bought AS token_bought_amount_raw - ,t.tokens_sold AS token_sold_amount_raw - ,NULL AS amount_usd - ,{{weth_address}} AS token_bought_address --Using WETH for easier joining with USD price table - ,f.token AS token_sold_address - ,t.contract_address AS project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_ethereum', 'Exchange_evt_EthPurchase') }} t - INNER JOIN {{ source('uniswap_ethereum', 'Factory_evt_NewExchange') }} f - ON f.exchange = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'1' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,dexs.token_bought_amount_raw AS token_bought_amount_raw - ,dexs.token_sold_amount_raw AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql deleted file mode 100644 index 0185107c796..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql +++ /dev/null @@ -1,116 +0,0 @@ -{{ config( - schema = 'uniswap_v2_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v2", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2020-05-05' %} -{% set weth_ubomb_wash_trading_pair = "0xed9c854cb02de75ce4c9bba992828d6cb7fd5c71" %} -{% set weth_weth_wash_trading_pair = "0xf9c1fa7d41bf44ade1dd08d37cc68f67ae75bf92" %} -{% set feg_eth_wash_trading_pair = "0x854373387e41371ac6e307a1f29603c6fa10d872" %} - -WITH dexs AS -( - -- Uniswap v2 - SELECT - t.evt_block_time AS block_time - ,t.to AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0Out = UINT256 '0' THEN amount1Out ELSE amount0Out END AS token_bought_amount_raw - ,CASE WHEN amount0In = UINT256 '0' OR amount1Out = UINT256 '0' THEN amount1In ELSE amount0In END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0Out = UINT256 '0' THEN f.token1 ELSE f.token0 END AS token_bought_address - ,CASE WHEN amount0In = UINT256 '0' OR amount1Out = UINT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v2_ethereum', 'Pair_evt_Swap') }} t - INNER JOIN {{ source('uniswap_v2_ethereum', 'Factory_evt_PairCreated') }} f - ON f.pair = t.contract_address - WHERE t.contract_address NOT IN ( - {{weth_ubomb_wash_trading_pair}}, - {{weth_weth_wash_trading_pair}}, - {{feg_eth_wash_trading_pair}}) - {% if is_incremental() %} - AND t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'2' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,dexs.token_bought_amount_raw AS token_bought_amount_raw - ,dexs.token_sold_amount_raw AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql deleted file mode 100644 index d8ebe425c2e..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2021-05-04' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,f.fee - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_ethereum', 'Pair_evt_Swap') }} t - INNER JOIN {{ source('uniswap_v3_ethereum', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.fee - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/optimism/uniswap_optimism_schema.yml b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml index b6a0ac198d8..9430771f4a9 100644 --- a/models/_project/uniswap/optimism/uniswap_optimism_schema.yml +++ b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml @@ -1,132 +1,6 @@ version: 2 models: - - name: uniswap_v3_optimism_trades - meta: - blockchain: optimism - project: uniswap - contributors: 0xBoxer, jeff-dude - config: - tags: ['optimism','uniswap','dex'] - description: > - A table containing all trades of uniswap v3 on optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: optimism - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - name: uniswap_optimism_trades - meta: - blockchain: optimism - project: uniswap - contributors: 0xBoxer, jeff-dude - config: - tags: ['optimism','uniswap','dex.trades'] - description: > - A table containing all trades of uniswap on optimism. future proof for more protocol version on this chain - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_optimism_flashloans meta: blockchain: optimism diff --git a/models/_project/uniswap/optimism/uniswap_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_optimism_trades.sql deleted file mode 100644 index 5672d94c4b3..00000000000 --- a/models/_project/uniswap/optimism/uniswap_optimism_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_optimism_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql deleted file mode 100644 index ef530f792c7..00000000000 --- a/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_optimism', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["optimism"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} --- OVM 1 Launch 06-23-21 -{% set project_start_date = '2021-06-23' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - , t.evt_block_number - , t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_optimism', 'Pair_evt_Swap') }} t - INNER JOIN {{ ref('uniswap_optimism_pools') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'optimism' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('optimism', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - AND tx.block_number = dexs.evt_block_number - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'optimism' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'optimism' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'optimism' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'optimism' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/polygon/uniswap_polygon_schema.yml b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml index 07a6d36e8aa..3986e172aac 100644 --- a/models/_project/uniswap/polygon/uniswap_polygon_schema.yml +++ b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_polygon_trades - meta: - blockchain: polygon - sector: dex - project: uniswap_v3 - contributors: Henrystats - config: - tags: ['polygon','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on polygon - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: polygon - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_polygon_trades - meta: - blockchain: polygon - sector: dex - project: uniswap - contributors: henrystats - config: - tags: ['polygon','dex','trades', 'uniswap'] - description: > - Uniswap trades on Polygon across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_polygon_flashloans meta: blockchain: polygon diff --git a/models/_project/uniswap/polygon/uniswap_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_polygon_trades.sql deleted file mode 100644 index c8aae59f359..00000000000 --- a/models/_project/uniswap/polygon/uniswap_polygon_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_polygon_models = [ -ref('uniswap_v3_polygon_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_polygon_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql deleted file mode 100644 index deb55266b4f..00000000000 --- a/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_polygon', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["polygon"]\', - "project", - "uniswap_v3", - \'["Henrystats"]\') }}' - ) -}} - -{% set project_start_date = '2021-12-20' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_polygon', 'UniswapV3Pool_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_polygon', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'polygon' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('polygon', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'polygon' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'polygon' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'polygon' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'polygon' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file From 87c4e92f2c5531c0ef9da3a51a5c9df4b67f58da Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:58:41 -0400 Subject: [PATCH 18/63] balancer refs to sources --- .../models/_project/balancer/balancer_bpt_prices_macro.sql | 2 +- .../models/_project/balancer/balancer_bpt_supply_macro.sql | 2 +- .../models/_project/balancer/balancer_liquidity_macro.sql | 2 +- .../balancer/balancer_pool_token_supply_changes_macro.sql | 2 +- .../_project/balancer/balancer_protocol_fee_macro.sql | 2 +- .../balancer/balancer_token_balance_changes_macro.sql | 2 +- .../balancer/pools/balancer_pools_metrics_daily.sql | 2 +- models/labels/labels_addresses.sql | 2 +- sources/_subprojects/dex/_sources.yml | 6 ++++++ 9 files changed, 14 insertions(+), 8 deletions(-) diff --git a/macros/models/_project/balancer/balancer_bpt_prices_macro.sql b/macros/models/_project/balancer/balancer_bpt_prices_macro.sql index 088277e6b87..23d8f0cfc28 100644 --- a/macros/models/_project/balancer/balancer_bpt_prices_macro.sql +++ b/macros/models/_project/balancer/balancer_bpt_prices_macro.sql @@ -9,7 +9,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_bpt_supply_macro.sql b/macros/models/_project/balancer/balancer_bpt_supply_macro.sql index 1b1dab0a80a..9ccb707cd73 100644 --- a/macros/models/_project/balancer/balancer_bpt_supply_macro.sql +++ b/macros/models/_project/balancer/balancer_bpt_supply_macro.sql @@ -11,7 +11,7 @@ WITH pool_labels AS ( name, pool_type, ROW_NUMBER() OVER (PARTITION BY address ORDER BY MAX(updated_at) DESC) AS num - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' GROUP BY 1, 2, 3) WHERE num = 1 diff --git a/macros/models/_project/balancer/balancer_liquidity_macro.sql b/macros/models/_project/balancer/balancer_liquidity_macro.sql index 7b8655a3414..5eb9a247eba 100644 --- a/macros/models/_project/balancer/balancer_liquidity_macro.sql +++ b/macros/models/_project/balancer/balancer_liquidity_macro.sql @@ -9,7 +9,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql b/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql index 5b876cca011..a9a70e5369d 100644 --- a/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql +++ b/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql @@ -8,7 +8,7 @@ WITH pool_labels AS ( address, name, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql index d74c3c352a2..a5dafd0cd11 100644 --- a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql +++ b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql @@ -11,7 +11,7 @@ WITH pool_labels AS ( name, pool_type, ROW_NUMBER() OVER (PARTITION BY address ORDER BY MAX(updated_at) DESC) AS num - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' GROUP BY 1, 2, 3) WHERE num = 1 diff --git a/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql b/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql index b16c9bf038e..26feb0e2a10 100644 --- a/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql +++ b/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql @@ -8,7 +8,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/models/_project/balancer/pools/balancer_pools_metrics_daily.sql b/models/_project/balancer/pools/balancer_pools_metrics_daily.sql index 9b24ba57a27..02ec8eff4cf 100644 --- a/models/_project/balancer/pools/balancer_pools_metrics_daily.sql +++ b/models/_project/balancer/pools/balancer_pools_metrics_daily.sql @@ -22,7 +22,7 @@ trades AS( blockchain, project_contract_address, sum(amount_usd) AS swap_amount_usd - FROM {{ ref('balancer_trades') }} + FROM {{ source('balancer', 'trades') }} {% if is_incremental() %} WHERE {{incremental_predicate('block_date')}} {% endif %} diff --git a/models/labels/labels_addresses.sql b/models/labels/labels_addresses.sql index 1dbc1d0e38c..8f96302d3ea 100644 --- a/models/labels/labels_addresses.sql +++ b/models/labels/labels_addresses.sql @@ -13,7 +13,7 @@ {% set single_category_labels_models = [ ref('labels_aztec_v2_contracts_ethereum') , ref('labels_balancer_v1_pools') - , ref('labels_balancer_v2_pools') + , source('labels', 'balancer_v2_pools') , ref('labels_balancer_v2_gauges') , ref('labels_cex') , ref('labels_contracts') diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 165c8423e30..dace8b038e4 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -40,6 +40,12 @@ sources: - name: balancer_v2_zkevm tables: - name: trades + - name: balancer + tables: + - name: trades + - name: labels + tables: + - name: balancer_v2_pools - name: uniswap_v3_optimism tables: - name: ovm1_pool_mapping From 8fdeee016bf3626303bb608f6dbbdd7ba31c635a Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:25:40 -0400 Subject: [PATCH 19/63] fix compile errors, more refs to sources --- .../celo/uniswap_v3_celo_flashloans.sql | 19 ++++++++++--------- .../uniswap_ethereum_airdrop_claims.sql | 2 +- .../_project/uniswap/uniswap_flashloans.sql | 2 +- .../camelot_arbitrum_pair_fee_rates.sql | 2 +- .../arbitrum/gyroscope_arbitrum_trades.sql | 2 +- .../ethereum/gyroscope_ethereum_trades.sql | 2 +- .../optimism/gyroscope_optimism_trades.sql | 2 +- .../polygon/gyroscope_polygon_trades.sql | 2 +- .../immortalx/celo/immortalx_celo_schema.yml | 4 ---- .../labels_balancer_v2_gauges_arbitrum.sql | 6 +++--- .../labels_balancer_v2_gauges_avalanche_c.sql | 2 +- .../labels_balancer_v2_gauges_base.sql | 2 +- .../labels_balancer_v2_gauges_ethereum.sql | 4 ++-- .../labels_balancer_v2_gauges_gnosis.sql | 2 +- .../labels_balancer_v2_gauges_optimism.sql | 6 +++--- .../labels_balancer_v2_gauges_polygon.sql | 6 +++--- .../labels_balancer_v2_gauges_zkevm.sql | 2 +- .../labels_arbitrage_traders_ethereum.sql | 8 ++++---- .../persona/dex_pools/labels_dex_pools.sql | 2 +- .../dex_traders/labels_dex_traders.sql | 4 ++-- .../op_dex_traders/labels_op_dex_traders.sql | 2 +- .../labels_sandwich_attackers_ethereum.sql | 4 ++-- .../labels_smart_dex_traders_ethereum.sql | 6 +++--- .../labels_trader_platforms.sql | 2 +- .../labels_average_trade_values.sql | 2 +- .../usage/trader_age/labels_trader_age.sql | 2 +- .../labels_trader_dex_diversity.sql | 2 +- .../labels_trader_frequencies.sql | 2 +- .../usage/trader_kyt/labels_trader_kyt.sql | 6 +++--- sources/_subprojects/dex/_sources.yml | 8 ++++++++ 30 files changed, 61 insertions(+), 56 deletions(-) diff --git a/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql index 647c52468ec..b3e73a5b29d 100644 --- a/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql +++ b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql @@ -1,13 +1,14 @@ {{ config( - alias = 'flashloans' - , materialized = 'incremental' - , file_format = 'delta' - , incremental_strategy = 'merge' - , unique_key = ['tx_hash', 'evt_index'] - , post_hook = '{{ expose_spells(\'["celo"]\', - "project", - "uniswap_v3", - \'["hildobby", "tomfutago"]\') }}' + schema = 'uniswap_v3_celo' + , alias = 'flashloans' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , post_hook = '{{ expose_spells(\'["celo"]\', + "project", + "uniswap_v3", + \'["hildobby", "tomfutago"]\') }}' ) }} diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql index 41b6a24fb07..525592ad039 100644 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'uniswap_ethereum', alias = 'airdrop_claims', materialized = 'incremental', file_format = 'delta', diff --git a/models/_project/uniswap/uniswap_flashloans.sql b/models/_project/uniswap/uniswap_flashloans.sql index a75933e5608..e8001c6f8a7 100644 --- a/models/_project/uniswap/uniswap_flashloans.sql +++ b/models/_project/uniswap/uniswap_flashloans.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap', alias = 'flashloans', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon", "bnb"]\', "project", diff --git a/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql b/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql index a0d7e828857..8589838004b 100644 --- a/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql +++ b/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql @@ -101,7 +101,7 @@ with camelot_pair_trades_by_minute as ( select distinct date_trunc('minute', block_time) as minute, project_contract_address as pair - from {{ ref("dex_trades") }} + from {{ source('dex', 'trades') }} where blockchain = '{{blockchain}}' and project = 'camelot' {% if not is_incremental() %} diff --git a/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql b/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql index 6401af4cd74..7b9c608cbb0 100644 --- a/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql +++ b/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_arbitrum_trades') }} x +FROM {{ source('balancer_v2_arbitrum', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql b/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql index 95a8ae0ab37..f944c841899 100644 --- a/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql +++ b/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_ethereum_trades') }} x +FROM {{ source('balancer_v2_ethereum', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/optimism/gyroscope_optimism_trades.sql b/models/gyroscope/optimism/gyroscope_optimism_trades.sql index a2e724127cc..b8acf2a259c 100644 --- a/models/gyroscope/optimism/gyroscope_optimism_trades.sql +++ b/models/gyroscope/optimism/gyroscope_optimism_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_optimism_trades') }} x +FROM {{ source('balancer_v2_optimism', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/polygon/gyroscope_polygon_trades.sql b/models/gyroscope/polygon/gyroscope_polygon_trades.sql index e84740ecf08..375fff1fa4f 100644 --- a/models/gyroscope/polygon/gyroscope_polygon_trades.sql +++ b/models/gyroscope/polygon/gyroscope_polygon_trades.sql @@ -46,7 +46,7 @@ with E_CLPs AS ( tx_from, tx_to, evt_index - FROM {{ ref('balancer_v2_polygon_trades') }} x + FROM {{ source('balancer_v2_polygon', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/immortalx/celo/immortalx_celo_schema.yml b/models/immortalx/celo/immortalx_celo_schema.yml index eb06e801af8..fb3b520ba51 100644 --- a/models/immortalx/celo/immortalx_celo_schema.yml +++ b/models/immortalx/celo/immortalx_celo_schema.yml @@ -60,10 +60,6 @@ models: - &project name: project description: "The underlying protocol/project where the swap took place" - tests: - - relationships: - to: ref('dex_info') - field: project - &version name: version description: "The version of the protocol/project" diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql index 1fd767faeae..9319de28db5 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql @@ -23,7 +23,7 @@ SELECT distinct FROM {{ source('balancer_ethereum', 'ArbitrumRootGaugeFactory_evt_ArbitrumRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_v2_arbitrum', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool WHERE pools.name IS NOT NULL UNION ALL @@ -45,7 +45,7 @@ FROM {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_v2_arbitrum', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool WHERE pools.name IS NOT NULL), child_gauges AS( @@ -64,7 +64,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_arbitrum', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql index 0530e49c4b2..080d9e04325 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'AvalancheRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_avalanche_c', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_avalanche_c') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_avalanche_c') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql index add55152846..f93f6b89499 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'BaseRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_base', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_base') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_base') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql index 2c59d996e2f..aad04be36e5 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql @@ -22,7 +22,7 @@ SELECT 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'LiquidityGaugeFactory_evt_GaugeCreated') }} gauge - LEFT JOIN {{ ref('labels_balancer_v2_pools_ethereum') }} pools ON pools.address = gauge.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_ethereum') }} pools ON pools.address = gauge.pool UNION ALL @@ -42,7 +42,7 @@ SELECT FROM {{ source('balancer_ethereum', 'CappedLiquidityGaugeFactory_evt_GaugeCreated') }} evt INNER JOIN {{ source('balancer_ethereum', 'CappedLiquidityGaugeFactory_call_create') }} call ON call.call_tx_hash = evt.evt_tx_hash - LEFT JOIN {{ ref('labels_balancer_v2_pools_ethereum') }} pools ON pools.address = call.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_ethereum') }} pools ON pools.address = call.pool UNION ALL diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql index 9d2555952b8..800e03f266d 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'GnosisRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_gnosis', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_gnosis') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_gnosis') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql index 2ea1ad0facf..774f14f2c17 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql @@ -23,7 +23,7 @@ SELECT FROM {{ source('balancer_ethereum', 'OptimismRootGaugeFactory_evt_OptimismRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_optimism', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool UNION ALL @@ -44,7 +44,7 @@ FROM {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_optimism', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool), child_gauges AS( SELECT distinct @@ -62,7 +62,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_optimism', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql index bc6fe7dfbf6..bca23a0c63a 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql @@ -23,7 +23,7 @@ SELECT FROM {{ source('balancer_ethereum', 'PolygonRootGaugeFactory_evt_PolygonRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_polygon', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool UNION ALL @@ -44,7 +44,7 @@ FROM {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_polygon', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool), child_gauges AS( SELECT distinct @@ -62,7 +62,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_polygon', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql index 81c415e8478..1e1b946e5ae 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql @@ -21,7 +21,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'PolygonZkEVMRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_zkevm', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_zkevm') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_zkevm') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql index a1ee2c7c64a..724a35600e2 100644 --- a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql @@ -58,7 +58,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_trades')}} + FROM {{ source('dex', 'trades') }} UNION ALL @@ -68,7 +68,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ source('dex_aggregator', 'trades') }} --{{ref('dex_aggregator_trades')}} + FROM {{ source('dex_aggregator', 'trades') }} --{{ source('dex', 'trades') }} ) t1 INNER JOIN ( @@ -78,7 +78,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_trades')}} + FROM {{ source('dex', 'trades') }} UNION ALL SELECT taker, tx_hash, @@ -86,7 +86,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_aggregator_trades')}} + FROM {{ source('dex', 'trades') }} ) t2 ON t1.tx_hash = t2.tx_hash WHERE t1.blockchain = 'ethereum' diff --git a/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql b/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql index 3b2af76cba0..bd94d99c9b3 100644 --- a/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql +++ b/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql @@ -19,4 +19,4 @@ SELECT blockchain , now() AS updated_at , 'dex_pools' AS model_name , 'persona' AS label_type -FROM {{ ref('dex_pools') }} \ No newline at end of file +FROM {{ source('dex', 'pools') }} \ No newline at end of file diff --git a/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql b/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql index daee195d8a7..6fb71d27fe5 100644 --- a/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql +++ b/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql @@ -14,11 +14,11 @@ with SELECT address, blockchain FROM ( select taker as address, blockchain - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} GROUP BY taker, blockchain --distinct UNION ALL select tx_from as address, blockchain - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} GROUP BY tx_from, blockchain --distinct ) uni GROUP BY address, blockchain--distinct diff --git a/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql b/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql index 384db9bbfea..9c33323ddde 100644 --- a/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql +++ b/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql @@ -4,7 +4,7 @@ WITH dex_trades_count AS (SELECT taker, COUNT(taker) AS trades_count -FROM {{ ref('dex_trades') }} +FROM {{ source('dex', 'trades') }} WHERE blockchain = 'optimism' GROUP BY taker ), diff --git a/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql b/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql index 14020175084..e1c2f3d9587 100644 --- a/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql +++ b/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql @@ -4,8 +4,8 @@ with eth_sandwich_attackers as ( select distinct buy.tx_to as address - from {{ ref('dex_trades') }} buy - inner join {{ ref('dex_trades') }} sell + from {{ source('dex', 'trades') }} buy + inner join {{ source('dex', 'trades') }} sell on sell.block_time = buy.block_time and sell.tx_hash != buy.tx_hash and buy."tx_from" = sell."tx_from" diff --git a/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql b/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql index d9787ba47e9..4bbbc2e7eea 100644 --- a/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql @@ -75,7 +75,7 @@ swappers as ( token_sold_address, taker, tx_hash - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_date > now() - interval '60' day @@ -189,7 +189,7 @@ swappers as ( taker, amount_usd / token_bought_amount as cost_basis, project as venue - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_time > now() - interval '60' day @@ -219,7 +219,7 @@ swappers as ( taker, amount_usd / token_sold_amount as cost_basis, project as venue - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_time > now() - interval '60' day diff --git a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql index 091586d1bcf..5f70668a7d2 100644 --- a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql +++ b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql @@ -26,7 +26,7 @@ with trader_platforms as ( taker, project, block_time - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, project, blockchain order by first_trade diff --git a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql index dbf015bb768..566547b6167 100644 --- a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql +++ b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql @@ -20,7 +20,7 @@ with from {{ source('dex_aggregator', 'trades') }} UNION ALL select taker, blockchain, amount_usd - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql index eab97fabf7e..d1113de13ed 100644 --- a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql +++ b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql @@ -18,7 +18,7 @@ with trader_age as ( from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql index 5b5f2efde8c..1fd81228595 100644 --- a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql +++ b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql @@ -19,7 +19,7 @@ with from {{ source('dex_aggregator', 'trades') }} union all select blockchain, taker, project - from {{ ref('dex_trades') }}) + from {{ source('dex', 'trades') }}) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql index 8875e3079cc..84cffa9c5fc 100644 --- a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql +++ b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql @@ -24,7 +24,7 @@ with from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date, tx_hash - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain -- That have at least more than 1 trade diff --git a/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql b/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql index cc26e10fe82..3d43371ccd1 100644 --- a/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql +++ b/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql @@ -164,7 +164,7 @@ from (select t1."from", date_trunc('month', t1.block_time) AS month, count(*) AS when sum(amount_usd) >= cast(100000 AS double) and sum(amount_usd) < cast(500000 AS double) then 'Shark trader' when sum(amount_usd) >= cast(500000 AS double) then 'Whale trader' end AS trader_type - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where block_time > now() - interval '30' day group by 1 having sum(amount_usd) > cast (10000 AS double) @@ -184,8 +184,8 @@ from (select t1."from", date_trunc('month', t1.block_time) AS month, count(*) AS date_trunc('month', t1.block_time) AS month, sum(t1.amount_usd) AS monthly_trade_amount, ROW_NUMBER() OVER (PARTITION BY t1.tx_from ORDER BY sum(t1.amount_usd) DESC) AS rn - FROM {{ ref('dex_trades') }} t1 - join (select distinct tx_from from {{ ref('dex_trades') }} where block_time > now() - interval '3' month ) t3 + FROM {{ source('dex', 'trades') }} t1 + join (select distinct tx_from from {{ source('dex', 'trades') }} where block_time > now() - interval '3' month ) t3 on t3.tx_from = t1.tx_from left join active_traders t2 on t1.tx_from = t2.tx_from where t1.block_time >= now() - interval '1' year diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index dace8b038e4..6a89d8d1a6f 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -46,6 +46,14 @@ sources: - name: labels tables: - name: balancer_v2_pools + - name: balancer_v2_pools_arbitrum + - name: balancer_v2_pools_avalanche_c + - name: balancer_v2_pools_base + - name: balancer_v2_pools_ethereum + - name: balancer_v2_pools_gnosis + - name: balancer_v2_pools_optimism + - name: balancer_v2_pools_polygon + - name: balancer_v2_pools_zkevm - name: uniswap_v3_optimism tables: - name: ovm1_pool_mapping From a04eb590696163b153c683546854f1686e9373cb Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:28:48 -0400 Subject: [PATCH 20/63] cleanup project file --- dbt_project.yml | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 7fdae3d0ae7..1190814704e 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -208,11 +208,6 @@ models: arbitrum: +schema: aragon_arbitrum - spiritswap: - +schema: spiritswap - fantom: - +schema: spiritswap_fantom - jarvis_network: +schema: jarvis_network polygon: @@ -285,15 +280,6 @@ models: ethereum: +schema: fiat_dao_ethereum - curvefi: - +schema: curvefi - ethereum: - +schema: curvefi_ethereum - optimism: - +schema: curvefi_optimism - fantom: - +schema: curvefi_fantom - cow_protocol: +schema: cow_protocol ethereum: @@ -323,21 +309,6 @@ models: avalanche_c: +schema: yield_yak_avalanche_c - kyberswap: - +schema: kyberswap - avalanche_c: - +schema: kyberswap_avalanche_c - optimism: - +schema: kyberswap_optimism - ethereum: - +schema: kyberswap_ethereum - arbitrum: - +schema: kyberswap_arbitrum - bnb: - +schema: kyberswap_bnb - polygon: - +schema: kyberswap_polygon - hashflow: +schema: hashflow ethereum: @@ -528,11 +499,6 @@ models: polygon: +schema: rocifi_polygon - oneinch: - +schema: oneinch - ethereum: - +schema: oneinch_ethereum - pooltogether: +schema: pooltogether ethereum: @@ -587,15 +553,6 @@ models: base: +schema: layerzero_base - bebop: - +schema: bebop - ethereum: - +schema: bebop_ethereum - polygon: - +schema: bebop_polygon - arbitrum: - +schema: bebop_arbitrum - tokemak: +schema: tokemak ethereum: From 145438d035eb56393b54bde5daafad7b3b841663 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:37:06 -0400 Subject: [PATCH 21/63] cleanup old dex models --- .../ethereum/hashflow_ethereum_raw_trades.sql | 425 ------------------ .../ethereum/hashflow_ethereum_schema.yml | 157 +------ .../ethereum/hashflow_ethereum_trades.sql | 80 ---- models/pharaoh/pharaoh_avalanche_c_schema.yml | 96 ---- models/pharaoh/pharaoh_avalanche_c_trades.sql | 122 ----- 5 files changed, 15 insertions(+), 865 deletions(-) delete mode 100644 models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql delete mode 100644 models/hashflow/ethereum/hashflow_ethereum_trades.sql delete mode 100644 models/pharaoh/pharaoh_avalanche_c_schema.yml delete mode 100644 models/pharaoh/pharaoh_avalanche_c_trades.sql diff --git a/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql b/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql deleted file mode 100644 index e625e68194b..00000000000 --- a/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql +++ /dev/null @@ -1,425 +0,0 @@ -{{ config( - tags=[ 'prod_exclude'], - alias = 'raw_trades', - partition_by = ['block_date'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'composite_index', 'tx_hash'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "hashflow", - \'["justabi", "jeff-dude"]\') }}' - ) -}} - -{# -## model not yet migrated to dunesql syntax and excluded in prod on both engines due to complexity -## needs refactoring to read from decoded tables - #} - -{% set project_start_date = '2021-04-28' %} - -with ethereum_traces as ( - select * - from {{ source('ethereum', 'traces') }} - where `to` in ('0x455a3b3be6e7c8843f2b03a1ca22a5a5727ef5c4','0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', - '0x2405cb057a9baf85daa11ce9832baed839b6871c','0x043389f397ad72619d05946f5f35426a7ace6613', - '0xa18607ca4a3804cc3cd5730eafefcc47a7641643', '0x6ad3dac99c9a4a480748c566ce7b3503506e3d71') - and block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -ethereum_transactions as ( - select * - from {{ source('ethereum', 'transactions') }} - where block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -prices_usd as ( - select * - from {{ source('prices', 'usd') }} - where `minute` >= '{{ project_start_date }}' - and blockchain = 'ethereum' - {% if is_incremental() %} - and `minute` >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -erc20_tokens as ( - select * - from {{ source('tokens', 'erc20') }} - where blockchain = 'ethereum' -), - -hashflow_pool_evt_trade as ( - select * - from {{ source('hashflow_ethereum', 'pool_evt_trade') }} - where evt_block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and evt_block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -{% if not is_incremental() %} -ethereum_logs as ( - select * - from {{ source('ethereum', 'logs') }} - where block_time >= '{{ project_start_date }}' - and block_number <= 13974528 -- block of last trade of all legacy routers -), - -new_router as ( - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - cast(get_json_object(quote,'$.flag') as string) as source, - t.call_block_time as block_time, - t.call_tx_hash as tx_hash, - t.call_success as fill_status, - 'tradeSingleHop' as method_id, - t.contract_address as router_contract, - ('0x' || substring(get_json_object(quote,'$.pool') from 3)) as pool, - tx.from as trader, - ('0x' || substring(get_json_object(quote,'$.quoteToken') from 3)) as maker_token, - ('0x' || substring(get_json_object(quote,'$.baseToken') from 3)) as taker_token, - case when get_json_object(quote,'$.quoteToken') = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when get_json_object(quote,'$.baseToken') = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.evt_tx_hash is not null then l.`quoteTokenAmount`/power(10, mp.decimals) - else cast(get_json_object(quote,'$.maxQuoteTokenAmount') as float)/power(10,mp.decimals) end as maker_token_amount, - case when l.evt_tx_hash is not null then l.`baseTokenAmount`/power(10, tp.decimals) - else cast(get_json_object(quote,'$.maxBaseTokenAmount') as float)/power(10,tp.decimals) end as taker_token_amount, - case when l.evt_tx_hash is not null - then coalesce( - l.`baseTokenAmount`/power(10, tp.decimals) * tp.price, - `quoteTokenAmount`/power(10, mp.decimals) * mp.price) - else coalesce( - cast(get_json_object(quote,'$.maxBaseTokenAmount') as float)/power(10, tp.decimals) * tp.price, - cast(get_json_object(quote,'$.maxQuoteTokenAmount') as float)/power(10, mp.decimals) * mp.price) end as amount_usd - from {{ source('hashflow_ethereum', 'router_call_tradesinglehop') }} t - inner join ethereum_transactions tx on tx.hash = t.call_tx_hash - left join hashflow_pool_evt_trade l on l.txid = ('0x' || substring(get_json_object(quote,'$.txid') from 3)) - left join prices_usd tp on tp.minute = date_trunc('minute', t.call_block_time) - and tp.contract_address = - case when get_json_object(quote,'$.baseToken') = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' - else ('0x' || substring(get_json_object(quote,'$.baseToken') from 3)) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.call_block_time) - and mp.contract_address = - case when get_json_object(quote,'$.quoteToken') = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' - else ('0x' || substring(get_json_object(quote,'$.quoteToken') from 3)) end -), - -event_decoding_router as ( - select - tx_hash, - index as evt_index, - substring(`data`, 13, 20) as trader, - substring(`data`, 33, 32) as tx_id, - substring(`data`, 109, 20) as maker_token, - substring(`data`, 77, 20) as taker_token, - cast(conv(substring(`data`, 173, 20), 16, 10) as decimal) as maker_token_amount, - cast(conv(substring(`data`, 141, 20), 16, 10) as decimal) as taker_token_amount - from ethereum_logs - where topic1 ='0x8cf3dec1929508e5677d7db003124e74802bfba7250a572205a9986d86ca9f1e' -- trade0() - - union all - - select - tx_hash, - index as evt_index, - substring(`data`, 45, 20) as trader, - substring(`data`, 65, 32) as tx_id, - substring(`data`, 141, 20) as maker_token, - substring(`data`, 109, 20) as taker_token, - cast(conv(substring(`data`, 205, 20), 16, 10) as decimal) as maker_token_amount, - cast(conv(substring(`data`, 173, 20), 16, 10) as decimal) as taker_token_amount - from ethereum_logs l - where topic1 ='0xb709ddcc6550418e9b89df1f4938071eeaa3f6376309904c77e15d46b16066f5' -- trade() -), - -legacy_router_w_integration as ( - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - substring(input, 324, 1) as source, - t.block_time, - t.tx_hash, - t.error is null as fill_status, - substring(t.input, 1, 4) as method_id, - t.to as router_contract, - substring(t.input, 17, 20) as pool, - tx.from as trader, -- adjusted to use tx sender due to integration, was substring(t.input, 49, 20) as trader, - maker_token, - taker_token, - case when substring(input, 113, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when substring(input, 81, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.tx_hash is not null then maker_token_amount/power(10,mp.decimals) end as maker_token_amount, - case when l.tx_hash is not null then taker_token_amount/power(10,tp.decimals) end as taker_token_amount, - case when l.tx_hash is not null then - coalesce( - taker_token_amount/power(10, tp.decimals) * tp.price, - maker_token_amount/power(10, mp.decimals) * mp.price) end as amount_usd - from ethereum_traces t - inner join ethereum_transactions tx on tx.hash = t.tx_hash - left join event_decoding_router l on l.tx_id = substring(t.input, 325, 32) -- join on tx_id 1:1, no dup - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) - and tp.contract_address = - case when substring(input, 81, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 81, 20) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) - and mp.contract_address = - case when substring(input, 113, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 113, 20) end - where -- cast(trace_address as string) = '{}' --top level call -- removed this because of 1inch integration - t.to in ('0xa18607ca4a3804cc3cd5730eafefcc47a7641643') - and substring(input, 1, 4) in ('0xba93c39c') -- swap - and t.block_number <= 13803909 -- block of last trade of this legacy router - - union all - - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - substring(input, 484, 1) as source, - t.block_time, - t.tx_hash, - t.error is null as fill_status, - 'tradeSingleHop' as method_id, - t.to as router_contract, - substring(t.input, 49, 20) as pool, --mm - tx.from as trader, - maker_token, - taker_token, - case when substring(input, 209, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when substring(input, 177, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.tx_hash is not null then maker_token_amount/power(10,mp.decimals) end as maker_token_amount, - case when l.tx_hash is not null then taker_token_amount/power(10,tp.decimals) end as taker_token_amount, - case when l.tx_hash is not null then - coalesce( - taker_token_amount/power(10, tp.decimals) * tp.price, - maker_token_amount/power(10, mp.decimals) * mp.price) end as amount_usd - from ethereum_traces t - inner join ethereum_transactions tx on tx.hash = t.tx_hash - left join event_decoding_router l on l.tx_id = substring(t.input, 485, 32) - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) - and tp.contract_address = - case when substring(input, 177, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 177, 20) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) - and mp.contract_address = - case when substring(input, 209, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 209, 20) end - where t.to in ('0x6ad3dac99c9a4a480748c566ce7b3503506e3d71') - and substring(input, 1, 4) in ('0xf0910b2b') -- trade single hop - AND t.block_number <= 13974528 -- block of last trade of this legacy router -), -{% endif %} - -legacy_routers as ( - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, --mm - substring(input, 49, 20) as trader, - case when substring(input, 1, 4) = '0xc7f6b19d' then substring(input, 81, 20) - else '0x0000000000000000000000000000000000000000' end as maker_token, - case when substring(input, 1, 4) = '0xc7f6b19d' then '0x0000000000000000000000000000000000000000' - else substring(input, 81, 20) end as taker_token, --eth - case when substring(input, 1, 4) = '0xc7f6b19d' then e.symbol - else 'ETH' end as maker_symbol, - case when substring(input, 1, 4) = '0xc7f6b19d' then 'ETH' - else e.symbol end as taker_symbol, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, e.decimals) - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 end as maker_token_amount, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 - else cast(conv(substring(input, 113, 20), 16, 10) as decimal)/power(10,e.decimals) end as taker_token_amount, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 * price - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 * price end as amount_usd - from ethereum_traces t - left join prices_usd p on minute = date_trunc('minute', t.block_time) - left join erc20_tokens e on e.contract_address = substring(input, 81, 20) - where cast(trace_address as string) = '{}' --top level call - and `to` in ('0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', '0x2405cb057a9baf85daa11ce9832baed839b6871c') - and substring(input, 1, 4) in ('0x9ec7605b', -- token to eth - '0xc7f6b19d') -- eth to token - and p.symbol = 'WETH' - - union all - - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, - substring(input, 49, 20) as trader, - substring(input, 113, 20) as maker_token, - substring(input, 81, 20) as taker_token, - mp.symbol as maker_symbol, - tp.symbol as taker_symbol, - cast(conv(substring(input, 177, 20), 16, 10) as decimal)/power(10, mp.decimals) as maker_token_amount, - cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, tp.decimals) as taker_token_amount, - coalesce( - cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, tp.decimals) * tp.price, - cast(conv(substring(input, 177, 20), 16, 10) as decimal)/power(10, mp.decimals) * mp.price) as amount_usd - from ethereum_traces t - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) and tp.contract_address = substring(input, 81, 20) - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) and mp.contract_address = substring(input, 113, 20) - where cast(trace_address as string) = '{}' - and `to` in ('0x455a3B3Be6e7C8843f2b03A1cA22A5a5727ef5C4','0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', '0x2405cb057a9baf85daa11ce9832baed839b6871c','0x043389f397ad72619d05946f5f35426a7ace6613') - and substring(input, 1, 4) in ('0x064f0410','0x4d0246ad') -- token to token - - union all - - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, - substring(input, 49, 20) as trader, - case when substring(input, 1, 4) = '0xe43d9733' then substring(input, 81, 20) - else '0x0000000000000000000000000000000000000000' end as maker_token, - case when substring(input, 1, 4) = '0xe43d9733' then '0x0000000000000000000000000000000000000000' - else substring(input, 81, 20) end as taker_token, --eth - case when substring(input, 1, 4) = '0xe43d9733' then e.symbol - else 'ETH' end as maker_symbol, - case when substring(input, 1, 4) = '0xe43d9733' then 'ETH' - else e.symbol end as taker_symbol, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10,e.decimals) - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 end as maker_token_amount, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 - else cast(conv(substring(input, 113, 20), 16, 10) as decimal)/power(10,e.decimals) end as taker_token_amount, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 * price - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 * price end as amount_usd - from ethereum_traces t - left join prices_usd p on minute = date_trunc('minute', t.block_time) - left join erc20_tokens e on e.contract_address = substring(input, 81, 20) - where cast(trace_address as string) = '{}' - and `to` in ('0x455a3B3Be6e7C8843f2b03A1cA22A5a5727ef5C4','0x043389f397ad72619d05946f5f35426a7ace6613') - and substring(input, 1, 4) in ('0xd0529c02', -- token to eth - '0xe43d9733') -- eth to token - and p.symbol = 'WETH' -), - -new_pool as ( - -- subquery for including new pools created on 2022-04-09 - -- same trade event abi, effectively only from table hashflow.pool_evt_trade since 2022-04-09 - select - l.evt_index as composite_index, - null as source, -- no join on call for this batch, refer to metabase for source info - tx.block_time as block_time, - tx.hash as tx_hash, - true as fill_status, -- without call we are only logging successful fills - null as method_id, -- without call we don't have function call info - tx.to as router_contract, -- taking top level contract called in tx as router, not necessarily HF contract - l.pool as pool, - tx.from as trader, - l.`quoteToken` as maker_token, - l.`baseToken` as taker_token, - case when l.`quoteToken` = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when l.`baseToken` = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - l.`quoteTokenAmount`/power(10, mp.decimals) as maker_token_amount, - l.`baseTokenAmount`/power(10, tp.decimals) as taker_token_amount, - coalesce( - l.`baseTokenAmount`/power(10, tp.decimals) * tp.price, - l.`quoteTokenAmount`/power(10, mp.decimals) * mp.price) as amount_usd - from hashflow_pool_evt_trade l - inner join ethereum_transactions tx on tx.hash = l.evt_tx_hash - left join prices_usd tp on tp.minute = date_trunc('minute', tx.block_time) - and tp.contract_address = - case when l.`baseToken` = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else l.`baseToken` end - left join prices_usd mp on mp.minute = date_trunc('minute', tx.block_time) - and mp.contract_address = - case when l.`quoteToken` = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else l.`quoteToken` end - WHERE l.evt_block_time > '2022-04-08' -- necessary filter to only include new trades -), - - -{% if not is_incremental() %} - -dedupe_new_router as ( -- since new_router and new_pool have overlapping trades, we remove them from new_router here - select new_router.* - from new_router - left join new_pool - on new_router.block_time = new_pool.block_time - and new_router.composite_index = new_pool.composite_index - and new_router.tx_hash = new_pool.tx_hash - where new_pool.tx_hash is null - -), - -{% endif %} - -all_trades as ( - select - -1 as composite_index, - -- was decoding from trace, no log_index, only single swap exist so works as PK - '0x00' as source, - -- all from native front end, no integration yet - * - from legacy_routers - - union all - - select * from new_pool - - {% if not is_incremental() %} - - union all - - select * from legacy_router_w_integration - - union all - - select * from dedupe_new_router - - {% endif %} -) - -select - try_cast(date_trunc('day', block_time) AS date) AS block_date, - block_time, - composite_index, - fill_status, - maker_symbol, - maker_token, - maker_token_amount, - method_id, - pool, - router_contract, - source, - taker_symbol, - taker_token, - taker_token_amount, - trader, - tx_hash, - amount_usd -from all_trades -where fill_status is true -; \ No newline at end of file diff --git a/models/hashflow/ethereum/hashflow_ethereum_schema.yml b/models/hashflow/ethereum/hashflow_ethereum_schema.yml index db64949f510..0669b549de8 100644 --- a/models/hashflow/ethereum/hashflow_ethereum_schema.yml +++ b/models/hashflow/ethereum/hashflow_ethereum_schema.yml @@ -1,19 +1,21 @@ version: 2 models: - - name: hashflow_ethereum_raw_trades + - name: hashflow_ethereum_crosschain_trades meta: blockchain: ethereum + sector: dex project: hashflow - contributors: justabi + contributors: BroderickBonelli config: - tags: ['ethereum', 'hashflow', 'trades'] - description: "Hashflow contract trades on Ethereum - decoded" + tags: ['ethereum','hashflow','trades','dex','BroderickBonelli'] + description: > + Table of Hashflow cross chain trades on ethereum. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date - - composite_index + - source_chain - tx_hash columns: - &block_date @@ -22,96 +24,12 @@ models: - &block_time name: block_time description: "UTC event block time of each trade" - - &composite_index - name: composite_index - description: "Ethereum log index or Hashflow trade event index if exists, else -1 (-1 means decoded from traces)" - - &fill_status - name: fill_status - description: "Boolean, was the trade successful" - - &maker_symbol - name: maker_symbol - description: "Token symbol for token bought in the transaction" - - &maker_token - name: maker_token - description: "Token contract address pair for token bought in the transaction" - - &maker_token_amount - name: maker_token_amount - description: "Value of the token bought at time of execution" - - &method_id - name: method_id - description: "Method of trade - tbc" - - &pool - name: pool - description: "Contract address of the pool" - - &router_contract - name: router_contract - description: "Taking top level contract called in tx as router, not necessarily HF contract" - - &source - name: source - description: "" - - &taker_symbol - name: taker_symbol - description: "Token symbol for token sold in the transaction" - - &taker_token - name: taker_token - description: "Token contract address pair for token sold in the transaction" - - &taker_token_amount - name: taker_token_amount - description: "Value of the token sold at time of execution" - - &trader - name: trader - description: "Address of trader who sold a token" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - - name: hashflow_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: hashflow - contributors: justabi - config: - tags: ['ethereum', 'hashflow', 'trades', 'dex'] - description: "Hashflow contract trades on Ethereum - formatted for dex.trades" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_seed: - blockchain: ethereum - project: hashflow - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - *block_date - - *block_time - &token_bought_symbol name: token_bought_symbol description: "Token symbol for token bought in the transaction" - &token_sold_symbol name: token_sold_symbol description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - &token_bought_amount name: token_bought_amount description: "Value of the token bought at time of execution in the original currency" @@ -124,66 +42,21 @@ models: - &token_sold_amount_raw name: token_sold_amount_raw description: "Raw value of the token sold at time of execution in the original currency" - - *amount_usd + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" - &token_bought_address name: token_bought_address description: "Contract address of the token bought" - &token_sold_address name: token_sold_address description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker + - &trader + name: trader description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - *tx_hash - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "" - - - name: hashflow_ethereum_crosschain_trades - meta: - blockchain: ethereum - sector: dex - project: hashflow - contributors: BroderickBonelli - config: - tags: ['ethereum','hashflow','trades','dex','BroderickBonelli'] - description: > - Table of Hashflow cross chain trades on ethereum. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - source_chain - - tx_hash - columns: - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *trader - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction" - &source_chain name: source_chain description: "Chain where the trade originated." diff --git a/models/hashflow/ethereum/hashflow_ethereum_trades.sql b/models/hashflow/ethereum/hashflow_ethereum_trades.sql deleted file mode 100644 index 9ad03e725e6..00000000000 --- a/models/hashflow/ethereum/hashflow_ethereum_trades.sql +++ /dev/null @@ -1,80 +0,0 @@ -{{ config( - tags=[ 'prod_exclude'], - alias = 'trades', - partition_by = ['block_date'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index', 'trace_address'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "hashflow", - \'["justabi", "jeff-dude"]\') }}' - ) -}} - -{# -## model not yet migrated to dunesql syntax and excluded in prod on both engines due to complexity -## needs refactoring to read from decoded tables - #} - -{% set project_start_date = '2021-04-28' %} - -with hashflow_trades as ( - select * - from {{ ref('hashflow_ethereum_raw_trades') }} - where fill_status is true -- successful trade - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -ethereum_transactions as ( - select * - from {{ source('ethereum', 'transactions') }} - where block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -erc20_tokens as ( - select * - from {{ source('tokens', 'erc20') }} - where blockchain = 'ethereum' -) - -select - 'ethereum' AS blockchain, - 'hashflow' as project, - '1' as version, - block_date, - hashflow_trades.block_time, - hashflow_trades.maker_symbol as token_bought_symbol, - hashflow_trades.taker_symbol as token_sold_symbol, - case when lower(hashflow_trades.maker_symbol) > lower(hashflow_trades.taker_symbol) - then concat(hashflow_trades.taker_symbol, '-', hashflow_trades.maker_symbol) - else concat(hashflow_trades.maker_symbol, '-', hashflow_trades.taker_symbol) end as token_pair, - hashflow_trades.maker_token_amount as token_bought_amount, - hashflow_trades.taker_token_amount as token_sold_amount, - CAST(hashflow_trades.maker_token_amount * power(10, erc20a.decimals) AS DECIMAL(38,0)) as token_bought_amount_raw, - CAST(hashflow_trades.taker_token_amount * power(10, erc20b.decimals) AS DECIMAL(38,0)) as token_sold_amount_raw, - hashflow_trades.amount_usd, - hashflow_trades.maker_token as token_bought_address, - hashflow_trades.taker_token as token_sold_address, - hashflow_trades.trader as taker, - hashflow_trades.pool as maker, - hashflow_trades.router_contract as project_contract_address, - hashflow_trades.tx_hash, - tx.from as tx_from, - tx.to as tx_to, - '' as trace_address, - case when hashflow_trades.composite_index <> -1 then hashflow_trades.composite_index end as evt_index -from hashflow_trades -inner join ethereum_transactions tx - on hashflow_trades.tx_hash = tx.hash -left join erc20_tokens erc20a - on erc20a.contract_address = hashflow_trades.maker_token -left join erc20_tokens erc20b - on erc20b.contract_address = hashflow_trades.taker_token -; \ No newline at end of file diff --git a/models/pharaoh/pharaoh_avalanche_c_schema.yml b/models/pharaoh/pharaoh_avalanche_c_schema.yml deleted file mode 100644 index 38aa30ab7b0..00000000000 --- a/models/pharaoh/pharaoh_avalanche_c_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: pharaoh_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: pharaoh - contributors: discochuck, hosuke - config: - tags: ['avalanche_c','pharaoh','trades','dex'] - description: > - pharaoh v2 contract trades on avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: avalanche_c - project: pharaoh - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - diff --git a/models/pharaoh/pharaoh_avalanche_c_trades.sql b/models/pharaoh/pharaoh_avalanche_c_trades.sql deleted file mode 100644 index efd2e37ed2b..00000000000 --- a/models/pharaoh/pharaoh_avalanche_c_trades.sql +++ /dev/null @@ -1,122 +0,0 @@ -{{ config( - schema = 'pharaoh_avalanche_c' - , alias = 'trades' - , partition_by = ['block_month'] - , materialized = 'incremental' - , file_format = 'delta' - , incremental_strategy = 'merge' - , unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'] - ) -}} - -{% set project_start_date = '2023-12-10' %} - -WITH dexs AS -( - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL AS VARBINARY) AS maker - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END - ELSE router.amountOut - END AS token_bought_amount_raw - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END - ELSE router.inputAmount - END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END - ELSE router.outputToken - END AS token_bought_address - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END - ELSE router.inputToken - END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('pharaoh_avalanche_c', 'ClPool_evt_Swap') }} t - INNER JOIN - {{ source('pharaoh_avalanche_c', 'ClPoolFactory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - LEFT JOIN {{ source('odos_v2_avalanche_c', 'OdosRouterV2_evt_Swap') }} AS router - ON t.evt_tx_hash = router.evt_tx_hash - AND t.evt_index + 2 = router.evt_index - {% if is_incremental() %} - WHERE {{ incremental_predicate('t.evt_block_time') }} - {% endif %} -) -SELECT - 'avalanche_c' AS blockchain - ,'pharaoh' AS project - ,'1' AS version - ,CAST(date_trunc('day', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,CAST(dexs.token_bought_amount_raw AS UINT256) / power(10, erc20a.decimals) AS token_bought_amount - ,CAST(dexs.token_sold_amount_raw AS UINT256) / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(CAST(dexs.token_bought_amount_raw AS UINT256) / power(10, p_bought.decimals)) * p_bought.price - ,(CAST(dexs.token_sold_amount_raw AS UINT256) / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('avalanche_c', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('tx.block_time') }} - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'avalanche_c' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'avalanche_c' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('p_bought.minute') }} - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('p_sold.minute') }} - {% endif %} From 2775479b90526ea9ccd0a317e6806e8d6ac75299 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:47:10 -0400 Subject: [PATCH 22/63] move more dependencies for balancer --- .../_projects/balancer/labels/_schema.yml | 76 +++++++++++++++---- .../labels}/labels_balancer_v1_pools.sql | 2 +- .../labels_balancer_v1_pools_ethereum.sql | 2 +- .../balancer_v1/labels_balancer_v1_schema.yml | 68 ----------------- sources/_subprojects/spellbook/_sources.yml | 29 ++++++- 5 files changed, 91 insertions(+), 86 deletions(-) rename {models/labels/addresses/__single_category_labels__/balancer_v1 => dex/models/_projects/balancer/labels}/labels_balancer_v1_pools.sql (92%) rename {models/labels/addresses/__single_category_labels__/balancer_v1 => dex/models/_projects/balancer/labels}/labels_balancer_v1_pools_ethereum.sql (99%) delete mode 100644 models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml diff --git a/dex/models/_projects/balancer/labels/_schema.yml b/dex/models/_projects/balancer/labels/_schema.yml index 8ca394c9946..5307014bab0 100644 --- a/dex/models/_projects/balancer/labels/_schema.yml +++ b/dex/models/_projects/balancer/labels/_schema.yml @@ -1,45 +1,41 @@ version: 2 models: - - name: labels_balancer_v2_pools_ethereum + - name: labels_balancer_v1_pools_ethereum meta: blockchain: ethereum sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi + project: balancer_v1 + contributors: balancerlabs config: tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Ethereum. ' + description: "Balancer V1 liquidity pools created on Ethereum. " tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address - - name - - category - - model_name - - blockchain columns: - &blockchain name: blockchain - description: 'Blockchain' + description: "Blockchain" - &address name: address - description: 'Address of liquidity pool' + description: "Address of liquidity pool" - &name name: name - description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + description: "Label name of pool containg the token symbols and their respective weights (if applicable)" - &category name: category - description: 'Label category' + description: "Label category" - &contributor name: contributor - description: 'Wizard(s) contributing to labels' + description: "Wizard(s) contributing to labels" - &source name: source - description: 'How were labels generated (could be static or query)' + description: "How were labels generated (could be static or query)" - &created_at name: created_at - description: 'When were labels created' + description: "When were labels created" - &updated_at name: updated_at description: "When were labels updated for the last time" @@ -50,6 +46,56 @@ models: name: label_type description: "Type of label (see labels overall readme)" + - name: labels_balancer_v1_pools + meta: + blockchain: ethereum + sector: labels + project: balancer_v1 + contributors: balancerlabs + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: "Balancer V1 liquidity pools created across blockchains." + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_ethereum + meta: + blockchain: ethereum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Ethereum. ' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + - name + - category + - model_name + - blockchain + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + - name: labels_balancer_v2_pools_polygon meta: blockchain: polygon diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql similarity index 92% rename from models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql index 900c48cc9dd..3fac8ed84c1 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql @@ -1,5 +1,5 @@ {{config( - + schema = 'labels', alias = 'labels_balancer_v1_pools', post_hook='{{ expose_spells(\'["ethereum"]\', "sector", diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql similarity index 99% rename from models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql index c47b919ff85..ebb10b016b7 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql @@ -1,5 +1,5 @@ {{config( - + schema = 'labels', alias = 'balancer_v1_pools_ethereum', materialized = 'incremental', file_format = 'delta', diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml deleted file mode 100644 index b28b49766d1..00000000000 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml +++ /dev/null @@ -1,68 +0,0 @@ -version: 2 - -models: - - name: labels_balancer_v1_pools_ethereum - meta: - blockchain: ethereum - sector: labels - project: balancer_v1 - contributors: balancerlabs - config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: "Balancer V1 liquidity pools created on Ethereum. " - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &address - name: address - description: "Address of liquidity pool" - - &name - name: name - description: "Label name of pool containg the token symbols and their respective weights (if applicable)" - - &category - name: category - description: "Label category" - - &contributor - name: contributor - description: "Wizard(s) contributing to labels" - - &source - name: source - description: "How were labels generated (could be static or query)" - - &created_at - name: created_at - description: "When were labels created" - - &updated_at - name: updated_at - description: "When were labels updated for the last time" - - &model_name - name: model_name - description: "Name of the label model sourced from" - - &label_type - name: label_type - description: "Type of label (see labels overall readme)" - - - name: labels_balancer_v1_pools - meta: - blockchain: ethereum - sector: labels - project: balancer_v1 - contributors: balancerlabs - config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: "Balancer V1 liquidity pools created across blockchains." - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type \ No newline at end of file diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 007ffd7685d..a6afbeba9d6 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -61,4 +61,31 @@ sources: - name: addresses_optimism tables: - name: fee_vaults - - name: grants_funding \ No newline at end of file + - name: grants_funding + - name: balancer_v2_optimism + tables: + - name: bpt_prices + - name: balancer_v2_arbitrum + tables: + - name: bpt_prices + - name: balancer_v2_avalanche_c + tables: + - name: bpt_prices + - name: balancer_v2_base + tables: + - name: bpt_prices + - name: balancer_v2_ethereum + tables: + - name: bpt_prices + - name: balancer_v2_gnosis + tables: + - name: bpt_prices + - name: balancer_v2_polygon + tables: + - name: bpt_prices + - name: balancer_v2_zkevm + tables: + - name: bpt_prices + - name: balancer + tables: + - name: bpt_prices \ No newline at end of file From 2cadc790282e0e40d2b8050b19e21a58df55a905 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 5 Jun 2024 15:10:58 -0400 Subject: [PATCH 23/63] intitiate project --- .github/workflows/commit_manifest.yml | 2 +- .github/workflows/dex.yml | 19 ++++++++ dex/README.md | 11 +++++ dex/dbt_project.yml | 70 +++++++++++++++++++++++++++ dex/package-lock.yml | 4 ++ dex/packages.yml | 3 ++ dex/profiles.yml | 12 +++++ 7 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dex.yml create mode 100644 dex/README.md create mode 100644 dex/dbt_project.yml create mode 100644 dex/package-lock.yml create mode 100644 dex/packages.yml create mode 100644 dex/profiles.yml diff --git a/.github/workflows/commit_manifest.yml b/.github/workflows/commit_manifest.yml index 0942ff31823..2be7adc44ca 100644 --- a/.github/workflows/commit_manifest.yml +++ b/.github/workflows/commit_manifest.yml @@ -15,7 +15,7 @@ jobs: runs-on: [ self-hosted, linux, spellbook-trino-ci ] strategy: matrix: - project: [ 'tokens', 'spellbook', 'daily_spellbook', 'nft'] + project: [ 'tokens', 'spellbook', 'daily_spellbook', 'nft', 'dex'] max-parallel: 1 steps: diff --git a/.github/workflows/dex.yml b/.github/workflows/dex.yml new file mode 100644 index 00000000000..b07bfe52003 --- /dev/null +++ b/.github/workflows/dex.yml @@ -0,0 +1,19 @@ +name: DBT DEX sector run + +on: + workflow_dispatch: + pull_request: + paths: + - dex/** + - .github/workflows/dex.yml + - .github/workflows/dbt_run.yml + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + dbt-run: + uses: ./.github/workflows/dbt_run.yml + with: + project: 'dex' \ No newline at end of file diff --git a/dex/README.md b/dex/README.md new file mode 100644 index 00000000000..8aef6e6c3ac --- /dev/null +++ b/dex/README.md @@ -0,0 +1,11 @@ +## DEX subproject + +This is a DBT subproject for the main lineages of the DEX sector. Included in this subproject, but not limited to over time: +- `dex.trades` +- `dex_aggreagtor.trades` +- `dex.prices` +- `dex.sandwiches` +- `dex.sandwiched` +- ...and more! + +This subproject will be dedicated to building the above spells (and others in the future related to DEX) on an hourly cadence in production. All other spells not included within this subproject will treat these spells as sources. For example, labels spells which read from `dex.trades` will now treat the spell as a source, rather than reference within dbt. \ No newline at end of file diff --git a/dex/dbt_project.yml b/dex/dbt_project.yml new file mode 100644 index 00000000000..e8901fdd5ad --- /dev/null +++ b/dex/dbt_project.yml @@ -0,0 +1,70 @@ +#Welcome to your Spellbook! + +name: "dex" +version: "1.0.0" +config-version: 2 + +quoting: + database: false + schema: false + identifier: false + +# This setting configures which "profile" dbt uses for this project. +profile: "spellbook-local" + +vars: + DBT_ENV_CUSTOM_ENV_S3_BUCKET: "{{ env_var('DBT_ENV_CUSTOM_ENV_S3_BUCKET', 'local') }}" + DBT_ENV_INCREMENTAL_TIME: "{{ env_var('DBT_ENV_INCREMENTAL_TIME', '1') }}" + DBT_ENV_INCREMENTAL_TIME_UNIT: "{{ env_var('DBT_ENV_INCREMENTAL_TIME_UNIT', 'day') }}" + +# These configurations specify where dbt should look for different types of files. +# You don't need to change these! +model-paths: ["models", "../sources"] +analysis-paths: ["analyses"] +# ../tests/* should be added to a separate shared folder +test-paths: ["tests"] +seed-paths: ["seeds"] +macro-paths: ["../macros", "macros"] +snapshot-paths: ["snapshots"] + +target-path: "target" # directory which will store compiled SQL files +clean-targets: # directories to be removed by `dbt clean` + - "target" + - "dbt_packages" + +# Configuring tests +# Full documentation: https://docs.getdbt.com/reference/test-configs +tests: + dex: + +store_failures: true # store failures for all tests + +# Configuring seeds +# Full documentation: https://docs.getdbt.com/reference/seed-configs +# For configuring individual seeds (e.g. overriding column types) we recommend a yml file nested in the same folder as the seed +# example: seeds/cryptopunks/schema.yml +# TODO: uncomment when seeds are added +seeds: + dex: + +schema: test_data + +# defining search order of macro invokation +dispatch: + - macro_namespace: dbt_utils + search_order: ['trino_utils', 'dbt_utils'] + +# Configuring models +# Full documentation: https://docs.getdbt.com/docs/configuring-models +models: + dex: + +post-hook: + - sql: "{{ set_trino_session_property(is_materialized(model), 'writer_scaling_min_data_processed', model.config.get('writer_min_size', '500MB')) }}" + transaction: true + - sql: "{{ set_trino_session_property(is_materialized(model), 'task_scale_writers_enabled', false) }}" + transaction: true + - sql: "{{ optimize_spell(this, model.config.materialized) }}" + transaction: true + - sql: "{{ mark_as_spell(this, model.config.materialized) }}" + transaction: true + +materialized: view + +schema: no_schema # this should be overriden in model specific configs + +view_security: invoker \ No newline at end of file diff --git a/dex/package-lock.yml b/dex/package-lock.yml new file mode 100644 index 00000000000..709885d7a0b --- /dev/null +++ b/dex/package-lock.yml @@ -0,0 +1,4 @@ +packages: +- package: dbt-labs/dbt_utils + version: 1.2.0 +sha1_hash: eb1031c07e7c89332527e572f2e44613ce5b62bf diff --git a/dex/packages.yml b/dex/packages.yml new file mode 100644 index 00000000000..d4f9f38e076 --- /dev/null +++ b/dex/packages.yml @@ -0,0 +1,3 @@ +packages: + - package: dbt-labs/dbt_utils + version: 1.2.0 \ No newline at end of file diff --git a/dex/profiles.yml b/dex/profiles.yml new file mode 100644 index 00000000000..10d52bd460f --- /dev/null +++ b/dex/profiles.yml @@ -0,0 +1,12 @@ +spellbook-local: + target: dev + outputs: + dev: + type: trino + user: trino + password: trino + host: trino + port: 1234 + database: hive + schema: wizard + threads: 1 \ No newline at end of file From 8c5287fd6f7d21c90490caffe8fdae771969de66 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 6 Jun 2024 16:07:44 -0400 Subject: [PATCH 24/63] initial file movement --- dex/models/_projects/balancer/_schema.yml | 261 ++++++++++++++++++ .../balancer}/labels_balancer_v2_pools.sql | 0 .../labels_balancer_v2_pools_arbitrum.sql | 0 .../labels_balancer_v2_pools_avalanche_c.sql | 0 .../labels_balancer_v2_pools_base.sql | 0 .../labels_balancer_v2_pools_ethereum.sql | 0 .../labels_balancer_v2_pools_gnosis.sql | 0 .../labels_balancer_v2_pools_optimism.sql | 0 .../labels_balancer_v2_pools_polygon.sql | 0 .../labels_balancer_v2_pools_zkevm.sql | 0 .../oneinch/_meta/oneinch_blockchains.sql | 0 .../oneinch/_meta/oneinch_fusion_accounts.sql | 0 .../_meta/oneinch_fusion_executors.sql | 0 .../oneinch/_meta/oneinch_fusion_farms.sql | 0 .../_meta/oneinch_fusion_resolvers.sql | 0 .../_meta/oneinch_mapped_contracts.sql | 0 .../oneinch/_meta/oneinch_mapped_methods.sql | 0 .../oneinch_arbitrum_mapped_contracts.sql | 0 .../_meta/oneinch_arbitrum_mapped_methods.sql | 0 .../oneinch/arbitrum/oneinch_arbitrum_ar.sql | 0 .../oneinch_arbitrum_call_transfers.sql | 0 .../oneinch/arbitrum/oneinch_arbitrum_lop.sql | 0 .../oneinch_arbitrum_project_orders.sql | 0 .../oneinch_arbitrum_project_swaps.sql | 0 .../arbitrum/oneinch_arbitrum_schema.yml | 0 .../oneinch_avalanche_c_mapped_contracts.sql | 0 .../oneinch_avalanche_c_mapped_methods.sql | 0 .../avalanche_c/oneinch_avalanche_c_ar.sql | 0 .../oneinch_avalanche_c_call_transfers.sql | 0 .../avalanche_c/oneinch_avalanche_c_lop.sql | 0 .../oneinch_avalanche_c_project_orders.sql | 0 .../oneinch_avalanche_c_project_swaps.sql | 0 .../oneinch_avalanche_c_schema.yml | 0 .../_meta/oneinch_base_mapped_contracts.sql | 0 .../_meta/oneinch_base_mapped_methods.sql | 0 .../oneinch/base/oneinch_base_ar.sql | 0 .../base/oneinch_base_call_transfers.sql | 0 .../oneinch/base/oneinch_base_lop.sql | 0 .../base/oneinch_base_project_orders.sql | 0 .../base/oneinch_base_project_swaps.sql | 0 .../oneinch/base/oneinch_base_schema.yml | 0 .../_meta/oneinch_bnb_mapped_contracts.sql | 0 .../bnb/_meta/oneinch_bnb_mapped_methods.sql | 0 .../_projects}/oneinch/bnb/oneinch_bnb_ar.sql | 0 .../bnb/oneinch_bnb_call_transfers.sql | 0 .../oneinch/bnb/oneinch_bnb_lop.sql | 0 .../bnb/oneinch_bnb_project_orders.sql | 0 .../oneinch/bnb/oneinch_bnb_project_swaps.sql | 0 .../oneinch/bnb/oneinch_bnb_schema.yml | 0 .../oneinch_ethereum_mapped_contracts.sql | 0 .../_meta/oneinch_ethereum_mapped_methods.sql | 0 .../oneinch_ethereum_airdrop_claims.sql | 0 .../oneinch/ethereum/oneinch_ethereum_ar.sql | 0 .../oneinch_ethereum_call_transfers.sql | 0 .../oneinch/ethereum/oneinch_ethereum_lop.sql | 0 .../oneinch_ethereum_project_orders.sql | 0 .../oneinch_ethereum_project_swaps.sql | 0 .../ethereum/oneinch_ethereum_schema.yml | 0 .../_meta/oneinch_fantom_mapped_contracts.sql | 0 .../_meta/oneinch_fantom_mapped_methods.sql | 0 .../oneinch/fantom/oneinch_fantom_ar.sql | 0 .../fantom/oneinch_fantom_call_transfers.sql | 0 .../oneinch/fantom/oneinch_fantom_lop.sql | 0 .../fantom/oneinch_fantom_project_orders.sql | 0 .../fantom/oneinch_fantom_project_swaps.sql | 0 .../oneinch/fantom/oneinch_fantom_schema.yml | 0 .../_meta/oneinch_gnosis_mapped_contracts.sql | 0 .../_meta/oneinch_gnosis_mapped_methods.sql | 0 .../oneinch/gnosis/oneinch_gnosis_ar.sql | 0 .../gnosis/oneinch_gnosis_call_transfers.sql | 0 .../oneinch/gnosis/oneinch_gnosis_lop.sql | 0 .../gnosis/oneinch_gnosis_project_orders.sql | 0 .../gnosis/oneinch_gnosis_project_swaps.sql | 0 .../oneinch/gnosis/oneinch_gnosis_schema.yml | 0 .../models/_projects}/oneinch/oneinch_ar.sql | 0 .../_projects}/oneinch/oneinch_ar_trades.sql | 0 .../oneinch/oneinch_call_transfers.sql | 0 .../_projects}/oneinch/oneinch_calls.sql | 0 .../models/_projects}/oneinch/oneinch_lop.sql | 0 .../oneinch/oneinch_lop_own_trades.sql | 0 .../oneinch_parsed_transfers_from_calls.sql | 0 .../oneinch/oneinch_project_orders.sql | 0 .../oneinch/oneinch_project_swaps.sql | 0 .../_projects}/oneinch/oneinch_schema.yml | 0 .../_projects}/oneinch/oneinch_swaps.sql | 0 .../oneinch_optimism_mapped_contracts.sql | 0 .../_meta/oneinch_optimism_mapped_methods.sql | 0 .../oneinch/optimism/oneinch_optimism_ar.sql | 0 .../oneinch_optimism_call_transfers.sql | 0 .../oneinch/optimism/oneinch_optimism_lop.sql | 0 .../oneinch_optimism_project_orders.sql | 0 .../oneinch_optimism_project_swaps.sql | 0 .../optimism/oneinch_optimism_schema.yml | 0 .../oneinch_polygon_mapped_contracts.sql | 0 .../_meta/oneinch_polygon_mapped_methods.sql | 0 .../oneinch/polygon/oneinch_polygon_ar.sql | 0 .../oneinch_polygon_call_transfers.sql | 0 .../oneinch/polygon/oneinch_polygon_lop.sql | 0 .../oneinch_polygon_project_orders.sql | 0 .../polygon/oneinch_polygon_project_swaps.sql | 0 .../polygon/oneinch_polygon_schema.yml | 0 .../_meta/oneinch_zksync_mapped_contracts.sql | 0 .../_meta/oneinch_zksync_mapped_methods.sql | 0 .../oneinch/zksync/oneinch_zksync_ar.sql | 0 .../zksync/oneinch_zksync_call_transfers.sql | 0 .../oneinch/zksync/oneinch_zksync_lop.sql | 0 .../zksync/oneinch_zksync_project_orders.sql | 0 .../zksync/oneinch_zksync_project_swaps.sql | 0 .../oneinch/zksync/oneinch_zksync_schema.yml | 0 .../arbitrum/uniswap_arbitrum_pools.sql | 0 .../arbitrum/uniswap_arbitrum_schema.yml | 0 .../arbitrum/uniswap_arbitrum_trades.sql | 0 .../uniswap_v3_arbitrum_flashloans.sql | 0 .../arbitrum/uniswap_v3_arbitrum_trades.sql | 0 .../uniswap_avalanche_c_schema.yml | 0 .../uniswap_avalanche_c_trades.sql | 0 .../uniswap_v3_avalanche_c_trades.sql | 0 .../uniswap/base/uniswap_base_schema.yml | 0 .../uniswap/base/uniswap_base_trades.sql | 0 .../uniswap/base/uniswap_v3_base_trades.sql | 0 .../uniswap/bnb/uniswap_bnb_pools.sql | 0 .../uniswap/bnb/uniswap_bnb_schema.yml | 0 .../uniswap/bnb/uniswap_bnb_trades.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_flashloans.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 0 .../uniswap/celo/uniswap_celo_pools.sql | 0 .../uniswap/celo/uniswap_celo_schema.yml | 0 .../uniswap/celo/uniswap_celo_trades.sql | 0 .../celo/uniswap_v3_celo_flashloans.sql | 0 .../uniswap/celo/uniswap_v3_celo_trades.sql | 0 .../uniswap_ethereum_airdrop_claims.sql | 0 .../ethereum/uniswap_ethereum_pools.sql | 0 .../ethereum/uniswap_ethereum_schema.yml | 0 .../ethereum/uniswap_ethereum_trades.sql | 0 .../ethereum/uniswap_v1_ethereum_trades.sql | 0 .../ethereum/uniswap_v2_ethereum_trades.sql | 0 .../uniswap_v3_ethereum_flashloans.sql | 0 .../uniswap_v3_ethereum_proposals.sql | 0 .../ethereum/uniswap_v3_ethereum_trades.sql | 0 .../ethereum/uniswap_v3_ethereum_votes.sql | 0 .../uniswap_optimism_ovm1_pool_mapping.sql | 0 .../optimism/uniswap_optimism_pools.sql | 0 .../optimism/uniswap_optimism_schema.yml | 0 .../optimism/uniswap_optimism_trades.sql | 0 .../uniswap_v3_optimism_flashloans.sql | 0 .../optimism/uniswap_v3_optimism_trades.sql | 0 .../uniswap/polygon/uniswap_polygon_pools.sql | 0 .../polygon/uniswap_polygon_schema.yml | 0 .../polygon/uniswap_polygon_trades.sql | 0 .../polygon/uniswap_v3_polygon_flashloans.sql | 0 .../polygon/uniswap_v3_polygon_trades.sql | 0 .../_projects}/uniswap/uniswap_flashloans.sql | 0 .../uniswap_liquidity_manager_pools.sql | 0 .../_projects}/uniswap/uniswap_pools.sql | 0 .../_projects}/uniswap/uniswap_schema.yml | 0 .../arbitrum/zeroex_arbitrum_api_fills.sql | 0 .../zeroex_arbitrum_api_fills_deduped.sql | 0 .../arbitrum/zeroex_arbitrum_native_fills.sql | 0 .../arbitrum/zeroex_arbitrum_schema.yml | 0 .../zeroex_avalanche_c_api_fills.sql | 0 .../zeroex_avalanche_c_api_fills_deduped.sql | 0 .../avalanche_c/zeroex_avalanche_c_schema.yml | 0 .../zeroex/base/zeroex_base_api_fills.sql | 0 .../base/zeroex_base_api_fills_deduped.sql | 0 .../base/zeroex_base_api_fills_schema.yml | 0 .../zeroex/bnb/zeroex_bnb_api_fills.sql | 0 .../bnb/zeroex_bnb_api_fills_deduped.sql | 0 .../zeroex/bnb/zeroex_bnb_native_fills.sql | 0 .../zeroex/bnb/zeroex_bnb_schema.yml | 0 .../zeroex/celo/zeroex_celo_api_fills.sql | 0 .../celo/zeroex_celo_api_fills_deduped.sql | 0 .../zeroex/celo/zeroex_celo_schema.yml | 0 .../ethereum/zeroex_ethereum_api_fills.sql | 0 .../zeroex_ethereum_api_fills_deduped.sql | 0 .../ethereum/zeroex_ethereum_native_fills.sql | 0 .../ethereum/zeroex_ethereum_nft_fills.sql | 0 .../ethereum/zeroex_ethereum_schema.yml | 0 .../zeroex/fantom/zeroex_fantom_api_fills.sql | 0 .../zeroex_fantom_api_fills_deduped.sql | 0 .../zeroex/fantom/zeroex_fantom_schema.yml | 0 .../optimism/zeroex_optimism_api_fills.sql | 0 .../zeroex_optimism_api_fills_deduped.sql | 0 .../optimism/zeroex_optimism_native_fills.sql | 0 .../optimism/zeroex_optimism_schema.yml | 0 .../polygon/zeroex_polygon_api_fills.sql | 0 .../zeroex_polygon_api_fills_deduped.sql | 0 .../polygon/zeroex_polygon_native_fills.sql | 0 .../polygon/zeroex_polygon_nft_fills.sql | 0 .../zeroex/polygon/zeroex_polygon_schema.yml | 0 .../_projects}/zeroex/zeroex_api_fills.sql | 0 .../zeroex/zeroex_api_fills_deduped.sql | 0 .../_projects}/zeroex/zeroex_native_fills.sql | 0 .../zeroex/zeroex_native_trades.sql | 0 .../_projects}/zeroex/zeroex_schema.yml | 0 .../_projects}/zeroex/zeroex_trades.sql | 0 .../dex => dex/models}/trades/_schema.yml | 0 .../models}/trades/arbitrum/_schema.yml | 0 .../arbitrum/dex_arbitrum_base_trades.sql | 0 .../airswap_arbitrum_base_trades.sql | 0 .../apeswap_arbitrum_base_trades.sql | 0 .../arbswap_arbitrum_base_trades.sql | 0 .../platforms/auragi_arbitrum_base_trades.sql | 0 .../balancer_v2_arbitrum_base_trades.sql | 0 .../camelot_v2_arbitrum_base_trades.sql | 0 .../camelot_v3_arbitrum_base_trades.sql | 0 .../chronos_arbitrum_base_trades.sql | 0 .../clipper_arbitrum_base_trades.sql | 0 .../platforms/dodo_arbitrum_base_trades.sql | 0 .../fraxswap_arbitrum_base_trades.sql | 0 .../platforms/gmx_arbitrum_base_trades.sql | 0 .../platforms/gridex_arbitrum_base_trades.sql | 0 .../integral_arbitrum_base_trades.sql | 0 .../kyberswap_arbitrum_base_trades.sql | 0 .../oasisswap_arbitrum_base_trades.sql | 0 .../pancakeswap_v2_arbitrum_base_trades.sql | 0 .../pancakeswap_v3_arbitrum_base_trades.sql | 0 .../platforms/ramses_arbitrum_base_trades.sql | 0 .../rubicon_arbitrum_base_trades.sql | 0 .../sharkyswap_arbitrum_base_trades.sql | 0 .../smardex_arbitrum_base_trades.sql | 0 .../solidlizard_arbitrum_base_trades.sql | 0 .../solidly_v3_arbitrum_base_trades.sql | 0 .../sterling_finance_arbitrum_base_trades.sql | 0 .../sushiswap_v1_arbitrum_base_trades.sql | 0 .../sushiswap_v2_arbitrum_base_trades.sql | 0 .../swaap_v2_arbitrum_base_trades.sql | 0 .../trader_joe_v2_1_arbitrum_base_trades.sql | 0 .../trader_joe_v2_arbitrum_base_trades.sql | 0 .../uniswap_v2_arbitrum_base_trades.sql | 0 .../uniswap_v3_arbitrum_base_trades.sql | 0 .../wombat_exchange_arbitrum_base_trades.sql | 0 .../platforms/woofi_arbitrum_base_trades.sql | 0 .../xchange_arbitrum_base_trades.sql | 0 .../platforms/zigzag_arbitrum_base_trades.sql | 0 .../zyberswap_arbitrum_base_trades.sql | 0 .../models}/trades/avalanche_c/_schema.yml | 0 .../dex_avalanche_c_base_trades.sql | 0 .../airswap_avalanche_c_base_trades.sql | 0 .../balancer_v2_avalanche_c_base_trades.sql | 0 .../curvefi_avalanche_c_base_trades.sql | 0 .../fraxswap_avalanche_c_base_trades.sql | 0 .../glacier_v2_avalanche_c_base_trades.sql | 0 .../glacier_v3_avalanche_c_base_trades.sql | 0 .../platforms/gmx_avalanche_c_base_trades.sql | 0 .../hashflow_avalanche_c_base_trades.sql | 0 .../kyberswap_avalanche_c_base_trades.sql | 0 .../openocean_avalanche_c_base_trades.sql | 0 .../pharaoh_avalanche_c_base_trades.sql | 0 ...atypus_finance_avalanche_c_base_trades.sql | 0 .../sushiswap_v1_avalanche_c_base_trades.sql | 0 .../sushiswap_v2_avalanche_c_base_trades.sql | 0 .../trader_joe_v1_avalanche_c_base_trades.sql | 0 ...rader_joe_v2_1_avalanche_c_base_trades.sql | 0 .../trader_joe_v2_avalanche_c_base_trades.sql | 0 .../uniswap_v2_avalanche_c_base_trades.sql | 0 .../uniswap_v3_avalanche_c_base_trades.sql | 0 .../woofi_avalanche_c_base_trades.sql | 0 .../models}/trades/base/_schema.yml | 0 .../trades/base/dex_base_base_trades.sql | 0 .../platforms/aerodrome_base_base_trades.sql | 0 .../platforms/alienbase_base_base_trades.sql | 0 .../platforms/autotronic_base_base_trades.sql | 0 .../balancer_v2_base_base_trades.sql | 0 .../platforms/baseswap_base_base_trades.sql | 0 .../baseswap_basex_base_base_trades.sql | 0 .../baso_finance_base_base_trades.sql | 0 .../citadelswap_base_base_trades.sql | 0 .../platforms/clipper_base_base_trades.sql | 0 .../crescentswap_base_base_trades.sql | 0 .../platforms/dackieswap_base_base_trades.sql | 0 .../platforms/derpdex_base_base_trades.sql | 0 .../base/platforms/dodo_base_base_trades.sql | 0 .../elk_finance_base_base_trades.sql | 0 .../platforms/energon_base_base_trades.sql | 0 .../platforms/gridex_base_base_trades.sql | 0 .../platforms/horizondex_base_base_trades.sql | 0 .../icecreamswap_base_base_trades.sql | 0 .../platforms/kyberswap_base_base_trades.sql | 0 .../leetswap_v2_base_base_trades.sql | 0 .../platforms/maverick_base_base_trades.sql | 0 .../platforms/moonbase_base_base_trades.sql | 0 .../platforms/oasisswap_base_base_trades.sql | 0 .../platforms/openocean_base_base_trades.sql | 0 .../pancakeswap_v2_base_base_trades.sql | 0 .../pancakeswap_v3_base_base_trades.sql | 0 .../plantbaseswap_base_base_trades.sql | 0 .../platforms/rocketswap_base_base_trades.sql | 0 .../platforms/rubicon_base_base_trades.sql | 0 .../base/platforms/scale_base_base_trades.sql | 0 .../platforms/sharkswap_base_base_trades.sql | 0 .../platforms/smardex_base_base_trades.sql | 0 .../base/platforms/sobal_base_base_trades.sql | 0 .../platforms/solidly_v3_base_base_trades.sql | 0 .../platforms/soswap_base_base_trades.sql | 0 .../sushiswap_v1_base_base_trades.sql | 0 .../sushiswap_v2_base_base_trades.sql | 0 .../platforms/swapbased_base_base_trades.sql | 0 .../platforms/synthswap_base_base_trades.sql | 0 .../throne_exchange_v2_base_base_trades.sql | 0 .../throne_exchange_v3_base_base_trades.sql | 0 .../base/platforms/torus_base_base_trades.sql | 0 .../platforms/uniswap_v2_base_base_trades.sql | 0 .../platforms/uniswap_v3_base_base_trades.sql | 0 .../velocimeter_v2_base_base_trades.sql | 0 .../platforms/voltswap_base_base_trades.sql | 0 .../wombat_exchange_base_base_trades.sql | 0 .../base/platforms/woofi_base_base_trades.sql | 0 .../dex => dex/models}/trades/bnb/_schema.yml | 0 .../trades/bnb/dex_bnb_base_trades.sql | 0 .../bnb/platforms/airswap_bnb_base_trades.sql | 0 .../bnb/platforms/apeswap_bnb_base_trades.sql | 0 .../platforms/babyswap_bnb_base_trades.sql | 0 .../platforms/biswap_v2_bnb_base_trades.sql | 0 .../platforms/biswap_v3_bnb_base_trades.sql | 0 .../bnb/platforms/dodo_bnb_base_trades.sql | 0 .../ellipsis_finance_bnb_base_trades.sql | 0 .../platforms/fraxswap_bnb_base_trades.sql | 0 .../platforms/hashflow_bnb_base_trades.sql | 0 .../bnb/platforms/iziswap_bnb_base_trades.sql | 0 .../platforms/kyberswap_bnb_base_trades.sql | 0 .../platforms/maverick_bnb_base_trades.sql | 0 .../bnb/platforms/mdex_bnb_base_trades.sql | 0 .../platforms/nomiswap_bnb_base_trades.sql | 0 .../onepunchswap_bnb_base_trades.sql | 0 .../pancakeswap_v2_bnb_base_trades.sql | 0 .../pancakeswap_v3_bnb_base_trades.sql | 0 .../sushiswap_v1_bnb_base_trades.sql | 0 .../sushiswap_v2_bnb_base_trades.sql | 0 .../bnb/platforms/thena_bnb_base_trades.sql | 0 .../trader_joe_v2_1_bnb_base_trades.sql | 0 .../trader_joe_v2_bnb_base_trades.sql | 0 .../platforms/uniswap_v2_bnb_base_trades.sql | 0 .../platforms/uniswap_v3_bnb_base_trades.sql | 0 .../bnb/platforms/wombat_bnb_base_trades.sql | 0 .../bnb/platforms/woofi_bnb_base_trades.sql | 0 .../bnb/platforms/xchange_bnb_base_trades.sql | 0 .../models}/trades/celo/_schema.yml | 0 .../trades/celo/dex_celo_base_trades.sql | 0 .../platforms/carbonhood_celo_base_trades.sql | 0 .../platforms/curvefi_celo_base_trades.sql | 0 .../platforms/mento_v1_celo_base_trades.sql | 0 .../platforms/mento_v2_celo_base_trades.sql | 0 .../platforms/sushiswap_celo_base_trades.sql | 0 .../platforms/ubeswap_celo_base_trades.sql | 0 .../platforms/uniswap_v3_celo_base_trades.sql | 0 .../models}/trades/dex_base_trades.sql | 0 .../dex => dex/models}/trades/dex_trades.sql | 0 .../models}/trades/ethereum/_schema.yml | 0 .../ethereum/dex_ethereum_base_trades.sql | 0 .../airswap_ethereum_base_trades.sql | 0 .../apeswap_ethereum_base_trades.sql | 0 .../balancer_v1_ethereum_base_trades.sql | 0 .../balancer_v2_ethereum_base_trades.sql | 0 .../platforms/bancor_ethereum_base_trades.sql | 0 .../carbon_defi_ethereum_base_trades.sql | 0 .../clipper_ethereum_base_trades.sql | 0 .../curvefi_ethereum_base_trades.sql | 0 .../defiswap_ethereum_base_trades.sql | 0 .../platforms/dfx_ethereum_base_trades.sql | 0 .../platforms/dodo_ethereum_base_trades.sql | 0 .../fraxswap_ethereum_base_trades.sql | 0 .../integral_ethereum_base_trades.sql | 0 .../kyberswap_ethereum_base_trades.sql | 0 .../platforms/mauve_ethereum_base_trades.sql | 0 .../maverick_ethereum_base_trades.sql | 0 .../mstable_ethereum_base_trades.sql | 0 .../pancakeswap_v2_ethereum_base_trades.sql | 0 .../pancakeswap_v3_ethereum_base_trades.sql | 0 .../shibaswap_v1_ethereum_base_trades.sql | 0 .../solidly_v3_ethereum_base_trades.sql | 0 .../sushiswap_v1_ethereum_base_trades.sql | 0 .../sushiswap_v2_ethereum_base_trades.sql | 0 .../platforms/swapr_ethereum_base_trades.sql | 0 .../uniswap_v1_ethereum_base_trades.sql | 0 .../uniswap_v2_ethereum_base_trades.sql | 0 .../uniswap_v3_ethereum_base_trades.sql | 0 .../verse_dex_ethereum_base_trades.sql | 0 .../xchange_ethereum_base_trades.sql | 0 .../models}/trades/fantom/_schema.yml | 0 .../trades/fantom/dex_fantom_base_trades.sql | 0 .../beethoven_x_fantom_base_trades.sql | 0 .../platforms/curvefi_fantom_base_trades.sql | 0 .../equalizer_fantom_base_trades.sql | 0 .../openocean_fantom_base_trades.sql | 0 .../solidly_v3_fantom_base_trades.sql | 0 .../spartacus_exchange_fantom_base_trades.sql | 0 .../spiritswap_fantom_base_trades.sql | 0 .../spookyswap_fantom_base_trades.sql | 0 .../sushiswap_v1_fantom_base_trades.sql | 0 .../sushiswap_v2_fantom_base_trades.sql | 0 .../platforms/wigoswap_fantom_base_trades.sql | 0 .../models}/trades/gnosis/_schema.yml | 0 .../trades/gnosis/dex_gnosis_base_trades.sql | 0 .../balancer_v2_gnosis_base_trades.sql | 0 .../honeyswap_v2_gnosis_base_trades.sql | 0 .../sushiswap_v1_gnosis_base_trades.sql | 0 .../sushiswap_v2_gnosis_base_trades.sql | 0 .../models}/trades/linea/_schema.yml | 0 .../trades/linea/dex_linea_base_trades.sql | 0 .../platforms/echodex_linea_base_trades.sql | 0 .../platforms/lynex_linea_base_trades.sql | 0 .../platforms/nile_linea_base_trades.sql | 0 .../pancakeswap_v2_linea_base_trades.sql | 0 .../pancakeswap_v3_linea_base_trades.sql | 0 .../platforms/secta_linea_base_trades.sql | 0 .../sushiswap_v2_linea_base_trades.sql | 0 .../models}/trades/optimism/_schema.yml | 0 .../optimism/dex_optimism_base_trades.sql | 0 .../balancer_v2_optimism_base_trades.sql | 0 .../chainhop_optimism_base_trades.sql | 0 .../clipper_optimism_base_trades.sql | 0 .../curvefi_optimism_base_trades.sql | 0 .../dackieswap_v2_optimism_base_trades.sql | 0 .../dackieswap_v3_optimism_base_trades.sql | 0 .../platforms/dodo_optimism_base_trades.sql | 0 .../elk_finance_optimism_base_trades.sql | 0 .../fraxswap_optimism_base_trades.sql | 0 .../platforms/gridex_optimism_base_trades.sql | 0 .../hashflow_optimism_base_trades.sql | 0 .../kyberswap_optimism_base_trades.sql | 0 .../mummy_finance_optimism_base_trades.sql | 0 .../openocean_optimism_base_trades.sql | 0 .../openxswap_optimism_base_trades.sql | 0 .../opx_finance_optimism_base_trades.sql | 0 .../rubicon_optimism_base_trades.sql | 0 .../solidly_v3_optimism_base_trades.sql | 0 .../sushiswap_v1_optimism_base_trades.sql | 0 .../sushiswap_v2_optimism_base_trades.sql | 0 .../synthetix_optimism_base_trades.sql | 0 .../uniswap_v2_optimism_base_trades.sql | 0 .../uniswap_v3_optimism_base_trades.sql | 0 .../velodrome_optimism_base_trades.sql | 0 .../wardenswap_optimism_base_trades.sql | 0 .../wombat_exchange_optimism_base_trades.sql | 0 .../platforms/woofi_optimism_base_trades.sql | 0 .../zipswap_optimism_base_trades.sql | 0 .../models}/trades/polygon/_schema.yml | 0 .../polygon/dex_polygon_base_trades.sql | 0 .../platforms/airswap_polygon_base_trades.sql | 0 .../platforms/apeswap_polygon_base_trades.sql | 0 .../balancer_v2_polygon_base_trades.sql | 0 .../platforms/clipper_polygon_base_trades.sql | 0 .../platforms/dodo_polygon_base_trades.sql | 0 .../platforms/dooar_polygon_base_trades.sql | 0 .../fraxswap_polygon_base_trades.sql | 0 .../honeyswap_v2_polygon_base_trades.sql | 0 .../kyberswap_polygon_base_trades.sql | 0 .../quickswap_v2_polygon_base_trades.sql | 0 .../quickswap_v3_polygon_base_trades.sql | 0 .../sushiswap_v1_polygon_base_trades.sql | 0 .../sushiswap_v2_polygon_base_trades.sql | 0 .../uniswap_v2_polygon_base_trades.sql | 0 .../uniswap_v3_polygon_base_trades.sql | 0 .../platforms/xchange_polygon_base_trades.sql | 0 .../dex => dex/models/trades}/readme.md | 0 .../models}/trades/scroll/_schema.yml | 0 .../trades/scroll/dex_scroll_base_trades.sql | 0 .../icecreamswap_v2_scroll_base_trades.sql | 0 .../platforms/iziswap_scroll_base_trades.sql | 0 .../platforms/nuri_scroll_base_trades.sql | 0 .../scrollswap_scroll_base_trades.sql | 0 .../sushiswap_v2_scroll_base_trades.sql | 0 .../syncswap_v1_scroll_base_trades.sql | 0 .../uniswap_v3_scroll_base_trades.sql | 0 .../platforms/zebra_scroll_base_trades.sql | 0 .../models}/trades/zkevm/_schema.yml | 0 .../trades/zkevm/dex_zkevm_base_trades.sql | 0 .../balancer_v2_zkevm_base_trades.sql | 0 .../pancakeswap_v2_zkevm_base_trades.sql | 0 .../pancakeswap_v3_zkevm_base_trades.sql | 0 .../models}/trades/zksync/_schema.yml | 0 .../trades/zksync/dex_zksync_base_trades.sql | 0 .../derpdex_v1_zksync_base_trades.sql | 0 .../dracula_finance_zksync_base_trades.sql | 0 .../ezkalibur_v2_zksync_base_trades.sql | 0 .../platforms/gemswap_zksync_base_trades.sql | 0 .../iziswap_v1_zksync_base_trades.sql | 0 .../iziswap_v2_zksync_base_trades.sql | 0 .../platforms/maverick_zksync_base_trades.sql | 0 .../platforms/mute_zksync_base_trades.sql | 0 .../pancakeswap_v2_zksync_base_trades.sql | 0 .../pancakeswap_v3_zksync_base_trades.sql | 0 .../spacefi_v1_zksync_base_trades.sql | 0 .../syncswap_v1_zksync_base_trades.sql | 0 .../syncswap_v2_zksync_base_trades.sql | 0 .../uniswap_v3_zksync_base_trades.sql | 0 .../velocore_v0_zksync_base_trades.sql | 0 .../velocore_v1_zksync_base_trades.sql | 0 .../velocore_v2_zksync_base_trades.sql | 0 .../vesync_v1_zksync_base_trades.sql | 0 .../platforms/wagmi_v1_zksync_base_trades.sql | 0 .../zkswap_finance_zksync_base_trades.sql | 0 .../models}/trades/zora/_schema.yml | 0 .../trades/zora/dex_zora_base_trades.sql | 0 .../platforms/uniswap_v2_zora_base_trades.sql | 0 .../platforms/uniswap_v3_zora_base_trades.sql | 0 .../balancer_v2/labels_balancer_v2_schema.yml | 14 +- 497 files changed, 268 insertions(+), 7 deletions(-) create mode 100644 dex/models/_projects/balancer/_schema.yml rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_arbitrum.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_avalanche_c.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_base.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_ethereum.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_gnosis.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_optimism.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_polygon.sql (100%) rename {models/labels/addresses/__single_category_labels__/balancer_v2 => dex/models/_projects/balancer}/labels_balancer_v2_pools_zkevm.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_blockchains.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_accounts.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_executors.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_farms.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_fusion_resolvers.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/_meta/oneinch_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/arbitrum/oneinch_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/base/_meta/oneinch_base_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/base/_meta/oneinch_base_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/base/oneinch_base_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/bnb/oneinch_bnb_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/ethereum/oneinch_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/fantom/oneinch_fantom_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/gnosis/oneinch_gnosis_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/oneinch_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_ar_trades.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_calls.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_lop_own_trades.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_parsed_transfers_from_calls.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/oneinch_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/oneinch_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/optimism/oneinch_optimism_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/polygon/oneinch_polygon_schema.yml (100%) rename {models => dex/models/_projects}/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_ar.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_call_transfers.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_lop.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_project_orders.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_project_swaps.sql (100%) rename {models => dex/models/_projects}/oneinch/zksync/oneinch_zksync_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_base_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_base_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/base/uniswap_v3_base_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_bnb_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_v3_bnb_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/bnb/uniswap_v3_bnb_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_celo_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_v3_celo_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/celo/uniswap_v3_celo_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v1_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v2_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/ethereum/uniswap_v3_ethereum_votes.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_optimism_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_v3_optimism_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/optimism/uniswap_v3_optimism_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_schema.yml (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_polygon_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_v3_polygon_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/polygon/uniswap_v3_polygon_trades.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_flashloans.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_liquidity_manager_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_pools.sql (100%) rename {models => dex/models/_projects}/uniswap/uniswap_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/arbitrum/zeroex_arbitrum_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/base/zeroex_base_api_fills_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/bnb/zeroex_bnb_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/celo/zeroex_celo_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_nft_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/ethereum/zeroex_ethereum_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/fantom/zeroex_fantom_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/optimism/zeroex_optimism_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_nft_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/polygon/zeroex_polygon_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/zeroex_api_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_api_fills_deduped.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_native_fills.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_native_trades.sql (100%) rename {models => dex/models/_projects}/zeroex/zeroex_schema.yml (100%) rename {models => dex/models/_projects}/zeroex/zeroex_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/dex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/solidly_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/dex_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/base/dex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/aerodrome_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/alienbase_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/autotronic_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/balancer_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baseswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baseswap_basex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/baso_finance_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/citadelswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/clipper_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/crescentswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/dackieswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/derpdex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/dodo_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/elk_finance_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/energon_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/gridex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/horizondex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/icecreamswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/kyberswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/leetswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/maverick_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/moonbase_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/oasisswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/openocean_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/pancakeswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/pancakeswap_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/plantbaseswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/rocketswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/rubicon_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/scale_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sharkswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/smardex_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sobal_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/solidly_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/soswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sushiswap_v1_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/sushiswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/swapbased_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/synthswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/throne_exchange_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/throne_exchange_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/torus_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/uniswap_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/uniswap_v3_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/velocimeter_v2_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/voltswap_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/wombat_exchange_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/base/platforms/woofi_base_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/bnb/dex_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/airswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/apeswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/babyswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/dodo_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/fraxswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/hashflow_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/iziswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/kyberswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/maverick_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/mdex_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/nomiswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/thena_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/wombat_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/woofi_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/bnb/platforms/xchange_bnb_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/celo/dex_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/carbonhood_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/curvefi_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/mento_v1_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/mento_v2_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/sushiswap_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/ubeswap_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/celo/platforms/uniswap_v3_celo_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/dex_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/dex_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/dex_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/airswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/bancor_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/clipper_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/dfx_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/dodo_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/integral_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/mauve_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/maverick_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/mstable_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/solidly_v3_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/swapr_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/ethereum/platforms/xchange_ethereum_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/fantom/dex_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/curvefi_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/equalizer_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/openocean_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/solidly_v3_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spiritswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/spookyswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/fantom/platforms/wigoswap_fantom_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/dex_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/linea/dex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/echodex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/lynex_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/nile_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/pancakeswap_v2_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/pancakeswap_v3_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/secta_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/optimism/dex_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/chainhop_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/clipper_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/curvefi_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/dodo_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/elk_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/fraxswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/gridex_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/hashflow_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/kyberswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/openocean_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/openxswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/opx_finance_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/rubicon_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/synthetix_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/velodrome_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/wardenswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/woofi_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/optimism/platforms/zipswap_optimism_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/polygon/dex_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/airswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/apeswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/clipper_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/dodo_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/dooar_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/fraxswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/kyberswap_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/polygon/platforms/xchange_polygon_base_trades.sql (100%) rename {models/_sector/dex => dex/models/trades}/readme.md (100%) rename {models/_sector/dex => dex/models}/trades/scroll/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/scroll/dex_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/icecreamswap_v2_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/iziswap_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/nuri_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/scrollswap_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/scroll/platforms/zebra_scroll_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/dex_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zksync/dex_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/gemswap_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/maverick_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/mute_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/_schema.yml (100%) rename {models/_sector/dex => dex/models}/trades/zora/dex_zora_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/platforms/uniswap_v2_zora_base_trades.sql (100%) rename {models/_sector/dex => dex/models}/trades/zora/platforms/uniswap_v3_zora_base_trades.sql (100%) diff --git a/dex/models/_projects/balancer/_schema.yml b/dex/models/_projects/balancer/_schema.yml new file mode 100644 index 00000000000..8ca394c9946 --- /dev/null +++ b/dex/models/_projects/balancer/_schema.yml @@ -0,0 +1,261 @@ +version: 2 + +models: + - name: labels_balancer_v2_pools_ethereum + meta: + blockchain: ethereum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Ethereum. ' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + - name + - category + - model_name + - blockchain + columns: + - &blockchain + name: blockchain + description: 'Blockchain' + - &address + name: address + description: 'Address of liquidity pool' + - &name + name: name + description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + - &category + name: category + description: 'Label category' + - &contributor + name: contributor + description: 'Wizard(s) contributing to labels' + - &source + name: source + description: 'How were labels generated (could be static or query)' + - &created_at + name: created_at + description: 'When were labels created' + - &updated_at + name: updated_at + description: "When were labels updated for the last time" + - &model_name + name: model_name + description: "Name of the label model sourced from" + - &label_type + name: label_type + description: "Type of label (see labels overall readme)" + + - name: labels_balancer_v2_pools_polygon + meta: + blockchain: polygon + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'polygon', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Polygon.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_gnosis + meta: + blockchain: gnosis + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'gnosis', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Gnosis.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_avalanche_c + meta: + blockchain: avalanche_c + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'avalanche_c', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Avalanche Chain.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_base + meta: + blockchain: base + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'base', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Base Chain.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_arbitrum + meta: + blockchain: arbitrum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'arbitrum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Arbitrum.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_optimism + meta: + blockchain: optimism + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'optimism', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Optimism.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_zkevm + meta: + blockchain: zkevm + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'zkevm', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Polygon zkevm.' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + + - name: labels_balancer_v2_pools + meta: + blockchain: ethereum, polygon, arbitrum, optimism, gnosis, base, avalanche_c, zkevm + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: + [ + 'labels', + 'ethereum', + 'polygon', + 'arbitrum', + 'optimism', + 'avalanche_c', + 'base', + 'gnosis', + 'zkevm', + 'balancer', + 'pools', + ] + description: 'Balancer V2 liquidity pools created across blockchains.' + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type \ No newline at end of file diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_arbitrum.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_arbitrum.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_avalanche_c.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_avalanche_c.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_base.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_base.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_ethereum.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_ethereum.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_gnosis.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_gnosis.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_optimism.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_optimism.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_polygon.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_polygon.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_zkevm.sql b/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql similarity index 100% rename from models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_pools_zkevm.sql rename to dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql diff --git a/models/oneinch/_meta/oneinch_blockchains.sql b/dex/models/_projects/oneinch/_meta/oneinch_blockchains.sql similarity index 100% rename from models/oneinch/_meta/oneinch_blockchains.sql rename to dex/models/_projects/oneinch/_meta/oneinch_blockchains.sql diff --git a/models/oneinch/_meta/oneinch_fusion_accounts.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_accounts.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_accounts.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_accounts.sql diff --git a/models/oneinch/_meta/oneinch_fusion_executors.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_executors.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_executors.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_executors.sql diff --git a/models/oneinch/_meta/oneinch_fusion_farms.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_farms.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_farms.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_farms.sql diff --git a/models/oneinch/_meta/oneinch_fusion_resolvers.sql b/dex/models/_projects/oneinch/_meta/oneinch_fusion_resolvers.sql similarity index 100% rename from models/oneinch/_meta/oneinch_fusion_resolvers.sql rename to dex/models/_projects/oneinch/_meta/oneinch_fusion_resolvers.sql diff --git a/models/oneinch/_meta/oneinch_mapped_contracts.sql b/dex/models/_projects/oneinch/_meta/oneinch_mapped_contracts.sql similarity index 100% rename from models/oneinch/_meta/oneinch_mapped_contracts.sql rename to dex/models/_projects/oneinch/_meta/oneinch_mapped_contracts.sql diff --git a/models/oneinch/_meta/oneinch_mapped_methods.sql b/dex/models/_projects/oneinch/_meta/oneinch_mapped_methods.sql similarity index 100% rename from models/oneinch/_meta/oneinch_mapped_methods.sql rename to dex/models/_projects/oneinch/_meta/oneinch_mapped_methods.sql diff --git a/models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql b/dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql similarity index 100% rename from models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql rename to dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_contracts.sql diff --git a/models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql b/dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql similarity index 100% rename from models/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql rename to dex/models/_projects/oneinch/arbitrum/_meta/oneinch_arbitrum_mapped_methods.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_ar.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_ar.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_ar.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_ar.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_call_transfers.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_lop.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_lop.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_lop.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_lop.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_orders.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_project_swaps.sql diff --git a/models/oneinch/arbitrum/oneinch_arbitrum_schema.yml b/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml similarity index 100% rename from models/oneinch/arbitrum/oneinch_arbitrum_schema.yml rename to dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml diff --git a/models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql b/dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql similarity index 100% rename from models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql rename to dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_contracts.sql diff --git a/models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql b/dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql similarity index 100% rename from models/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql rename to dex/models/_projects/oneinch/avalanche_c/_meta/oneinch_avalanche_c_mapped_methods.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_ar.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_call_transfers.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_lop.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_orders.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_project_swaps.sql diff --git a/models/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml b/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml similarity index 100% rename from models/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml rename to dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml diff --git a/models/oneinch/base/_meta/oneinch_base_mapped_contracts.sql b/dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_contracts.sql similarity index 100% rename from models/oneinch/base/_meta/oneinch_base_mapped_contracts.sql rename to dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_contracts.sql diff --git a/models/oneinch/base/_meta/oneinch_base_mapped_methods.sql b/dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_methods.sql similarity index 100% rename from models/oneinch/base/_meta/oneinch_base_mapped_methods.sql rename to dex/models/_projects/oneinch/base/_meta/oneinch_base_mapped_methods.sql diff --git a/models/oneinch/base/oneinch_base_ar.sql b/dex/models/_projects/oneinch/base/oneinch_base_ar.sql similarity index 100% rename from models/oneinch/base/oneinch_base_ar.sql rename to dex/models/_projects/oneinch/base/oneinch_base_ar.sql diff --git a/models/oneinch/base/oneinch_base_call_transfers.sql b/dex/models/_projects/oneinch/base/oneinch_base_call_transfers.sql similarity index 100% rename from models/oneinch/base/oneinch_base_call_transfers.sql rename to dex/models/_projects/oneinch/base/oneinch_base_call_transfers.sql diff --git a/models/oneinch/base/oneinch_base_lop.sql b/dex/models/_projects/oneinch/base/oneinch_base_lop.sql similarity index 100% rename from models/oneinch/base/oneinch_base_lop.sql rename to dex/models/_projects/oneinch/base/oneinch_base_lop.sql diff --git a/models/oneinch/base/oneinch_base_project_orders.sql b/dex/models/_projects/oneinch/base/oneinch_base_project_orders.sql similarity index 100% rename from models/oneinch/base/oneinch_base_project_orders.sql rename to dex/models/_projects/oneinch/base/oneinch_base_project_orders.sql diff --git a/models/oneinch/base/oneinch_base_project_swaps.sql b/dex/models/_projects/oneinch/base/oneinch_base_project_swaps.sql similarity index 100% rename from models/oneinch/base/oneinch_base_project_swaps.sql rename to dex/models/_projects/oneinch/base/oneinch_base_project_swaps.sql diff --git a/models/oneinch/base/oneinch_base_schema.yml b/dex/models/_projects/oneinch/base/oneinch_base_schema.yml similarity index 100% rename from models/oneinch/base/oneinch_base_schema.yml rename to dex/models/_projects/oneinch/base/oneinch_base_schema.yml diff --git a/models/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql b/dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql similarity index 100% rename from models/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql rename to dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_contracts.sql diff --git a/models/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql b/dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql similarity index 100% rename from models/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql rename to dex/models/_projects/oneinch/bnb/_meta/oneinch_bnb_mapped_methods.sql diff --git a/models/oneinch/bnb/oneinch_bnb_ar.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_ar.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_ar.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_ar.sql diff --git a/models/oneinch/bnb/oneinch_bnb_call_transfers.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_call_transfers.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_call_transfers.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_call_transfers.sql diff --git a/models/oneinch/bnb/oneinch_bnb_lop.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_lop.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_lop.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_lop.sql diff --git a/models/oneinch/bnb/oneinch_bnb_project_orders.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_orders.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_project_orders.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_project_orders.sql diff --git a/models/oneinch/bnb/oneinch_bnb_project_swaps.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_swaps.sql similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_project_swaps.sql rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_project_swaps.sql diff --git a/models/oneinch/bnb/oneinch_bnb_schema.yml b/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml similarity index 100% rename from models/oneinch/bnb/oneinch_bnb_schema.yml rename to dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml diff --git a/models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql b/dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql similarity index 100% rename from models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql rename to dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_contracts.sql diff --git a/models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql b/dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql similarity index 100% rename from models/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql rename to dex/models/_projects/oneinch/ethereum/_meta/oneinch_ethereum_mapped_methods.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_ar.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_ar.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_ar.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_ar.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_call_transfers.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_call_transfers.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_call_transfers.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_call_transfers.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_lop.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_lop.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_lop.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_lop.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_project_orders.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_orders.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_project_orders.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_orders.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_project_swaps.sql b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_swaps.sql similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_project_swaps.sql rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_project_swaps.sql diff --git a/models/oneinch/ethereum/oneinch_ethereum_schema.yml b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml similarity index 100% rename from models/oneinch/ethereum/oneinch_ethereum_schema.yml rename to dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml diff --git a/models/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql b/dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql similarity index 100% rename from models/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql rename to dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_contracts.sql diff --git a/models/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql b/dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql similarity index 100% rename from models/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql rename to dex/models/_projects/oneinch/fantom/_meta/oneinch_fantom_mapped_methods.sql diff --git a/models/oneinch/fantom/oneinch_fantom_ar.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_ar.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_ar.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_ar.sql diff --git a/models/oneinch/fantom/oneinch_fantom_call_transfers.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_call_transfers.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_call_transfers.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_call_transfers.sql diff --git a/models/oneinch/fantom/oneinch_fantom_lop.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_lop.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_lop.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_lop.sql diff --git a/models/oneinch/fantom/oneinch_fantom_project_orders.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_project_orders.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_project_orders.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_project_orders.sql diff --git a/models/oneinch/fantom/oneinch_fantom_project_swaps.sql b/dex/models/_projects/oneinch/fantom/oneinch_fantom_project_swaps.sql similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_project_swaps.sql rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_project_swaps.sql diff --git a/models/oneinch/fantom/oneinch_fantom_schema.yml b/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml similarity index 100% rename from models/oneinch/fantom/oneinch_fantom_schema.yml rename to dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml diff --git a/models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql b/dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql similarity index 100% rename from models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql rename to dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_contracts.sql diff --git a/models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql b/dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql similarity index 100% rename from models/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql rename to dex/models/_projects/oneinch/gnosis/_meta/oneinch_gnosis_mapped_methods.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_ar.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_ar.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_ar.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_ar.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_call_transfers.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_call_transfers.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_call_transfers.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_call_transfers.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_lop.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_lop.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_lop.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_lop.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_project_orders.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_orders.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_project_orders.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_orders.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_project_swaps.sql b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_swaps.sql similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_project_swaps.sql rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_project_swaps.sql diff --git a/models/oneinch/gnosis/oneinch_gnosis_schema.yml b/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml similarity index 100% rename from models/oneinch/gnosis/oneinch_gnosis_schema.yml rename to dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml diff --git a/models/oneinch/oneinch_ar.sql b/dex/models/_projects/oneinch/oneinch_ar.sql similarity index 100% rename from models/oneinch/oneinch_ar.sql rename to dex/models/_projects/oneinch/oneinch_ar.sql diff --git a/models/oneinch/oneinch_ar_trades.sql b/dex/models/_projects/oneinch/oneinch_ar_trades.sql similarity index 100% rename from models/oneinch/oneinch_ar_trades.sql rename to dex/models/_projects/oneinch/oneinch_ar_trades.sql diff --git a/models/oneinch/oneinch_call_transfers.sql b/dex/models/_projects/oneinch/oneinch_call_transfers.sql similarity index 100% rename from models/oneinch/oneinch_call_transfers.sql rename to dex/models/_projects/oneinch/oneinch_call_transfers.sql diff --git a/models/oneinch/oneinch_calls.sql b/dex/models/_projects/oneinch/oneinch_calls.sql similarity index 100% rename from models/oneinch/oneinch_calls.sql rename to dex/models/_projects/oneinch/oneinch_calls.sql diff --git a/models/oneinch/oneinch_lop.sql b/dex/models/_projects/oneinch/oneinch_lop.sql similarity index 100% rename from models/oneinch/oneinch_lop.sql rename to dex/models/_projects/oneinch/oneinch_lop.sql diff --git a/models/oneinch/oneinch_lop_own_trades.sql b/dex/models/_projects/oneinch/oneinch_lop_own_trades.sql similarity index 100% rename from models/oneinch/oneinch_lop_own_trades.sql rename to dex/models/_projects/oneinch/oneinch_lop_own_trades.sql diff --git a/models/oneinch/oneinch_parsed_transfers_from_calls.sql b/dex/models/_projects/oneinch/oneinch_parsed_transfers_from_calls.sql similarity index 100% rename from models/oneinch/oneinch_parsed_transfers_from_calls.sql rename to dex/models/_projects/oneinch/oneinch_parsed_transfers_from_calls.sql diff --git a/models/oneinch/oneinch_project_orders.sql b/dex/models/_projects/oneinch/oneinch_project_orders.sql similarity index 100% rename from models/oneinch/oneinch_project_orders.sql rename to dex/models/_projects/oneinch/oneinch_project_orders.sql diff --git a/models/oneinch/oneinch_project_swaps.sql b/dex/models/_projects/oneinch/oneinch_project_swaps.sql similarity index 100% rename from models/oneinch/oneinch_project_swaps.sql rename to dex/models/_projects/oneinch/oneinch_project_swaps.sql diff --git a/models/oneinch/oneinch_schema.yml b/dex/models/_projects/oneinch/oneinch_schema.yml similarity index 100% rename from models/oneinch/oneinch_schema.yml rename to dex/models/_projects/oneinch/oneinch_schema.yml diff --git a/models/oneinch/oneinch_swaps.sql b/dex/models/_projects/oneinch/oneinch_swaps.sql similarity index 100% rename from models/oneinch/oneinch_swaps.sql rename to dex/models/_projects/oneinch/oneinch_swaps.sql diff --git a/models/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql b/dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql similarity index 100% rename from models/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql rename to dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_contracts.sql diff --git a/models/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql b/dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql similarity index 100% rename from models/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql rename to dex/models/_projects/oneinch/optimism/_meta/oneinch_optimism_mapped_methods.sql diff --git a/models/oneinch/optimism/oneinch_optimism_ar.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_ar.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_ar.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_ar.sql diff --git a/models/oneinch/optimism/oneinch_optimism_call_transfers.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_call_transfers.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_call_transfers.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_call_transfers.sql diff --git a/models/oneinch/optimism/oneinch_optimism_lop.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_lop.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_lop.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_lop.sql diff --git a/models/oneinch/optimism/oneinch_optimism_project_orders.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_project_orders.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_project_orders.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_project_orders.sql diff --git a/models/oneinch/optimism/oneinch_optimism_project_swaps.sql b/dex/models/_projects/oneinch/optimism/oneinch_optimism_project_swaps.sql similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_project_swaps.sql rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_project_swaps.sql diff --git a/models/oneinch/optimism/oneinch_optimism_schema.yml b/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml similarity index 100% rename from models/oneinch/optimism/oneinch_optimism_schema.yml rename to dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml diff --git a/models/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql b/dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql similarity index 100% rename from models/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql rename to dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_contracts.sql diff --git a/models/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql b/dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql similarity index 100% rename from models/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql rename to dex/models/_projects/oneinch/polygon/_meta/oneinch_polygon_mapped_methods.sql diff --git a/models/oneinch/polygon/oneinch_polygon_ar.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_ar.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_ar.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_ar.sql diff --git a/models/oneinch/polygon/oneinch_polygon_call_transfers.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_call_transfers.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_call_transfers.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_call_transfers.sql diff --git a/models/oneinch/polygon/oneinch_polygon_lop.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_lop.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_lop.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_lop.sql diff --git a/models/oneinch/polygon/oneinch_polygon_project_orders.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_project_orders.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_project_orders.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_project_orders.sql diff --git a/models/oneinch/polygon/oneinch_polygon_project_swaps.sql b/dex/models/_projects/oneinch/polygon/oneinch_polygon_project_swaps.sql similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_project_swaps.sql rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_project_swaps.sql diff --git a/models/oneinch/polygon/oneinch_polygon_schema.yml b/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml similarity index 100% rename from models/oneinch/polygon/oneinch_polygon_schema.yml rename to dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml diff --git a/models/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql b/dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql similarity index 100% rename from models/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql rename to dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_contracts.sql diff --git a/models/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql b/dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql similarity index 100% rename from models/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql rename to dex/models/_projects/oneinch/zksync/_meta/oneinch_zksync_mapped_methods.sql diff --git a/models/oneinch/zksync/oneinch_zksync_ar.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_ar.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_ar.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_ar.sql diff --git a/models/oneinch/zksync/oneinch_zksync_call_transfers.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_call_transfers.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_call_transfers.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_call_transfers.sql diff --git a/models/oneinch/zksync/oneinch_zksync_lop.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_lop.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_lop.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_lop.sql diff --git a/models/oneinch/zksync/oneinch_zksync_project_orders.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_project_orders.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_project_orders.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_project_orders.sql diff --git a/models/oneinch/zksync/oneinch_zksync_project_swaps.sql b/dex/models/_projects/oneinch/zksync/oneinch_zksync_project_swaps.sql similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_project_swaps.sql rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_project_swaps.sql diff --git a/models/oneinch/zksync/oneinch_zksync_schema.yml b/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml similarity index 100% rename from models/oneinch/zksync/oneinch_zksync_schema.yml rename to dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_pools.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_pools.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_schema.yml rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml diff --git a/models/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_arbitrum_trades.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql diff --git a/models/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql diff --git a/models/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql similarity index 100% rename from models/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql rename to dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql diff --git a/models/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml similarity index 100% rename from models/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml rename to dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml diff --git a/models/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql similarity index 100% rename from models/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql rename to dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql diff --git a/models/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql similarity index 100% rename from models/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql rename to dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql diff --git a/models/uniswap/base/uniswap_base_schema.yml b/dex/models/_projects/uniswap/base/uniswap_base_schema.yml similarity index 100% rename from models/uniswap/base/uniswap_base_schema.yml rename to dex/models/_projects/uniswap/base/uniswap_base_schema.yml diff --git a/models/uniswap/base/uniswap_base_trades.sql b/dex/models/_projects/uniswap/base/uniswap_base_trades.sql similarity index 100% rename from models/uniswap/base/uniswap_base_trades.sql rename to dex/models/_projects/uniswap/base/uniswap_base_trades.sql diff --git a/models/uniswap/base/uniswap_v3_base_trades.sql b/dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql similarity index 100% rename from models/uniswap/base/uniswap_v3_base_trades.sql rename to dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql diff --git a/models/uniswap/bnb/uniswap_bnb_pools.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_pools.sql rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql diff --git a/models/uniswap/bnb/uniswap_bnb_schema.yml b/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_schema.yml rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml diff --git a/models/uniswap/bnb/uniswap_bnb_trades.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql similarity index 100% rename from models/uniswap/bnb/uniswap_bnb_trades.sql rename to dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql diff --git a/models/uniswap/bnb/uniswap_v3_bnb_flashloans.sql b/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql similarity index 100% rename from models/uniswap/bnb/uniswap_v3_bnb_flashloans.sql rename to dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql diff --git a/models/uniswap/bnb/uniswap_v3_bnb_trades.sql b/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql similarity index 100% rename from models/uniswap/bnb/uniswap_v3_bnb_trades.sql rename to dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql diff --git a/models/uniswap/celo/uniswap_celo_pools.sql b/dex/models/_projects/uniswap/celo/uniswap_celo_pools.sql similarity index 100% rename from models/uniswap/celo/uniswap_celo_pools.sql rename to dex/models/_projects/uniswap/celo/uniswap_celo_pools.sql diff --git a/models/uniswap/celo/uniswap_celo_schema.yml b/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml similarity index 100% rename from models/uniswap/celo/uniswap_celo_schema.yml rename to dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml diff --git a/models/uniswap/celo/uniswap_celo_trades.sql b/dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql similarity index 100% rename from models/uniswap/celo/uniswap_celo_trades.sql rename to dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql diff --git a/models/uniswap/celo/uniswap_v3_celo_flashloans.sql b/dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql similarity index 100% rename from models/uniswap/celo/uniswap_v3_celo_flashloans.sql rename to dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql diff --git a/models/uniswap/celo/uniswap_v3_celo_trades.sql b/dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql similarity index 100% rename from models/uniswap/celo/uniswap_v3_celo_trades.sql rename to dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_pools.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_pools.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_pools.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_pools.sql diff --git a/models/uniswap/ethereum/uniswap_ethereum_schema.yml b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_schema.yml rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml diff --git a/models/uniswap/ethereum/uniswap_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v1_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v2_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_trades.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql diff --git a/models/uniswap/ethereum/uniswap_v3_ethereum_votes.sql b/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql similarity index 100% rename from models/uniswap/ethereum/uniswap_v3_ethereum_votes.sql rename to dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql diff --git a/models/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_ovm1_pool_mapping.sql diff --git a/models/uniswap/optimism/uniswap_optimism_pools.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_pools.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_pools.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_pools.sql diff --git a/models/uniswap/optimism/uniswap_optimism_schema.yml b/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_schema.yml rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml diff --git a/models/uniswap/optimism/uniswap_optimism_trades.sql b/dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql similarity index 100% rename from models/uniswap/optimism/uniswap_optimism_trades.sql rename to dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql diff --git a/models/uniswap/optimism/uniswap_v3_optimism_flashloans.sql b/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql similarity index 100% rename from models/uniswap/optimism/uniswap_v3_optimism_flashloans.sql rename to dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql diff --git a/models/uniswap/optimism/uniswap_v3_optimism_trades.sql b/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql similarity index 100% rename from models/uniswap/optimism/uniswap_v3_optimism_trades.sql rename to dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql diff --git a/models/uniswap/polygon/uniswap_polygon_pools.sql b/dex/models/_projects/uniswap/polygon/uniswap_polygon_pools.sql similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_pools.sql rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_pools.sql diff --git a/models/uniswap/polygon/uniswap_polygon_schema.yml b/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_schema.yml rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml diff --git a/models/uniswap/polygon/uniswap_polygon_trades.sql b/dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql similarity index 100% rename from models/uniswap/polygon/uniswap_polygon_trades.sql rename to dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql diff --git a/models/uniswap/polygon/uniswap_v3_polygon_flashloans.sql b/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql similarity index 100% rename from models/uniswap/polygon/uniswap_v3_polygon_flashloans.sql rename to dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql diff --git a/models/uniswap/polygon/uniswap_v3_polygon_trades.sql b/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql similarity index 100% rename from models/uniswap/polygon/uniswap_v3_polygon_trades.sql rename to dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/models/uniswap/uniswap_flashloans.sql b/dex/models/_projects/uniswap/uniswap_flashloans.sql similarity index 100% rename from models/uniswap/uniswap_flashloans.sql rename to dex/models/_projects/uniswap/uniswap_flashloans.sql diff --git a/models/uniswap/uniswap_liquidity_manager_pools.sql b/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from models/uniswap/uniswap_liquidity_manager_pools.sql rename to dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/models/uniswap/uniswap_pools.sql b/dex/models/_projects/uniswap/uniswap_pools.sql similarity index 100% rename from models/uniswap/uniswap_pools.sql rename to dex/models/_projects/uniswap/uniswap_pools.sql diff --git a/models/uniswap/uniswap_schema.yml b/dex/models/_projects/uniswap/uniswap_schema.yml similarity index 100% rename from models/uniswap/uniswap_schema.yml rename to dex/models/_projects/uniswap/uniswap_schema.yml diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql diff --git a/models/zeroex/arbitrum/zeroex_arbitrum_schema.yml b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml similarity index 100% rename from models/zeroex/arbitrum/zeroex_arbitrum_schema.yml rename to dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped.sql diff --git a/models/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml similarity index 100% rename from models/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml rename to dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml diff --git a/models/zeroex/base/zeroex_base_api_fills.sql b/dex/models/_projects/zeroex/base/zeroex_base_api_fills.sql similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills.sql rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills.sql diff --git a/models/zeroex/base/zeroex_base_api_fills_deduped.sql b/dex/models/_projects/zeroex/base/zeroex_base_api_fills_deduped.sql similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills_deduped.sql rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills_deduped.sql diff --git a/models/zeroex/base/zeroex_base_api_fills_schema.yml b/dex/models/_projects/zeroex/base/zeroex_base_api_fills_schema.yml similarity index 100% rename from models/zeroex/base/zeroex_base_api_fills_schema.yml rename to dex/models/_projects/zeroex/base/zeroex_base_api_fills_schema.yml diff --git a/models/zeroex/bnb/zeroex_bnb_api_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_api_fills.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql diff --git a/models/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql diff --git a/models/zeroex/bnb/zeroex_bnb_native_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_native_fills.sql rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql diff --git a/models/zeroex/bnb/zeroex_bnb_schema.yml b/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml similarity index 100% rename from models/zeroex/bnb/zeroex_bnb_schema.yml rename to dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml diff --git a/models/zeroex/celo/zeroex_celo_api_fills.sql b/dex/models/_projects/zeroex/celo/zeroex_celo_api_fills.sql similarity index 100% rename from models/zeroex/celo/zeroex_celo_api_fills.sql rename to dex/models/_projects/zeroex/celo/zeroex_celo_api_fills.sql diff --git a/models/zeroex/celo/zeroex_celo_api_fills_deduped.sql b/dex/models/_projects/zeroex/celo/zeroex_celo_api_fills_deduped.sql similarity index 100% rename from models/zeroex/celo/zeroex_celo_api_fills_deduped.sql rename to dex/models/_projects/zeroex/celo/zeroex_celo_api_fills_deduped.sql diff --git a/models/zeroex/celo/zeroex_celo_schema.yml b/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml similarity index 100% rename from models/zeroex/celo/zeroex_celo_schema.yml rename to dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml diff --git a/models/zeroex/ethereum/zeroex_ethereum_api_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_api_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills_deduped.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_native_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_native_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_nft_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_nft_fills.sql rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql diff --git a/models/zeroex/ethereum/zeroex_ethereum_schema.yml b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml similarity index 100% rename from models/zeroex/ethereum/zeroex_ethereum_schema.yml rename to dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml diff --git a/models/zeroex/fantom/zeroex_fantom_api_fills.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_api_fills.sql rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql diff --git a/models/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills_deduped.sql diff --git a/models/zeroex/fantom/zeroex_fantom_schema.yml b/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml similarity index 100% rename from models/zeroex/fantom/zeroex_fantom_schema.yml rename to dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml diff --git a/models/zeroex/optimism/zeroex_optimism_api_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_api_fills.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills.sql diff --git a/models/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_api_fills_deduped.sql diff --git a/models/zeroex/optimism/zeroex_optimism_native_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_native_fills.sql rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql diff --git a/models/zeroex/optimism/zeroex_optimism_schema.yml b/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml similarity index 100% rename from models/zeroex/optimism/zeroex_optimism_schema.yml rename to dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml diff --git a/models/zeroex/polygon/zeroex_polygon_api_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_api_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_api_fills_deduped.sql diff --git a/models/zeroex/polygon/zeroex_polygon_native_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_native_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_nft_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_nft_fills.sql rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql diff --git a/models/zeroex/polygon/zeroex_polygon_schema.yml b/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml similarity index 100% rename from models/zeroex/polygon/zeroex_polygon_schema.yml rename to dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml diff --git a/models/zeroex/zeroex_api_fills.sql b/dex/models/_projects/zeroex/zeroex_api_fills.sql similarity index 100% rename from models/zeroex/zeroex_api_fills.sql rename to dex/models/_projects/zeroex/zeroex_api_fills.sql diff --git a/models/zeroex/zeroex_api_fills_deduped.sql b/dex/models/_projects/zeroex/zeroex_api_fills_deduped.sql similarity index 100% rename from models/zeroex/zeroex_api_fills_deduped.sql rename to dex/models/_projects/zeroex/zeroex_api_fills_deduped.sql diff --git a/models/zeroex/zeroex_native_fills.sql b/dex/models/_projects/zeroex/zeroex_native_fills.sql similarity index 100% rename from models/zeroex/zeroex_native_fills.sql rename to dex/models/_projects/zeroex/zeroex_native_fills.sql diff --git a/models/zeroex/zeroex_native_trades.sql b/dex/models/_projects/zeroex/zeroex_native_trades.sql similarity index 100% rename from models/zeroex/zeroex_native_trades.sql rename to dex/models/_projects/zeroex/zeroex_native_trades.sql diff --git a/models/zeroex/zeroex_schema.yml b/dex/models/_projects/zeroex/zeroex_schema.yml similarity index 100% rename from models/zeroex/zeroex_schema.yml rename to dex/models/_projects/zeroex/zeroex_schema.yml diff --git a/models/zeroex/zeroex_trades.sql b/dex/models/_projects/zeroex/zeroex_trades.sql similarity index 100% rename from models/zeroex/zeroex_trades.sql rename to dex/models/_projects/zeroex/zeroex_trades.sql diff --git a/models/_sector/dex/trades/_schema.yml b/dex/models/trades/_schema.yml similarity index 100% rename from models/_sector/dex/trades/_schema.yml rename to dex/models/trades/_schema.yml diff --git a/models/_sector/dex/trades/arbitrum/_schema.yml b/dex/models/trades/arbitrum/_schema.yml similarity index 100% rename from models/_sector/dex/trades/arbitrum/_schema.yml rename to dex/models/trades/arbitrum/_schema.yml diff --git a/models/_sector/dex/trades/arbitrum/dex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/dex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/airswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/apeswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/arbswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/auragi_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/balancer_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/camelot_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/camelot_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/chronos_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/clipper_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/dodo_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/fraxswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/gmx_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/gridex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/integral_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/kyberswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/oasisswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/pancakeswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/pancakeswap_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/ramses_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/rubicon_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sharkyswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/smardex_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/solidlizard_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/solidly_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/solidly_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/solidly_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/solidly_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sterling_finance_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sushiswap_v1_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/sushiswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/swaap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/trader_joe_v2_1_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/trader_joe_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/uniswap_v2_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/uniswap_v3_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/wombat_exchange_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/woofi_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/xchange_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/zigzag_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql b/dex/models/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql rename to dex/models/trades/arbitrum/platforms/zyberswap_arbitrum_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/_schema.yml b/dex/models/trades/avalanche_c/_schema.yml similarity index 100% rename from models/_sector/dex/trades/avalanche_c/_schema.yml rename to dex/models/trades/avalanche_c/_schema.yml diff --git a/models/_sector/dex/trades/avalanche_c/dex_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/dex_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/airswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/balancer_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/curvefi_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/fraxswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/glacier_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/glacier_v3_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/gmx_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/hashflow_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/kyberswap_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/openocean_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/pharaoh_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/platypus_finance_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/sushiswap_v1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/sushiswap_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v2_1_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/trader_joe_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/uniswap_v2_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/uniswap_v3_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql b/dex/models/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql rename to dex/models/trades/avalanche_c/platforms/woofi_avalanche_c_base_trades.sql diff --git a/models/_sector/dex/trades/base/_schema.yml b/dex/models/trades/base/_schema.yml similarity index 100% rename from models/_sector/dex/trades/base/_schema.yml rename to dex/models/trades/base/_schema.yml diff --git a/models/_sector/dex/trades/base/dex_base_base_trades.sql b/dex/models/trades/base/dex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/dex_base_base_trades.sql rename to dex/models/trades/base/dex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/aerodrome_base_base_trades.sql b/dex/models/trades/base/platforms/aerodrome_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/aerodrome_base_base_trades.sql rename to dex/models/trades/base/platforms/aerodrome_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/alienbase_base_base_trades.sql b/dex/models/trades/base/platforms/alienbase_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/alienbase_base_base_trades.sql rename to dex/models/trades/base/platforms/alienbase_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/autotronic_base_base_trades.sql b/dex/models/trades/base/platforms/autotronic_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/autotronic_base_base_trades.sql rename to dex/models/trades/base/platforms/autotronic_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/balancer_v2_base_base_trades.sql b/dex/models/trades/base/platforms/balancer_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/balancer_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/balancer_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baseswap_base_base_trades.sql b/dex/models/trades/base/platforms/baseswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baseswap_base_base_trades.sql rename to dex/models/trades/base/platforms/baseswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baseswap_basex_base_base_trades.sql b/dex/models/trades/base/platforms/baseswap_basex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baseswap_basex_base_base_trades.sql rename to dex/models/trades/base/platforms/baseswap_basex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/baso_finance_base_base_trades.sql b/dex/models/trades/base/platforms/baso_finance_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/baso_finance_base_base_trades.sql rename to dex/models/trades/base/platforms/baso_finance_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/citadelswap_base_base_trades.sql b/dex/models/trades/base/platforms/citadelswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/citadelswap_base_base_trades.sql rename to dex/models/trades/base/platforms/citadelswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/clipper_base_base_trades.sql b/dex/models/trades/base/platforms/clipper_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/clipper_base_base_trades.sql rename to dex/models/trades/base/platforms/clipper_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/crescentswap_base_base_trades.sql b/dex/models/trades/base/platforms/crescentswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/crescentswap_base_base_trades.sql rename to dex/models/trades/base/platforms/crescentswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/dackieswap_base_base_trades.sql b/dex/models/trades/base/platforms/dackieswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/dackieswap_base_base_trades.sql rename to dex/models/trades/base/platforms/dackieswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/derpdex_base_base_trades.sql b/dex/models/trades/base/platforms/derpdex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/derpdex_base_base_trades.sql rename to dex/models/trades/base/platforms/derpdex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/dodo_base_base_trades.sql b/dex/models/trades/base/platforms/dodo_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/dodo_base_base_trades.sql rename to dex/models/trades/base/platforms/dodo_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/elk_finance_base_base_trades.sql b/dex/models/trades/base/platforms/elk_finance_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/elk_finance_base_base_trades.sql rename to dex/models/trades/base/platforms/elk_finance_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/energon_base_base_trades.sql b/dex/models/trades/base/platforms/energon_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/energon_base_base_trades.sql rename to dex/models/trades/base/platforms/energon_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/gridex_base_base_trades.sql b/dex/models/trades/base/platforms/gridex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/gridex_base_base_trades.sql rename to dex/models/trades/base/platforms/gridex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/horizondex_base_base_trades.sql b/dex/models/trades/base/platforms/horizondex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/horizondex_base_base_trades.sql rename to dex/models/trades/base/platforms/horizondex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/icecreamswap_base_base_trades.sql b/dex/models/trades/base/platforms/icecreamswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/icecreamswap_base_base_trades.sql rename to dex/models/trades/base/platforms/icecreamswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/kyberswap_base_base_trades.sql b/dex/models/trades/base/platforms/kyberswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/kyberswap_base_base_trades.sql rename to dex/models/trades/base/platforms/kyberswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/leetswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/leetswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/leetswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/leetswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/maverick_base_base_trades.sql b/dex/models/trades/base/platforms/maverick_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/maverick_base_base_trades.sql rename to dex/models/trades/base/platforms/maverick_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/moonbase_base_base_trades.sql b/dex/models/trades/base/platforms/moonbase_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/moonbase_base_base_trades.sql rename to dex/models/trades/base/platforms/moonbase_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/oasisswap_base_base_trades.sql b/dex/models/trades/base/platforms/oasisswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/oasisswap_base_base_trades.sql rename to dex/models/trades/base/platforms/oasisswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/openocean_base_base_trades.sql b/dex/models/trades/base/platforms/openocean_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/openocean_base_base_trades.sql rename to dex/models/trades/base/platforms/openocean_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/pancakeswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/pancakeswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/pancakeswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/pancakeswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/pancakeswap_v3_base_base_trades.sql b/dex/models/trades/base/platforms/pancakeswap_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/pancakeswap_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/pancakeswap_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/plantbaseswap_base_base_trades.sql b/dex/models/trades/base/platforms/plantbaseswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/plantbaseswap_base_base_trades.sql rename to dex/models/trades/base/platforms/plantbaseswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/rocketswap_base_base_trades.sql b/dex/models/trades/base/platforms/rocketswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/rocketswap_base_base_trades.sql rename to dex/models/trades/base/platforms/rocketswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/rubicon_base_base_trades.sql b/dex/models/trades/base/platforms/rubicon_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/rubicon_base_base_trades.sql rename to dex/models/trades/base/platforms/rubicon_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/scale_base_base_trades.sql b/dex/models/trades/base/platforms/scale_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/scale_base_base_trades.sql rename to dex/models/trades/base/platforms/scale_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sharkswap_base_base_trades.sql b/dex/models/trades/base/platforms/sharkswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sharkswap_base_base_trades.sql rename to dex/models/trades/base/platforms/sharkswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/smardex_base_base_trades.sql b/dex/models/trades/base/platforms/smardex_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/smardex_base_base_trades.sql rename to dex/models/trades/base/platforms/smardex_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sobal_base_base_trades.sql b/dex/models/trades/base/platforms/sobal_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sobal_base_base_trades.sql rename to dex/models/trades/base/platforms/sobal_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/solidly_v3_base_base_trades.sql b/dex/models/trades/base/platforms/solidly_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/solidly_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/solidly_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/soswap_base_base_trades.sql b/dex/models/trades/base/platforms/soswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/soswap_base_base_trades.sql rename to dex/models/trades/base/platforms/soswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sushiswap_v1_base_base_trades.sql b/dex/models/trades/base/platforms/sushiswap_v1_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sushiswap_v1_base_base_trades.sql rename to dex/models/trades/base/platforms/sushiswap_v1_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/sushiswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/sushiswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/sushiswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/sushiswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/swapbased_base_base_trades.sql b/dex/models/trades/base/platforms/swapbased_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/swapbased_base_base_trades.sql rename to dex/models/trades/base/platforms/swapbased_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/synthswap_base_base_trades.sql b/dex/models/trades/base/platforms/synthswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/synthswap_base_base_trades.sql rename to dex/models/trades/base/platforms/synthswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/throne_exchange_v2_base_base_trades.sql b/dex/models/trades/base/platforms/throne_exchange_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/throne_exchange_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/throne_exchange_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/throne_exchange_v3_base_base_trades.sql b/dex/models/trades/base/platforms/throne_exchange_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/throne_exchange_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/throne_exchange_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/torus_base_base_trades.sql b/dex/models/trades/base/platforms/torus_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/torus_base_base_trades.sql rename to dex/models/trades/base/platforms/torus_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/uniswap_v2_base_base_trades.sql b/dex/models/trades/base/platforms/uniswap_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/uniswap_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/uniswap_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/uniswap_v3_base_base_trades.sql b/dex/models/trades/base/platforms/uniswap_v3_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/uniswap_v3_base_base_trades.sql rename to dex/models/trades/base/platforms/uniswap_v3_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/velocimeter_v2_base_base_trades.sql b/dex/models/trades/base/platforms/velocimeter_v2_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/velocimeter_v2_base_base_trades.sql rename to dex/models/trades/base/platforms/velocimeter_v2_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/voltswap_base_base_trades.sql b/dex/models/trades/base/platforms/voltswap_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/voltswap_base_base_trades.sql rename to dex/models/trades/base/platforms/voltswap_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/wombat_exchange_base_base_trades.sql b/dex/models/trades/base/platforms/wombat_exchange_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/wombat_exchange_base_base_trades.sql rename to dex/models/trades/base/platforms/wombat_exchange_base_base_trades.sql diff --git a/models/_sector/dex/trades/base/platforms/woofi_base_base_trades.sql b/dex/models/trades/base/platforms/woofi_base_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/base/platforms/woofi_base_base_trades.sql rename to dex/models/trades/base/platforms/woofi_base_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/_schema.yml b/dex/models/trades/bnb/_schema.yml similarity index 100% rename from models/_sector/dex/trades/bnb/_schema.yml rename to dex/models/trades/bnb/_schema.yml diff --git a/models/_sector/dex/trades/bnb/dex_bnb_base_trades.sql b/dex/models/trades/bnb/dex_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/dex_bnb_base_trades.sql rename to dex/models/trades/bnb/dex_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/airswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/airswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/airswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/airswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/apeswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/apeswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/apeswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/apeswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/babyswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/babyswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/babyswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/babyswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/biswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/biswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/dodo_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/dodo_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/dodo_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/dodo_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/ellipsis_finance_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/fraxswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/fraxswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/fraxswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/fraxswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/hashflow_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/hashflow_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/hashflow_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/hashflow_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/iziswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/iziswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/iziswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/iziswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/kyberswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/kyberswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/kyberswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/kyberswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/maverick_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/maverick_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/maverick_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/maverick_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/mdex_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/mdex_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/mdex_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/mdex_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/nomiswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/nomiswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/nomiswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/nomiswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/onepunchswap_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/pancakeswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/pancakeswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/sushiswap_v1_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/sushiswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/thena_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/thena_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/thena_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/thena_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/trader_joe_v2_1_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/trader_joe_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/uniswap_v2_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/uniswap_v3_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/wombat_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/wombat_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/wombat_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/wombat_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/woofi_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/woofi_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/woofi_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/woofi_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/bnb/platforms/xchange_bnb_base_trades.sql b/dex/models/trades/bnb/platforms/xchange_bnb_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/bnb/platforms/xchange_bnb_base_trades.sql rename to dex/models/trades/bnb/platforms/xchange_bnb_base_trades.sql diff --git a/models/_sector/dex/trades/celo/_schema.yml b/dex/models/trades/celo/_schema.yml similarity index 100% rename from models/_sector/dex/trades/celo/_schema.yml rename to dex/models/trades/celo/_schema.yml diff --git a/models/_sector/dex/trades/celo/dex_celo_base_trades.sql b/dex/models/trades/celo/dex_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/dex_celo_base_trades.sql rename to dex/models/trades/celo/dex_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/carbonhood_celo_base_trades.sql b/dex/models/trades/celo/platforms/carbonhood_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/carbonhood_celo_base_trades.sql rename to dex/models/trades/celo/platforms/carbonhood_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/curvefi_celo_base_trades.sql b/dex/models/trades/celo/platforms/curvefi_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/curvefi_celo_base_trades.sql rename to dex/models/trades/celo/platforms/curvefi_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/mento_v1_celo_base_trades.sql b/dex/models/trades/celo/platforms/mento_v1_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/mento_v1_celo_base_trades.sql rename to dex/models/trades/celo/platforms/mento_v1_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/mento_v2_celo_base_trades.sql b/dex/models/trades/celo/platforms/mento_v2_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/mento_v2_celo_base_trades.sql rename to dex/models/trades/celo/platforms/mento_v2_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/sushiswap_celo_base_trades.sql b/dex/models/trades/celo/platforms/sushiswap_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/sushiswap_celo_base_trades.sql rename to dex/models/trades/celo/platforms/sushiswap_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/ubeswap_celo_base_trades.sql b/dex/models/trades/celo/platforms/ubeswap_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/ubeswap_celo_base_trades.sql rename to dex/models/trades/celo/platforms/ubeswap_celo_base_trades.sql diff --git a/models/_sector/dex/trades/celo/platforms/uniswap_v3_celo_base_trades.sql b/dex/models/trades/celo/platforms/uniswap_v3_celo_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/celo/platforms/uniswap_v3_celo_base_trades.sql rename to dex/models/trades/celo/platforms/uniswap_v3_celo_base_trades.sql diff --git a/models/_sector/dex/trades/dex_base_trades.sql b/dex/models/trades/dex_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/dex_base_trades.sql rename to dex/models/trades/dex_base_trades.sql diff --git a/models/_sector/dex/trades/dex_trades.sql b/dex/models/trades/dex_trades.sql similarity index 100% rename from models/_sector/dex/trades/dex_trades.sql rename to dex/models/trades/dex_trades.sql diff --git a/models/_sector/dex/trades/ethereum/_schema.yml b/dex/models/trades/ethereum/_schema.yml similarity index 100% rename from models/_sector/dex/trades/ethereum/_schema.yml rename to dex/models/trades/ethereum/_schema.yml diff --git a/models/_sector/dex/trades/ethereum/dex_ethereum_base_trades.sql b/dex/models/trades/ethereum/dex_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/dex_ethereum_base_trades.sql rename to dex/models/trades/ethereum/dex_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/airswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/airswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/airswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/airswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/apeswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/balancer_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/balancer_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/bancor_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/bancor_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/bancor_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/bancor_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/carbon_defi_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/clipper_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/clipper_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/clipper_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/clipper_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/curvefi_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/defiswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/dfx_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/dfx_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/dfx_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/dfx_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/dodo_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/dodo_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/dodo_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/dodo_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/fraxswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/integral_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/integral_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/integral_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/integral_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/kyberswap_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/mauve_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/mauve_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/mauve_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/mauve_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/maverick_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/maverick_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/maverick_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/maverick_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/mstable_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/mstable_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/mstable_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/mstable_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/pancakeswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/pancakeswap_v3_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/shibaswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/solidly_v3_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/solidly_v3_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/solidly_v3_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/solidly_v3_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/sushiswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/sushiswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/swapr_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/swapr_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/swapr_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/swapr_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v1_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v2_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/uniswap_v3_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/verse_dex_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/ethereum/platforms/xchange_ethereum_base_trades.sql b/dex/models/trades/ethereum/platforms/xchange_ethereum_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/ethereum/platforms/xchange_ethereum_base_trades.sql rename to dex/models/trades/ethereum/platforms/xchange_ethereum_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/_schema.yml b/dex/models/trades/fantom/_schema.yml similarity index 100% rename from models/_sector/dex/trades/fantom/_schema.yml rename to dex/models/trades/fantom/_schema.yml diff --git a/models/_sector/dex/trades/fantom/dex_fantom_base_trades.sql b/dex/models/trades/fantom/dex_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/dex_fantom_base_trades.sql rename to dex/models/trades/fantom/dex_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/beethoven_x_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/curvefi_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/curvefi_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/curvefi_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/curvefi_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/equalizer_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/equalizer_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/equalizer_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/equalizer_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/openocean_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/openocean_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/openocean_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/openocean_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/solidly_v3_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/solidly_v3_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/solidly_v3_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/solidly_v3_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spartacus_exchange_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spiritswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spiritswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spiritswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spiritswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/spookyswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/spookyswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/spookyswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/spookyswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/sushiswap_v1_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/sushiswap_v2_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/fantom/platforms/wigoswap_fantom_base_trades.sql b/dex/models/trades/fantom/platforms/wigoswap_fantom_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/fantom/platforms/wigoswap_fantom_base_trades.sql rename to dex/models/trades/fantom/platforms/wigoswap_fantom_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/_schema.yml b/dex/models/trades/gnosis/_schema.yml similarity index 100% rename from models/_sector/dex/trades/gnosis/_schema.yml rename to dex/models/trades/gnosis/_schema.yml diff --git a/models/_sector/dex/trades/gnosis/dex_gnosis_base_trades.sql b/dex/models/trades/gnosis/dex_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/dex_gnosis_base_trades.sql rename to dex/models/trades/gnosis/dex_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/balancer_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/honeyswap_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/sushiswap_v1_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql b/dex/models/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql rename to dex/models/trades/gnosis/platforms/sushiswap_v2_gnosis_base_trades.sql diff --git a/models/_sector/dex/trades/linea/_schema.yml b/dex/models/trades/linea/_schema.yml similarity index 100% rename from models/_sector/dex/trades/linea/_schema.yml rename to dex/models/trades/linea/_schema.yml diff --git a/models/_sector/dex/trades/linea/dex_linea_base_trades.sql b/dex/models/trades/linea/dex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/dex_linea_base_trades.sql rename to dex/models/trades/linea/dex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/echodex_linea_base_trades.sql b/dex/models/trades/linea/platforms/echodex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/echodex_linea_base_trades.sql rename to dex/models/trades/linea/platforms/echodex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/lynex_linea_base_trades.sql b/dex/models/trades/linea/platforms/lynex_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/lynex_linea_base_trades.sql rename to dex/models/trades/linea/platforms/lynex_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/nile_linea_base_trades.sql b/dex/models/trades/linea/platforms/nile_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/nile_linea_base_trades.sql rename to dex/models/trades/linea/platforms/nile_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/pancakeswap_v2_linea_base_trades.sql b/dex/models/trades/linea/platforms/pancakeswap_v2_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/pancakeswap_v2_linea_base_trades.sql rename to dex/models/trades/linea/platforms/pancakeswap_v2_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/pancakeswap_v3_linea_base_trades.sql b/dex/models/trades/linea/platforms/pancakeswap_v3_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/pancakeswap_v3_linea_base_trades.sql rename to dex/models/trades/linea/platforms/pancakeswap_v3_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/secta_linea_base_trades.sql b/dex/models/trades/linea/platforms/secta_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/secta_linea_base_trades.sql rename to dex/models/trades/linea/platforms/secta_linea_base_trades.sql diff --git a/models/_sector/dex/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql b/dex/models/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql rename to dex/models/trades/linea/platforms/sushiswap_v2_linea_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/_schema.yml b/dex/models/trades/optimism/_schema.yml similarity index 100% rename from models/_sector/dex/trades/optimism/_schema.yml rename to dex/models/trades/optimism/_schema.yml diff --git a/models/_sector/dex/trades/optimism/dex_optimism_base_trades.sql b/dex/models/trades/optimism/dex_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/dex_optimism_base_trades.sql rename to dex/models/trades/optimism/dex_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/balancer_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/chainhop_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/chainhop_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/chainhop_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/chainhop_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/clipper_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/clipper_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/clipper_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/clipper_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/curvefi_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/curvefi_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/curvefi_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/curvefi_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dackieswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dackieswap_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/dodo_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/dodo_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/dodo_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/dodo_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/elk_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/elk_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/elk_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/elk_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/fraxswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/fraxswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/fraxswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/fraxswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/gridex_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/gridex_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/gridex_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/gridex_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/hashflow_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/hashflow_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/hashflow_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/hashflow_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/kyberswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/kyberswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/kyberswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/kyberswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/mummy_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/openocean_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/openocean_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/openocean_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/openocean_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/openxswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/openxswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/openxswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/openxswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/opx_finance_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/opx_finance_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/opx_finance_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/opx_finance_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/rubicon_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/rubicon_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/rubicon_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/rubicon_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/solidly_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/sushiswap_v1_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/sushiswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/synthetix_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/synthetix_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/synthetix_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/synthetix_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/uniswap_v2_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/uniswap_v3_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/velodrome_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/velodrome_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/velodrome_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/velodrome_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/wardenswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/wardenswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/wardenswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/wardenswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/wombat_exchange_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/woofi_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/woofi_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/woofi_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/woofi_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/optimism/platforms/zipswap_optimism_base_trades.sql b/dex/models/trades/optimism/platforms/zipswap_optimism_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/optimism/platforms/zipswap_optimism_base_trades.sql rename to dex/models/trades/optimism/platforms/zipswap_optimism_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/_schema.yml b/dex/models/trades/polygon/_schema.yml similarity index 100% rename from models/_sector/dex/trades/polygon/_schema.yml rename to dex/models/trades/polygon/_schema.yml diff --git a/models/_sector/dex/trades/polygon/dex_polygon_base_trades.sql b/dex/models/trades/polygon/dex_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/dex_polygon_base_trades.sql rename to dex/models/trades/polygon/dex_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/airswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/airswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/airswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/airswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/apeswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/apeswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/apeswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/apeswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/balancer_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/clipper_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/clipper_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/clipper_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/clipper_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/dodo_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/dodo_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/dodo_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/dodo_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/dooar_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/dooar_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/dooar_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/dooar_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/fraxswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/fraxswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/fraxswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/fraxswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/honeyswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/kyberswap_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/kyberswap_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/kyberswap_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/kyberswap_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/quickswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/quickswap_v3_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/sushiswap_v1_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/sushiswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/uniswap_v2_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/uniswap_v3_polygon_base_trades.sql diff --git a/models/_sector/dex/trades/polygon/platforms/xchange_polygon_base_trades.sql b/dex/models/trades/polygon/platforms/xchange_polygon_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/polygon/platforms/xchange_polygon_base_trades.sql rename to dex/models/trades/polygon/platforms/xchange_polygon_base_trades.sql diff --git a/models/_sector/dex/readme.md b/dex/models/trades/readme.md similarity index 100% rename from models/_sector/dex/readme.md rename to dex/models/trades/readme.md diff --git a/models/_sector/dex/trades/scroll/_schema.yml b/dex/models/trades/scroll/_schema.yml similarity index 100% rename from models/_sector/dex/trades/scroll/_schema.yml rename to dex/models/trades/scroll/_schema.yml diff --git a/models/_sector/dex/trades/scroll/dex_scroll_base_trades.sql b/dex/models/trades/scroll/dex_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/dex_scroll_base_trades.sql rename to dex/models/trades/scroll/dex_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/icecreamswap_v2_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/icecreamswap_v2_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/icecreamswap_v2_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/icecreamswap_v2_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/iziswap_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/iziswap_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/iziswap_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/iziswap_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/nuri_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/nuri_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/nuri_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/nuri_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/scrollswap_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/scrollswap_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/scrollswap_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/scrollswap_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/sushiswap_v2_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/syncswap_v1_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/uniswap_v3_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/scroll/platforms/zebra_scroll_base_trades.sql b/dex/models/trades/scroll/platforms/zebra_scroll_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/scroll/platforms/zebra_scroll_base_trades.sql rename to dex/models/trades/scroll/platforms/zebra_scroll_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/_schema.yml b/dex/models/trades/zkevm/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zkevm/_schema.yml rename to dex/models/trades/zkevm/_schema.yml diff --git a/models/_sector/dex/trades/zkevm/dex_zkevm_base_trades.sql b/dex/models/trades/zkevm/dex_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/dex_zkevm_base_trades.sql rename to dex/models/trades/zkevm/dex_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/balancer_v2_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/pancakeswap_v2_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql b/dex/models/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql rename to dex/models/trades/zkevm/platforms/pancakeswap_v3_zkevm_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/_schema.yml b/dex/models/trades/zksync/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zksync/_schema.yml rename to dex/models/trades/zksync/_schema.yml diff --git a/models/_sector/dex/trades/zksync/dex_zksync_base_trades.sql b/dex/models/trades/zksync/dex_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/dex_zksync_base_trades.sql rename to dex/models/trades/zksync/dex_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/derpdex_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/dracula_finance_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/ezkalibur_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/gemswap_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/gemswap_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/gemswap_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/gemswap_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/iziswap_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/iziswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/maverick_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/maverick_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/maverick_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/maverick_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/mute_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/mute_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/mute_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/mute_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/pancakeswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/pancakeswap_v3_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/spacefi_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/syncswap_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/syncswap_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/uniswap_v3_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v0_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/velocore_v2_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/vesync_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/wagmi_v1_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql b/dex/models/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql rename to dex/models/trades/zksync/platforms/zkswap_finance_zksync_base_trades.sql diff --git a/models/_sector/dex/trades/zora/_schema.yml b/dex/models/trades/zora/_schema.yml similarity index 100% rename from models/_sector/dex/trades/zora/_schema.yml rename to dex/models/trades/zora/_schema.yml diff --git a/models/_sector/dex/trades/zora/dex_zora_base_trades.sql b/dex/models/trades/zora/dex_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/dex_zora_base_trades.sql rename to dex/models/trades/zora/dex_zora_base_trades.sql diff --git a/models/_sector/dex/trades/zora/platforms/uniswap_v2_zora_base_trades.sql b/dex/models/trades/zora/platforms/uniswap_v2_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/platforms/uniswap_v2_zora_base_trades.sql rename to dex/models/trades/zora/platforms/uniswap_v2_zora_base_trades.sql diff --git a/models/_sector/dex/trades/zora/platforms/uniswap_v3_zora_base_trades.sql b/dex/models/trades/zora/platforms/uniswap_v3_zora_base_trades.sql similarity index 100% rename from models/_sector/dex/trades/zora/platforms/uniswap_v3_zora_base_trades.sql rename to dex/models/trades/zora/platforms/uniswap_v3_zora_base_trades.sql diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index 99205695c3c..0179f400257 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -240,9 +240,9 @@ models: 'polygon', 'arbitrum', 'optimism', - 'avalanche_c', - 'base', - 'gnosis', + 'avalanche_c', + 'base', + 'gnosis', 'zkevm', 'balancer', 'pools', @@ -428,7 +428,7 @@ models: - *created_at - *updated_at - *model_name - - *label_type + - *label_type - name: labels_balancer_v2_gauges_base meta: @@ -456,7 +456,7 @@ models: - *created_at - *updated_at - *model_name - - *label_type + - *label_type - name: labels_balancer_v2_gauges_gnosis meta: @@ -484,7 +484,7 @@ models: - *created_at - *updated_at - *model_name - - *label_type + - *label_type - name: labels_balancer_v2_gauges_zkevm meta: @@ -512,4 +512,4 @@ models: - *created_at - *updated_at - *model_name - - *label_type + - *label_type \ No newline at end of file From 89c7113e9a07cd915fa9eb65c6d143f0e087dd38 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 6 Jun 2024 17:23:32 -0400 Subject: [PATCH 25/63] moving around more files --- .../_projects/ellipsis_finance/_schema.yml | 48 ++ .../ellipsis_finance_bnb_pool_tokens.sql | 0 dex/models/_schema.yml | 25 + dex/models/addresses/_schema.yml | 147 +++++ .../models/addresses}/dex_addresses.sql | 0 .../addresses}/dex_arbitrum_addresses.sql | 0 .../models/addresses}/dex_base_addresses.sql | 0 .../models/addresses}/dex_bnb_addresses.sql | 0 .../addresses}/dex_ethereum_addresses.sql | 0 .../addresses}/dex_optimism_addresses.sql | 0 .../addresses}/dex_polygon_addresses.sql | 0 dex/models/arbitrages/_schema.yml | 563 ++++++++++++++++++ .../dex_arbitrum_atomic_arbitrages.sql | 0 .../arbitrages}/dex_atomic_arbitrages.sql | 0 .../dex_avalanche_c_atomic_arbitrages.sql | 0 .../arbitrages/dex_base_atomic_arbitrages.sql | 0 .../arbitrages/dex_bnb_atomic_arbitrages.sql | 0 .../arbitrages/dex_celo_atomic_arbitrages.sql | 0 .../dex_ethereum_atomic_arbitrages.sql | 0 .../dex_fantom_atomic_arbitrages.sql | 0 .../dex_gnosis_atomic_arbitrages.sql | 0 .../dex_optimism_atomic_arbitrages.sql | 0 .../dex_polygon_atomic_arbitrages.sql | 0 .../dex_scroll_atomic_arbitrages.sql | 0 .../dex_zksync_atomic_arbitrages.sql | 0 .../arbitrages/dex_zora_atomic_arbitrages.sql | 0 {models/dex => dex/models}/dex_info.sql | 0 dex/models/pools/_schema.yml | 107 ++++ .../models/pools}/dex_raw_pool_creations.sql | 0 .../pools}/dex_raw_pool_initializations.sql | 0 .../models/pools}/dex_raw_pools.sql | 0 dex/models/prices/_schema.yml | 557 +++++++++++++++++ .../dex => dex/models/prices}/dex_prices.sql | 2 +- .../models/prices}/dex_prices_latest.sql | 2 +- .../models/sandwiches/_schema.yml | 563 +----------------- .../sandwiches/dex_arbitrum_sandwiched.sql | 0 .../sandwiches/dex_arbitrum_sandwiches.sql | 0 .../sandwiches/dex_avalanche_c_sandwiched.sql | 0 .../sandwiches/dex_avalanche_c_sandwiches.sql | 0 .../sandwiches/dex_base_sandwiched.sql | 0 .../sandwiches/dex_base_sandwiches.sql | 0 .../models}/sandwiches/dex_bnb_sandwiched.sql | 0 .../models}/sandwiches/dex_bnb_sandwiches.sql | 0 .../sandwiches/dex_celo_sandwiched.sql | 0 .../sandwiches/dex_celo_sandwiches.sql | 0 .../sandwiches/dex_ethereum_sandwiched.sql | 0 .../sandwiches/dex_ethereum_sandwiches.sql | 0 .../sandwiches/dex_fantom_sandwiched.sql | 0 .../sandwiches/dex_fantom_sandwiches.sql | 0 .../sandwiches/dex_gnosis_sandwiched.sql | 0 .../sandwiches/dex_gnosis_sandwiches.sql | 0 .../sandwiches/dex_optimism_sandwiched.sql | 0 .../sandwiches/dex_optimism_sandwiches.sql | 0 .../sandwiches/dex_polygon_sandwiched.sql | 0 .../sandwiches/dex_polygon_sandwiches.sql | 0 .../models/sandwiches}/dex_sandwiched.sql | 0 .../models/sandwiches}/dex_sandwiches.sql | 0 .../sandwiches/dex_scroll_sandwiched.sql | 0 .../sandwiches/dex_scroll_sandwiches.sql | 0 .../sandwiches/dex_zksync_sandwiched.sql | 0 .../sandwiches/dex_zksync_sandwiches.sql | 0 .../sandwiches/dex_zora_sandwiched.sql | 0 .../sandwiches/dex_zora_sandwiches.sql | 0 models/dex/arbitrum/_schema.yml | 24 - models/dex/base/_schema.yml | 23 - models/dex/bnb/_schema.yml | 24 - models/dex/dex_schema.yml | 19 - models/dex/ethereum/_schema.yml | 23 - models/dex/optimism/_schema.yml | 23 - models/dex/polygon/_schema.yml | 24 - .../bnb/ellipsis_finance_bnb_schema.yml | 46 -- 71 files changed, 1450 insertions(+), 770 deletions(-) create mode 100644 dex/models/_projects/ellipsis_finance/_schema.yml rename {models/ellipsis_finance/bnb => dex/models/_projects/ellipsis_finance}/ellipsis_finance_bnb_pool_tokens.sql (100%) create mode 100644 dex/models/_schema.yml create mode 100644 dex/models/addresses/_schema.yml rename {models/dex => dex/models/addresses}/dex_addresses.sql (100%) rename {models/dex/arbitrum => dex/models/addresses}/dex_arbitrum_addresses.sql (100%) rename {models/dex/base => dex/models/addresses}/dex_base_addresses.sql (100%) rename {models/dex/bnb => dex/models/addresses}/dex_bnb_addresses.sql (100%) rename {models/dex/ethereum => dex/models/addresses}/dex_ethereum_addresses.sql (100%) rename {models/dex/optimism => dex/models/addresses}/dex_optimism_addresses.sql (100%) rename {models/dex/polygon => dex/models/addresses}/dex_polygon_addresses.sql (100%) create mode 100644 dex/models/arbitrages/_schema.yml rename {models/dex/chains/mev => dex/models}/arbitrages/dex_arbitrum_atomic_arbitrages.sql (100%) rename {models/dex => dex/models/arbitrages}/dex_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_avalanche_c_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_base_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_bnb_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_celo_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_ethereum_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_fantom_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_gnosis_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_optimism_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_polygon_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_scroll_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_zksync_atomic_arbitrages.sql (100%) rename {models/dex/chains/mev => dex/models}/arbitrages/dex_zora_atomic_arbitrages.sql (100%) rename {models/dex => dex/models}/dex_info.sql (100%) create mode 100644 dex/models/pools/_schema.yml rename {models/dex => dex/models/pools}/dex_raw_pool_creations.sql (100%) rename {models/dex => dex/models/pools}/dex_raw_pool_initializations.sql (100%) rename {models/dex => dex/models/pools}/dex_raw_pools.sql (100%) create mode 100644 dex/models/prices/_schema.yml rename {models/dex => dex/models/prices}/dex_prices.sql (99%) rename {models/dex => dex/models/prices}/dex_prices_latest.sql (98%) rename models/dex/chains/dex_schema.yml => dex/models/sandwiches/_schema.yml (67%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_arbitrum_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_arbitrum_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_avalanche_c_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_avalanche_c_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_base_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_base_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_bnb_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_bnb_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_celo_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_celo_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_ethereum_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_ethereum_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_fantom_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_fantom_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_gnosis_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_gnosis_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_optimism_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_optimism_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_polygon_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_polygon_sandwiches.sql (100%) rename {models/dex => dex/models/sandwiches}/dex_sandwiched.sql (100%) rename {models/dex => dex/models/sandwiches}/dex_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_scroll_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_scroll_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zksync_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zksync_sandwiches.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zora_sandwiched.sql (100%) rename {models/dex/chains/mev => dex/models}/sandwiches/dex_zora_sandwiches.sql (100%) delete mode 100644 models/dex/arbitrum/_schema.yml delete mode 100644 models/dex/base/_schema.yml delete mode 100644 models/dex/bnb/_schema.yml delete mode 100644 models/dex/ethereum/_schema.yml delete mode 100644 models/dex/optimism/_schema.yml delete mode 100644 models/dex/polygon/_schema.yml diff --git a/dex/models/_projects/ellipsis_finance/_schema.yml b/dex/models/_projects/ellipsis_finance/_schema.yml new file mode 100644 index 00000000000..fa2d567f110 --- /dev/null +++ b/dex/models/_projects/ellipsis_finance/_schema.yml @@ -0,0 +1,48 @@ +version: 2 + +models: + - name: ellipsis_finance_bnb_pool_tokens + meta: + blockchain: bnb + sector: dex + project: ellipsis_finance + contributors: Henrystats, 0xRob + config: + tags: ["bnb", "pool_tokens", "ellipsis", "dex"] + description: > + Ellipsis underlying tokens for token_exchange_underlying event + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - pool + - token_id + - token_type + - check_dex_pools_seed: + blockchain: bnb + project: ellipsis_finance + version: 1 + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &pool + name: pool + description: "pool contract address" + - &token_id + name: token_id + description: "underlying token id" + - &token_address + name: token_address + description: "underlying token address" + - &token_type + name: token_type + description: "token data (Underlying token, pool token.......)" + - &pool_type + name: pool_type + description: "pool type (Meta Pool, Base Pool....)" \ No newline at end of file diff --git a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_pool_tokens.sql b/dex/models/_projects/ellipsis_finance/ellipsis_finance_bnb_pool_tokens.sql similarity index 100% rename from models/ellipsis_finance/bnb/ellipsis_finance_bnb_pool_tokens.sql rename to dex/models/_projects/ellipsis_finance/ellipsis_finance_bnb_pool_tokens.sql diff --git a/dex/models/_schema.yml b/dex/models/_schema.yml new file mode 100644 index 00000000000..bc3e8e18c38 --- /dev/null +++ b/dex/models/_schema.yml @@ -0,0 +1,25 @@ +version: 2 + +models: + - name: dex_info + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana + sector: dex + contributors: hildobby + config: + tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] + description: > + DEXs info + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - project + columns: + - name: project + description: "Marketplace codename" + - name: name + description: "Marketplace capitalised name" + - name: marketplace_type + description: "Type of marketplace" + - name: x_username + description: "Username on X" \ No newline at end of file diff --git a/dex/models/addresses/_schema.yml b/dex/models/addresses/_schema.yml new file mode 100644 index 00000000000..d08bd08ef03 --- /dev/null +++ b/dex/models/addresses/_schema.yml @@ -0,0 +1,147 @@ +version: 2 + +models: + - name: dex_addresses + meta: + blockchain: arbitrum, base, bnb, ethereum, optimism, polygon + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'arbitrum', 'base', 'bnb', 'ethereum', 'optimism', 'polygon'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_arbitrum_addresses + meta: + blockchain: arbitrum + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'arbitrum'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_base_addresses + meta: + blockchain: base + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'base'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_bnb_addresses + meta: + blockchain: bnb + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'bnb'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_ethereum_addresses + meta: + blockchain: ethereum + sector: dex + project: addresses + contributors: soispoke, rantum + config: + tags: ['table', 'dex', 'addresses', 'ethereum'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_optimism_addresses + meta: + blockchain: optimism + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'optimism'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" + + - name: dex_polygon_addresses + meta: + blockchain: polygon + sector: dex + project: addresses + contributors: rantum + config: + tags: ['table', 'dex', 'addresses', 'polygon'] + description: "Known decentralised exchange addresses" + columns: + - name: blockchain + description: "Name of blockchain" + - name: address + description: "Address of known DEX" + tests: + - unique + - name: dex_name + description: "Name of decentralised exchange" + - name: distinct_name + description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/dex_addresses.sql b/dex/models/addresses/dex_addresses.sql similarity index 100% rename from models/dex/dex_addresses.sql rename to dex/models/addresses/dex_addresses.sql diff --git a/models/dex/arbitrum/dex_arbitrum_addresses.sql b/dex/models/addresses/dex_arbitrum_addresses.sql similarity index 100% rename from models/dex/arbitrum/dex_arbitrum_addresses.sql rename to dex/models/addresses/dex_arbitrum_addresses.sql diff --git a/models/dex/base/dex_base_addresses.sql b/dex/models/addresses/dex_base_addresses.sql similarity index 100% rename from models/dex/base/dex_base_addresses.sql rename to dex/models/addresses/dex_base_addresses.sql diff --git a/models/dex/bnb/dex_bnb_addresses.sql b/dex/models/addresses/dex_bnb_addresses.sql similarity index 100% rename from models/dex/bnb/dex_bnb_addresses.sql rename to dex/models/addresses/dex_bnb_addresses.sql diff --git a/models/dex/ethereum/dex_ethereum_addresses.sql b/dex/models/addresses/dex_ethereum_addresses.sql similarity index 100% rename from models/dex/ethereum/dex_ethereum_addresses.sql rename to dex/models/addresses/dex_ethereum_addresses.sql diff --git a/models/dex/optimism/dex_optimism_addresses.sql b/dex/models/addresses/dex_optimism_addresses.sql similarity index 100% rename from models/dex/optimism/dex_optimism_addresses.sql rename to dex/models/addresses/dex_optimism_addresses.sql diff --git a/models/dex/polygon/dex_polygon_addresses.sql b/dex/models/addresses/dex_polygon_addresses.sql similarity index 100% rename from models/dex/polygon/dex_polygon_addresses.sql rename to dex/models/addresses/dex_polygon_addresses.sql diff --git a/dex/models/arbitrages/_schema.yml b/dex/models/arbitrages/_schema.yml new file mode 100644 index 00000000000..87af372997e --- /dev/null +++ b/dex/models/arbitrages/_schema.yml @@ -0,0 +1,563 @@ +version: 2 + +models: + - name: dex_ethereum_atomic_arbitrages + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'ethereum'] + description: > + DEX MEV Arbitrage Trades on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_arbitrum_atomic_arbitrages + meta: + blockchain: arbitrum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'arbitrum'] + description: > + DEX MEV Arbitrage Trades on Arbitrum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_avalanche_c_atomic_arbitrages + meta: + blockchain: avalanche_c + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'avalanche_c'] + description: > + DEX MEV Arbitrage Trades on Avalanche + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_bnb_atomic_arbitrages + meta: + blockchain: bnb + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'bnb'] + description: > + DEX MEV Arbitrage Trades on BNB + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_fantom_atomic_arbitrages + meta: + blockchain: fantom + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'fantom'] + description: > + DEX MEV Arbitrage Trades on Fantom + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_gnosis_atomic_arbitrages + meta: + blockchain: gnosis + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'gnosis'] + description: > + DEX MEV Arbitrage Trades on Gnosis + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_optimism_atomic_arbitrages + meta: + blockchain: optimism + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'optimism'] + description: > + DEX MEV Arbitrage Trades on Optimism + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_polygon_atomic_arbitrages + meta: + blockchain: polygon + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'polygon'] + description: > + DEX MEV Arbitrage Trades on Polygon + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_base_atomic_arbitrages + meta: + blockchain: base + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'base'] + description: > + DEX MEV Arbitrage Trades on Base + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_celo_atomic_arbitrages + meta: + blockchain: celo + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'celo'] + description: > + DEX MEV Arbitrage Trades on Celo + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_zksync_atomic_arbitrages + meta: + blockchain: zksync + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zksync'] + description: > + DEX MEV Arbitrage Trades on zkSync + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_scroll_atomic_arbitrages + meta: + blockchain: scroll + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'scroll'] + description: > + DEX MEV Arbitrage Trades on zkSScrollync + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + + - name: dex_zora_atomic_arbitrages + meta: + blockchain: zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zora'] + description: > + DEX MEV Arbitrage Trades on Zora Network + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + diff --git a/models/dex/chains/mev/arbitrages/dex_arbitrum_atomic_arbitrages.sql b/dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_arbitrum_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql diff --git a/models/dex/dex_atomic_arbitrages.sql b/dex/models/arbitrages/dex_atomic_arbitrages.sql similarity index 100% rename from models/dex/dex_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_avalanche_c_atomic_arbitrages.sql b/dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_avalanche_c_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_base_atomic_arbitrages.sql b/dex/models/arbitrages/dex_base_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_base_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_base_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_bnb_atomic_arbitrages.sql b/dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_bnb_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_celo_atomic_arbitrages.sql b/dex/models/arbitrages/dex_celo_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_celo_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_celo_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_ethereum_atomic_arbitrages.sql b/dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_ethereum_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_fantom_atomic_arbitrages.sql b/dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_fantom_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_gnosis_atomic_arbitrages.sql b/dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_gnosis_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_optimism_atomic_arbitrages.sql b/dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_optimism_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_polygon_atomic_arbitrages.sql b/dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_polygon_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_scroll_atomic_arbitrages.sql b/dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_scroll_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_zksync_atomic_arbitrages.sql b/dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_zksync_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql diff --git a/models/dex/chains/mev/arbitrages/dex_zora_atomic_arbitrages.sql b/dex/models/arbitrages/dex_zora_atomic_arbitrages.sql similarity index 100% rename from models/dex/chains/mev/arbitrages/dex_zora_atomic_arbitrages.sql rename to dex/models/arbitrages/dex_zora_atomic_arbitrages.sql diff --git a/models/dex/dex_info.sql b/dex/models/dex_info.sql similarity index 100% rename from models/dex/dex_info.sql rename to dex/models/dex_info.sql diff --git a/dex/models/pools/_schema.yml b/dex/models/pools/_schema.yml new file mode 100644 index 00000000000..b86f1f5b616 --- /dev/null +++ b/dex/models/pools/_schema.yml @@ -0,0 +1,107 @@ +version: 2 + +models: + - name: dex_raw_pool_initializations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools initialization calls + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + - tx_hash + - call_trace_address + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &type + name: type + description: "Pool implementation standard" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &pool + name: pool + description: "DEX pool smart contract address" + - &token0 + name: token0 + description: "First token in pool" + - &token1 + name: token1 + description: "Second token in pool" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &call_trace_address + name: call_trace_address + + - name: dex_raw_pool_creations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - &tokens + name: tokens + description: "Tokens in the pool" + - &creation_block_time + name: creation_block_time + description: "Block time of pool creation" + - &creation_block_number + name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + - name: rn + + - name: dex_raw_pools + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - *tokens + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/dex/dex_raw_pool_creations.sql b/dex/models/pools/dex_raw_pool_creations.sql similarity index 100% rename from models/dex/dex_raw_pool_creations.sql rename to dex/models/pools/dex_raw_pool_creations.sql diff --git a/models/dex/dex_raw_pool_initializations.sql b/dex/models/pools/dex_raw_pool_initializations.sql similarity index 100% rename from models/dex/dex_raw_pool_initializations.sql rename to dex/models/pools/dex_raw_pool_initializations.sql diff --git a/models/dex/dex_raw_pools.sql b/dex/models/pools/dex_raw_pools.sql similarity index 100% rename from models/dex/dex_raw_pools.sql rename to dex/models/pools/dex_raw_pools.sql diff --git a/dex/models/prices/_schema.yml b/dex/models/prices/_schema.yml new file mode 100644 index 00000000000..cf9bfbbefa7 --- /dev/null +++ b/dex/models/prices/_schema.yml @@ -0,0 +1,557 @@ +version: 2 + +models: + + - name: dex_prices + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom + sector: dex + contributors: Henrystats + config: + tags: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'gnosis', 'fantom', 'avalanche_c', 'trades', 'dex', 'cross-chain', 'prices'] + description: > + This table loads the prices of tokens from the dex.trades table. This helps for missing tokens from the prices.usd table + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - hour + - blockchain + - contract_address + columns: + - &block_month + name: block_month + description: "Month corresponding to the prices data" + - &hour + name: hour + description: "hour corresponding to the prices data" + - &contract_address + name: contract_address + description: "token's contract address" + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &median_price + name: median_price + description: "Median price of the token in USD within the corresponding hour" + - &sample_size + name: sample_size + description: "Number of times the token was traded within the coressponding hour" + + + + + + - name: dex_aggregator_trades + meta: + blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb + sector: dex_aggregator + contributors: bh2smith, Henrystats, jeff-dude, rantum + config: + tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] + description: > + Aggregator trades on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + columns: + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + tests: + - dbt_utils.accepted_range: + max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &trace_address + name: trace_address + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + + - name: dex_incentive_mappings + meta: + blockchain: optimism + sector: dex + contributors: msilb7 + config: + tags: ['optimism', 'amm', 'trades', 'dex', 'cross-chain','incentives'] + description: > + Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions + columns: + - *blockchain + - *project + - *version + - &pool_contract + name: pool_contract + description: "Address of the liquidity pool contract" + - &incentives_contract + name: incentives_contract + description: "Address of the contract where incentives are stored and emitted." + - &incentives_type + name: incentives_type + description: "Description of the incentives address type." + - &evt_block_time + name: evt_block_time + description: 'Block time in UTC' + - &evt_block_number + name: evt_block_number + description: 'Block Number' + - *contract_address + - &evt_tx_hash + name: evt_tx_hash + description: 'Tx Hash' + - *evt_index + + - name: dex_pools + meta: + blockchain: ethereum, arbitrum, polygon + sector: dex + contributors: hildobby + config: + tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] + description: > + DEX pools on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *project + - *version + - &pool + name: pool + description: "DEX pool smart contract address" + - &fee + name: fee + description: "Defined fee" + - &token0 + name: token0 + description: "First token in pool" + - &token1 + name: token1 + description: "Second token in pool" + - &creation_block_time + name: creation_block_time + description: "Block time of pool creation" + - &creation_block_number + name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_raw_pool_initializations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools initialization calls + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + - tx_hash + - call_trace_address + columns: + - *blockchain + - &type + name: type + description: "Pool implementation standard" + - *version + - *block_time + - *pool + - *token0 + - *token1 + - *tx_hash + - &call_trace_address + name: call_trace_address + + - name: dex_raw_pool_creations + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - &tokens + name: tokens + description: "Tokens in the pool" + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + - name: rn + + - name: dex_raw_pools + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora + sector: dex + contributors: grkhr + config: + tags: ['dex', 'cross-chain', 'pools'] + description: > + DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - *type + - *version + - *pool + - *token0 + - *token1 + - *tokens + - *creation_block_time + - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_offers + meta: + blockchain: optimism + sector: dex + contributors: denver + config: + tags: ['optimism', 'order-books', 'offers', 'dex', 'cross-chain', 'offers'] + description: > + DEX offers across all chains across all contracts and versions + columns: + - *blockchain + - *project + - *version + - *block_date + - *block_time + - &block_number + name: block_number + description: "the block number of the block that the offer was created in" + - &tx_index + name: tx_index + description: "the transaction index of the transaction that the offer was created in" + - *evt_index + - *maker + - &sell_token_symbol + name: sell_token_symbol + description: "the token the offer is selling" + - &buy_token_symbol + name: buy_token_symbol + description: "the token the offer is buying" + - &sell_token_address + name: sell_token_address + description: "the address of the token the offer is selling" + - &buy_token_address + name: buy_token_address + description: "the address of the token the offer is buying" + - *token_pair + - &sell_amount + name: sell_amount + description: "the amount of the token that the maker is selling" + - &buy_amount + name: buy_amount + description: "the amount of the token that the maker is buying" + - &sell_amount_raw + name: sell_amount_raw + description: "the raw amount of the token that the maker is selling" + - &buy_amount_raw + name: buy_amount_raw + description: "the raw amount of the token that the maker is buying" + - &sold_amount + name: sold_amount + description: "the amount of the token that the offer has sold" + - &bought_amount + name: bought_amount + description: "the amount of the token that the offer has bought" + - &sold_amount_raw + name: sold_amount_raw + description: "the raw amount of the token that the offer has sold" + - &bought_amount_raw + name: bought_amount_raw + description: "the raw amount of the token that the offer has bought" + - &sell_amount_usd + name: sell_amount_usd + description: "the amount of the token that the maker is selling in USD (at the time of the offer creation)" + - &buy_amount_usd + name: buy_amount_usd + description: "the amount of the token that the maker is buying in USD (at the time of the offer creation)" + - &sold_amount_usd + name: sold_amount_usd + description: "the amount of the token that the offer has sold in USD (summed bassed on the price at the time of each trade (if any))" + - &bought_amount_usd + name: bought_amount_usd + description: "the amount of the token that the offer has bought in USD (summed bassed on the price at the time of each trade (if any))" + - &txn_cost_usd + name: txn_cost_usd + description: "the cost of the transaction in USD" + - *project_contract_address + - *tx_hash + - *tx_from + - *tx_to + + + - name: dex_flashloans + meta: + blockchain: arbitrum, avalanche_c, optimism, polygon, ethereum, fantom + sector: lending + contributors: hildobby + config: + tags: ['arbitrum', 'avalanche_c', 'optimism', 'polygon', 'ethereum', 'fantom', 'flashloans'] + description: > + All Flashloans + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - name: blockchain + - name: project + - name: version + - name: block_time + - name: block_number + - name: amount + - name: amount_usd + - name: tx_hash + - name: evt_index + - name: fee + - name: currency_contract + - name: currency_symbol + - name: recipient + - name: contract_address + - name: block_month + + - name: dex_sandwiches + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiches'] + description: > + DEX MEV Sandwich Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - &index + name: index + description: "Index of the transaction in block" + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_sandwiched + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiched'] + description: > + DEX MEV Sandwiched Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_info + meta: + blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana + sector: dex + contributors: hildobby + config: + tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] + description: > + DEXs info + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - project + columns: + - name: project + description: "Marketplace codename" + - name: name + description: "Marketplace capitalised name" + - name: marketplace_type + description: "Type of marketplace" + - name: x_username + description: "Username on X" + + - name: dex_atomic_arbitrages + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages'] + description: > + DEX MEV Arbitrage Trades across all Chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *trace_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index diff --git a/models/dex/dex_prices.sql b/dex/models/prices/dex_prices.sql similarity index 99% rename from models/dex/dex_prices.sql rename to dex/models/prices/dex_prices.sql index 794e6ca3aec..5467aeda991 100644 --- a/models/dex/dex_prices.sql +++ b/dex/models/prices/dex_prices.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'prices', partition_by = ['block_month'], materialized = 'incremental', diff --git a/models/dex/dex_prices_latest.sql b/dex/models/prices/dex_prices_latest.sql similarity index 98% rename from models/dex/dex_prices_latest.sql rename to dex/models/prices/dex_prices_latest.sql index b6714778d89..2ebc0591630 100644 --- a/models/dex/dex_prices_latest.sql +++ b/dex/models/prices/dex_prices_latest.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'dex', alias = 'prices_latest', - partition_by = ['block_month'], materialized = 'incremental', file_format = 'delta', diff --git a/models/dex/chains/dex_schema.yml b/dex/models/sandwiches/_schema.yml similarity index 67% rename from models/dex/chains/dex_schema.yml rename to dex/models/sandwiches/_schema.yml index 95afa1bbe88..0e5c2d15da8 100644 --- a/models/dex/chains/dex_schema.yml +++ b/dex/models/sandwiches/_schema.yml @@ -1143,565 +1143,4 @@ models: - *token_sold_amount - *token_bought_amount - *amount_usd - - *evt_index - - - name: dex_ethereum_atomic_arbitrages - meta: - blockchain: ethereum - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'ethereum'] - description: > - DEX MEV Arbitrage Trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_arbitrum_atomic_arbitrages - meta: - blockchain: arbitrum - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'arbitrum'] - description: > - DEX MEV Arbitrage Trades on Arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_avalanche_c_atomic_arbitrages - meta: - blockchain: avalanche_c - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'avalanche_c'] - description: > - DEX MEV Arbitrage Trades on Avalanche - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_bnb_atomic_arbitrages - meta: - blockchain: bnb - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'bnb'] - description: > - DEX MEV Arbitrage Trades on BNB - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_fantom_atomic_arbitrages - meta: - blockchain: fantom - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'fantom'] - description: > - DEX MEV Arbitrage Trades on Fantom - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_gnosis_atomic_arbitrages - meta: - blockchain: gnosis - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'gnosis'] - description: > - DEX MEV Arbitrage Trades on Gnosis - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_optimism_atomic_arbitrages - meta: - blockchain: optimism - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'optimism'] - description: > - DEX MEV Arbitrage Trades on Optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_polygon_atomic_arbitrages - meta: - blockchain: polygon - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'polygon'] - description: > - DEX MEV Arbitrage Trades on Polygon - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_base_atomic_arbitrages - meta: - blockchain: base - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'base'] - description: > - DEX MEV Arbitrage Trades on Base - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_celo_atomic_arbitrages - meta: - blockchain: celo - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'celo'] - description: > - DEX MEV Arbitrage Trades on Celo - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_zksync_atomic_arbitrages - meta: - blockchain: zksync - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zksync'] - description: > - DEX MEV Arbitrage Trades on zkSync - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_scroll_atomic_arbitrages - meta: - blockchain: scroll - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'scroll'] - description: > - DEX MEV Arbitrage Trades on zkSScrollync - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - - name: dex_zora_atomic_arbitrages - meta: - blockchain: zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zora'] - description: > - DEX MEV Arbitrage Trades on Zora Network - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - + - *evt_index \ No newline at end of file diff --git a/models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiched.sql b/dex/models/sandwiches/dex_arbitrum_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiched.sql rename to dex/models/sandwiches/dex_arbitrum_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiches.sql b/dex/models/sandwiches/dex_arbitrum_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_arbitrum_sandwiches.sql rename to dex/models/sandwiches/dex_arbitrum_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiched.sql b/dex/models/sandwiches/dex_avalanche_c_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiched.sql rename to dex/models/sandwiches/dex_avalanche_c_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiches.sql b/dex/models/sandwiches/dex_avalanche_c_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_avalanche_c_sandwiches.sql rename to dex/models/sandwiches/dex_avalanche_c_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_base_sandwiched.sql b/dex/models/sandwiches/dex_base_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_base_sandwiched.sql rename to dex/models/sandwiches/dex_base_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_base_sandwiches.sql b/dex/models/sandwiches/dex_base_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_base_sandwiches.sql rename to dex/models/sandwiches/dex_base_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_bnb_sandwiched.sql b/dex/models/sandwiches/dex_bnb_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_bnb_sandwiched.sql rename to dex/models/sandwiches/dex_bnb_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_bnb_sandwiches.sql b/dex/models/sandwiches/dex_bnb_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_bnb_sandwiches.sql rename to dex/models/sandwiches/dex_bnb_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_celo_sandwiched.sql b/dex/models/sandwiches/dex_celo_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_celo_sandwiched.sql rename to dex/models/sandwiches/dex_celo_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_celo_sandwiches.sql b/dex/models/sandwiches/dex_celo_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_celo_sandwiches.sql rename to dex/models/sandwiches/dex_celo_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_ethereum_sandwiched.sql b/dex/models/sandwiches/dex_ethereum_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_ethereum_sandwiched.sql rename to dex/models/sandwiches/dex_ethereum_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_ethereum_sandwiches.sql b/dex/models/sandwiches/dex_ethereum_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_ethereum_sandwiches.sql rename to dex/models/sandwiches/dex_ethereum_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_fantom_sandwiched.sql b/dex/models/sandwiches/dex_fantom_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_fantom_sandwiched.sql rename to dex/models/sandwiches/dex_fantom_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_fantom_sandwiches.sql b/dex/models/sandwiches/dex_fantom_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_fantom_sandwiches.sql rename to dex/models/sandwiches/dex_fantom_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_gnosis_sandwiched.sql b/dex/models/sandwiches/dex_gnosis_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_gnosis_sandwiched.sql rename to dex/models/sandwiches/dex_gnosis_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_gnosis_sandwiches.sql b/dex/models/sandwiches/dex_gnosis_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_gnosis_sandwiches.sql rename to dex/models/sandwiches/dex_gnosis_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_optimism_sandwiched.sql b/dex/models/sandwiches/dex_optimism_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_optimism_sandwiched.sql rename to dex/models/sandwiches/dex_optimism_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_optimism_sandwiches.sql b/dex/models/sandwiches/dex_optimism_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_optimism_sandwiches.sql rename to dex/models/sandwiches/dex_optimism_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_polygon_sandwiched.sql b/dex/models/sandwiches/dex_polygon_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_polygon_sandwiched.sql rename to dex/models/sandwiches/dex_polygon_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_polygon_sandwiches.sql b/dex/models/sandwiches/dex_polygon_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_polygon_sandwiches.sql rename to dex/models/sandwiches/dex_polygon_sandwiches.sql diff --git a/models/dex/dex_sandwiched.sql b/dex/models/sandwiches/dex_sandwiched.sql similarity index 100% rename from models/dex/dex_sandwiched.sql rename to dex/models/sandwiches/dex_sandwiched.sql diff --git a/models/dex/dex_sandwiches.sql b/dex/models/sandwiches/dex_sandwiches.sql similarity index 100% rename from models/dex/dex_sandwiches.sql rename to dex/models/sandwiches/dex_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_scroll_sandwiched.sql b/dex/models/sandwiches/dex_scroll_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_scroll_sandwiched.sql rename to dex/models/sandwiches/dex_scroll_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_scroll_sandwiches.sql b/dex/models/sandwiches/dex_scroll_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_scroll_sandwiches.sql rename to dex/models/sandwiches/dex_scroll_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zksync_sandwiched.sql b/dex/models/sandwiches/dex_zksync_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zksync_sandwiched.sql rename to dex/models/sandwiches/dex_zksync_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zksync_sandwiches.sql b/dex/models/sandwiches/dex_zksync_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zksync_sandwiches.sql rename to dex/models/sandwiches/dex_zksync_sandwiches.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zora_sandwiched.sql b/dex/models/sandwiches/dex_zora_sandwiched.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zora_sandwiched.sql rename to dex/models/sandwiches/dex_zora_sandwiched.sql diff --git a/models/dex/chains/mev/sandwiches/dex_zora_sandwiches.sql b/dex/models/sandwiches/dex_zora_sandwiches.sql similarity index 100% rename from models/dex/chains/mev/sandwiches/dex_zora_sandwiches.sql rename to dex/models/sandwiches/dex_zora_sandwiches.sql diff --git a/models/dex/arbitrum/_schema.yml b/models/dex/arbitrum/_schema.yml deleted file mode 100644 index e1ede77bc38..00000000000 --- a/models/dex/arbitrum/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_arbitrum_addresses - meta: - blockchain: arbitrum - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'arbitrum'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/base/_schema.yml b/models/dex/base/_schema.yml deleted file mode 100644 index f0256b6afac..00000000000 --- a/models/dex/base/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_base_addresses - meta: - blockchain: base - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'base'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/bnb/_schema.yml b/models/dex/bnb/_schema.yml deleted file mode 100644 index 74c5e66923a..00000000000 --- a/models/dex/bnb/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_bnb_addresses - meta: - blockchain: bnb - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'bnb'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index 70d90f53349..f39d7f79bed 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -509,25 +509,6 @@ models: - name: x_username description: "Username on X" - - name: dex_addresses - meta: - blockchain: arbitrum, base, bnb, ethereum, optimism, polygon - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'arbitrum', 'base', 'bnb', 'ethereum', 'optimism', 'polygon'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" - - name: dex_atomic_arbitrages meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora diff --git a/models/dex/ethereum/_schema.yml b/models/dex/ethereum/_schema.yml deleted file mode 100644 index d69f2a6760d..00000000000 --- a/models/dex/ethereum/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_ethereum_addresses - meta: - blockchain: ethereum - sector: dex - project: addresses - contributors: soispoke, rantum - config: - tags: ['table', 'dex', 'addresses', 'ethereum'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/optimism/_schema.yml b/models/dex/optimism/_schema.yml deleted file mode 100644 index 59adaebc120..00000000000 --- a/models/dex/optimism/_schema.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 - -models: - - name: dex_optimism_addresses - meta: - blockchain: optimism - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'optimism'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/dex/polygon/_schema.yml b/models/dex/polygon/_schema.yml deleted file mode 100644 index 5357be14e32..00000000000 --- a/models/dex/polygon/_schema.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: 2 - -models: - - - name: dex_polygon_addresses - meta: - blockchain: polygon - sector: dex - project: addresses - contributors: rantum - config: - tags: ['table', 'dex', 'addresses', 'polygon'] - description: "Known decentralised exchange addresses" - columns: - - name: blockchain - description: "Name of blockchain" - - name: address - description: "Address of known DEX" - tests: - - unique - - name: dex_name - description: "Name of decentralised exchange" - - name: distinct_name - description: "Distinct name of decentralised exchange address" \ No newline at end of file diff --git a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml b/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml index 4cdf583feaf..b76eff8e56b 100644 --- a/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml +++ b/models/ellipsis_finance/bnb/ellipsis_finance_bnb_schema.yml @@ -1,52 +1,6 @@ version: 2 models: - - name: ellipsis_finance_bnb_pool_tokens - meta: - blockchain: bnb - sector: dex - project: ellipsis_finance - contributors: Henrystats, 0xRob - config: - tags: ["bnb", "pool_tokens", "ellipsis", "dex"] - description: > - Ellipsis underlying tokens for token_exchange_underlying event - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - pool - - token_id - - token_type - - check_dex_pools_seed: - blockchain: bnb - project: ellipsis_finance - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &pool - name: pool - description: "pool contract address" - - &token_id - name: token_id - description: "underlying token id" - - &token_address - name: token_address - description: "underlying token address" - - &token_type - name: token_type - description: "token data (Underlying token, pool token.......)" - - &pool_type - name: pool_type - description: "pool type (Meta Pool, Base Pool....)" - - name: ellipsis_finance_bnb_airdrop_claims meta: blockchain: bnb From 4831bdd98c56a1b0ab007145073c83fea6daf37a Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 11:18:50 -0400 Subject: [PATCH 26/63] move dex aggregator lineage --- .../_project/yield_yak/yield_yak_trades.sql | 0 .../models/_projects/bebop/_schema.yml | 0 .../_projects/bebop/arbitrum/_schema.yml | 0 .../bebop/arbitrum/bebop_arbitrum_trades.sql | 0 .../arbitrum/bebop_blend_arbitrum_trades.sql | 0 .../arbitrum/bebop_jam_arbitrum_trades.sql | 0 .../arbitrum/bebop_rfq_arbitrum_trades.sql | 0 .../models/_projects/bebop/base/_schema.yml | 0 .../bebop/base/bebop_base_trades.sql | 0 .../bebop/base/bebop_blend_base_trades.sql | 0 .../bebop/base/bebop_jam_base_trades.sql | 0 .../models/_projects}/bebop/bebop_trades.sql | 0 .../models/_projects/bebop/bnb/_schema.yml | 0 .../_projects}/bebop/bnb/bebop_bnb_trades.sql | 0 .../bebop/bnb/bebop_jam_bnb_trades.sql | 0 .../_projects/bebop/ethereum/_schema.yml | 0 .../ethereum/bebop_blend_ethereum_trades.sql | 0 .../bebop/ethereum/bebop_ethereum_trades.sql | 0 .../ethereum/bebop_jam_ethereum_trades.sql | 0 .../ethereum/bebop_rfq_ethereum_trades.sql | 0 .../_projects/bebop/optimism/_schema.yml | 0 .../optimism/bebop_jam_optimism_trades.sql | 0 .../bebop/optimism/bebop_optimism_trades.sql | 0 .../optimism/bebop_rfq_optimism_trades.sql | 0 .../_projects/bebop/polygon/_schema.yml | 0 .../polygon/bebop_blend_polygon_trades.sql | 0 .../polygon/bebop_jam_polygon_trades.sql | 0 .../bebop/polygon/bebop_polygon_trades.sql | 0 .../polygon/bebop_rfq_polygon_trades.sql | 0 .../models/_projects/bebop/scroll/_schema.yml | 0 .../bebop/scroll/bebop_jam_scroll_trades.sql | 0 .../bebop/scroll/bebop_scroll_trades.sql | 0 .../models/_projects/bebop/zksync/_schema.yml | 0 .../bebop/zksync/bebop_jam_zksync_trades.sql | 0 .../bebop/zksync/bebop_zksync_trades.sql | 0 dex/models/_projects/cow_protocol/_schema.yml | 325 ++++++++++++++++++ .../arbitrum/cow_protocol_arbitrum_trades.sql | 0 .../cow_protocol/cow_protocol_trades.sql | 0 .../ethereum/cow_protocol_ethereum_trades.sql | 0 .../gnosis/cow_protocol_gnosis_trades.sql | 0 .../models/_projects/dodo/_schema.yml | 0 .../_projects/dodo/arbitrum/_schema.yml | 0 .../dodo_aggregator_arbitrum_trades.sql | 0 .../models/_projects/dodo/base/_schema.yml | 0 .../dodo/base/dodo_aggregator_base_trades.sql | 0 .../models/_projects/dodo/bnb/_schema.yml | 0 .../dodo/bnb/dodo_aggregator_bnb_trades.sql | 0 .../dodo/dodo_aggregator_trades.sql | 0 .../_projects/dodo/ethereum/_schema.yml | 0 .../dodo_aggregator_ethereum_trades.sql | 0 .../_projects/dodo/optimism/_schema.yml | 0 .../dodo_aggregator_optimism_trades.sql | 0 .../models/_projects/dodo/polygon/_schema.yml | 0 .../dodo_aggregator_polygon_trades.sql | 0 .../firebird_finance/optimism/_schema.yml | 0 .../firebird_finance_optimism_trades.sql | 0 .../models/_projects/kyberswap/_schema.yml | 0 .../_projects/kyberswap/arbitrum/_schema.yml | 0 .../kyberswap_aggregator_arbitrum_trades.sql | 0 .../kyberswap/avalanche_c/_schema.yml | 0 ...yberswap_aggregator_avalanche_c_trades.sql | 0 .../_projects/kyberswap/base/_schema.yml | 0 .../base/kyberswap_aggregator_base_trades.sql | 0 .../_projects/kyberswap/bnb/_schema.yml | 0 .../bnb/kyberswap_aggregator_bnb_trades.sql | 0 .../_projects/kyberswap/ethereum/_schema.yml | 0 .../kyberswap_aggregator_ethereum_trades.sql | 0 .../kyberswap/kyberswap_aggregator_trades.sql | 0 .../_projects/kyberswap/optimism/_schema.yml | 0 .../kyberswap_aggregator_optimism_trades.sql | 0 .../_projects/kyberswap/polygon/_schema.yml | 0 .../kyberswap_aggregator_polygon_trades.sql | 0 .../models/_projects/lifi/_schema.yml | 0 .../models/_projects/lifi/fantom/_schema.yml | 0 .../lifi/fantom/lifi_fantom_trades.sql | 0 .../lifi/fantom/lifi_v2_fantom_trades.sql | 0 .../models/_projects}/lifi/lifi_trades.sql | 0 .../_projects/lifi/optimism/_schema.yml | 0 .../lifi/optimism/lifi_optimism_trades.sql | 0 .../lifi/optimism/lifi_v2_optimism_trades.sql | 0 .../models/_projects/odos/_schema.yml | 0 .../_projects/odos/avalanche_c/_schema.yml | 0 .../avalanche_c/odos_avalanche_c_trades.sql | 0 .../models/_projects/odos/base/_schema.yml | 0 .../_projects}/odos/base/odos_base_trades.sql | 0 .../odos/base/odos_v2_base_trades.sql | 0 .../_projects/odos/ethereum/_schema.yml | 0 .../odos/ethereum/odos_ethereum_trades.sql | 0 .../odos/ethereum/odos_v2_ethereum_trades.sql | 0 .../models/_projects}/odos/odos_trades.sql | 0 .../_projects/odos/optimism/_schema.yml | 0 .../odos/optimism/odos_optimism_trades.sql | 0 .../odos/optimism/odos_v1_optimism_trades.sql | 0 .../odos/optimism/odos_v2_optimism_trades.sql | 0 .../models/_projects/paraswap/_schema.yml | 0 .../_projects/paraswap/arbitrum/_schema.yml | 0 .../arbitrum/paraswap_arbitrum_trades.sql | 0 .../arbitrum/paraswap_v5_arbitrum_trades.sql | 0 .../arbitrum/paraswap_v6_arbitrum_trades.sql | 0 .../paraswap_v6_arbitrum_trades_decoded.sql | 0 .../paraswap/avalanche_c/_schema.yml | 0 .../paraswap_avalanche_c_trades.sql | 0 .../paraswap_v5_avalanche_c_trades.sql | 0 .../paraswap_v6_avalanche_c_trades.sql | 0 ...paraswap_v6_avalanche_c_trades_decoded.sql | 0 .../_projects/paraswap/base/_schema.yml | 0 .../paraswap/base/paraswap_base_trades.sql | 0 .../paraswap/base/paraswap_v5_base_trades.sql | 0 .../paraswap/base/paraswap_v6_base_trades.sql | 0 .../base/paraswap_v6_base_trades_decoded.sql | 0 .../models/_projects/paraswap/bnb/_schema.yml | 0 .../paraswap/bnb/paraswap_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v4_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v5_bnb_trades.sql | 0 .../paraswap/bnb/paraswap_v6_bnb_trades.sql | 0 .../bnb/paraswap_v6_bnb_trades_decoded.sql | 0 .../_projects/paraswap/ethereum/_schema.yml | 64 +--- .../ethereum/paraswap_ethereum_trades.sql | 0 .../ethereum/paraswap_v4_ethereum_trades.sql | 0 .../ethereum/paraswap_v5_ethereum_trades.sql | 0 .../ethereum/paraswap_v6_ethereum_trades.sql | 0 .../paraswap_v6_ethereum_trades_decoded.sql | 0 .../_projects/paraswap/fantom/_schema.yml | 0 .../fantom/paraswap_fantom_trades.sql | 0 .../fantom/paraswap_v5_fantom_trades.sql | 0 .../fantom/paraswap_v6_fantom_trades.sql | 0 .../paraswap_v6_fantom_trades_decoded.sql | 0 .../_projects/paraswap/optimism/_schema.yml | 0 .../optimism/paraswap_optimism_trades.sql | 0 .../optimism/paraswap_v5_optimism_trades.sql | 0 .../optimism/paraswap_v6_optimism_trades.sql | 0 .../paraswap_v6_optimism_trades_decoded.sql | 0 .../_projects}/paraswap/paraswap_trades.sql | 0 .../_projects/paraswap/polygon/_schema.yml | 0 .../polygon/paraswap_polygon_trades.sql | 0 .../polygon/paraswap_v4_polygon_trades.sql | 0 .../polygon/paraswap_v5_polygon_trades.sql | 0 .../polygon/paraswap_v6_polygon_trades.sql | 0 .../paraswap_v6_polygon_trades_decoded.sql | 0 .../models/_projects/tokenlon/_schema.yml | 0 .../_projects/tokenlon/ethereum/_schema.yml | 0 .../ethereum/tokenlon_ethereum_trades.sql | 0 .../tokenlon_v5_ethereum_amm_v1_trades.sql | 0 .../tokenlon_v5_ethereum_amm_v2_trades.sql | 0 .../tokenlon_v5_ethereum_pmm_v5_trades.sql | 0 .../tokenlon_v5_ethereum_rfq_v1_trades.sql | 0 .../tokenlon_v5_ethereum_rfq_v2_trades.sql | 0 .../_projects}/tokenlon/tokenlon_trades.sql | 0 .../_projects/unidex/optimism/_schema.yml | 99 ++++++ .../optimism/unidex_optimism_trades.sql | 0 dex/models/_projects/yield_yak/_schema.yml | 79 +++++ .../_projects/yield_yak/arbitrum/_schema.yml | 96 ++++++ .../arbitrum/yield_yak_arbitrum_trades.sql | 0 .../yield_yak/avalanche_c/_schema.yml | 96 ++++++ .../yield_yak_avalanche_c_trades.sql | 0 .../_projects/yield_yak/mantle/_schema.yml | 96 ++++++ .../mantle/yield_yak_mantle_trades.sql | 0 .../_projects}/yield_yak/yield_yak_trades.sql | 0 .../dex_aggregator_trades.sql | 0 .../arbitrum/cow_protocol_arbitrum_schema.yml | 109 ------ models/cow_protocol/cow_protocol_schema.yml | 88 +---- .../ethereum/cow_protocol_ethereum_schema.yml | 118 ------- .../gnosis/cow_protocol_gnosis_schema.yml | 106 ------ models/paraswap/_schema.yml | 64 ++++ .../paraswap_ethereum_airdrop_claims.sql | 0 .../optimism/unidex_optimism_schema.yml | 133 ++----- .../arbitrum/yield_yak_arbitrum_schema.yml | 98 +----- .../yield_yak_avalanche_c_schema.yml | 98 +----- .../mantle/yield_yak_mantle_schema.yml | 98 +----- models/yield_yak/yield_yak_schema.yml | 81 +---- 170 files changed, 904 insertions(+), 944 deletions(-) rename {macros => dex/macros}/models/_project/yield_yak/yield_yak_trades.sql (100%) rename models/bebop/bebop_trades_schema.yml => dex/models/_projects/bebop/_schema.yml (100%) rename models/bebop/arbitrum/bebop_arbitrum_schema.yml => dex/models/_projects/bebop/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_blend_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_jam_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql (100%) rename models/bebop/base/bebop_base_schema.yml => dex/models/_projects/bebop/base/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/base/bebop_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/base/bebop_blend_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/base/bebop_jam_base_trades.sql (100%) rename {models => dex/models/_projects}/bebop/bebop_trades.sql (100%) rename models/bebop/bnb/bebop_bnb_schema.yml => dex/models/_projects/bebop/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/bnb/bebop_bnb_trades.sql (100%) rename {models => dex/models/_projects}/bebop/bnb/bebop_jam_bnb_trades.sql (100%) rename models/bebop/ethereum/bebop_ethereum_schema.yml => dex/models/_projects/bebop/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_blend_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_jam_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/bebop/ethereum/bebop_rfq_ethereum_trades.sql (100%) rename models/bebop/optimism/bebop_optimism_schema.yml => dex/models/_projects/bebop/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_jam_optimism_trades.sql (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_optimism_trades.sql (100%) rename {models => dex/models/_projects}/bebop/optimism/bebop_rfq_optimism_trades.sql (100%) rename models/bebop/polygon/bebop_polygon_schema.yml => dex/models/_projects/bebop/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_blend_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_jam_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_polygon_trades.sql (100%) rename {models => dex/models/_projects}/bebop/polygon/bebop_rfq_polygon_trades.sql (100%) rename models/bebop/scroll/bebop_scroll_schema.yml => dex/models/_projects/bebop/scroll/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/scroll/bebop_jam_scroll_trades.sql (100%) rename {models => dex/models/_projects}/bebop/scroll/bebop_scroll_trades.sql (100%) rename models/bebop/zksync/bebop_zksync_schema.yml => dex/models/_projects/bebop/zksync/_schema.yml (100%) rename {models => dex/models/_projects}/bebop/zksync/bebop_jam_zksync_trades.sql (100%) rename {models => dex/models/_projects}/bebop/zksync/bebop_zksync_trades.sql (100%) create mode 100644 dex/models/_projects/cow_protocol/_schema.yml rename {models => dex/models/_projects}/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/cow_protocol_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql (100%) rename models/dodo/dodo_trades_schema.yml => dex/models/_projects/dodo/_schema.yml (100%) rename models/dodo/arbitrum/dodo_arbitrum_schema.yml => dex/models/_projects/dodo/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql (100%) rename models/dodo/base/dodo_base_schema.yml => dex/models/_projects/dodo/base/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/base/dodo_aggregator_base_trades.sql (100%) rename models/dodo/bnb/dodo_bnb_schema.yml => dex/models/_projects/dodo/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/bnb/dodo_aggregator_bnb_trades.sql (100%) rename {models => dex/models/_projects}/dodo/dodo_aggregator_trades.sql (100%) rename models/dodo/ethereum/dodo_ethereum_schema.yml => dex/models/_projects/dodo/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/ethereum/dodo_aggregator_ethereum_trades.sql (100%) rename models/dodo/optimism/dodo_optimism_schema.yml => dex/models/_projects/dodo/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/optimism/dodo_aggregator_optimism_trades.sql (100%) rename models/dodo/polygon/dodo_polygon_schema.yml => dex/models/_projects/dodo/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/dodo/polygon/dodo_aggregator_polygon_trades.sql (100%) rename models/firebird_finance/optimism/firebird_finance_optimism_schema.yml => dex/models/_projects/firebird_finance/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/firebird_finance/optimism/firebird_finance_optimism_trades.sql (100%) rename models/kyberswap/kyberswap_trades_schema.yml => dex/models/_projects/kyberswap/_schema.yml (100%) rename models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml => dex/models/_projects/kyberswap/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql (100%) rename models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml => dex/models/_projects/kyberswap/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql (100%) rename models/kyberswap/base/kyberswap_base_schema.yml => dex/models/_projects/kyberswap/base/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/base/kyberswap_aggregator_base_trades.sql (100%) rename models/kyberswap/bnb/kyberswap_bnb_schema.yml => dex/models/_projects/kyberswap/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql (100%) rename models/kyberswap/ethereum/kyberswap_ethereum_schema.yml => dex/models/_projects/kyberswap/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/kyberswap/kyberswap_aggregator_trades.sql (100%) rename models/kyberswap/optimism/kyberswap_optimism_schema.yml => dex/models/_projects/kyberswap/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql (100%) rename models/kyberswap/polygon/kyberswap_polygon_schema.yml => dex/models/_projects/kyberswap/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql (100%) rename models/lifi/lifi_trades_schema.yml => dex/models/_projects/lifi/_schema.yml (100%) rename models/lifi/fantom/lifi_fantom_schema.yml => dex/models/_projects/lifi/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/lifi/fantom/lifi_fantom_trades.sql (100%) rename {models => dex/models/_projects}/lifi/fantom/lifi_v2_fantom_trades.sql (100%) rename {models => dex/models/_projects}/lifi/lifi_trades.sql (100%) rename models/lifi/optimism/lifi_optimism_schema.yml => dex/models/_projects/lifi/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/lifi/optimism/lifi_optimism_trades.sql (100%) rename {models => dex/models/_projects}/lifi/optimism/lifi_v2_optimism_trades.sql (100%) rename models/odos/odos_trades_schema.yml => dex/models/_projects/odos/_schema.yml (100%) rename models/odos/avalanche_c/odos_avalanche_c_schema.yml => dex/models/_projects/odos/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/odos/avalanche_c/odos_avalanche_c_trades.sql (100%) rename models/odos/base/odos_base_schema.yml => dex/models/_projects/odos/base/_schema.yml (100%) rename {models => dex/models/_projects}/odos/base/odos_base_trades.sql (100%) rename {models => dex/models/_projects}/odos/base/odos_v2_base_trades.sql (100%) rename models/odos/ethereum/odos_ethereum_schema.yml => dex/models/_projects/odos/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/odos/ethereum/odos_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/odos/ethereum/odos_v2_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/odos/odos_trades.sql (100%) rename models/odos/optimism/odos_optimism_schema.yml => dex/models/_projects/odos/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/odos/optimism/odos_optimism_trades.sql (100%) rename {models => dex/models/_projects}/odos/optimism/odos_v1_optimism_trades.sql (100%) rename {models => dex/models/_projects}/odos/optimism/odos_v2_optimism_trades.sql (100%) rename models/paraswap/paraswap_trades_schema.yml => dex/models/_projects/paraswap/_schema.yml (100%) rename models/paraswap/arbitrum/paraswap_arbitrum_schema.yml => dex/models/_projects/paraswap/arbitrum/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql (100%) rename models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml => dex/models/_projects/paraswap/avalanche_c/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql (100%) rename models/paraswap/base/paraswap_base_schema.yml => dex/models/_projects/paraswap/base/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v5_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v6_base_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/base/paraswap_v6_base_trades_decoded.sql (100%) rename models/paraswap/bnb/paraswap_bnb_schema.yml => dex/models/_projects/paraswap/bnb/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v4_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v5_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v6_bnb_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql (100%) rename models/paraswap/ethereum/paraswap_ethereum_schema.yml => dex/models/_projects/paraswap/ethereum/_schema.yml (81%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v4_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v5_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v6_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql (100%) rename models/paraswap/fantom/paraswap_fantom_schema.yml => dex/models/_projects/paraswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v5_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v6_fantom_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql (100%) rename models/paraswap/optimism/paraswap_optimism_schema.yml => dex/models/_projects/paraswap/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v5_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v6_optimism_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql (100%) rename {models => dex/models/_projects}/paraswap/paraswap_trades.sql (100%) rename models/paraswap/polygon/paraswap_polygon_schema.yml => dex/models/_projects/paraswap/polygon/_schema.yml (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v4_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v5_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v6_polygon_trades.sql (100%) rename {models => dex/models/_projects}/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql (100%) rename models/tokenlon/tokenlon_trades_schema.yml => dex/models/_projects/tokenlon/_schema.yml (100%) rename models/tokenlon/ethereum/tokenlon_ethereum_schema.yml => dex/models/_projects/tokenlon/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_ethereum_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql (100%) rename {models => dex/models/_projects}/tokenlon/tokenlon_trades.sql (100%) create mode 100644 dex/models/_projects/unidex/optimism/_schema.yml rename {models => dex/models/_projects}/unidex/optimism/unidex_optimism_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/_schema.yml create mode 100644 dex/models/_projects/yield_yak/arbitrum/_schema.yml rename {models => dex/models/_projects}/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/avalanche_c/_schema.yml rename {models => dex/models/_projects}/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql (100%) create mode 100644 dex/models/_projects/yield_yak/mantle/_schema.yml rename {models => dex/models/_projects}/yield_yak/mantle/yield_yak_mantle_trades.sql (100%) rename {models => dex/models/_projects}/yield_yak/yield_yak_trades.sql (100%) rename {models/dex => dex/models/aggregator_trades}/dex_aggregator_trades.sql (100%) delete mode 100644 models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml create mode 100644 models/paraswap/_schema.yml rename models/paraswap/{ethereum => }/paraswap_ethereum_airdrop_claims.sql (100%) diff --git a/macros/models/_project/yield_yak/yield_yak_trades.sql b/dex/macros/models/_project/yield_yak/yield_yak_trades.sql similarity index 100% rename from macros/models/_project/yield_yak/yield_yak_trades.sql rename to dex/macros/models/_project/yield_yak/yield_yak_trades.sql diff --git a/models/bebop/bebop_trades_schema.yml b/dex/models/_projects/bebop/_schema.yml similarity index 100% rename from models/bebop/bebop_trades_schema.yml rename to dex/models/_projects/bebop/_schema.yml diff --git a/models/bebop/arbitrum/bebop_arbitrum_schema.yml b/dex/models/_projects/bebop/arbitrum/_schema.yml similarity index 100% rename from models/bebop/arbitrum/bebop_arbitrum_schema.yml rename to dex/models/_projects/bebop/arbitrum/_schema.yml diff --git a/models/bebop/arbitrum/bebop_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_blend_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_blend_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_blend_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_blend_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_jam_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_jam_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_jam_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_jam_arbitrum_trades.sql diff --git a/models/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql b/dex/models/_projects/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql similarity index 100% rename from models/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql rename to dex/models/_projects/bebop/arbitrum/bebop_rfq_arbitrum_trades.sql diff --git a/models/bebop/base/bebop_base_schema.yml b/dex/models/_projects/bebop/base/_schema.yml similarity index 100% rename from models/bebop/base/bebop_base_schema.yml rename to dex/models/_projects/bebop/base/_schema.yml diff --git a/models/bebop/base/bebop_base_trades.sql b/dex/models/_projects/bebop/base/bebop_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_base_trades.sql diff --git a/models/bebop/base/bebop_blend_base_trades.sql b/dex/models/_projects/bebop/base/bebop_blend_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_blend_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_blend_base_trades.sql diff --git a/models/bebop/base/bebop_jam_base_trades.sql b/dex/models/_projects/bebop/base/bebop_jam_base_trades.sql similarity index 100% rename from models/bebop/base/bebop_jam_base_trades.sql rename to dex/models/_projects/bebop/base/bebop_jam_base_trades.sql diff --git a/models/bebop/bebop_trades.sql b/dex/models/_projects/bebop/bebop_trades.sql similarity index 100% rename from models/bebop/bebop_trades.sql rename to dex/models/_projects/bebop/bebop_trades.sql diff --git a/models/bebop/bnb/bebop_bnb_schema.yml b/dex/models/_projects/bebop/bnb/_schema.yml similarity index 100% rename from models/bebop/bnb/bebop_bnb_schema.yml rename to dex/models/_projects/bebop/bnb/_schema.yml diff --git a/models/bebop/bnb/bebop_bnb_trades.sql b/dex/models/_projects/bebop/bnb/bebop_bnb_trades.sql similarity index 100% rename from models/bebop/bnb/bebop_bnb_trades.sql rename to dex/models/_projects/bebop/bnb/bebop_bnb_trades.sql diff --git a/models/bebop/bnb/bebop_jam_bnb_trades.sql b/dex/models/_projects/bebop/bnb/bebop_jam_bnb_trades.sql similarity index 100% rename from models/bebop/bnb/bebop_jam_bnb_trades.sql rename to dex/models/_projects/bebop/bnb/bebop_jam_bnb_trades.sql diff --git a/models/bebop/ethereum/bebop_ethereum_schema.yml b/dex/models/_projects/bebop/ethereum/_schema.yml similarity index 100% rename from models/bebop/ethereum/bebop_ethereum_schema.yml rename to dex/models/_projects/bebop/ethereum/_schema.yml diff --git a/models/bebop/ethereum/bebop_blend_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_blend_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_blend_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_blend_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_jam_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_jam_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_jam_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_jam_ethereum_trades.sql diff --git a/models/bebop/ethereum/bebop_rfq_ethereum_trades.sql b/dex/models/_projects/bebop/ethereum/bebop_rfq_ethereum_trades.sql similarity index 100% rename from models/bebop/ethereum/bebop_rfq_ethereum_trades.sql rename to dex/models/_projects/bebop/ethereum/bebop_rfq_ethereum_trades.sql diff --git a/models/bebop/optimism/bebop_optimism_schema.yml b/dex/models/_projects/bebop/optimism/_schema.yml similarity index 100% rename from models/bebop/optimism/bebop_optimism_schema.yml rename to dex/models/_projects/bebop/optimism/_schema.yml diff --git a/models/bebop/optimism/bebop_jam_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_jam_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_jam_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_jam_optimism_trades.sql diff --git a/models/bebop/optimism/bebop_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_optimism_trades.sql diff --git a/models/bebop/optimism/bebop_rfq_optimism_trades.sql b/dex/models/_projects/bebop/optimism/bebop_rfq_optimism_trades.sql similarity index 100% rename from models/bebop/optimism/bebop_rfq_optimism_trades.sql rename to dex/models/_projects/bebop/optimism/bebop_rfq_optimism_trades.sql diff --git a/models/bebop/polygon/bebop_polygon_schema.yml b/dex/models/_projects/bebop/polygon/_schema.yml similarity index 100% rename from models/bebop/polygon/bebop_polygon_schema.yml rename to dex/models/_projects/bebop/polygon/_schema.yml diff --git a/models/bebop/polygon/bebop_blend_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_blend_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_blend_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_blend_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_jam_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_jam_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_jam_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_jam_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_polygon_trades.sql diff --git a/models/bebop/polygon/bebop_rfq_polygon_trades.sql b/dex/models/_projects/bebop/polygon/bebop_rfq_polygon_trades.sql similarity index 100% rename from models/bebop/polygon/bebop_rfq_polygon_trades.sql rename to dex/models/_projects/bebop/polygon/bebop_rfq_polygon_trades.sql diff --git a/models/bebop/scroll/bebop_scroll_schema.yml b/dex/models/_projects/bebop/scroll/_schema.yml similarity index 100% rename from models/bebop/scroll/bebop_scroll_schema.yml rename to dex/models/_projects/bebop/scroll/_schema.yml diff --git a/models/bebop/scroll/bebop_jam_scroll_trades.sql b/dex/models/_projects/bebop/scroll/bebop_jam_scroll_trades.sql similarity index 100% rename from models/bebop/scroll/bebop_jam_scroll_trades.sql rename to dex/models/_projects/bebop/scroll/bebop_jam_scroll_trades.sql diff --git a/models/bebop/scroll/bebop_scroll_trades.sql b/dex/models/_projects/bebop/scroll/bebop_scroll_trades.sql similarity index 100% rename from models/bebop/scroll/bebop_scroll_trades.sql rename to dex/models/_projects/bebop/scroll/bebop_scroll_trades.sql diff --git a/models/bebop/zksync/bebop_zksync_schema.yml b/dex/models/_projects/bebop/zksync/_schema.yml similarity index 100% rename from models/bebop/zksync/bebop_zksync_schema.yml rename to dex/models/_projects/bebop/zksync/_schema.yml diff --git a/models/bebop/zksync/bebop_jam_zksync_trades.sql b/dex/models/_projects/bebop/zksync/bebop_jam_zksync_trades.sql similarity index 100% rename from models/bebop/zksync/bebop_jam_zksync_trades.sql rename to dex/models/_projects/bebop/zksync/bebop_jam_zksync_trades.sql diff --git a/models/bebop/zksync/bebop_zksync_trades.sql b/dex/models/_projects/bebop/zksync/bebop_zksync_trades.sql similarity index 100% rename from models/bebop/zksync/bebop_zksync_trades.sql rename to dex/models/_projects/bebop/zksync/bebop_zksync_trades.sql diff --git a/dex/models/_projects/cow_protocol/_schema.yml b/dex/models/_projects/cow_protocol/_schema.yml new file mode 100644 index 00000000000..3fe644f02d4 --- /dev/null +++ b/dex/models/_projects/cow_protocol/_schema.yml @@ -0,0 +1,325 @@ +version: 2 + +models: + - name: cow_protocol_trades + meta: + blockchain: ethereum + sector: dex + project: cow_protocol + contributors: bh2smith, gentrexha + config: + tags: ['ethereum','cow_protocol','trades','dex','aggregator','cross-chain'] + description: > + CoW Protocol trades on all chains across all contracts and versions. + This table will load dex trades downstream. + This particular version of the protocol trades table is intended to conform + with the columns as specified in dex.trades sector. + A more detailed version of the protocol trades table can be found under `cow_protocol_ethereum.trades` + columns: + - &blockchain + name: blockchain + description: "Blockchain which the project is deployed" + - &project + name: project + description: "Project name" + - &version + name: version + description: "Version of the contract built and deployed by the project" + - &block_date + name: block_date + description: "UTC event block date of each trade" + - &block_time + name: block_time + description: "UTC event block time of each trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Trader address owning the order being filled" + - &tx_to + name: tx_to + description: "Address which received the token bought" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + + - name: cow_protocol_arbitrum_trades + meta: + blockchain: arbitrum + project: cow_protocol + contributors: olgafetisova + config: + tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Arbitrum Chain + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Arbitrum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Arbitrum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" + + - name: cow_protocol_ethereum_trades + meta: + blockchain: ethereum + project: cow_protocol + contributors: bh2smith, gentrexha + config: + tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_number + description: "Block number that the transaction was included" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Ethereum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Ethereum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" + - name: order_type + description: "SELL/BUY string indicating if the trade was a sell or buy order" + - name: partial_fill + description: "Boolean indicating if the order is partially fill-able" + - name: fill_proportion + + - name: cow_protocol_gnosis_trades + meta: + blockchain: gnosis + project: cow_protocol + contributors: bh2smith + config: + tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator'] + description: > + CoW Protocol enriched trades list on Gnosis Chain + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - order_uid + - evt_index + columns: + - name: block_date + description: "UTC event block date of each trade" + - name: block_time + description: "Timestamp for block event time in UTC" + - name: tx_hash + description: "Transaction hash of trade" + - name: evt_index + description: "Index of the corresponding trade event" + - name: order_uid + description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." + - name: trader + description: "Owner of the order being traded (aka trader)" + - name: sell_token_address + description: "Ethereum address of sellToken" + - name: sell_token + description: "Symbol of sellToken" + - name: buy_token_address + description: "Ethereum address of buyToken" + - name: buy_token + description: "Symbol of buyToken" + - name: token_pair + description: "Ordered concatenation of buy/sell token symbols involved in trade" + - name: units_sold + description: "Units of sellToken sold (incorporates token decimals)." + - name: atoms_sold + description: "Amount (in atoms) of the sellToken sold" + - name: units_bought + description: "Units of buyToken bought (incorporates token decimals)." + - name: atoms_bought + description: "Amount (in atoms) of the buyToken bought" + - name: usd_value + description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" + - name: buy_price + description: "USD price of buyToken at the time of trade" + - name: buy_value_usd + description: "USD value of buyToken amount" + - name: sell_price + description: "USD price of sellToken at the time of trade" + - name: sell_value_usd + description: "USD value of sellToken amount" + - name: fee + description: "Unit of fee taken (in sellToken) - incorporating token decimals" + - name: fee_atoms + description: "Amount (in atoms) of fee - taken in sellToken" + - name: fee_usd + description: "USD value of trade fee" + - name: app_data + description: "Hashed metadata related to trade event (full content available on IPFS)" + - name: receiver + description: "Recipient of trades buyToken" + - name: limit_sell_amount + description: "Sell amount side of the limit price" + - name: limit_buy_amount + description: "Buy amount side of the limit price" + - name: valid_to + description: "epoch timestamp (in seconds) until when the order was valid" + - name: flags + description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" + - name: surplus_usd + description: "USD value of surplus (difference between limit and executed price)" \ No newline at end of file diff --git a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql b/dex/models/_projects/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql similarity index 100% rename from models/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql rename to dex/models/_projects/cow_protocol/arbitrum/cow_protocol_arbitrum_trades.sql diff --git a/models/cow_protocol/cow_protocol_trades.sql b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql similarity index 100% rename from models/cow_protocol/cow_protocol_trades.sql rename to dex/models/_projects/cow_protocol/cow_protocol_trades.sql diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql similarity index 100% rename from models/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql rename to dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql similarity index 100% rename from models/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql rename to dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql diff --git a/models/dodo/dodo_trades_schema.yml b/dex/models/_projects/dodo/_schema.yml similarity index 100% rename from models/dodo/dodo_trades_schema.yml rename to dex/models/_projects/dodo/_schema.yml diff --git a/models/dodo/arbitrum/dodo_arbitrum_schema.yml b/dex/models/_projects/dodo/arbitrum/_schema.yml similarity index 100% rename from models/dodo/arbitrum/dodo_arbitrum_schema.yml rename to dex/models/_projects/dodo/arbitrum/_schema.yml diff --git a/models/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql similarity index 100% rename from models/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql rename to dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql diff --git a/models/dodo/base/dodo_base_schema.yml b/dex/models/_projects/dodo/base/_schema.yml similarity index 100% rename from models/dodo/base/dodo_base_schema.yml rename to dex/models/_projects/dodo/base/_schema.yml diff --git a/models/dodo/base/dodo_aggregator_base_trades.sql b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql similarity index 100% rename from models/dodo/base/dodo_aggregator_base_trades.sql rename to dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql diff --git a/models/dodo/bnb/dodo_bnb_schema.yml b/dex/models/_projects/dodo/bnb/_schema.yml similarity index 100% rename from models/dodo/bnb/dodo_bnb_schema.yml rename to dex/models/_projects/dodo/bnb/_schema.yml diff --git a/models/dodo/bnb/dodo_aggregator_bnb_trades.sql b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql similarity index 100% rename from models/dodo/bnb/dodo_aggregator_bnb_trades.sql rename to dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql diff --git a/models/dodo/dodo_aggregator_trades.sql b/dex/models/_projects/dodo/dodo_aggregator_trades.sql similarity index 100% rename from models/dodo/dodo_aggregator_trades.sql rename to dex/models/_projects/dodo/dodo_aggregator_trades.sql diff --git a/models/dodo/ethereum/dodo_ethereum_schema.yml b/dex/models/_projects/dodo/ethereum/_schema.yml similarity index 100% rename from models/dodo/ethereum/dodo_ethereum_schema.yml rename to dex/models/_projects/dodo/ethereum/_schema.yml diff --git a/models/dodo/ethereum/dodo_aggregator_ethereum_trades.sql b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql similarity index 100% rename from models/dodo/ethereum/dodo_aggregator_ethereum_trades.sql rename to dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql diff --git a/models/dodo/optimism/dodo_optimism_schema.yml b/dex/models/_projects/dodo/optimism/_schema.yml similarity index 100% rename from models/dodo/optimism/dodo_optimism_schema.yml rename to dex/models/_projects/dodo/optimism/_schema.yml diff --git a/models/dodo/optimism/dodo_aggregator_optimism_trades.sql b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql similarity index 100% rename from models/dodo/optimism/dodo_aggregator_optimism_trades.sql rename to dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql diff --git a/models/dodo/polygon/dodo_polygon_schema.yml b/dex/models/_projects/dodo/polygon/_schema.yml similarity index 100% rename from models/dodo/polygon/dodo_polygon_schema.yml rename to dex/models/_projects/dodo/polygon/_schema.yml diff --git a/models/dodo/polygon/dodo_aggregator_polygon_trades.sql b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql similarity index 100% rename from models/dodo/polygon/dodo_aggregator_polygon_trades.sql rename to dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql diff --git a/models/firebird_finance/optimism/firebird_finance_optimism_schema.yml b/dex/models/_projects/firebird_finance/optimism/_schema.yml similarity index 100% rename from models/firebird_finance/optimism/firebird_finance_optimism_schema.yml rename to dex/models/_projects/firebird_finance/optimism/_schema.yml diff --git a/models/firebird_finance/optimism/firebird_finance_optimism_trades.sql b/dex/models/_projects/firebird_finance/optimism/firebird_finance_optimism_trades.sql similarity index 100% rename from models/firebird_finance/optimism/firebird_finance_optimism_trades.sql rename to dex/models/_projects/firebird_finance/optimism/firebird_finance_optimism_trades.sql diff --git a/models/kyberswap/kyberswap_trades_schema.yml b/dex/models/_projects/kyberswap/_schema.yml similarity index 100% rename from models/kyberswap/kyberswap_trades_schema.yml rename to dex/models/_projects/kyberswap/_schema.yml diff --git a/models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml b/dex/models/_projects/kyberswap/arbitrum/_schema.yml similarity index 100% rename from models/kyberswap/arbitrum/kyberswap_arbitrum_schema.yml rename to dex/models/_projects/kyberswap/arbitrum/_schema.yml diff --git a/models/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql b/dex/models/_projects/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql similarity index 100% rename from models/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql rename to dex/models/_projects/kyberswap/arbitrum/kyberswap_aggregator_arbitrum_trades.sql diff --git a/models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml b/dex/models/_projects/kyberswap/avalanche_c/_schema.yml similarity index 100% rename from models/kyberswap/avalanche_c/kyberswap_avalanche_c_schema.yml rename to dex/models/_projects/kyberswap/avalanche_c/_schema.yml diff --git a/models/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql b/dex/models/_projects/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql similarity index 100% rename from models/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql rename to dex/models/_projects/kyberswap/avalanche_c/kyberswap_aggregator_avalanche_c_trades.sql diff --git a/models/kyberswap/base/kyberswap_base_schema.yml b/dex/models/_projects/kyberswap/base/_schema.yml similarity index 100% rename from models/kyberswap/base/kyberswap_base_schema.yml rename to dex/models/_projects/kyberswap/base/_schema.yml diff --git a/models/kyberswap/base/kyberswap_aggregator_base_trades.sql b/dex/models/_projects/kyberswap/base/kyberswap_aggregator_base_trades.sql similarity index 100% rename from models/kyberswap/base/kyberswap_aggregator_base_trades.sql rename to dex/models/_projects/kyberswap/base/kyberswap_aggregator_base_trades.sql diff --git a/models/kyberswap/bnb/kyberswap_bnb_schema.yml b/dex/models/_projects/kyberswap/bnb/_schema.yml similarity index 100% rename from models/kyberswap/bnb/kyberswap_bnb_schema.yml rename to dex/models/_projects/kyberswap/bnb/_schema.yml diff --git a/models/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql b/dex/models/_projects/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql similarity index 100% rename from models/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql rename to dex/models/_projects/kyberswap/bnb/kyberswap_aggregator_bnb_trades.sql diff --git a/models/kyberswap/ethereum/kyberswap_ethereum_schema.yml b/dex/models/_projects/kyberswap/ethereum/_schema.yml similarity index 100% rename from models/kyberswap/ethereum/kyberswap_ethereum_schema.yml rename to dex/models/_projects/kyberswap/ethereum/_schema.yml diff --git a/models/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql b/dex/models/_projects/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql similarity index 100% rename from models/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql rename to dex/models/_projects/kyberswap/ethereum/kyberswap_aggregator_ethereum_trades.sql diff --git a/models/kyberswap/kyberswap_aggregator_trades.sql b/dex/models/_projects/kyberswap/kyberswap_aggregator_trades.sql similarity index 100% rename from models/kyberswap/kyberswap_aggregator_trades.sql rename to dex/models/_projects/kyberswap/kyberswap_aggregator_trades.sql diff --git a/models/kyberswap/optimism/kyberswap_optimism_schema.yml b/dex/models/_projects/kyberswap/optimism/_schema.yml similarity index 100% rename from models/kyberswap/optimism/kyberswap_optimism_schema.yml rename to dex/models/_projects/kyberswap/optimism/_schema.yml diff --git a/models/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql b/dex/models/_projects/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql similarity index 100% rename from models/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql rename to dex/models/_projects/kyberswap/optimism/kyberswap_aggregator_optimism_trades.sql diff --git a/models/kyberswap/polygon/kyberswap_polygon_schema.yml b/dex/models/_projects/kyberswap/polygon/_schema.yml similarity index 100% rename from models/kyberswap/polygon/kyberswap_polygon_schema.yml rename to dex/models/_projects/kyberswap/polygon/_schema.yml diff --git a/models/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql b/dex/models/_projects/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql similarity index 100% rename from models/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql rename to dex/models/_projects/kyberswap/polygon/kyberswap_aggregator_polygon_trades.sql diff --git a/models/lifi/lifi_trades_schema.yml b/dex/models/_projects/lifi/_schema.yml similarity index 100% rename from models/lifi/lifi_trades_schema.yml rename to dex/models/_projects/lifi/_schema.yml diff --git a/models/lifi/fantom/lifi_fantom_schema.yml b/dex/models/_projects/lifi/fantom/_schema.yml similarity index 100% rename from models/lifi/fantom/lifi_fantom_schema.yml rename to dex/models/_projects/lifi/fantom/_schema.yml diff --git a/models/lifi/fantom/lifi_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql similarity index 100% rename from models/lifi/fantom/lifi_fantom_trades.sql rename to dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql diff --git a/models/lifi/fantom/lifi_v2_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_v2_fantom_trades.sql similarity index 100% rename from models/lifi/fantom/lifi_v2_fantom_trades.sql rename to dex/models/_projects/lifi/fantom/lifi_v2_fantom_trades.sql diff --git a/models/lifi/lifi_trades.sql b/dex/models/_projects/lifi/lifi_trades.sql similarity index 100% rename from models/lifi/lifi_trades.sql rename to dex/models/_projects/lifi/lifi_trades.sql diff --git a/models/lifi/optimism/lifi_optimism_schema.yml b/dex/models/_projects/lifi/optimism/_schema.yml similarity index 100% rename from models/lifi/optimism/lifi_optimism_schema.yml rename to dex/models/_projects/lifi/optimism/_schema.yml diff --git a/models/lifi/optimism/lifi_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql similarity index 100% rename from models/lifi/optimism/lifi_optimism_trades.sql rename to dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql diff --git a/models/lifi/optimism/lifi_v2_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_v2_optimism_trades.sql similarity index 100% rename from models/lifi/optimism/lifi_v2_optimism_trades.sql rename to dex/models/_projects/lifi/optimism/lifi_v2_optimism_trades.sql diff --git a/models/odos/odos_trades_schema.yml b/dex/models/_projects/odos/_schema.yml similarity index 100% rename from models/odos/odos_trades_schema.yml rename to dex/models/_projects/odos/_schema.yml diff --git a/models/odos/avalanche_c/odos_avalanche_c_schema.yml b/dex/models/_projects/odos/avalanche_c/_schema.yml similarity index 100% rename from models/odos/avalanche_c/odos_avalanche_c_schema.yml rename to dex/models/_projects/odos/avalanche_c/_schema.yml diff --git a/models/odos/avalanche_c/odos_avalanche_c_trades.sql b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql similarity index 100% rename from models/odos/avalanche_c/odos_avalanche_c_trades.sql rename to dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql diff --git a/models/odos/base/odos_base_schema.yml b/dex/models/_projects/odos/base/_schema.yml similarity index 100% rename from models/odos/base/odos_base_schema.yml rename to dex/models/_projects/odos/base/_schema.yml diff --git a/models/odos/base/odos_base_trades.sql b/dex/models/_projects/odos/base/odos_base_trades.sql similarity index 100% rename from models/odos/base/odos_base_trades.sql rename to dex/models/_projects/odos/base/odos_base_trades.sql diff --git a/models/odos/base/odos_v2_base_trades.sql b/dex/models/_projects/odos/base/odos_v2_base_trades.sql similarity index 100% rename from models/odos/base/odos_v2_base_trades.sql rename to dex/models/_projects/odos/base/odos_v2_base_trades.sql diff --git a/models/odos/ethereum/odos_ethereum_schema.yml b/dex/models/_projects/odos/ethereum/_schema.yml similarity index 100% rename from models/odos/ethereum/odos_ethereum_schema.yml rename to dex/models/_projects/odos/ethereum/_schema.yml diff --git a/models/odos/ethereum/odos_ethereum_trades.sql b/dex/models/_projects/odos/ethereum/odos_ethereum_trades.sql similarity index 100% rename from models/odos/ethereum/odos_ethereum_trades.sql rename to dex/models/_projects/odos/ethereum/odos_ethereum_trades.sql diff --git a/models/odos/ethereum/odos_v2_ethereum_trades.sql b/dex/models/_projects/odos/ethereum/odos_v2_ethereum_trades.sql similarity index 100% rename from models/odos/ethereum/odos_v2_ethereum_trades.sql rename to dex/models/_projects/odos/ethereum/odos_v2_ethereum_trades.sql diff --git a/models/odos/odos_trades.sql b/dex/models/_projects/odos/odos_trades.sql similarity index 100% rename from models/odos/odos_trades.sql rename to dex/models/_projects/odos/odos_trades.sql diff --git a/models/odos/optimism/odos_optimism_schema.yml b/dex/models/_projects/odos/optimism/_schema.yml similarity index 100% rename from models/odos/optimism/odos_optimism_schema.yml rename to dex/models/_projects/odos/optimism/_schema.yml diff --git a/models/odos/optimism/odos_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_optimism_trades.sql diff --git a/models/odos/optimism/odos_v1_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_v1_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_v1_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_v1_optimism_trades.sql diff --git a/models/odos/optimism/odos_v2_optimism_trades.sql b/dex/models/_projects/odos/optimism/odos_v2_optimism_trades.sql similarity index 100% rename from models/odos/optimism/odos_v2_optimism_trades.sql rename to dex/models/_projects/odos/optimism/odos_v2_optimism_trades.sql diff --git a/models/paraswap/paraswap_trades_schema.yml b/dex/models/_projects/paraswap/_schema.yml similarity index 100% rename from models/paraswap/paraswap_trades_schema.yml rename to dex/models/_projects/paraswap/_schema.yml diff --git a/models/paraswap/arbitrum/paraswap_arbitrum_schema.yml b/dex/models/_projects/paraswap/arbitrum/_schema.yml similarity index 100% rename from models/paraswap/arbitrum/paraswap_arbitrum_schema.yml rename to dex/models/_projects/paraswap/arbitrum/_schema.yml diff --git a/models/paraswap/arbitrum/paraswap_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v5_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades.sql diff --git a/models/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql b/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql similarity index 100% rename from models/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql rename to dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql diff --git a/models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml b/dex/models/_projects/paraswap/avalanche_c/_schema.yml similarity index 100% rename from models/paraswap/avalanche_c/paraswap_avalanche_c_schema.yml rename to dex/models/_projects/paraswap/avalanche_c/_schema.yml diff --git a/models/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v5_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades.sql diff --git a/models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql b/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql similarity index 100% rename from models/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql rename to dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql diff --git a/models/paraswap/base/paraswap_base_schema.yml b/dex/models/_projects/paraswap/base/_schema.yml similarity index 100% rename from models/paraswap/base/paraswap_base_schema.yml rename to dex/models/_projects/paraswap/base/_schema.yml diff --git a/models/paraswap/base/paraswap_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_base_trades.sql diff --git a/models/paraswap/base/paraswap_v5_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_v5_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_v5_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_v5_base_trades.sql diff --git a/models/paraswap/base/paraswap_v6_base_trades.sql b/dex/models/_projects/paraswap/base/paraswap_v6_base_trades.sql similarity index 100% rename from models/paraswap/base/paraswap_v6_base_trades.sql rename to dex/models/_projects/paraswap/base/paraswap_v6_base_trades.sql diff --git a/models/paraswap/base/paraswap_v6_base_trades_decoded.sql b/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql similarity index 100% rename from models/paraswap/base/paraswap_v6_base_trades_decoded.sql rename to dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql diff --git a/models/paraswap/bnb/paraswap_bnb_schema.yml b/dex/models/_projects/paraswap/bnb/_schema.yml similarity index 100% rename from models/paraswap/bnb/paraswap_bnb_schema.yml rename to dex/models/_projects/paraswap/bnb/_schema.yml diff --git a/models/paraswap/bnb/paraswap_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v4_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v4_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v4_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v4_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v5_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v5_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v5_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v5_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v6_bnb_trades.sql b/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v6_bnb_trades.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades.sql diff --git a/models/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql b/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql similarity index 100% rename from models/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql rename to dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql diff --git a/models/paraswap/ethereum/paraswap_ethereum_schema.yml b/dex/models/_projects/paraswap/ethereum/_schema.yml similarity index 81% rename from models/paraswap/ethereum/paraswap_ethereum_schema.yml rename to dex/models/_projects/paraswap/ethereum/_schema.yml index d75d4c78691..dbf518617a7 100644 --- a/models/paraswap/ethereum/paraswap_ethereum_schema.yml +++ b/dex/models/_projects/paraswap/ethereum/_schema.yml @@ -1,68 +1,6 @@ version: 2 -models: - - name: paraswap_ethereum_airdrop_claims - meta: - blockchain: ethereum - sector: airdrop - project: paraswap - contributors: hildobby - config: - tags: ['table', 'airdrop', 'ethereum', 'claim', 'paraswap'] - description: "List of claim transactions for the $PSP airdrop" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - recipient - - evt_index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &block_time - name: block_time - description: "Block time of transaction" - - &block_month - name: block_month - description: "Block month of transaction" - - &block_number - name: block_number - description: "Block number of transaction" - - &project - name: project - description: "Project name" - - &airdrop_number - name: airdrop_number - description: "Airdrop identifier number" - - &recipient - name: recipient - description: "Airdrop recipient" - - &contract_address - name: contract_address - description: "Contract addressed used" - - &tx_hash - name: tx_hash - description: "Transaction hash" - - &amount_raw - name: amount_raw - description: "Raw amount of tokens" - - &amount_original - name: amount_original - description: "Original amount of tokens" - - &amount_usd - name: amount_usd - description: "USD value of tokens" - - &token_address - name: token_address - description: "Token address" - - &token_symbol - name: token_symbol - description: "Token symbol" - - &evt_index - name: evt_index - description: "Event index" - +models: - name: paraswap_v4_ethereum_trades meta: blockchain: ethereum diff --git a/models/paraswap/ethereum/paraswap_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v4_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v4_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v4_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v4_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v5_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v5_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v5_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v5_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v6_ethereum_trades.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v6_ethereum_trades.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades.sql diff --git a/models/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql b/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql rename to dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql diff --git a/models/paraswap/fantom/paraswap_fantom_schema.yml b/dex/models/_projects/paraswap/fantom/_schema.yml similarity index 100% rename from models/paraswap/fantom/paraswap_fantom_schema.yml rename to dex/models/_projects/paraswap/fantom/_schema.yml diff --git a/models/paraswap/fantom/paraswap_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v5_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_v5_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v5_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v5_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v6_fantom_trades.sql b/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v6_fantom_trades.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades.sql diff --git a/models/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql b/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql similarity index 100% rename from models/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql rename to dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql diff --git a/models/paraswap/optimism/paraswap_optimism_schema.yml b/dex/models/_projects/paraswap/optimism/_schema.yml similarity index 100% rename from models/paraswap/optimism/paraswap_optimism_schema.yml rename to dex/models/_projects/paraswap/optimism/_schema.yml diff --git a/models/paraswap/optimism/paraswap_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v5_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_v5_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v5_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v5_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v6_optimism_trades.sql b/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v6_optimism_trades.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades.sql diff --git a/models/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql b/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql similarity index 100% rename from models/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql rename to dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql diff --git a/models/paraswap/paraswap_trades.sql b/dex/models/_projects/paraswap/paraswap_trades.sql similarity index 100% rename from models/paraswap/paraswap_trades.sql rename to dex/models/_projects/paraswap/paraswap_trades.sql diff --git a/models/paraswap/polygon/paraswap_polygon_schema.yml b/dex/models/_projects/paraswap/polygon/_schema.yml similarity index 100% rename from models/paraswap/polygon/paraswap_polygon_schema.yml rename to dex/models/_projects/paraswap/polygon/_schema.yml diff --git a/models/paraswap/polygon/paraswap_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v4_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v4_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v4_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v4_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v5_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v5_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v5_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v5_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v6_polygon_trades.sql b/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v6_polygon_trades.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades.sql diff --git a/models/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql b/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql similarity index 100% rename from models/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql rename to dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql diff --git a/models/tokenlon/tokenlon_trades_schema.yml b/dex/models/_projects/tokenlon/_schema.yml similarity index 100% rename from models/tokenlon/tokenlon_trades_schema.yml rename to dex/models/_projects/tokenlon/_schema.yml diff --git a/models/tokenlon/ethereum/tokenlon_ethereum_schema.yml b/dex/models/_projects/tokenlon/ethereum/_schema.yml similarity index 100% rename from models/tokenlon/ethereum/tokenlon_ethereum_schema.yml rename to dex/models/_projects/tokenlon/ethereum/_schema.yml diff --git a/models/tokenlon/ethereum/tokenlon_ethereum_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_ethereum_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v1_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_amm_v2_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_pmm_v5_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v1_trades.sql diff --git a/models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql similarity index 100% rename from models/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql rename to dex/models/_projects/tokenlon/ethereum/tokenlon_v5_ethereum_rfq_v2_trades.sql diff --git a/models/tokenlon/tokenlon_trades.sql b/dex/models/_projects/tokenlon/tokenlon_trades.sql similarity index 100% rename from models/tokenlon/tokenlon_trades.sql rename to dex/models/_projects/tokenlon/tokenlon_trades.sql diff --git a/dex/models/_projects/unidex/optimism/_schema.yml b/dex/models/_projects/unidex/optimism/_schema.yml new file mode 100644 index 00000000000..0de7bc11f0f --- /dev/null +++ b/dex/models/_projects/unidex/optimism/_schema.yml @@ -0,0 +1,99 @@ +version: 2 + +models: + - name: unidex_optimism_trades + meta: + blockchain: optimism + sector: dex + project: unidex + contributors: ARDev097 + config: + tags: ['optimism','trades', 'unidex','dex'] + description: > + unidex dex trades on optimism + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - check_dex_aggregator_seed: + blockchain: optimism + project: unidex + version: 1 + columns: + - &blockchain + name: blockchain + description: "Blockchain on which the project is deployed" + - &project + name: project + description: "The underlying protocol/project where the swap took place" + - &version + name: version + description: "The version of the protocol/project" + - &block_month + name: block_month + description: "Month of the transaction" + - &block_date + name: block_date + description: "Date of the transaction" + - &block_time + name: block_time + description: "Time of the transaction" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "The hash of the transaction" + - &tx_from + name: tx_from + description: "The address that originated the transaction; based on the optimism.transactions table" + - &tx_to + name: tx_to + description: "The address receiving the transaction; based on the optimism.transactions table" + - &evt_index + name: evt_index + description: "Event index number" + - &trace_address + name: trace_address + description: "" \ No newline at end of file diff --git a/models/unidex/optimism/unidex_optimism_trades.sql b/dex/models/_projects/unidex/optimism/unidex_optimism_trades.sql similarity index 100% rename from models/unidex/optimism/unidex_optimism_trades.sql rename to dex/models/_projects/unidex/optimism/unidex_optimism_trades.sql diff --git a/dex/models/_projects/yield_yak/_schema.yml b/dex/models/_projects/yield_yak/_schema.yml new file mode 100644 index 00000000000..54303a59964 --- /dev/null +++ b/dex/models/_projects/yield_yak/_schema.yml @@ -0,0 +1,79 @@ +version: 2 + +models: + - name: yield_yak_trades + meta: + blockchain: avalanche_c, arbitrum, mantle + sector: dex + project: yield_yak + contributors: Henrystats, angus_1 + config: + tags: ['avalanche_c', 'yield_yak','trades', 'dex', 'aggregator', 'Henrystats', 'angus_1', 'cross-chain', 'arbitrum', 'mantle'] + description: > + yield yak aggregator trades on all chains across all contracts and versions. This table will load dex trades downstream. + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "Address of the trace within the call graph forest" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" \ No newline at end of file diff --git a/dex/models/_projects/yield_yak/arbitrum/_schema.yml b/dex/models/_projects/yield_yak/arbitrum/_schema.yml new file mode 100644 index 00000000000..218be819acd --- /dev/null +++ b/dex/models/_projects/yield_yak/arbitrum/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_arbitrum_trades + meta: + blockchain: arbitrum + sector: dex + project: yield_yak + contributors: angus_1 + config: + tags: ['arbitrum','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on arbitrum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: arbitrum + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql b/dex/models/_projects/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql similarity index 100% rename from models/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql rename to dex/models/_projects/yield_yak/arbitrum/yield_yak_arbitrum_trades.sql diff --git a/dex/models/_projects/yield_yak/avalanche_c/_schema.yml b/dex/models/_projects/yield_yak/avalanche_c/_schema.yml new file mode 100644 index 00000000000..745843b9720 --- /dev/null +++ b/dex/models/_projects/yield_yak/avalanche_c/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_avalanche_c_trades + meta: + blockchain: avalanche_c + sector: dex + project: yield_yak + contributors: Henrystats + config: + tags: ['avalanche_c','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on avalanche_c + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: avalanche_c + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql b/dex/models/_projects/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql similarity index 100% rename from models/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql rename to dex/models/_projects/yield_yak/avalanche_c/yield_yak_avalanche_c_trades.sql diff --git a/dex/models/_projects/yield_yak/mantle/_schema.yml b/dex/models/_projects/yield_yak/mantle/_schema.yml new file mode 100644 index 00000000000..9be02b99d00 --- /dev/null +++ b/dex/models/_projects/yield_yak/mantle/_schema.yml @@ -0,0 +1,96 @@ +version: 2 + +models: + - name: yield_yak_mantle_trades + meta: + blockchain: mantle + sector: dex + project: yield_yak + contributors: angus_1 + config: + tags: ['mantle','trades', 'aggregator', 'yield_yak','dex'] + description: > + yield yak aggregator trades on mantle + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + - check_dex_aggregator_seed: + blockchain: mantle + project: yield_yak + version: 1 + columns: + - name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: block_date + description: "UTC event block date of each DEX trade" + - name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the transaction" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the transaction" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the transaction" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the transaction" + - &tx_to + name: tx_to + description: "Address which received the transaction" + - &trace_address + name: trace_address + description: "" + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" \ No newline at end of file diff --git a/models/yield_yak/mantle/yield_yak_mantle_trades.sql b/dex/models/_projects/yield_yak/mantle/yield_yak_mantle_trades.sql similarity index 100% rename from models/yield_yak/mantle/yield_yak_mantle_trades.sql rename to dex/models/_projects/yield_yak/mantle/yield_yak_mantle_trades.sql diff --git a/models/yield_yak/yield_yak_trades.sql b/dex/models/_projects/yield_yak/yield_yak_trades.sql similarity index 100% rename from models/yield_yak/yield_yak_trades.sql rename to dex/models/_projects/yield_yak/yield_yak_trades.sql diff --git a/models/dex/dex_aggregator_trades.sql b/dex/models/aggregator_trades/dex_aggregator_trades.sql similarity index 100% rename from models/dex/dex_aggregator_trades.sql rename to dex/models/aggregator_trades/dex_aggregator_trades.sql diff --git a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml b/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml deleted file mode 100644 index 68f3a0fdc48..00000000000 --- a/models/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml +++ /dev/null @@ -1,109 +0,0 @@ -version: 2 - -models: - - name: cow_protocol_arbitrum_trades - meta: - blockchain: arbitrum - project: cow_protocol - contributors: olgafetisova - config: - tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Arbitrum Chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Arbitrum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Arbitrum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" diff --git a/models/cow_protocol/cow_protocol_schema.yml b/models/cow_protocol/cow_protocol_schema.yml index e5e30100826..3cade8424ec 100644 --- a/models/cow_protocol/cow_protocol_schema.yml +++ b/models/cow_protocol/cow_protocol_schema.yml @@ -1,20 +1,15 @@ version: 2 models: - - name: cow_protocol_trades + - name: cow_protocol_batches meta: - blockchain: ethereum - sector: dex + blockchain: gnosis project: cow_protocol - contributors: bh2smith, gentrexha + contributors: bh2smith config: - tags: ['ethereum','cow_protocol','trades','dex','aggregator','cross-chain'] + tags: ['gnosis','cow_protocol','batches', 'dex', 'aggregator', 'auction'] description: > - CoW Protocol trades on all chains across all contracts and versions. - This table will load dex trades downstream. - This particular version of the protocol trades table is intended to conform - with the columns as specified in dex.trades sector. - A more detailed version of the protocol trades table can be found under `cow_protocol_ethereum.trades` + CoW Protocol enriched batches table cross-chain columns: - &blockchain name: blockchain @@ -31,75 +26,6 @@ models: - &block_time name: block_time description: "UTC event block time of each trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Trader address owning the order being filled" - - &tx_to - name: tx_to - description: "Address which received the token bought" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - name: cow_protocol_batches - meta: - blockchain: gnosis - project: cow_protocol - contributors: bh2smith - config: - tags: ['gnosis','cow_protocol','batches', 'dex', 'aggregator', 'auction'] - description: > - CoW Protocol enriched batches table cross-chain - columns: - - *blockchain - - *project - - *version - - *block_date - - *block_time - &num_trades name: num_trades description: Number of trades settled within the batch @@ -112,7 +38,9 @@ models: - &solver_address name: solver_address description: Ethereum address of solver settled batch (equivalent to tx.from) - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &gas_price name: gas_price description: Gas price (in WEI) of transaction diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml index 9dfe0df5c8b..76dd468aacf 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml @@ -24,124 +24,6 @@ models: name: active description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - - name: cow_protocol_ethereum_trades - meta: - blockchain: ethereum - project: cow_protocol - contributors: bh2smith, gentrexha - config: - tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_number - name: block_number - description: "Block number that the transaction was included" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Ethereum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Ethereum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" - - &order_type - name: order_type - description: "SELL/BUY string indicating if the trade was a sell or buy order" - - &partial_fill - name: partial_fill - description: "Boolean indicating if the order is partially fill-able" - - &fill_proportion - name: fill_proportion - - name: cow_protocol_ethereum_batches meta: blockchain: ethereum diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml index af34905c012..fc89caaae7a 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml @@ -23,112 +23,6 @@ models: - &active name: active description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - - name: cow_protocol_gnosis_trades - meta: - blockchain: gnosis - project: cow_protocol - contributors: bh2smith - config: - tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator'] - description: > - CoW Protocol enriched trades list on Gnosis Chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - order_uid - - evt_index - columns: - - &block_date - name: block_date - description: "UTC event block date of each trade" - - &block_time - name: block_time - description: "Timestamp for block event time in UTC" - - &tx_hash - name: tx_hash - description: "Transaction hash of trade" - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - &order_uid - name: order_uid - description: "Unique identifier of order involved in trade. Note that partially fillable orders can be touched multiple times so this is not a unique ID for trade events." - - &trader - name: trader - description: "Owner of the order being traded (aka trader)" - - &sell_token_address - name: sell_token_address - description: "Ethereum address of sellToken" - - &sell_token - name: sell_token - description: "Symbol of sellToken" - - &buy_token_address - name: buy_token_address - description: "Ethereum address of buyToken" - - &buy_token - name: buy_token - description: "Symbol of buyToken" - - &token_pair - name: token_pair - description: "Ordered concatenation of buy/sell token symbols involved in trade" - - &units_sold - name: units_sold - description: "Units of sellToken sold (incorporates token decimals)." - - &atoms_sold - name: atoms_sold - description: "Amount (in atoms) of the sellToken sold" - - &units_bought - name: units_bought - description: "Units of buyToken bought (incorporates token decimals)." - - &atoms_bought - name: atoms_bought - description: "Amount (in atoms) of the buyToken bought" - - &usd_value - name: usd_value - description: "USD value of trade (taken as the max of buy value, sell value when both available, otherwise whichever is known)" - - &buy_price - name: buy_price - description: "USD price of buyToken at the time of trade" - - &buy_value_usd - name: buy_value_usd - description: "USD value of buyToken amount" - - &sell_price - name: sell_price - description: "USD price of sellToken at the time of trade" - - &sell_value_usd - name: sell_value_usd - description: "USD value of sellToken amount" - - &fee - name: fee - description: "Unit of fee taken (in sellToken) - incorporating token decimals" - - &fee_atoms - name: fee_atoms - description: "Amount (in atoms) of fee - taken in sellToken" - - &fee_usd - name: fee_usd - description: "USD value of trade fee" - - &app_data - name: app_data - description: "Hashed metadata related to trade event (full content available on IPFS)" - - &receiver - name: receiver - description: "Recipient of trades buyToken" - - &limit_sell_amount - name: limit_sell_amount - description: "Sell amount side of the limit price" - - &limit_buy_amount - name: limit_buy_amount - description: "Buy amount side of the limit price" - - &valid_to - name: valid_to - description: "epoch timestamp (in seconds) until when the order was valid" - - &flags - name: flags - description: "bitmap with additional trade information (cf. https://github.com/cowprotocol/contracts/blob/main/src/contracts/libraries/GPv2Trade.sol#L58-L94)" - - &surplus_usd - name: surplus_usd - description: "USD value of surplus (difference between limit and executed price)" - name: cow_protocol_gnosis_batches meta: blockchain: gnosis diff --git a/models/paraswap/_schema.yml b/models/paraswap/_schema.yml new file mode 100644 index 00000000000..1fd2dec2cc8 --- /dev/null +++ b/models/paraswap/_schema.yml @@ -0,0 +1,64 @@ +version: 2 + +models: + - name: paraswap_ethereum_airdrop_claims + meta: + blockchain: ethereum + sector: airdrop + project: paraswap + contributors: hildobby + config: + tags: ['table', 'airdrop', 'ethereum', 'claim', 'paraswap'] + description: "List of claim transactions for the $PSP airdrop" + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - recipient + - evt_index + columns: + - &blockchain + name: blockchain + description: "Blockchain" + - &block_time + name: block_time + description: "Block time of transaction" + - &block_month + name: block_month + description: "Block month of transaction" + - &block_number + name: block_number + description: "Block number of transaction" + - &project + name: project + description: "Project name" + - &airdrop_number + name: airdrop_number + description: "Airdrop identifier number" + - &recipient + name: recipient + description: "Airdrop recipient" + - &contract_address + name: contract_address + description: "Contract addressed used" + - &tx_hash + name: tx_hash + description: "Transaction hash" + - &amount_raw + name: amount_raw + description: "Raw amount of tokens" + - &amount_original + name: amount_original + description: "Original amount of tokens" + - &amount_usd + name: amount_usd + description: "USD value of tokens" + - &token_address + name: token_address + description: "Token address" + - &token_symbol + name: token_symbol + description: "Token symbol" + - &evt_index + name: evt_index + description: "Event index" \ No newline at end of file diff --git a/models/paraswap/ethereum/paraswap_ethereum_airdrop_claims.sql b/models/paraswap/paraswap_ethereum_airdrop_claims.sql similarity index 100% rename from models/paraswap/ethereum/paraswap_ethereum_airdrop_claims.sql rename to models/paraswap/paraswap_ethereum_airdrop_claims.sql diff --git a/models/unidex/optimism/unidex_optimism_schema.yml b/models/unidex/optimism/unidex_optimism_schema.yml index 421e30803c5..eb1c8039466 100644 --- a/models/unidex/optimism/unidex_optimism_schema.yml +++ b/models/unidex/optimism/unidex_optimism_schema.yml @@ -1,16 +1,16 @@ version: 2 -models: - - name: unidex_optimism_trades +models: + - name: unidex_v1_optimism_perpetual_trades meta: blockchain: optimism - sector: dex - project: unidex + sector: perpetual + project: unidex_v1 contributors: ARDev097 config: - tags: ['optimism','trades', 'unidex','dex'] + tags: ['optimism', 'unidex', 'unidex_v1', 'perpetuals', 'perps'] description: > - unidex dex trades on optimism + Unidex_v1 perpetuals trades on Optimism tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -19,108 +19,17 @@ models: - project - version - tx_hash - - evt_index - - check_dex_aggregator_seed: - blockchain: optimism - project: unidex - version: 1 + - evt_index columns: - &blockchain name: blockchain description: "Blockchain on which the project is deployed" - - &project - name: project - description: "The underlying protocol/project where the swap took place" - - &version - name: version - description: "The version of the protocol/project" - - &block_month - name: block_month - description: "Month of the transaction" - &block_date name: block_date description: "Date of the transaction" - &block_time name: block_time description: "Time of the transaction" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "The hash of the transaction" - - &tx_from - name: tx_from - description: "The address that originated the transaction; based on the optimism.transactions table" - - &tx_to - name: tx_to - description: "The address receiving the transaction; based on the optimism.transactions table" - - &evt_index - name: evt_index - description: "Event index number" - - &trace_address - name: trace_address - description: "" - - - name: unidex_v1_optimism_perpetual_trades - meta: - blockchain: optimism - sector: perpetual - project: unidex_v1 - contributors: ARDev097 - config: - tags: ['optimism', 'unidex', 'unidex_v1', 'perpetuals', 'perps'] - description: > - Unidex_v1 perpetuals trades on Optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - columns: - - *blockchain - - *block_date - - *block_time - &virtual_asset name: virtual_asset description: "How the protocol represents the underlying asset" @@ -148,8 +57,12 @@ models: - &trade name: trade description: "Indicates the trade's direction whether a short, long, of if a position is being closed" - - *project - - *version + - &project + name: project + description: "The underlying protocol/project where the swap took place" + - &version + name: version + description: "The version of the protocol/project" - &frontend name: frontend description: "The frontend protocol/project where the specific swap was executed; built on top of the 'project' and defaults to the 'project' if no other frontend is specified" @@ -159,11 +72,21 @@ models: - &volume_raw name: volume_raw description: "The size of the position in raw form" - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - *block_month + - &tx_hash + name: tx_hash + description: "The hash of the transaction" + - &tx_from + name: tx_from + description: "The address that originated the transaction; based on the optimism.transactions table" + - &tx_to + name: tx_to + description: "The address receiving the transaction; based on the optimism.transactions table" + - &evt_index + name: evt_index + description: "Event index number" + - &block_month + name: block_month + description: "Month of the transaction" - name: unidex_v2_optimism_perpetual_trades meta: diff --git a/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml b/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml index 156935e7a2d..c4d8535b097 100644 --- a/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml +++ b/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: yield_yak - contributors: angus_1 - config: - tags: ['arbitrum','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: arbitrum - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_arbitrum_deposits meta: blockchain: arbitrum @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml b/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml index d19bfff1d08..40b7de500f5 100644 --- a/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml +++ b/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: yield_yak - contributors: Henrystats - config: - tags: ['avalanche_c','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: avalanche_c - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_avalanche_c_deposits meta: blockchain: avalanche_c @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/mantle/yield_yak_mantle_schema.yml b/models/yield_yak/mantle/yield_yak_mantle_schema.yml index df0322029c1..b8677c67091 100644 --- a/models/yield_yak/mantle/yield_yak_mantle_schema.yml +++ b/models/yield_yak/mantle/yield_yak_mantle_schema.yml @@ -1,100 +1,6 @@ version: 2 models: - - name: yield_yak_mantle_trades - meta: - blockchain: mantle - sector: dex - project: yield_yak - contributors: angus_1 - config: - tags: ['mantle','trades', 'aggregator', 'yield_yak','dex'] - description: > - yield yak aggregator trades on mantle - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_aggregator_seed: - blockchain: mantle - project: yield_yak - version: 1 - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - name: yield_yak_mantle_deposits meta: blockchain: mantle @@ -120,7 +26,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" diff --git a/models/yield_yak/yield_yak_schema.yml b/models/yield_yak/yield_yak_schema.yml index 7062261dc57..e19f7104dd7 100644 --- a/models/yield_yak/yield_yak_schema.yml +++ b/models/yield_yak/yield_yak_schema.yml @@ -1,83 +1,6 @@ version: 2 models: - - name: yield_yak_trades - meta: - blockchain: avalanche_c, arbitrum, mantle - sector: dex - project: yield_yak - contributors: Henrystats, angus_1 - config: - tags: ['avalanche_c', 'yield_yak','trades', 'dex', 'aggregator', 'Henrystats', 'angus_1', 'cross-chain', 'arbitrum', 'mantle'] - description: > - yield yak aggregator trades on all chains across all contracts and versions. This table will load dex trades downstream. - columns: - - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: block_date - description: "UTC event block date of each DEX trade" - - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "Address of the trace within the call graph forest" - - &evt_index - name: evt_index - description: "The position of this event log within this transaction" - - name: yield_yak_deposits meta: blockchain: avalanche_c, arbitrum, mantle @@ -104,7 +27,9 @@ models: - &tx_hash name: tx_hash description: "Transaction hash of the deposit/withdraw/reinvest/swap" - - *evt_index + - &evt_index + name: evt_index + description: "The position of this event log within this transaction" - &tx_index name: tx_index description: "Index of the transaction within the block" From f32df2eb569a566d49a2082cb854bde1bfd86bab Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 16:17:57 -0400 Subject: [PATCH 27/63] fix compile errors --- .../models}/airswap_compatible_trades.sql | 0 .../models}/balancer_compatible_trades.sql | 0 .../models}/clipper_compatible_trades.sql | 0 .../macros/models}/dex_atomic_arbitrages.sql | 0 .../macros/models}/dex_sandwiched.sql | 0 .../macros/models}/dex_sandwiches.sql | 0 .../macros/models}/dodo_compatible_trades.sql | 0 .../models}/enrich_curve_dex_trades.sql | 0 .../macros/models}/enrich_dex_trades.sql | 0 .../generic_spot_compatible_trades.sql | 0 .../models}/kyberswap_compatible_trades.sql | 0 .../models}/maverick_compatible_trades.sql | 0 .../models}/openocean_compatible_trades.sql | 0 .../models}/trader_joe_compatible_trades.sql | 0 .../models}/uniswap_compatible_trades.sql | 0 .../balancer/{ => labels}/_schema.yml | 0 .../{ => labels}/labels_balancer_v2_pools.sql | 5 +- .../labels_balancer_v2_pools_arbitrum.sql | 1 + .../labels_balancer_v2_pools_avalanche_c.sql | 1 + .../labels_balancer_v2_pools_base.sql | 1 + .../labels_balancer_v2_pools_ethereum.sql | 1 + .../labels_balancer_v2_pools_gnosis.sql | 1 + .../labels_balancer_v2_pools_optimism.sql | 1 + .../labels_balancer_v2_pools_polygon.sql | 1 + .../labels_balancer_v2_pools_zkevm.sql | 1 + .../_projects/balancer/pools/_schema.yml | 268 +++++++++ .../balancer/pools/balancer_pools_fees.sql | 0 .../balancer_v2_arbitrum_pools_fees.sql | 0 .../balancer_v2_avalanche_c_pools_fees.sql | 0 .../pools}/balancer_v2_base_pools_fees.sql | 0 .../balancer_v2_ethereum_pools_fees.sql | 0 .../pools}/balancer_v2_gnosis_pools_fees.sql | 0 .../balancer_v2_optimism_pools_fees.sql | 0 .../pools}/balancer_v2_polygon_pools_fees.sql | 0 .../pools}/balancer_v2_zkevm_pools_fees.sql | 0 .../models/_projects/curvefi/celo/_schema.yml | 0 .../curvefi/celo/curvefi_celo_pools.sql | 0 .../_projects/curvefi/ethereum/_schema.yml | 0 .../curvefi_ethereum_pool_details.sql | 4 +- .../ethereum/curvefi_ethereum_view_pools.sql | 2 +- .../_projects/curvefi/fantom/_schema.yml | 0 .../fantom/curvefi_fantom_pool_tokens.sql | 2 +- .../_projects/curvefi/optimism/_schema.yml | 40 ++ .../optimism/curvefi_optimism_pools.sql | 2 +- .../models/_projects}/curvefi/readme.md | 0 .../ethereum/oneinch_ethereum_schema.yml | 47 +- .../_projects/paraswap/ethereum/_schema.yml | 24 +- dex/models/aggregator_trades/_schema.yml | 94 ++++ dex/models/arbitrages/_schema.yml | 92 +++ dex/models/prices/_schema.yml | 522 +----------------- dex/models/sandwiches/_schema.yml | 151 +++-- macros/models/_sector/add_amount_usd.sql | 2 +- models/_project/balancer/pools/_schema.yml | 72 +-- .../balancer/pools/arbitrum/_schema.yml | 64 +-- .../balancer/pools/avalanche_c/_schema.yml | 64 +-- .../_project/balancer/pools/base/_schema.yml | 64 +-- .../balancer/pools/ethereum/_schema.yml | 64 +-- .../balancer/pools/gnosis/_schema.yml | 64 +-- .../balancer/pools/optimism/_schema.yml | 64 +-- .../balancer/pools/polygon/_schema.yml | 64 +-- .../_project/balancer/pools/zkevm/_schema.yml | 64 +-- models/_project/oneinch/_schema.yml | 47 ++ .../oneinch_ethereum_airdrop_claims.sql | 0 .../optimism/curvefi_optimism_schema.yml | 44 +- models/dex/dex_schema.yml | 270 ++------- sources/_subprojects/spellbook/_sources.yml | 11 +- 66 files changed, 776 insertions(+), 1443 deletions(-) rename {macros/models/_sector/dex => dex/macros/models}/airswap_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/balancer_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/clipper_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_atomic_arbitrages.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_sandwiched.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dex_sandwiches.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/dodo_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/enrich_curve_dex_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/enrich_dex_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/generic_spot_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/kyberswap_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/maverick_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/openocean_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/trader_joe_compatible_trades.sql (100%) rename {macros/models/_sector/dex => dex/macros/models}/uniswap_compatible_trades.sql (100%) rename dex/models/_projects/balancer/{ => labels}/_schema.yml (100%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools.sql (91%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_arbitrum.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_avalanche_c.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_base.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_ethereum.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_gnosis.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_optimism.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_polygon.sql (99%) rename dex/models/_projects/balancer/{ => labels}/labels_balancer_v2_pools_zkevm.sql (99%) create mode 100644 dex/models/_projects/balancer/pools/_schema.yml rename {models/_project => dex/models/_projects}/balancer/pools/balancer_pools_fees.sql (100%) rename {models/_project/balancer/pools/arbitrum => dex/models/_projects/balancer/pools}/balancer_v2_arbitrum_pools_fees.sql (100%) rename {models/_project/balancer/pools/avalanche_c => dex/models/_projects/balancer/pools}/balancer_v2_avalanche_c_pools_fees.sql (100%) rename {models/_project/balancer/pools/base => dex/models/_projects/balancer/pools}/balancer_v2_base_pools_fees.sql (100%) rename {models/_project/balancer/pools/ethereum => dex/models/_projects/balancer/pools}/balancer_v2_ethereum_pools_fees.sql (100%) rename {models/_project/balancer/pools/gnosis => dex/models/_projects/balancer/pools}/balancer_v2_gnosis_pools_fees.sql (100%) rename {models/_project/balancer/pools/optimism => dex/models/_projects/balancer/pools}/balancer_v2_optimism_pools_fees.sql (100%) rename {models/_project/balancer/pools/polygon => dex/models/_projects/balancer/pools}/balancer_v2_polygon_pools_fees.sql (100%) rename {models/_project/balancer/pools/zkevm => dex/models/_projects/balancer/pools}/balancer_v2_zkevm_pools_fees.sql (100%) rename models/curvefi/celo/curvefi_celo_schema.yml => dex/models/_projects/curvefi/celo/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/celo/curvefi_celo_pools.sql (100%) rename models/curvefi/ethereum/curvefi_ethereum_schema.yml => dex/models/_projects/curvefi/ethereum/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/ethereum/curvefi_ethereum_pool_details.sql (99%) rename {models => dex/models/_projects}/curvefi/ethereum/curvefi_ethereum_view_pools.sql (99%) rename models/curvefi/fantom/curvefi_fantom_schema.yml => dex/models/_projects/curvefi/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/curvefi/fantom/curvefi_fantom_pool_tokens.sql (99%) create mode 100644 dex/models/_projects/curvefi/optimism/_schema.yml rename {models => dex/models/_projects}/curvefi/optimism/curvefi_optimism_pools.sql (99%) rename {models => dex/models/_projects}/curvefi/readme.md (100%) create mode 100644 dex/models/aggregator_trades/_schema.yml create mode 100644 models/_project/oneinch/_schema.yml rename {dex/models/_projects/oneinch/ethereum => models/_project/oneinch}/oneinch_ethereum_airdrop_claims.sql (100%) diff --git a/macros/models/_sector/dex/airswap_compatible_trades.sql b/dex/macros/models/airswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/airswap_compatible_trades.sql rename to dex/macros/models/airswap_compatible_trades.sql diff --git a/macros/models/_sector/dex/balancer_compatible_trades.sql b/dex/macros/models/balancer_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/balancer_compatible_trades.sql rename to dex/macros/models/balancer_compatible_trades.sql diff --git a/macros/models/_sector/dex/clipper_compatible_trades.sql b/dex/macros/models/clipper_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/clipper_compatible_trades.sql rename to dex/macros/models/clipper_compatible_trades.sql diff --git a/macros/models/_sector/dex/dex_atomic_arbitrages.sql b/dex/macros/models/dex_atomic_arbitrages.sql similarity index 100% rename from macros/models/_sector/dex/dex_atomic_arbitrages.sql rename to dex/macros/models/dex_atomic_arbitrages.sql diff --git a/macros/models/_sector/dex/dex_sandwiched.sql b/dex/macros/models/dex_sandwiched.sql similarity index 100% rename from macros/models/_sector/dex/dex_sandwiched.sql rename to dex/macros/models/dex_sandwiched.sql diff --git a/macros/models/_sector/dex/dex_sandwiches.sql b/dex/macros/models/dex_sandwiches.sql similarity index 100% rename from macros/models/_sector/dex/dex_sandwiches.sql rename to dex/macros/models/dex_sandwiches.sql diff --git a/macros/models/_sector/dex/dodo_compatible_trades.sql b/dex/macros/models/dodo_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/dodo_compatible_trades.sql rename to dex/macros/models/dodo_compatible_trades.sql diff --git a/macros/models/_sector/dex/enrich_curve_dex_trades.sql b/dex/macros/models/enrich_curve_dex_trades.sql similarity index 100% rename from macros/models/_sector/dex/enrich_curve_dex_trades.sql rename to dex/macros/models/enrich_curve_dex_trades.sql diff --git a/macros/models/_sector/dex/enrich_dex_trades.sql b/dex/macros/models/enrich_dex_trades.sql similarity index 100% rename from macros/models/_sector/dex/enrich_dex_trades.sql rename to dex/macros/models/enrich_dex_trades.sql diff --git a/macros/models/_sector/dex/generic_spot_compatible_trades.sql b/dex/macros/models/generic_spot_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/generic_spot_compatible_trades.sql rename to dex/macros/models/generic_spot_compatible_trades.sql diff --git a/macros/models/_sector/dex/kyberswap_compatible_trades.sql b/dex/macros/models/kyberswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/kyberswap_compatible_trades.sql rename to dex/macros/models/kyberswap_compatible_trades.sql diff --git a/macros/models/_sector/dex/maverick_compatible_trades.sql b/dex/macros/models/maverick_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/maverick_compatible_trades.sql rename to dex/macros/models/maverick_compatible_trades.sql diff --git a/macros/models/_sector/dex/openocean_compatible_trades.sql b/dex/macros/models/openocean_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/openocean_compatible_trades.sql rename to dex/macros/models/openocean_compatible_trades.sql diff --git a/macros/models/_sector/dex/trader_joe_compatible_trades.sql b/dex/macros/models/trader_joe_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/trader_joe_compatible_trades.sql rename to dex/macros/models/trader_joe_compatible_trades.sql diff --git a/macros/models/_sector/dex/uniswap_compatible_trades.sql b/dex/macros/models/uniswap_compatible_trades.sql similarity index 100% rename from macros/models/_sector/dex/uniswap_compatible_trades.sql rename to dex/macros/models/uniswap_compatible_trades.sql diff --git a/dex/models/_projects/balancer/_schema.yml b/dex/models/_projects/balancer/labels/_schema.yml similarity index 100% rename from dex/models/_projects/balancer/_schema.yml rename to dex/models/_projects/balancer/labels/_schema.yml diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql similarity index 91% rename from dex/models/_projects/balancer/labels_balancer_v2_pools.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql index 57478b9e0a3..2507f8a739a 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools.sql @@ -1,5 +1,6 @@ -{{config(alias = 'balancer_v2_pools', - +{{config( + schema = 'labels', + alias = 'balancer_v2_pools', post_hook='{{ expose_spells(\'["ethereum", "arbitrum", "optimism", "polygon", "avalanche_c", "base", "gnosis", "zkevm"]\', "sector", "labels", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql index 0c3177a1abf..92a12c168f5 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_arbitrum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_arbitrum', post_hook = '{{ expose_spells(\'["arbitrum"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql index 71811eb75df..ef71780d697 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_avalanche_c.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_avalanche_c', post_hook = '{{ expose_spells(\'["avalanche_c"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql index 7eba615f28e..1b4c00b5f9e 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_base.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_base', post_hook = '{{ expose_spells(\'["base"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql index 99988d1bbeb..d103f357cb0 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_ethereum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_ethereum', post_hook = '{{ expose_spells(\'["ethereum"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql index bab1ec9fdb3..c907edd95e4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_gnosis.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_gnosis', post_hook = '{{ expose_spells(\'["gnosis"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql index a3e5b624cda..22a66efaaa4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_optimism.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_optimism', post_hook = '{{ expose_spells(\'["optimism"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql index 7710b10702f..11f9af6d31e 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_polygon.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_polygon', post_hook = '{{ expose_spells(\'["polygon"]\', "sector", diff --git a/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql similarity index 99% rename from dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql index 25d06550e35..8353fd05ce4 100644 --- a/dex/models/_projects/balancer/labels_balancer_v2_pools_zkevm.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql @@ -1,4 +1,5 @@ {{config( + schema = 'labels', alias = 'balancer_v2_pools_zkevm', post_hook = '{{ expose_spells(\'["zkevm"]\', "sector", diff --git a/dex/models/_projects/balancer/pools/_schema.yml b/dex/models/_projects/balancer/pools/_schema.yml new file mode 100644 index 00000000000..4c8d413147c --- /dev/null +++ b/dex/models/_projects/balancer/pools/_schema.yml @@ -0,0 +1,268 @@ +version: 2 + +models: + - name: balancer_pools_fees + meta: + blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, zkevm + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - block_number + - tx_hash + - index + columns: + - &blockchain + name: blockchain + description: "Blockchain" + - &version + name: version + description: "Version of Balancer where the liquidity pool used in transaction is deployed" + - &contract_address + name: contract_address + description: 'zkevm address for the liquidity pool used in transaction' + tests: + - not_null + - &tx_hash + name: tx_hash + description: 'Transaction hash' + tests: + - not_null + - &index + name: index + description: 'Event Index' + tests: + - not_null + - &tx_index + name: tx_index + description: 'Transaction Index' + tests: + - not_null + - &block_time + name: block_time + description: 'Block time in UTC' + tests: + - not_null + - &block_number + name: block_number + description: 'Event Block Number' + tests: + - not_null + - &swap_fee_percentage + name: swap_fee_percentage + description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' + tests: + - not_null + + - name: balancer_v2_arbitrum_pools_fees + meta: + blockchain: arbitrum + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['arbitrum', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_avalanche_c_pools_fees + meta: + blockchain: avalanche_c + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['avalanche_c', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_base_pools_fees + meta: + blockchain: base + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['base', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_ethereum_pools_fees + meta: + blockchain: ethereum + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['ethereum', 'balancer', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_gnosis_pools_fees + meta: + blockchain: gnosis + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['gnosis', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_optimism_pools_fees + meta: + blockchain: optimism + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['optimism', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_polygon_pools_fees + meta: + blockchain: polygon + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['polygon', 'balancer', 'pools', 'fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage + + - name: balancer_v2_zkevm_pools_fees + meta: + blockchain: zkevm + project: balancer_v2 + contributors: jacektrocinski, thetroyharris, viniabussafi + config: + tags: ['zkevm', 'balancer', 'pools_fees'] + description: > + Balancer v2 swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - *blockchain + - *version + - *contract_address + - *tx_hash + - *index + - *tx_index + - *block_time + - *block_number + - *swap_fee_percentage \ No newline at end of file diff --git a/models/_project/balancer/pools/balancer_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/balancer_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_pools_fees.sql diff --git a/models/_project/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql diff --git a/models/_project/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql diff --git a/models/_project/balancer/pools/base/balancer_v2_base_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/base/balancer_v2_base_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql diff --git a/models/_project/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql diff --git a/models/_project/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql diff --git a/models/_project/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql diff --git a/models/_project/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql diff --git a/models/_project/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql b/dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql similarity index 100% rename from models/_project/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql rename to dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql diff --git a/models/curvefi/celo/curvefi_celo_schema.yml b/dex/models/_projects/curvefi/celo/_schema.yml similarity index 100% rename from models/curvefi/celo/curvefi_celo_schema.yml rename to dex/models/_projects/curvefi/celo/_schema.yml diff --git a/models/curvefi/celo/curvefi_celo_pools.sql b/dex/models/_projects/curvefi/celo/curvefi_celo_pools.sql similarity index 100% rename from models/curvefi/celo/curvefi_celo_pools.sql rename to dex/models/_projects/curvefi/celo/curvefi_celo_pools.sql diff --git a/models/curvefi/ethereum/curvefi_ethereum_schema.yml b/dex/models/_projects/curvefi/ethereum/_schema.yml similarity index 100% rename from models/curvefi/ethereum/curvefi_ethereum_schema.yml rename to dex/models/_projects/curvefi/ethereum/_schema.yml diff --git a/models/curvefi/ethereum/curvefi_ethereum_pool_details.sql b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql similarity index 99% rename from models/curvefi/ethereum/curvefi_ethereum_pool_details.sql rename to dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql index 71dc10c2a21..cebcd240178 100644 --- a/models/curvefi/ethereum/curvefi_ethereum_pool_details.sql +++ b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_pool_details.sql @@ -1,6 +1,6 @@ {{ config( - - alias = 'pool_details' + schema = 'curvefi_ethereum' + , alias = 'pool_details' ) }} SELECT diff --git a/models/curvefi/ethereum/curvefi_ethereum_view_pools.sql b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql similarity index 99% rename from models/curvefi/ethereum/curvefi_ethereum_view_pools.sql rename to dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql index 46185b413f4..d398ad52dc0 100644 --- a/models/curvefi/ethereum/curvefi_ethereum_view_pools.sql +++ b/dex/models/_projects/curvefi/ethereum/curvefi_ethereum_view_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_ethereum', alias = 'view_pools', materialized='table', file_format = 'delta', diff --git a/models/curvefi/fantom/curvefi_fantom_schema.yml b/dex/models/_projects/curvefi/fantom/_schema.yml similarity index 100% rename from models/curvefi/fantom/curvefi_fantom_schema.yml rename to dex/models/_projects/curvefi/fantom/_schema.yml diff --git a/models/curvefi/fantom/curvefi_fantom_pool_tokens.sql b/dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql similarity index 99% rename from models/curvefi/fantom/curvefi_fantom_pool_tokens.sql rename to dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql index 83a2b84ee31..e58a957e2c8 100644 --- a/models/curvefi/fantom/curvefi_fantom_pool_tokens.sql +++ b/dex/models/_projects/curvefi/fantom/curvefi_fantom_pool_tokens.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_fantom', alias = 'pool_tokens', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/curvefi/optimism/_schema.yml b/dex/models/_projects/curvefi/optimism/_schema.yml new file mode 100644 index 00000000000..311dc638b22 --- /dev/null +++ b/dex/models/_projects/curvefi/optimism/_schema.yml @@ -0,0 +1,40 @@ +version: 2 + +models: + - name: curvefi_optimism_pools + meta: + blockchain: optimism + project: curvefi + contributors: msilb7 + config: + tags: ['optimism','curvefi','curve','dex'] + description: > + A table containing all known pools of curvefi on optimism (i.e. metapool, basicpool). Additional types should be monitored to ensure they're accurately shown. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - version + - tokenid + - token + - pool + columns: + - &version + name: version + description: "Versions of the pool: Basic Pool, Meta Pool, etc" + tests: + - not_null + - &tokenid + name: tokenid + description: "ID of the token in the pool" + tests: + - not_null + - &token + name: token + description: "Token Address" + tests: + - not_null + - &pool + name: pool + description: "Pool contract address" + tests: + - not_null \ No newline at end of file diff --git a/models/curvefi/optimism/curvefi_optimism_pools.sql b/dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql similarity index 99% rename from models/curvefi/optimism/curvefi_optimism_pools.sql rename to dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql index 0e4ae291ece..1f738fa0af3 100644 --- a/models/curvefi/optimism/curvefi_optimism_pools.sql +++ b/dex/models/_projects/curvefi/optimism/curvefi_optimism_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'curvefi_optimism', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/models/curvefi/readme.md b/dex/models/_projects/curvefi/readme.md similarity index 100% rename from models/curvefi/readme.md rename to dex/models/_projects/curvefi/readme.md diff --git a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml index a61e821d1b8..25c31b0bfae 100644 --- a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml +++ b/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml @@ -158,49 +158,4 @@ models: - name: transfer_to - name: transfers_between_players - name: minute - - name: block_month - - - name: oneinch_ethereum_airdrop_claims - meta: - blockchain: ethereum - sector: airdrop - project: oneinch - contributors: hildobby - config: - tags: ['table', 'airdrop', 'ethereum', 'claim', 'oneinch'] - description: "List of claim transactions for the $1INCH airdrop" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - tx_hash - - recipient - - evt_index - columns: - - name: blockchain - tests: - - not_null - - name: block_time - - name: block_number - description: "Block number of transaction" - - name: project - description: "Project name" - - name: airdrop_number - description: "Airdrop identifier number" - - name: recipient - description: "Airdrop recipient" - - name: contract_address - description: "Contract addressed used" - - name: tx_hash - description: "Transaction hash" - - name: amount_raw - description: "Raw amount of tokens" - - name: amount_original - description: "Original amount of tokens" - - name: amount_usd - description: "USD value of tokens" - - name: token_address - description: "Token address" - - name: token_symbol - description: "Token symbol" - - name: evt_index - description: "Event index" + - name: block_month \ No newline at end of file diff --git a/dex/models/_projects/paraswap/ethereum/_schema.yml b/dex/models/_projects/paraswap/ethereum/_schema.yml index dbf518617a7..312e8c69a76 100644 --- a/dex/models/_projects/paraswap/ethereum/_schema.yml +++ b/dex/models/_projects/paraswap/ethereum/_schema.yml @@ -26,15 +26,21 @@ models: project: paraswap version: 4 columns: - - *blockchain - - *project + - &blockchain + name: blockchain + description: "Blockchain" + - &project + name: project + description: "Project name" - &version name: version description: "Version of the contract built and deployed by the DEX project" - &block_date name: block_date description: "UTC event block date of each DEX trade" - - *block_time + - &block_time + name: block_time + description: "Block time of transaction" - &token_bought_symbol name: token_bought_symbol description: "Token symbol for token bought in the transaction" @@ -56,7 +62,9 @@ models: - &token_sold_amount_raw name: token_sold_amount_raw description: "Raw value of the token sold at time of execution in the original currency" - - *amount_usd + - &amount_usd + name: amount_usd + description: "USD value of tokens" - &token_bought_address name: token_bought_address description: "Contract address of the token bought" @@ -72,7 +80,9 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Transaction hash" - &tx_from name: tx_from description: "Address which initiated the transaction" @@ -82,7 +92,9 @@ models: - &trace_address name: trace_address description: "" - - *evt_index + - &evt_index + name: evt_index + description: "Event index" - name: paraswap_v5_ethereum_trades meta: diff --git a/dex/models/aggregator_trades/_schema.yml b/dex/models/aggregator_trades/_schema.yml new file mode 100644 index 00000000000..a645c9a4b7e --- /dev/null +++ b/dex/models/aggregator_trades/_schema.yml @@ -0,0 +1,94 @@ +version: 2 + +models: + - name: dex_aggregator_trades + meta: + blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb + sector: dex_aggregator + contributors: bh2smith, Henrystats, jeff-dude, rantum + config: + tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] + description: > + Aggregator trades on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_date + - blockchain + - project + - version + - tx_hash + - evt_index + - trace_address + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + tests: + - dbt_utils.accepted_range: + max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &maker + name: maker + description: "Address of trader who sold a token" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &trace_address + name: trace_address + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" \ No newline at end of file diff --git a/dex/models/arbitrages/_schema.yml b/dex/models/arbitrages/_schema.yml index 87af372997e..c7e50740644 100644 --- a/dex/models/arbitrages/_schema.yml +++ b/dex/models/arbitrages/_schema.yml @@ -1,6 +1,98 @@ version: 2 models: + - name: dex_atomic_arbitrages + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'atomic', 'arbitrages'] + description: > + DEX MEV Arbitrage Trades across all Chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - project_contract_address + - evt_index + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &block_month + name: block_month + description: "Month corresponding to the prices data" + - &block_number + name: block_number + description: "the block number of the block that the offer was created in" + - &token_sold_address + name: token_sold_address + description: "Contract address of the token sold" + - &token_bought_address + name: token_bought_address + description: "Contract address of the token bought" + - &token_sold_symbol + name: token_sold_symbol + description: "Token symbol for token sold in the trade" + - &token_bought_symbol + name: token_bought_symbol + description: "Token symbol for token bought in the trade" + - &maker + name: maker + description: "Address of trader who sold a token" + - &taker + name: taker + description: "Address of trader who purchased a token" + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" + - &trace_address + name: trace_address + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" + - &tx_index + name: tx_index + description: "the transaction index of the transaction that the offer was created in" + - &token_sold_amount_raw + name: token_sold_amount_raw + description: "Raw value of the token sold at time of execution in the original currency" + - &token_bought_amount_raw + name: token_bought_amount_raw + description: "Raw value of the token bought at time of execution in the original currency" + - &token_sold_amount + name: token_sold_amount + description: "Value of the token sold at time of execution in the original currency" + - &token_bought_amount + name: token_bought_amount + description: "Value of the token bought at time of execution in the original currency" + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" + - name: dex_ethereum_atomic_arbitrages meta: blockchain: ethereum diff --git a/dex/models/prices/_schema.yml b/dex/models/prices/_schema.yml index cf9bfbbefa7..57110aa8aca 100644 --- a/dex/models/prices/_schema.yml +++ b/dex/models/prices/_schema.yml @@ -1,7 +1,6 @@ version: 2 models: - - name: dex_prices meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom @@ -35,523 +34,4 @@ models: description: "Median price of the token in USD within the corresponding hour" - &sample_size name: sample_size - description: "Number of times the token was traded within the coressponding hour" - - - - - - - name: dex_aggregator_trades - meta: - blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb - sector: dex_aggregator - contributors: bh2smith, Henrystats, jeff-dude, rantum - config: - tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] - description: > - Aggregator trades on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - columns: - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - tests: - - dbt_utils.accepted_range: - max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the trade" - - &tx_to - name: tx_to - description: "Address which received the trade" - - &trace_address - name: trace_address - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - - name: dex_incentive_mappings - meta: - blockchain: optimism - sector: dex - contributors: msilb7 - config: - tags: ['optimism', 'amm', 'trades', 'dex', 'cross-chain','incentives'] - description: > - Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions - columns: - - *blockchain - - *project - - *version - - &pool_contract - name: pool_contract - description: "Address of the liquidity pool contract" - - &incentives_contract - name: incentives_contract - description: "Address of the contract where incentives are stored and emitted." - - &incentives_type - name: incentives_type - description: "Description of the incentives address type." - - &evt_block_time - name: evt_block_time - description: 'Block time in UTC' - - &evt_block_number - name: evt_block_number - description: 'Block Number' - - *contract_address - - &evt_tx_hash - name: evt_tx_hash - description: 'Tx Hash' - - *evt_index - - - name: dex_pools - meta: - blockchain: ethereum, arbitrum, polygon - sector: dex - contributors: hildobby - config: - tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] - description: > - DEX pools on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *project - - *version - - &pool - name: pool - description: "DEX pool smart contract address" - - &fee - name: fee - description: "Defined fee" - - &token0 - name: token0 - description: "First token in pool" - - &token1 - name: token1 - description: "Second token in pool" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_raw_pool_initializations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools initialization calls - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - - tx_hash - - call_trace_address - columns: - - *blockchain - - &type - name: type - description: "Pool implementation standard" - - *version - - *block_time - - *pool - - *token0 - - *token1 - - *tx_hash - - &call_trace_address - name: call_trace_address - - - name: dex_raw_pool_creations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - &tokens - name: tokens - description: "Tokens in the pool" - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: rn - - - name: dex_raw_pools - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - *tokens - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_offers - meta: - blockchain: optimism - sector: dex - contributors: denver - config: - tags: ['optimism', 'order-books', 'offers', 'dex', 'cross-chain', 'offers'] - description: > - DEX offers across all chains across all contracts and versions - columns: - - *blockchain - - *project - - *version - - *block_date - - *block_time - - &block_number - name: block_number - description: "the block number of the block that the offer was created in" - - &tx_index - name: tx_index - description: "the transaction index of the transaction that the offer was created in" - - *evt_index - - *maker - - &sell_token_symbol - name: sell_token_symbol - description: "the token the offer is selling" - - &buy_token_symbol - name: buy_token_symbol - description: "the token the offer is buying" - - &sell_token_address - name: sell_token_address - description: "the address of the token the offer is selling" - - &buy_token_address - name: buy_token_address - description: "the address of the token the offer is buying" - - *token_pair - - &sell_amount - name: sell_amount - description: "the amount of the token that the maker is selling" - - &buy_amount - name: buy_amount - description: "the amount of the token that the maker is buying" - - &sell_amount_raw - name: sell_amount_raw - description: "the raw amount of the token that the maker is selling" - - &buy_amount_raw - name: buy_amount_raw - description: "the raw amount of the token that the maker is buying" - - &sold_amount - name: sold_amount - description: "the amount of the token that the offer has sold" - - &bought_amount - name: bought_amount - description: "the amount of the token that the offer has bought" - - &sold_amount_raw - name: sold_amount_raw - description: "the raw amount of the token that the offer has sold" - - &bought_amount_raw - name: bought_amount_raw - description: "the raw amount of the token that the offer has bought" - - &sell_amount_usd - name: sell_amount_usd - description: "the amount of the token that the maker is selling in USD (at the time of the offer creation)" - - &buy_amount_usd - name: buy_amount_usd - description: "the amount of the token that the maker is buying in USD (at the time of the offer creation)" - - &sold_amount_usd - name: sold_amount_usd - description: "the amount of the token that the offer has sold in USD (summed bassed on the price at the time of each trade (if any))" - - &bought_amount_usd - name: bought_amount_usd - description: "the amount of the token that the offer has bought in USD (summed bassed on the price at the time of each trade (if any))" - - &txn_cost_usd - name: txn_cost_usd - description: "the cost of the transaction in USD" - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - - - name: dex_flashloans - meta: - blockchain: arbitrum, avalanche_c, optimism, polygon, ethereum, fantom - sector: lending - contributors: hildobby - config: - tags: ['arbitrum', 'avalanche_c', 'optimism', 'polygon', 'ethereum', 'fantom', 'flashloans'] - description: > - All Flashloans - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - name: blockchain - - name: project - - name: version - - name: block_time - - name: block_number - - name: amount - - name: amount_usd - - name: tx_hash - - name: evt_index - - name: fee - - name: currency_contract - - name: currency_symbol - - name: recipient - - name: contract_address - - name: block_month - - - name: dex_sandwiches - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiches'] - description: > - DEX MEV Sandwich Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - &index - name: index - description: "Index of the transaction in block" - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_sandwiched - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiched'] - description: > - DEX MEV Sandwiched Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_info - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana - sector: dex - contributors: hildobby - config: - tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] - description: > - DEXs info - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - project - columns: - - name: project - description: "Marketplace codename" - - name: name - description: "Marketplace capitalised name" - - name: marketplace_type - description: "Type of marketplace" - - name: x_username - description: "Username on X" - - - name: dex_atomic_arbitrages - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages'] - description: > - DEX MEV Arbitrage Trades across all Chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index + description: "Number of times the token was traded within the coressponding hour" \ No newline at end of file diff --git a/dex/models/sandwiches/_schema.yml b/dex/models/sandwiches/_schema.yml index 0e5c2d15da8..15bf5b060ae 100644 --- a/dex/models/sandwiches/_schema.yml +++ b/dex/models/sandwiches/_schema.yml @@ -1,20 +1,21 @@ version: 2 models: - - name: dex_ethereum_sandwiches + - name: dex_sandwiches meta: - blockchain: ethereum + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora sector: dex contributors: hildobby config: - tags: ['dex', 'mev', 'sandwiches', 'ethereum'] + tags: ['dex', 'mev', 'sandwiches'] description: > - DEX MEV Sandwich Trades on Ethereum + DEX MEV Sandwich Trades across chains tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain - tx_hash + - project_contract_address - evt_index columns: - &blockchain @@ -65,14 +66,11 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - &trace_address - name: trace_address - description: "Trace address" - &token_pair name: token_pair description: "Token symbol pair for each token involved in the trade" - - &index - name: index + - &tx_index + name: tx_index description: "Index of the transaction in block" - &token_sold_amount_raw name: token_sold_amount_raw @@ -93,6 +91,88 @@ models: name: evt_index description: "Event index" + - name: dex_sandwiched + meta: + blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiched'] + description: > + DEX MEV Sandwiched Trades across chains + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + + - name: dex_ethereum_sandwiches + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['dex', 'mev', 'sandwiches', 'ethereum'] + description: > + DEX MEV Sandwich Trades on Ethereum + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - tx_hash + - evt_index + columns: + - *blockchain + - *project + - *version + - *block_time + - *block_month + - *block_number + - *token_sold_address + - *token_bought_address + - *token_sold_symbol + - *token_bought_symbol + - *maker + - *taker + - *tx_hash + - *tx_from + - *tx_to + - *project_contract_address + - *token_pair + - *tx_index + - *token_sold_amount_raw + - *token_bought_amount_raw + - *token_sold_amount + - *token_bought_amount + - *amount_usd + - *evt_index + - name: dex_arbitrum_sandwiches meta: blockchain: arbitrum @@ -125,9 +205,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -167,9 +246,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -209,9 +287,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -251,9 +328,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -293,9 +369,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -335,9 +410,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -377,9 +451,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -419,9 +492,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -461,9 +533,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -503,9 +574,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -545,9 +615,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -587,9 +656,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - *index + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -629,11 +697,8 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - - &tx_index - name: tx_index - description: "Index of transaction in block" + - *tx_index - *token_sold_amount_raw - *token_bought_amount_raw - *token_sold_amount @@ -673,7 +738,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -715,7 +779,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -757,7 +820,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -799,7 +861,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -841,7 +902,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -883,7 +943,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -925,7 +984,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -967,7 +1025,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1009,7 +1066,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1051,7 +1107,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1093,7 +1148,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw @@ -1135,7 +1189,6 @@ models: - *tx_from - *tx_to - *project_contract_address - - *trace_address - *token_pair - *tx_index - *token_sold_amount_raw diff --git a/macros/models/_sector/add_amount_usd.sql b/macros/models/_sector/add_amount_usd.sql index 00f5e264a26..c0414440fc4 100644 --- a/macros/models/_sector/add_amount_usd.sql +++ b/macros/models/_sector/add_amount_usd.sql @@ -14,7 +14,7 @@ WITH trusted_tokens AS ( SELECT contract_address , blockchain - FROM {{ ref('prices_trusted_tokens') }} + FROM {{ source('prices','trusted_tokens') }} ) , prices AS ( SELECT diff --git a/models/_project/balancer/pools/_schema.yml b/models/_project/balancer/pools/_schema.yml index 65c86555a7c..88b3adaa386 100644 --- a/models/_project/balancer/pools/_schema.yml +++ b/models/_project/balancer/pools/_schema.yml @@ -1,64 +1,6 @@ version: 2 models: - - name: balancer_pools_fees - meta: - blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, zkevm - contributors: jacektrocinski, thetroyharris, viniabussafi - config: - tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'pools', 'fees'] - description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - block_number - - tx_hash - - index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &version - name: version - description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - name: balancer_pools_tokens_weights meta: blockchain: arbitrum, avalanche_c, base, ethereum, gnosis, optimism, polygon, 'zkevm' @@ -74,8 +16,12 @@ models: - pool_id - token_address columns: - - *blockchain - - *version + - &blockchain + name: blockchain + description: "Blockchain" + - &version + name: version + description: "Version of Balancer where the liquidity pool used in transaction is deployed" - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' @@ -164,7 +110,11 @@ models: - &evt_block_number name: evt_block_number description: 'Event Block Number' - - *contract_address + - &contract_address + name: contract_address + description: 'zkevm address for the liquidity pool used in transaction' + tests: + - not_null - &evt_tx_hash name: evt_tx_hash description: 'Transaction hash' diff --git a/models/_project/balancer/pools/arbitrum/_schema.yml b/models/_project/balancer/pools/arbitrum/_schema.yml index fd04cb90077..7b3ed27390a 100644 --- a/models/_project/balancer/pools/arbitrum/_schema.yml +++ b/models/_project/balancer/pools/arbitrum/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_arbitrum_pools_fees + - name: balancer_arbitrum_pools_tokens_weights meta: blockchain: arbitrum - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['arbitrum', 'balancer', 'pools_fees'] + tags: ['arbitrum', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'Arbitrum address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_arbitrum_pools_tokens_weights - meta: - blockchain: arbitrum - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['arbitrum', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/avalanche_c/_schema.yml b/models/_project/balancer/pools/avalanche_c/_schema.yml index 2c5082a751c..27eee2d82fc 100644 --- a/models/_project/balancer/pools/avalanche_c/_schema.yml +++ b/models/_project/balancer/pools/avalanche_c/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_avalanche_c_pools_fees + - name: balancer_avalanche_c_pools_tokens_weights meta: blockchain: avalanche_c - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['avalanche_c', 'balancer', 'pools_fees'] + tags: ['avalanche_c', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'avalanche_c address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_avalanche_c_pools_tokens_weights - meta: - blockchain: avalanche_c - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['avalanche_c', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/base/_schema.yml b/models/_project/balancer/pools/base/_schema.yml index 0949d82f17c..37d569a57c3 100644 --- a/models/_project/balancer/pools/base/_schema.yml +++ b/models/_project/balancer/pools/base/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_base_pools_fees + - name: balancer_base_pools_tokens_weights meta: blockchain: base - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['base', 'balancer', 'pools_fees'] + tags: ['base', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'base address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_base_pools_tokens_weights - meta: - blockchain: base - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['base', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/ethereum/_schema.yml b/models/_project/balancer/pools/ethereum/_schema.yml index ea4a24ef8c8..4f92f1b58ac 100644 --- a/models/_project/balancer/pools/ethereum/_schema.yml +++ b/models/_project/balancer/pools/ethereum/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_ethereum_pools_fees + - name: balancer_ethereum_pools_tokens_weights meta: blockchain: ethereum - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['ethereum', 'balancer', 'pools', 'fees'] + tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_ethereum_pools_tokens_weights - meta: - blockchain: ethereum - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/gnosis/_schema.yml b/models/_project/balancer/pools/gnosis/_schema.yml index ac61b0140a4..a24d4345cd5 100644 --- a/models/_project/balancer/pools/gnosis/_schema.yml +++ b/models/_project/balancer/pools/gnosis/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_gnosis_pools_fees + - name: balancer_gnosis_pools_tokens_weights meta: blockchain: gnosis - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['gnosis', 'balancer', 'pools_fees'] + tags: ['gnosis', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'gnosis address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_gnosis_pools_tokens_weights - meta: - blockchain: gnosis - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['gnosis', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/optimism/_schema.yml b/models/_project/balancer/pools/optimism/_schema.yml index 289820cd3bc..249a0192c83 100644 --- a/models/_project/balancer/pools/optimism/_schema.yml +++ b/models/_project/balancer/pools/optimism/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_optimism_pools_fees + - name: balancer_optimism_pools_tokens_weights meta: blockchain: optimism - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['optimism', 'balancer', 'pools_fees'] + tags: ['optimism', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'optimism address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_optimism_pools_tokens_weights - meta: - blockchain: optimism - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['optimism', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/polygon/_schema.yml b/models/_project/balancer/pools/polygon/_schema.yml index 40929f01c30..a223aebe4c4 100644 --- a/models/_project/balancer/pools/polygon/_schema.yml +++ b/models/_project/balancer/pools/polygon/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_polygon_pools_fees + - name: balancer_polygon_pools_tokens_weights meta: blockchain: polygon - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['polygon', 'balancer', 'pools', 'fees'] + tags: ['polygon', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_polygon_pools_tokens_weights - meta: - blockchain: polygon - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['polygon', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/balancer/pools/zkevm/_schema.yml b/models/_project/balancer/pools/zkevm/_schema.yml index 03f7ab4e6be..cacbbeb205e 100644 --- a/models/_project/balancer/pools/zkevm/_schema.yml +++ b/models/_project/balancer/pools/zkevm/_schema.yml @@ -1,21 +1,15 @@ version: 2 models: - - name: balancer_v2_zkevm_pools_fees + - name: balancer_zkevm_pools_tokens_weights meta: blockchain: zkevm - project: balancer_v2 - contributors: jacektrocinski, thetroyharris, viniabussafi + project: balancer + contributors: jacektrocinski, viniabussafi config: - tags: ['zkevm', 'balancer', 'pools_fees'] + tags: ['zkevm', 'balancer', 'pools', 'tokens', 'weights'] description: > - Balancer v2 swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index + Token weights in Balancer pools. columns: - &blockchain name: blockchain @@ -23,54 +17,6 @@ models: - &version name: version description: "Version of Balancer where the liquidity pool used in transaction is deployed" - - &contract_address - name: contract_address - description: 'zkevm address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: 'Transaction hash' - tests: - - not_null - - &index - name: index - description: 'Event Index' - tests: - - not_null - - &tx_index - name: tx_index - description: 'Transaction Index' - tests: - - not_null - - &block_time - name: block_time - description: 'Block time in UTC' - tests: - - not_null - - &block_number - name: block_number - description: 'Event Block Number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - - name: balancer_zkevm_pools_tokens_weights - meta: - blockchain: zkevm - project: balancer - contributors: jacektrocinski, viniabussafi - config: - tags: ['zkevm', 'balancer', 'pools', 'tokens', 'weights'] - description: > - Token weights in Balancer pools. - columns: - - *blockchain - - *version - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' diff --git a/models/_project/oneinch/_schema.yml b/models/_project/oneinch/_schema.yml new file mode 100644 index 00000000000..f29a47588c3 --- /dev/null +++ b/models/_project/oneinch/_schema.yml @@ -0,0 +1,47 @@ +version: 2 + +models: + - name: oneinch_ethereum_airdrop_claims + meta: + blockchain: ethereum + sector: airdrop + project: oneinch + contributors: hildobby + config: + tags: ['table', 'airdrop', 'ethereum', 'claim', 'oneinch'] + description: "List of claim transactions for the $1INCH airdrop" + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - recipient + - evt_index + columns: + - name: blockchain + tests: + - not_null + - name: block_time + - name: block_number + description: "Block number of transaction" + - name: project + description: "Project name" + - name: airdrop_number + description: "Airdrop identifier number" + - name: recipient + description: "Airdrop recipient" + - name: contract_address + description: "Contract addressed used" + - name: tx_hash + description: "Transaction hash" + - name: amount_raw + description: "Raw amount of tokens" + - name: amount_original + description: "Original amount of tokens" + - name: amount_usd + description: "USD value of tokens" + - name: token_address + description: "Token address" + - name: token_symbol + description: "Token symbol" + - name: evt_index + description: "Event index" diff --git a/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql b/models/_project/oneinch/oneinch_ethereum_airdrop_claims.sql similarity index 100% rename from dex/models/_projects/oneinch/ethereum/oneinch_ethereum_airdrop_claims.sql rename to models/_project/oneinch/oneinch_ethereum_airdrop_claims.sql diff --git a/models/curvefi/optimism/curvefi_optimism_schema.yml b/models/curvefi/optimism/curvefi_optimism_schema.yml index e6d0925e1c6..e528d812f84 100644 --- a/models/curvefi/optimism/curvefi_optimism_schema.yml +++ b/models/curvefi/optimism/curvefi_optimism_schema.yml @@ -1,44 +1,6 @@ version: 2 models: - - name: curvefi_optimism_pools - meta: - blockchain: optimism - project: curvefi - contributors: msilb7 - config: - tags: ['optimism','curvefi','curve','dex'] - description: > - A table containing all known pools of curvefi on optimism (i.e. metapool, basicpool). Additional types should be monitored to ensure they're accurately shown. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - version - - tokenid - - token - - pool - columns: - - &version - name: version - description: "Versions of the pool: Basic Pool, Meta Pool, etc" - tests: - - not_null - - &tokenid - name: tokenid - description: "ID of the token in the pool" - tests: - - not_null - - &token - name: token - description: "Token Address" - tests: - - not_null - - &pool - name: pool - description: "Pool contract address" - tests: - - not_null - - name: curvefi_optimism_gauge_mappings meta: blockchain: optimism @@ -57,7 +19,11 @@ models: - &blockchain name: blockchain description: "Blockchain which the DEX is deployed" - - *version + - &version + name: version + description: "Versions of the pool: Basic Pool, Meta Pool, etc" + tests: + - not_null - &pool_contract name: pool_contract description: "Address of the liquidity pool contract" diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index f39d7f79bed..9987e7a0adf 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -1,98 +1,6 @@ version: 2 models: - - name: dex_aggregator_trades - meta: - blockchain: ethereum, gnosis, avalanche_c, fantom, optimism, arbitrum, bnb - sector: dex_aggregator - contributors: bh2smith, Henrystats, jeff-dude, rantum - config: - tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] - description: > - Aggregator trades on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the trade" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the trade" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the trade" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - tests: - - dbt_utils.accepted_range: - max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the trade" - - &tx_to - name: tx_to - description: "Address which received the trade" - - &trace_address - name: trace_address - - &evt_index - name: evt_index - description: "Index of the corresponding trade event" - - name: dex_prices meta: blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom @@ -118,7 +26,9 @@ models: - &contract_address name: contract_address description: "token's contract address" - - *blockchain + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" - &median_price name: median_price description: "Median price of the token in USD within the corresponding hour" @@ -137,8 +47,12 @@ models: Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions columns: - *blockchain - - *project - - *version + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" - &pool_contract name: pool_contract description: "Address of the liquidity pool contract" @@ -158,7 +72,9 @@ models: - &evt_tx_hash name: evt_tx_hash description: 'Tx Hash' - - *evt_index + - &evt_index + name: evt_index + description: "Index of the corresponding trade event" - name: dex_pools meta: @@ -221,11 +137,15 @@ models: name: type description: "Pool implementation standard" - *version - - *block_time + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - *pool - *token0 - *token1 - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &call_trace_address name: call_trace_address @@ -299,7 +219,9 @@ models: - *blockchain - *project - *version - - *block_date + - &block_date + name: block_date + description: "UTC event block date of each DEX trade" - *block_time - &block_number name: block_number @@ -308,7 +230,9 @@ models: name: tx_index description: "the transaction index of the transaction that the offer was created in" - *evt_index - - *maker + - &maker + name: maker + description: "Address of trader who sold a token" - &sell_token_symbol name: sell_token_symbol description: "the token the offer is selling" @@ -321,7 +245,9 @@ models: - &buy_token_address name: buy_token_address description: "the address of the token the offer is buying" - - *token_pair + - &token_pair + name: token_pair + description: "Token symbol pair for each token involved in the trade" - &sell_amount name: sell_amount description: "the amount of the token that the maker is selling" @@ -361,10 +287,16 @@ models: - &txn_cost_usd name: txn_cost_usd description: "the cost of the transaction in USD" - - *project_contract_address + - &project_contract_address + name: project_contract_address + description: "Project contract address which executed the trade on the blockchain" - *tx_hash - - *tx_from - - *tx_to + - &tx_from + name: tx_from + description: "Address which initiated the trade" + - &tx_to + name: tx_to + description: "Address which received the trade" - name: dex_flashloans @@ -399,93 +331,6 @@ models: - name: contract_address - name: block_month - - name: dex_sandwiches - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiches'] - description: > - DEX MEV Sandwich Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - &index - name: index - description: "Index of the transaction in block" - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - - name: dex_sandwiched - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, fantom, arbitrum, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'sandwiched'] - description: > - DEX MEV Sandwiched Trades across chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index - - name: dex_info meta: blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana @@ -508,46 +353,3 @@ models: description: "Type of marketplace" - name: x_username description: "Username on X" - - - name: dex_atomic_arbitrages - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, polygon, base, celo, zksync, scroll, zora - sector: dex - contributors: hildobby - config: - tags: ['dex', 'mev', 'atomic', 'arbitrages'] - description: > - DEX MEV Arbitrage Trades across all Chains - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - tx_hash - - project_contract_address - - evt_index - columns: - - *blockchain - - *project - - *version - - *block_time - - *block_month - - *block_number - - *token_sold_address - - *token_bought_address - - *token_sold_symbol - - *token_bought_symbol - - *maker - - *taker - - *tx_hash - - *tx_from - - *tx_to - - *project_contract_address - - *trace_address - - *token_pair - - *tx_index - - *token_sold_amount_raw - - *token_bought_amount_raw - - *token_sold_amount - - *token_bought_amount - - *amount_usd - - *evt_index diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 62aee447931..a950a388c38 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -53,6 +53,10 @@ sources: - name: cex_optimism tables: - name: addresses + - name: prices + tables: + - name: usd_forward_fill + - name: trusted_tokens - name: op_retropgf_optimism tables: - name: recipients @@ -61,10 +65,3 @@ sources: tables: - name: fee_vaults - name: grants_funding - - - name: prices - tables: - - name: usd_forward_fill - - name: prices - tables: - - name: usd_latest From 32294570977a7762829a295f8d58e1d82cc2e766 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 17:09:14 -0400 Subject: [PATCH 28/63] move dex pools --- .../_projects/equalizer/fantom/_schema.yml | 0 .../fantom/equalizer_fantom_pools.sql | 0 .../models/_projects/mento/celo/_schema.yml | 0 .../mento/celo/mento_celo_pools.sql | 0 .../mento/celo/mento_v1_celo_pools.sql | 0 .../mento/celo/mento_v2_celo_pools.sql | 0 .../spartacus_exchange/fantom/_schema.yml | 0 .../spartacus_exchange_fantom_pools.sql | 0 .../_projects/spiritswap/fantom/_schema.yml | 0 .../fantom/spiritswap_fantom_pools.sql | 2 +- .../_projects/spookyswap/fantom/_schema.yml | 0 .../fantom/spookyswap_fantom_pools.sql | 0 dex/models/_projects/uniswap/_schema.yml | 246 ++++++++++++++++++ .../_projects}/uniswap/uniswap_trades.sql | 0 .../_projects/wigoswap/fantom/_schema.yml | 0 .../wigoswap/fantom/wigoswap_fantom_pools.sql | 0 dex/models/pools/_schema.yml | 31 +++ .../dex => dex/models/pools}/dex_pools.sql | 2 +- .../arbitrum/uniswap_arbitrum_schema.yml | 30 --- .../arbitrum/uniswap_arbitrum_trades.sql | 0 .../uniswap_v3_arbitrum_flashloans.sql | 0 .../arbitrum/uniswap_v3_arbitrum_trades.sql | 0 .../uniswap_avalanche_c_schema.yml | 0 .../uniswap_avalanche_c_trades.sql | 0 .../uniswap_v3_avalanche_c_trades.sql | 0 .../uniswap/base/uniswap_base_schema.yml | 0 .../uniswap/base/uniswap_base_trades.sql | 0 .../uniswap/base/uniswap_v3_base_trades.sql | 0 .../uniswap/bnb/uniswap_bnb_schema.yml | 32 +-- .../uniswap/bnb/uniswap_bnb_trades.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_flashloans.sql | 0 .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 0 .../uniswap/celo/uniswap_celo_schema.yml | 31 --- .../uniswap/celo/uniswap_celo_trades.sql | 0 .../celo/uniswap_v3_celo_flashloans.sql | 0 .../uniswap/celo/uniswap_v3_celo_trades.sql | 0 .../uniswap_ethereum_airdrop_claims.sql | 0 .../ethereum/uniswap_ethereum_schema.yml | 31 --- .../ethereum/uniswap_ethereum_trades.sql | 0 .../ethereum/uniswap_v1_ethereum_trades.sql | 0 .../ethereum/uniswap_v2_ethereum_trades.sql | 0 .../uniswap_v3_ethereum_flashloans.sql | 0 .../uniswap_v3_ethereum_proposals.sql | 0 .../ethereum/uniswap_v3_ethereum_trades.sql | 0 .../ethereum/uniswap_v3_ethereum_votes.sql | 0 .../optimism/uniswap_optimism_schema.yml | 80 +----- .../optimism/uniswap_optimism_trades.sql | 0 .../uniswap_v3_optimism_flashloans.sql | 0 .../optimism/uniswap_v3_optimism_trades.sql | 0 .../polygon/uniswap_polygon_schema.yml | 30 --- .../polygon/uniswap_polygon_trades.sql | 0 .../polygon/uniswap_v3_polygon_flashloans.sql | 0 .../polygon/uniswap_v3_polygon_trades.sql | 0 .../_project}/uniswap/uniswap_flashloans.sql | 0 .../uniswap_liquidity_manager_pools.sql | 0 .../_project}/uniswap/uniswap_schema.yml | 39 --- models/dex/dex_flashloans.sql | 2 +- models/dex/dex_schema.yml | 206 +-------------- 58 files changed, 303 insertions(+), 459 deletions(-) rename models/equalizer/fantom/equalizer_fantom_schema.yml => dex/models/_projects/equalizer/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/equalizer/fantom/equalizer_fantom_pools.sql (100%) rename models/mento/celo/mento_celo_schema.yml => dex/models/_projects/mento/celo/_schema.yml (100%) rename {models => dex/models/_projects}/mento/celo/mento_celo_pools.sql (100%) rename {models => dex/models/_projects}/mento/celo/mento_v1_celo_pools.sql (100%) rename {models => dex/models/_projects}/mento/celo/mento_v2_celo_pools.sql (100%) rename models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml => dex/models/_projects/spartacus_exchange/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql (100%) rename models/spiritswap/fantom/spiritswap_fantom_schema.yml => dex/models/_projects/spiritswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spiritswap/fantom/spiritswap_fantom_pools.sql (96%) rename models/spookyswap/fantom/spookyswap_fantom_schema.yml => dex/models/_projects/spookyswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/spookyswap/fantom/spookyswap_fantom_pools.sql (100%) create mode 100644 dex/models/_projects/uniswap/_schema.yml rename {models/_project => dex/models/_projects}/uniswap/uniswap_trades.sql (100%) rename models/wigoswap/fantom/wigoswap_fantom_schema.yml => dex/models/_projects/wigoswap/fantom/_schema.yml (100%) rename {models => dex/models/_projects}/wigoswap/fantom/wigoswap_fantom_pools.sql (100%) rename {models/dex => dex/models/pools}/dex_pools.sql (98%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_arbitrum_schema.yml (86%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_arbitrum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_base_schema.yml (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_base_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/base/uniswap_v3_base_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_bnb_schema.yml (85%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_bnb_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_v3_bnb_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/bnb/uniswap_v3_bnb_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_celo_schema.yml (85%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_celo_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_v3_celo_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/celo/uniswap_v3_celo_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_schema.yml (93%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v1_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v2_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/ethereum/uniswap_v3_ethereum_votes.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_optimism_schema.yml (71%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_optimism_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_v3_optimism_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/optimism/uniswap_v3_optimism_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_polygon_schema.yml (86%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_polygon_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_v3_polygon_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/polygon/uniswap_v3_polygon_trades.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_flashloans.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_liquidity_manager_pools.sql (100%) rename {dex/models/_projects => models/_project}/uniswap/uniswap_schema.yml (64%) diff --git a/models/equalizer/fantom/equalizer_fantom_schema.yml b/dex/models/_projects/equalizer/fantom/_schema.yml similarity index 100% rename from models/equalizer/fantom/equalizer_fantom_schema.yml rename to dex/models/_projects/equalizer/fantom/_schema.yml diff --git a/models/equalizer/fantom/equalizer_fantom_pools.sql b/dex/models/_projects/equalizer/fantom/equalizer_fantom_pools.sql similarity index 100% rename from models/equalizer/fantom/equalizer_fantom_pools.sql rename to dex/models/_projects/equalizer/fantom/equalizer_fantom_pools.sql diff --git a/models/mento/celo/mento_celo_schema.yml b/dex/models/_projects/mento/celo/_schema.yml similarity index 100% rename from models/mento/celo/mento_celo_schema.yml rename to dex/models/_projects/mento/celo/_schema.yml diff --git a/models/mento/celo/mento_celo_pools.sql b/dex/models/_projects/mento/celo/mento_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_celo_pools.sql diff --git a/models/mento/celo/mento_v1_celo_pools.sql b/dex/models/_projects/mento/celo/mento_v1_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_v1_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_v1_celo_pools.sql diff --git a/models/mento/celo/mento_v2_celo_pools.sql b/dex/models/_projects/mento/celo/mento_v2_celo_pools.sql similarity index 100% rename from models/mento/celo/mento_v2_celo_pools.sql rename to dex/models/_projects/mento/celo/mento_v2_celo_pools.sql diff --git a/models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml b/dex/models/_projects/spartacus_exchange/fantom/_schema.yml similarity index 100% rename from models/spartacus_exchange/fantom/spartacus_exchange_fantom_schema.yml rename to dex/models/_projects/spartacus_exchange/fantom/_schema.yml diff --git a/models/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql similarity index 100% rename from models/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql rename to dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql diff --git a/models/spiritswap/fantom/spiritswap_fantom_schema.yml b/dex/models/_projects/spiritswap/fantom/_schema.yml similarity index 100% rename from models/spiritswap/fantom/spiritswap_fantom_schema.yml rename to dex/models/_projects/spiritswap/fantom/_schema.yml diff --git a/models/spiritswap/fantom/spiritswap_fantom_pools.sql b/dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql similarity index 96% rename from models/spiritswap/fantom/spiritswap_fantom_pools.sql rename to dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql index 7b78ed1f457..457c678e485 100644 --- a/models/spiritswap/fantom/spiritswap_fantom_pools.sql +++ b/dex/models/_projects/spiritswap/fantom/spiritswap_fantom_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'spritswap_fantom', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/models/spookyswap/fantom/spookyswap_fantom_schema.yml b/dex/models/_projects/spookyswap/fantom/_schema.yml similarity index 100% rename from models/spookyswap/fantom/spookyswap_fantom_schema.yml rename to dex/models/_projects/spookyswap/fantom/_schema.yml diff --git a/models/spookyswap/fantom/spookyswap_fantom_pools.sql b/dex/models/_projects/spookyswap/fantom/spookyswap_fantom_pools.sql similarity index 100% rename from models/spookyswap/fantom/spookyswap_fantom_pools.sql rename to dex/models/_projects/spookyswap/fantom/spookyswap_fantom_pools.sql diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml new file mode 100644 index 00000000000..326c0b71539 --- /dev/null +++ b/dex/models/_projects/uniswap/_schema.yml @@ -0,0 +1,246 @@ +version: 2 + +models: + - name: uniswap_pools + meta: + blockchain: ethereum, polygon, arbitrum, celo + sector: dex + contributors: hildobby, tomfutago + config: + tags: ['ethereum', 'polygon', 'arbitrum', 'celo', 'pools'] + description: > + Uniswap DEX pools + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" + - name: pool + description: "DEX pool smart contract address" + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_arbitrum_pools + meta: + blockchain: arbitrum + sector: dex + contributors: hildobby + config: + tags: ['arbitrum'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_bnb_pools + meta: + blockchain: bnb + sector: dex + contributors: mtitus6 + config: + tags: ['bnb'] + description: > + Uniswap DEX pools on BNB + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_celo_pools + meta: + blockchain: celo + sector: dex + contributors: hildobby, tomfutago + config: + tags: ['celo'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_ethereum_pools + meta: + blockchain: ethereum + sector: dex + contributors: hildobby + config: + tags: ['ethereum'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_optimism_pools + meta: + blockchain: optimism + project: uniswap + contributors: msilb7, chuxin, mtitus6 + config: + tags: ['optimism','uniswap','pools'] + description: > + A canonical table containing all Uniswap pools created on Optimism. Pools from OVM1 will be missing from factory_evt_poolcreated, so we use this table to get pool information. + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" + + - name: uniswap_optimism_ovm1_pool_mapping + meta: + blockchain: optimism + project: uniswap + contributors: msilb7, chuxin + config: + tags: ['optimism','uniswap','pools'] + description: > + A canonical table containing all Uniswap pool address changes between OVM1 and the EVM Equivalence regenesis release. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - oldAddress + - newAddress + columns: + - &oldAddress + name: oldAddress + description: "Uniswap liquidity pool contract address in OVM1" + - &newAddress + name: newAddress + description: "Uniswap liquidity pool contract address in the EVM Equivalence regenesis release." + - *token0 + - *token1 + - *fee + + - name: uniswap_polygon_pools + meta: + blockchain: polygon + sector: dex + contributors: hildobby + config: + tags: ['polygon'] + description: > + Uniswap DEX pools + columns: + - *blockchain + - *project + - *version + - name: pool + description: "DEX pool smart contract address" + tests: + - unique + - name: fee + description: "Defined fee" + - name: token0 + description: "First token in pool" + - name: token1 + description: "Second token in pool" + - name: creation_block_time + description: "Block time of pool creation" + - name: creation_block_number + description: "Block number of pool creation" + - name: contract_address + description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/_project/uniswap/uniswap_trades.sql b/dex/models/_projects/uniswap/uniswap_trades.sql similarity index 100% rename from models/_project/uniswap/uniswap_trades.sql rename to dex/models/_projects/uniswap/uniswap_trades.sql diff --git a/models/wigoswap/fantom/wigoswap_fantom_schema.yml b/dex/models/_projects/wigoswap/fantom/_schema.yml similarity index 100% rename from models/wigoswap/fantom/wigoswap_fantom_schema.yml rename to dex/models/_projects/wigoswap/fantom/_schema.yml diff --git a/models/wigoswap/fantom/wigoswap_fantom_pools.sql b/dex/models/_projects/wigoswap/fantom/wigoswap_fantom_pools.sql similarity index 100% rename from models/wigoswap/fantom/wigoswap_fantom_pools.sql rename to dex/models/_projects/wigoswap/fantom/wigoswap_fantom_pools.sql diff --git a/dex/models/pools/_schema.yml b/dex/models/pools/_schema.yml index b86f1f5b616..2509126abe0 100644 --- a/dex/models/pools/_schema.yml +++ b/dex/models/pools/_schema.yml @@ -103,5 +103,36 @@ models: - *tokens - *creation_block_time - *creation_block_number + - name: contract_address + description: "Contract address used to create the pool" + + - name: dex_pools + meta: + blockchain: ethereum, arbitrum, polygon + sector: dex + contributors: hildobby + config: + tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] + description: > + DEX pools on all chains across all contracts and versions + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - blockchain + - pool + columns: + - *blockchain + - &project + name: project + description: "Project name of the DEX" + - *version + - *pool + - &fee + name: fee + description: "Defined fee" + - *token0 + - *token1 + - *creation_block_time + - *creation_block_number - name: contract_address description: "Contract address used to create the pool" \ No newline at end of file diff --git a/models/dex/dex_pools.sql b/dex/models/pools/dex_pools.sql similarity index 98% rename from models/dex/dex_pools.sql rename to dex/models/pools/dex_pools.sql index ffb0bf62d44..0a23f9543c5 100644 --- a/models/dex/dex_pools.sql +++ b/dex/models/pools/dex_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml similarity index 86% rename from dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml rename to models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml index 697330ad2c4..733b9070d98 100644 --- a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml +++ b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml @@ -130,36 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_arbitrum_pools - meta: - blockchain: arbitrum - sector: dex - contributors: hildobby - config: - tags: ['arbitrum'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_arbitrum_flashloans meta: blockchain: arbitrum diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_trades.sql rename to models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql rename to models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_flashloans.sql diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql rename to models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml rename to models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql rename to models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql diff --git a/dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql rename to models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql diff --git a/dex/models/_projects/uniswap/base/uniswap_base_schema.yml b/models/_project/uniswap/base/uniswap_base_schema.yml similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_base_schema.yml rename to models/_project/uniswap/base/uniswap_base_schema.yml diff --git a/dex/models/_projects/uniswap/base/uniswap_base_trades.sql b/models/_project/uniswap/base/uniswap_base_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_base_trades.sql rename to models/_project/uniswap/base/uniswap_base_trades.sql diff --git a/dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql b/models/_project/uniswap/base/uniswap_v3_base_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/base/uniswap_v3_base_trades.sql rename to models/_project/uniswap/base/uniswap_v3_base_trades.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml similarity index 85% rename from dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml rename to models/_project/uniswap/bnb/uniswap_bnb_schema.yml index 7ce9483d7b7..faccd0cecb0 100644 --- a/dex/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml +++ b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml @@ -160,34 +160,4 @@ models: - name: currency_symbol - name: recipient - name: contract_address - - name: block_month - - - name: uniswap_bnb_pools - meta: - blockchain: bnb - sector: dex - contributors: mtitus6 - config: - tags: ['bnb'] - description: > - Uniswap DEX pools on BNB - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" + - name: block_month \ No newline at end of file diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_bnb_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_bnb_trades.sql rename to models/_project/uniswap/bnb/uniswap_bnb_trades.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_flashloans.sql rename to models/_project/uniswap/bnb/uniswap_v3_bnb_flashloans.sql diff --git a/dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/bnb/uniswap_v3_bnb_trades.sql rename to models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml b/models/_project/uniswap/celo/uniswap_celo_schema.yml similarity index 85% rename from dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml rename to models/_project/uniswap/celo/uniswap_celo_schema.yml index eb2ede7194c..b83c06e6676 100644 --- a/dex/models/_projects/uniswap/celo/uniswap_celo_schema.yml +++ b/models/_project/uniswap/celo/uniswap_celo_schema.yml @@ -130,37 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_celo_pools - meta: - blockchain: celo - sector: dex - contributors: hildobby, tomfutago - config: - tags: ['celo'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - *block_month - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_celo_flashloans meta: blockchain: celo diff --git a/dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql b/models/_project/uniswap/celo/uniswap_celo_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_celo_trades.sql rename to models/_project/uniswap/celo/uniswap_celo_trades.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_v3_celo_flashloans.sql rename to models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql diff --git a/dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql b/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/celo/uniswap_v3_celo_trades.sql rename to models/_project/uniswap/celo/uniswap_v3_celo_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql rename to models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml similarity index 93% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml rename to models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml index 8b8c07c7490..b4ee9281c39 100644 --- a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml @@ -376,37 +376,6 @@ models: - *token_symbol - *evt_index - - - name: uniswap_ethereum_pools - meta: - blockchain: ethereum - sector: dex - contributors: hildobby - config: - tags: ['ethereum'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_ethereum_flashloans meta: blockchain: ethereum diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v1_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v2_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_flashloans.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_proposals.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_trades.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql diff --git a/dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_votes.sql similarity index 100% rename from dex/models/_projects/uniswap/ethereum/uniswap_v3_ethereum_votes.sql rename to models/_project/uniswap/ethereum/uniswap_v3_ethereum_votes.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml similarity index 71% rename from dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml rename to models/_project/uniswap/optimism/uniswap_optimism_schema.yml index 8ec566eec5b..b6a0ac198d8 100644 --- a/dex/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml +++ b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml @@ -1,74 +1,6 @@ version: 2 models: - - name: uniswap_optimism_pools - meta: - blockchain: optimism - project: uniswap - contributors: msilb7, chuxin, mtitus6 - config: - tags: ['optimism','uniswap','pools'] - description: > - A canonical table containing all Uniswap pools created on Optimism. Pools from OVM1 will be missing from factory_evt_poolcreated, so we use this table to get pool information. - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &pool - name: pool - description: "Uniswap liquidity pool contract address" - tests: - - unique - - &token0 - name: token0 - description: "Token0 contract address" - - &token1 - name: token1 - description: "Token1 contract address" - - &fee - name: fee - description: "Swap fee of a Uniswap liquidity pool. Divide by 1e6 or power(10,6) to get the fee percentage" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - &contract_address - name: contract_address - description: "Contract address used to create the pool" - - - name: uniswap_optimism_ovm1_pool_mapping - meta: - blockchain: optimism - project: uniswap - contributors: msilb7, chuxin - config: - tags: ['optimism','uniswap','pools'] - description: > - A canonical table containing all Uniswap pool address changes between OVM1 and the EVM Equivalence regenesis release. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - oldAddress - - newAddress - columns: - - &oldAddress - name: oldAddress - description: "Uniswap liquidity pool contract address in OVM1" - - &newAddress - name: newAddress - description: "Uniswap liquidity pool contract address in the EVM Equivalence regenesis release." - - *token0 - - *token1 - - *fee - - name: uniswap_v3_optimism_trades meta: blockchain: optimism @@ -92,9 +24,15 @@ models: project: uniswap version: 3 columns: - - *blockchain - - *project - - *version + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &project + name: project + description: "Project name of the DEX" + - &version + name: version + description: "Version of the contract built and deployed by the DEX project" - &block_month name: block_month description: "UTC event block month of each DEX trade" diff --git a/dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_optimism_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_optimism_trades.sql rename to models/_project/uniswap/optimism/uniswap_optimism_trades.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_flashloans.sql rename to models/_project/uniswap/optimism/uniswap_v3_optimism_flashloans.sql diff --git a/dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/optimism/uniswap_v3_optimism_trades.sql rename to models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml similarity index 86% rename from dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml rename to models/_project/uniswap/polygon/uniswap_polygon_schema.yml index cea488380f0..07a6d36e8aa 100644 --- a/dex/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml +++ b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml @@ -130,36 +130,6 @@ models: - *tx_to - *evt_index - - name: uniswap_polygon_pools - meta: - blockchain: polygon - sector: dex - contributors: hildobby - config: - tags: ['polygon'] - description: > - Uniswap DEX pools - columns: - - *blockchain - - *project - - *version - - name: pool - description: "DEX pool smart contract address" - tests: - - unique - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_v3_polygon_flashloans meta: blockchain: polygon diff --git a/dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_polygon_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_polygon_trades.sql rename to models/_project/uniswap/polygon/uniswap_polygon_trades.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_flashloans.sql rename to models/_project/uniswap/polygon/uniswap_v3_polygon_flashloans.sql diff --git a/dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql similarity index 100% rename from dex/models/_projects/uniswap/polygon/uniswap_v3_polygon_trades.sql rename to models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/dex/models/_projects/uniswap/uniswap_flashloans.sql b/models/_project/uniswap/uniswap_flashloans.sql similarity index 100% rename from dex/models/_projects/uniswap/uniswap_flashloans.sql rename to models/_project/uniswap/uniswap_flashloans.sql diff --git a/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql b/models/_project/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql rename to models/_project/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/dex/models/_projects/uniswap/uniswap_schema.yml b/models/_project/uniswap/uniswap_schema.yml similarity index 64% rename from dex/models/_projects/uniswap/uniswap_schema.yml rename to models/_project/uniswap/uniswap_schema.yml index 5ff710e6631..a4a15a7134a 100644 --- a/dex/models/_projects/uniswap/uniswap_schema.yml +++ b/models/_project/uniswap/uniswap_schema.yml @@ -39,45 +39,6 @@ models: name: token1 description: "Token1 contract address" - - name: uniswap_pools - meta: - blockchain: ethereum, polygon, arbitrum, celo - sector: dex - contributors: hildobby, tomfutago - config: - tags: ['ethereum', 'polygon', 'arbitrum', 'celo', 'pools'] - description: > - Uniswap DEX pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - name: pool - description: "DEX pool smart contract address" - - name: fee - description: "Defined fee" - - name: token0 - description: "First token in pool" - - name: token1 - description: "Second token in pool" - - name: creation_block_time - description: "Block time of pool creation" - - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - name: uniswap_flashloans meta: blockchain: ethereum, bnb, arbitrum, optimism, polygon, celo diff --git a/models/dex/dex_flashloans.sql b/models/dex/dex_flashloans.sql index 5ba0b5fc5c6..41a15f76d25 100644 --- a/models/dex/dex_flashloans.sql +++ b/models/dex/dex_flashloans.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'dex', alias = 'flashloans', partition_by = ['block_month'], materialized = 'incremental', diff --git a/models/dex/dex_schema.yml b/models/dex/dex_schema.yml index 9987e7a0adf..4a17e681108 100644 --- a/models/dex/dex_schema.yml +++ b/models/dex/dex_schema.yml @@ -1,41 +1,6 @@ version: 2 models: - - name: dex_prices - meta: - blockchain: ethereum, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom - sector: dex - contributors: Henrystats - config: - tags: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'gnosis', 'fantom', 'avalanche_c', 'trades', 'dex', 'cross-chain', 'prices'] - description: > - This table loads the prices of tokens from the dex.trades table. This helps for missing tokens from the prices.usd table - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - hour - - blockchain - - contract_address - columns: - - &block_month - name: block_month - description: "Month corresponding to the prices data" - - &hour - name: hour - description: "hour corresponding to the prices data" - - &contract_address - name: contract_address - description: "token's contract address" - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &median_price - name: median_price - description: "Median price of the token in USD within the corresponding hour" - - &sample_size - name: sample_size - description: "Number of times the token was traded within the coressponding hour" - - name: dex_incentive_mappings meta: blockchain: optimism @@ -46,7 +11,9 @@ models: description: > Mappings for DEX incentives contracts (i.e. gauges, bribes) to liquidity pools on all chains across all contracts and versions columns: - - *blockchain + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" - &project name: project description: "Project name of the DEX" @@ -68,7 +35,9 @@ models: - &evt_block_number name: evt_block_number description: 'Block Number' - - *contract_address + - &contract_address + name: contract_address + description: "token's contract address" - &evt_tx_hash name: evt_tx_hash description: 'Tx Hash' @@ -76,136 +45,6 @@ models: name: evt_index description: "Index of the corresponding trade event" - - name: dex_pools - meta: - blockchain: ethereum, arbitrum, polygon - sector: dex - contributors: hildobby - config: - tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] - description: > - DEX pools on all chains across all contracts and versions - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *project - - *version - - &pool - name: pool - description: "DEX pool smart contract address" - - &fee - name: fee - description: "Defined fee" - - &token0 - name: token0 - description: "First token in pool" - - &token1 - name: token1 - description: "Second token in pool" - - &creation_block_time - name: creation_block_time - description: "Block time of pool creation" - - &creation_block_number - name: creation_block_number - description: "Block number of pool creation" - - name: contract_address - description: "Contract address used to create the pool" - - - name: dex_raw_pool_initializations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools initialization calls - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - - tx_hash - - call_trace_address - columns: - - *blockchain - - &type - name: type - description: "Pool implementation standard" - - *version - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - *pool - - *token0 - - *token1 - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &call_trace_address - name: call_trace_address - - - name: dex_raw_pool_creations - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - &tokens - name: tokens - description: "Tokens in the pool" - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: rn - - - name: dex_raw_pools - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, fantom, optimism, arbitrum, celo, base, zksync, zora - sector: dex - contributors: grkhr - config: - tags: ['dex', 'cross-chain', 'pools'] - description: > - DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - blockchain - - pool - columns: - - *blockchain - - *type - - *version - - *pool - - *token0 - - *token1 - - *tokens - - *creation_block_time - - *creation_block_number - - name: contract_address - description: "Contract address used to create the pool" - - name: dex_offers meta: blockchain: optimism @@ -222,7 +61,9 @@ models: - &block_date name: block_date description: "UTC event block date of each DEX trade" - - *block_time + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - &block_number name: block_number description: "the block number of the block that the offer was created in" @@ -290,7 +131,9 @@ models: - &project_contract_address name: project_contract_address description: "Project contract address which executed the trade on the blockchain" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - &tx_from name: tx_from description: "Address which initiated the trade" @@ -329,27 +172,4 @@ models: - name: currency_symbol - name: recipient - name: contract_address - - name: block_month - - - name: dex_info - meta: - blockchain: ethereum, polygon, bnb, avalanche_c, gnosis, optimism, arbitrum, fantom, goerli, solana - sector: dex - contributors: hildobby - config: - tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] - description: > - DEXs info - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - project - columns: - - name: project - description: "Marketplace codename" - - name: name - description: "Marketplace capitalised name" - - name: marketplace_type - description: "Type of marketplace" - - name: x_username - description: "Username on X" + - name: block_month \ No newline at end of file From 463c81c33999fa080347504d86cad00694c72360 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 17:55:50 -0400 Subject: [PATCH 29/63] move seeds, tests, fix compile errors --- dbt_project.yml | 49 -- dex/dbt_project.yml | 5 +- dex/models/_projects/beethoven_x/_schema.yml | 53 ++ .../beethoven_x_fantom_pools_fees.sql | 0 .../cow_protocol/cow_protocol_trades.sql | 2 +- .../ethereum/cow_protocol_ethereum_trades.sql | 26 +- .../gnosis/cow_protocol_gnosis_trades.sql | 2 +- .../dodo_aggregator_arbitrum_trades.sql | 2 +- .../dodo/base/dodo_aggregator_base_trades.sql | 2 +- .../dodo/bnb/dodo_aggregator_bnb_trades.sql | 2 +- .../_projects/dodo/dodo_aggregator_trades.sql | 14 +- .../dodo_aggregator_ethereum_trades.sql | 2 +- .../dodo_aggregator_optimism_trades.sql | 2 +- .../dodo_aggregator_polygon_trades.sql | 2 +- .../lifi/fantom/lifi_fantom_trades.sql | 2 +- dex/models/_projects/lifi/lifi_trades.sql | 2 +- .../lifi/optimism/lifi_optimism_trades.sql | 2 +- .../avalanche_c/odos_avalanche_c_trades.sql | 1 + dex/models/_projects/odos/odos_trades.sql | 1 + .../spartacus_exchange_fantom_pools.sql | 2 +- .../ethereum/tokenlon_ethereum_trades.sql | 2 +- .../_projects/tokenlon/tokenlon_trades.sql | 2 +- dex/models/_projects/uniswap/_schema.yml | 9 +- .../arbitrum/uniswap_arbitrum_pools.sql | 1 - .../uniswap/bnb/uniswap_bnb_pools.sql | 2 +- .../_projects/uniswap/uniswap_pools.sql | 2 +- .../arbitrum/zeroex_arbitrum_api_fills.sql | 2 +- .../arbitrum/zeroex_arbitrum_native_fills.sql | 1 + .../zeroex_avalanche_c_api_fills.sql | 2 +- .../zeroex/bnb/zeroex_bnb_api_fills.sql | 2 +- .../bnb/zeroex_bnb_api_fills_deduped.sql | 2 +- .../zeroex/bnb/zeroex_bnb_native_fills.sql | 1 + .../ethereum/zeroex_ethereum_api_fills.sql | 2 +- .../ethereum/zeroex_ethereum_native_fills.sql | 1 + .../ethereum/zeroex_ethereum_nft_fills.sql | 2 +- .../zeroex/fantom/zeroex_fantom_api_fills.sql | 2 +- .../optimism/zeroex_optimism_native_fills.sql | 1 + .../polygon/zeroex_polygon_native_fills.sql | 1 + .../polygon/zeroex_polygon_nft_fills.sql | 3 +- .../_projects/zeroex/zeroex_native_fills.sql | 1 + .../_projects/zeroex/zeroex_native_trades.sql | 1 + .../balancer/balancer_transfers_bpt_seed.csv | 0 .../seeds/_project}/zeroex/_schema.yml | 0 .../_project}/zeroex/arbitrum/_schema.yml | 0 ...roex_arbitrum_api_fills_deduped_sample.csv | 0 .../zeroex_arbitrum_api_fills_sample.csv | 0 .../zeroex_arbitrum_native_fills_sample.csv | 0 .../_project}/zeroex/avalanche_c/_schema.yml | 0 ...x_avalanche_c_api_fills_deduped_sample.csv | 0 .../zeroex_avalanche_c_api_fills_sample.csv | 0 .../seeds/_project}/zeroex/base/_schema.yml | 0 .../base/zeroex_base_api_fills_sample.csv | 0 .../seeds/_project}/zeroex/bnb/_schema.yml | 0 .../zeroex_bnb_api_fills_deduped_sample.csv | 0 .../bnb/zeroex_bnb_api_fills_sample.csv | 0 .../bnb/zeroex_bnb_native_fills_sample.csv | 0 .../seeds/_project}/zeroex/celo/_schema.yml | 0 .../zeroex_celo_api_fills_deduped_sample.csv | 0 .../celo/zeroex_celo_api_fills_sample.csv | 0 .../_project}/zeroex/ethereum/_schema.yml | 0 ...roex_ethereum_api_fills_deduped_sample.csv | 0 .../zeroex_ethereum_api_fills_sample.csv | 0 .../zeroex_ethereum_native_fills_sample.csv | 0 .../zeroex_ethereum_nft_fills_sample.csv | 0 .../seeds/_project}/zeroex/fantom/_schema.yml | 0 ...zeroex_fantom_api_fills_deduped_sample.csv | 0 .../fantom/zeroex_fantom_api_fills_sample.csv | 0 .../_project}/zeroex/optimism/_schema.yml | 0 ...roex_optimism_api_fills_deduped_sample.csv | 0 .../zeroex_optimism_api_fills_sample.csv | 0 .../_project}/zeroex/polygon/_schema.yml | 0 ...eroex_polygon_api_fills_deduped_sample.csv | 0 .../zeroex_polygon_api_fills_sample.csv | 0 .../zeroex_polygon_native_fills_sample.csv | 0 .../zeroex_polygon_nft_fills_sample.csv | 0 .../zeroex_api_fills_deduped_sample.csv | 0 .../zeroex/zeroex_api_fills_sample.csv | 0 .../zeroex/zeroex_native_fills_sample.csv | 0 .../seeds/aggregator_trades}/_schema.yml | 0 .../dex_aggregator_seed.csv | 0 {seeds/dex => dex/seeds}/pools/_schema.yml | 0 .../seeds}/pools/dex_pools_seed.csv | 0 .../dex => dex/seeds/trades}/_schema.yml | 0 .../aerodrome_base_base_trades_seed.csv | 0 .../airswap_arbitrum_base_trades_seed.csv | 0 .../airswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/airswap_bnb_base_trades_seed.csv | 0 .../airswap_ethereum_base_trades_seed.csv | 0 .../airswap_polygon_base_trades_seed.csv | 0 .../alienbase_base_base_trades_seed.csv | 0 .../apeswap_arbitrum_base_trades_seed.csv | 0 .../trades}/apeswap_bnb_base_trades_seed.csv | 0 .../apeswap_ethereum_base_trades_seed.csv | 0 .../apeswap_polygon_base_trades_seed.csv | 0 .../arbswap_arbitrum_base_trades_seed.csv | 0 .../auragi_arbitrum_base_trades_seed.csv | 0 .../autotronic_base_base_trades_seed.csv | 0 .../trades}/babyswap_bnb_base_trades_seed.csv | 0 .../balancer_arbitrum_base_trades_seed.csv | 0 .../balancer_avalanche_c_base_trades_seed.csv | 0 .../balancer_base_base_trades_seed.csv | 0 .../balancer_ethereum_base_trades_seed.csv | 0 .../balancer_gnosis_base_trades_seed.csv | 0 .../balancer_optimism_base_trades_seed.csv | 0 .../balancer_polygon_base_trades_seed.csv | 0 .../balancer_zkevm_base_trades_seed.csv | 0 .../bancor_ethereum_base_trades_seed.csv | 0 .../baseswap_base_base_trades_seed.csv | 0 .../baseswap_basex_base_base_trades_seed.csv | 0 .../baso_finance_base_base_trades_seed.csv | 0 .../beethoven_x_fantom_base_trades_seed.csv | 0 .../beethoven_x_optimism_base_trades_seed.csv | 0 .../trades}/biswap_bnb_base_trades_seed.csv | 0 .../camelot_arbitrum_base_trades_seed.csv | 0 .../carbon_defi_ethereum_base_trades_seed.csv | 0 .../carbonhood_celo_base_trades_seed.csv | 0 .../chainhop_optimism_base_trades_seed.csv | 0 .../chronos_arbitrum_base_trades_seed.csv | 0 .../citadelswap_base_base_trades_seed.csv | 0 .../clipper_arbitrum_base_trades_seed.csv | 0 .../trades}/clipper_base_base_trades_seed.csv | 0 .../clipper_ethereum_base_trades_seed.csv | 0 .../clipper_optimism_base_trades_seed.csv | 0 .../clipper_polygon_base_trades_seed.csv | 0 .../crescentswap_base_base_trades_seed.csv | 0 .../curvefi_avalanche_c_base_trades_seed.csv | 0 .../trades}/curvefi_celo_base_trades_seed.csv | 0 .../curvefi_ethereum_base_trades_seed.csv | 0 .../curvefi_fantom_base_trades_seed.csv | 0 .../curvefi_optimism_base_trades_seed.csv | 0 .../dackieswap_base_base_trades_seed.csv | 0 ...ackieswap_v2_optimism_base_trades_seed.csv | 0 ...ackieswap_v3_optimism_base_trades_seed.csv | 0 .../defiswap_ethereum_base_trades_seed.csv | 0 .../trades}/derpdex_base_base_trades_seed.csv | 0 .../derpdex_zksync_base_trades_seed.csv | 0 .../trades}/dfx_ethereum_base_trades_seed.csv | 0 .../dodo_arbitrum_base_trades_seed.csv | 0 .../trades}/dodo_base_base_trades_seed.csv | 0 .../trades}/dodo_bnb_base_trades_seed.csv | 0 .../dodo_ethereum_base_trades_seed.csv | 0 .../dodo_optimism_base_trades_seed.csv | 0 .../trades}/dodo_polygon_base_trades_seed.csv | 0 .../dooar_polygon_base_trades_seed.csv | 0 ...racula_finance_zksync_base_trades_seed.csv | 0 .../echodex_linea_base_trades_seed.csv | 0 .../elk_finance_base_base_trades_seed.csv | 0 .../elk_finance_optimism_base_trades_seed.csv | 0 .../ellipsis_finance_bnb_base_trades_seed.csv | 0 .../trades}/energon_base_base_trades_seed.csv | 0 .../equalizer_fantom_base_trades_seed.csv | 0 .../ezkalibur_zksync_base_trades_seed.csv | 0 .../fraxswap_arbitrum_base_trades_seed.csv | 0 .../fraxswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/fraxswap_bnb_base_trades_seed.csv | 0 .../fraxswap_ethereum_base_trades_seed.csv | 0 .../fraxswap_optimism_base_trades_seed.csv | 0 .../fraxswap_polygon_base_trades_seed.csv | 0 .../gemswap_zksync_base_trades_seed.csv | 0 .../glacier_avalanche_c_base_trades_seed.csv | 0 .../trades}/gmx_arbitrum_base_trades_seed.csv | 0 .../gmx_avalanche_c_base_trades_seed.csv | 0 .../gridex_arbitrum_base_trades_seed.csv | 0 .../trades}/gridex_base_base_trades_seed.csv | 0 .../gridex_optimism_base_trades_seed.csv | 0 .../hashflow_avalanche_c_base_trades_seed.csv | 0 .../trades}/hashflow_bnb_base_trades_seed.csv | 0 .../hashflow_ethereum_base_trades_seed.csv | 0 .../hashflow_optimism_base_trades_seed.csv | 0 .../honeyswap_gnosis_base_trades_seed.csv | 0 .../honeyswap_polygon_base_trades_seed.csv | 0 .../horizondex_base_base_trades_seed.csv | 0 .../icecreamswap_base_base_trades_seed.csv | 0 ...cecreamswap_v2_scroll_base_trades_seed.csv | 0 .../integral_arbitrum_base_trades_seed.csv | 0 .../integral_ethereum_base_trades_seed.csv | 0 .../trades}/iziswap_bnb_base_trades_seed.csv | 0 .../iziswap_scroll_base_trades_seed.csv | 0 .../iziswap_zksync_base_trades_seed.csv | 0 .../kyberswap_arbitrum_base_trades_seed.csv | 0 ...kyberswap_avalanche_c_base_trades_seed.csv | 0 .../kyberswap_base_base_trades_seed.csv | 0 .../kyberswap_bnb_base_trades_seed.csv | 0 .../kyberswap_ethereum_base_trades_seed.csv | 0 .../kyberswap_optimism_base_trades_seed.csv | 0 .../kyberswap_polygon_base_trades_seed.csv | 0 .../leetswap_v2_base_base_trades_seed.csv | 0 .../trades}/lynex_linea_base_trades_seed.csv | 0 .../mauve_ethereum_base_trades_seed.csv | 0 .../maverick_base_base_trades_seed.csv | 0 .../trades}/maverick_bnb_base_trades_seed.csv | 0 .../maverick_ethereum_base_trades_seed.csv | 0 .../maverick_zksync_base_trades_seed.csv | 0 .../trades}/mdex_bnb_base_trades_seed.csv | 0 .../trades}/mento_celo_base_trades_seed.csv | 0 .../moonbase_base_base_trades_seed.csv | 0 .../mstable_ethereum_base_trades_seed.csv | 0 ...ummy_finance_optimism_base_trades_seed.csv | 0 .../trades}/mute_zksync_base_trades_seed.csv | 0 .../trades}/nile_linea_base_trades_seed.csv | 0 .../trades}/nomiswap_bnb_base_trades_seed.csv | 0 .../trades}/nuri_scroll_base_trades_seed.csv | 0 .../oasisswap_arbitrum_base_trades_seed.csv | 0 .../oasisswap_base_base_trades_seed.csv | 0 .../oneinch_arbitrum_base_trades_seed.csv | 0 .../oneinch_avalanche_c_base_trades_seed.csv | 0 .../trades}/oneinch_base_base_trades_seed.csv | 0 .../trades}/oneinch_bnb_base_trades_seed.csv | 0 .../oneinch_ethereum_base_trades_seed.csv | 0 .../oneinch_fantom_base_trades_seed.csv | 0 .../oneinch_gnosis_base_trades_seed.csv | 0 .../oneinch_optimism_base_trades_seed.csv | 0 .../oneinch_polygon_base_trades_seed.csv | 0 .../oneinch_zksync_base_trades_seed.csv | 0 .../onepunchswap_bnb_base_trades_seed.csv | 0 ...openocean_avalanche_c_base_trades_seed.csv | 0 .../openocean_base_base_trades_seed.csv | 0 .../openocean_fantom_base_trades_seed.csv | 0 .../openocean_optimism_base_trades_seed.csv | 0 .../openxswap_optimism_base_trades_seed.csv | 0 .../opx_finance_optimism_base_trades_seed.csv | 0 .../pancakeswap_arbitrum_base_trades_seed.csv | 0 .../pancakeswap_base_base_trades_seed.csv | 0 .../pancakeswap_bnb_base_trades_seed.csv | 0 .../pancakeswap_ethereum_base_trades_seed.csv | 0 .../pancakeswap_linea_base_trades_seed.csv | 0 .../pancakeswap_zkevm_base_trades_seed.csv | 0 .../pancakeswap_zksync_base_trades_seed.csv | 0 .../pharaoh_avalanche_c_base_trades_seed.csv | 0 .../plantbaseswap_base_base_trades_seed.csv | 0 ...s_finance_avalanche_c_base_trades_seed.csv | 0 .../quickswap_polygon_base_trades_seed.csv | 0 .../ramses_arbitrum_base_trades_seed.csv | 0 .../rocketswap_base_base_trades_seed.csv | 0 .../rubicon_arbitrum_base_trades_seed.csv | 0 .../trades}/rubicon_base_base_trades_seed.csv | 0 .../rubicon_optimism_base_trades_seed.csv | 0 .../trades}/scale_base_base_trades_seed.csv | 0 .../scrollswap_scroll_base_trades_seed.csv | 0 .../trades}/secta_linea_base_trades_seed.csv | 0 .../sharkswap_base_base_trades_seed.csv | 0 .../sharkyswap_arbitrum_base_trades_seed.csv | 0 .../shibaswap_ethereum_base_trades_seed.csv | 0 .../smardex_arbitrum_base_trades_seed.csv | 0 .../trades}/smardex_base_base_trades_seed.csv | 0 .../trades}/sobal_base_base_trades_seed.csv | 0 .../solidlizard_arbitrum_base_trades_seed.csv | 0 .../trades}/solidly_base_base_trades_seed.csv | 0 .../solidly_v3_arbitrum_base_trades_seed.csv | 0 .../solidly_v3_base_base_trades_seed.csv | 0 .../solidly_v3_ethereum_base_trades_seed.csv | 0 .../solidly_v3_fantom_base_trades_seed.csv | 0 .../solidly_v3_optimism_base_trades_seed.csv | 0 .../trades}/soswap_base_base_trades_seed.csv | 0 .../spacefi_zksync_base_trades_seed.csv | 0 ...tacus_exchange_fantom_base_trades_seed.csv | 0 .../spiritswap_fantom_base_trades_seed.csv | 0 .../spookyswap_fantom_base_trades_seed.csv | 0 ...ling_finance_arbitrum_base_trades_seed.csv | 0 .../sushiswap_arbitrum_base_trades_seed.csv | 0 ...sushiswap_avalanche_c_base_trades_seed.csv | 0 .../sushiswap_base_base_trades_seed.csv | 0 .../sushiswap_bnb_base_trades_seed.csv | 0 .../sushiswap_celo_base_trades_seed.csv | 0 .../sushiswap_ethereum_base_trades_seed.csv | 0 .../sushiswap_fantom_base_trades_seed.csv | 0 .../sushiswap_gnosis_base_trades_seed.csv | 0 .../sushiswap_linea_base_trades_seed.csv | 0 .../sushiswap_optimism_base_trades_seed.csv | 0 .../sushiswap_polygon_base_trades_seed.csv | 0 .../sushiswap_scroll_base_trades_seed.csv | 0 .../swaap_v2_arbitrum_base_trades_seed.csv | 0 .../swapbased_base_base_trades_seed.csv | 0 .../swapr_ethereum_base_trades_seed.csv | 0 .../syncswap_scroll_base_trades_seed.csv | 0 .../syncswap_zksync_base_trades_seed.csv | 0 .../synthetix_optimism_base_trades_seed.csv | 0 .../synthswap_base_base_trades_seed.csv | 0 .../trades}/thena_bnb_base_trades_seed.csv | 0 ...rone_exchange_v2_base_base_trades_seed.csv | 0 ...rone_exchange_v3_base_base_trades_seed.csv | 0 .../trades}/torus_base_base_trades_seed.csv | 0 .../trader_joe_arbitrum_base_trades_seed.csv | 0 ...rader_joe_avalanche_c_base_trades_seed.csv | 0 .../trader_joe_bnb_base_trades_seed.csv | 0 .../trades}/ubeswap_celo_base_trades_seed.csv | 0 .../uniswap_arbitrum_base_trades_seed.csv | 0 .../uniswap_avalanche_c_base_trades_seed.csv | 0 .../trades}/uniswap_base_base_trades_seed.csv | 0 .../trades}/uniswap_bnb_base_trades_seed.csv | 0 .../trades}/uniswap_celo_base_trades_seed.csv | 0 .../uniswap_ethereum_base_trades_seed.csv | 0 .../uniswap_optimism_base_trades_seed.csv | 0 .../uniswap_polygon_base_trades_seed.csv | 0 .../uniswap_scroll_base_trades_seed.csv | 0 .../uniswap_zksync_base_trades_seed.csv | 0 .../trades}/uniswap_zora_base_trades_seed.csv | 0 .../velocimeter_v2_base_base_trades_seed.csv | 0 .../velocore_zksync_base_trades_seed.csv | 0 .../velodrome_optimism_base_trades_seed.csv | 0 .../verse_dex_ethereum_base_trades_seed.csv | 0 .../vesync_zksync_base_trades_seed.csv | 0 .../voltswap_base_base_trades_seed.csv | 0 .../trades}/wagmi_zksync_base_trades_seed.csv | 0 .../wardenswap_optimism_base_trades_seed.csv | 0 .../wigoswap_fantom_base_trades_seed.csv | 0 .../trades}/wombat_bnb_base_trades_seed.csv | 0 ...bat_exchange_arbitrum_base_trades_seed.csv | 0 .../wombat_exchange_base_base_trades_seed.csv | 0 ...bat_exchange_optimism_base_trades_seed.csv | 0 .../woofi_arbitrum_base_trades_seed.csv | 0 .../woofi_avalanche_c_base_trades_seed.csv | 0 .../trades}/woofi_base_base_trades_seed.csv | 0 .../trades}/woofi_bnb_base_trades_seed.csv | 0 .../woofi_optimism_base_trades_seed.csv | 0 .../xchange_arbitrum_base_trades_seed.csv | 0 .../trades}/xchange_bnb_base_trades_seed.csv | 0 .../xchange_ethereum_base_trades_seed.csv | 0 .../xchange_polygon_base_trades_seed.csv | 0 .../trades}/zebra_scroll_base_trades_seed.csv | 0 .../zigzag_arbitrum_base_trades_seed.csv | 0 .../zipswap_optimism_base_trades_seed.csv | 0 ...zkswap_finance_zksync_base_trades_seed.csv | 0 .../zyberswap_arbitrum_base_trades_seed.csv | 0 .../cow_protocol_ethereum_assert_batches.sql | 0 ...ow_protocol_ethereum_assert_order_type.sql | 0 ..._protocol_ethereum_assert_partial_fill.sql | 0 .../cow_protocol_ethereum_assert_slippage.sql | 0 .../cow_protocol_ethereum_assert_solvers.sql | 0 .../cow_protocol_ethereum_assert_trades.sql | 0 .../cow_protocol_gnosis_assert_solvers.sql | 0 .../fantom/beethoven_x_fantom_schema.yml | 49 -- .../curvefi_ethereum_view_pools_postgres.csv | 299 ---------- seeds/dex/trades/_schema.yml | 12 - seeds/dex/trades/dex_trades_seed.csv | 541 ------------------ 335 files changed, 114 insertions(+), 1002 deletions(-) create mode 100644 dex/models/_projects/beethoven_x/_schema.yml rename {models/beethoven_x/fantom => dex/models/_projects/beethoven_x}/beethoven_x_fantom_pools_fees.sql (100%) rename {seeds => dex/seeds/_project}/balancer/balancer_transfers_bpt_seed.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/base/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/base/zeroex_base_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/bnb/zeroex_bnb_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/celo/zeroex_celo_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/fantom/zeroex_fantom_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/optimism/zeroex_optimism_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/_schema.yml (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_native_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_api_fills_deduped_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_api_fills_sample.csv (100%) rename {seeds => dex/seeds/_project}/zeroex/zeroex_native_fills_sample.csv (100%) rename {seeds/dex/aggregator => dex/seeds/aggregator_trades}/_schema.yml (100%) rename {seeds/dex/aggregator => dex/seeds/aggregator_trades}/dex_aggregator_seed.csv (100%) rename {seeds/dex => dex/seeds}/pools/_schema.yml (100%) rename {seeds/dex => dex/seeds}/pools/dex_pools_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/_schema.yml (100%) rename {seeds/_sector/dex => dex/seeds/trades}/aerodrome_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/airswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/alienbase_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/apeswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/arbswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/auragi_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/autotronic_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/babyswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/balancer_zkevm_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/bancor_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baseswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baseswap_basex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/baso_finance_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/beethoven_x_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/beethoven_x_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/biswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/camelot_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/carbon_defi_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/carbonhood_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/chainhop_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/chronos_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/citadelswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/clipper_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/crescentswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/curvefi_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_v2_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dackieswap_v3_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/defiswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/derpdex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/derpdex_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dfx_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dodo_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dooar_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/dracula_finance_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/echodex_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/elk_finance_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/elk_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ellipsis_finance_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/energon_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/equalizer_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ezkalibur_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/fraxswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gemswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/glacier_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gmx_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gmx_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/gridex_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/hashflow_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/honeyswap_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/honeyswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/horizondex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/icecreamswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/icecreamswap_v2_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/integral_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/integral_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/iziswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/kyberswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/leetswap_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/lynex_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mauve_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/maverick_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mdex_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mento_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/moonbase_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mstable_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mummy_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/mute_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nile_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nomiswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/nuri_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oasisswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oasisswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/oneinch_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/onepunchswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openocean_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/openxswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/opx_finance_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_zkevm_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pancakeswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/pharaoh_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/plantbaseswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/platypus_finance_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/quickswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ramses_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rocketswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/rubicon_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/scale_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/scrollswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/secta_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sharkswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sharkyswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/shibaswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/smardex_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/smardex_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sobal_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidlizard_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/solidly_v3_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/soswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spacefi_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spartacus_exchange_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spiritswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/spookyswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sterling_finance_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_gnosis_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_linea_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/sushiswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swaap_v2_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swapbased_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/swapr_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/syncswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/syncswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/synthetix_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/synthswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/thena_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/throne_exchange_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/throne_exchange_v3_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/torus_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/trader_joe_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/ubeswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_celo_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/uniswap_zora_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velocimeter_v2_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velocore_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/velodrome_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/verse_dex_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/vesync_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/voltswap_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wagmi_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wardenswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wigoswap_fantom_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/wombat_exchange_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_avalanche_c_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_base_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/woofi_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_bnb_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_ethereum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/xchange_polygon_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zebra_scroll_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zigzag_arbitrum_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zipswap_optimism_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zkswap_finance_zksync_base_trades_seed.csv (100%) rename {seeds/_sector/dex => dex/seeds/trades}/zyberswap_arbitrum_base_trades_seed.csv (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql (100%) rename {tests => dex/tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql (100%) rename {tests => dex/tests}/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql (100%) delete mode 100644 seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv delete mode 100644 seeds/dex/trades/_schema.yml delete mode 100644 seeds/dex/trades/dex_trades_seed.csv diff --git a/dbt_project.yml b/dbt_project.yml index 73cb2738b7e..55e4fbe55db 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -114,21 +114,6 @@ models: polygon: +schema: balances_polygon - dodo: - +schema: dodo - ethereum: - +schema: dodo_ethereum - bnb: - +schema: dodo_bnb - polygon: - +schema: dodo_polygon - arbitrum: - +schema: dodo_arbitrum - optimism: - +schema: dodo_optimism - base: - +schema: dodo_base - labels: +schema: labels +materialized: table @@ -150,11 +135,6 @@ models: solana_utils: +schema: solana_utils - odos: - +schema: odos - avalanche_c: - +schema: odos_avalanche_c - transfers: +schema: transfers ethereum: @@ -240,11 +220,6 @@ models: bnb: +schema: spaceid_bnb - spartacus_exchange: - +schema: spartacus_exchange - fantom: - +schema: spartacus_exchange_fantom - tornado_cash: +schema: tornado_cash arbitrum: @@ -369,25 +344,6 @@ models: ethereum: +schema: nexusmutual_ethereum - zeroex: - +schema: zeroex - ethereum: - +schema: zeroex_ethereum - optimism: - +schema: zeroex_optimism - polygon: - +schema: zeroex_polygon - avalanche_c: - +schema: zeroex_avalanche_c - fantom: - +schema: zeroex_fantom - arbitrum: - +schema: zeroex_arbitrum - bnb: - +schema: zeroex_bnb - celo: - +schema: zeroex_celo - ampleforth: +schema: ampleforth @@ -471,11 +427,6 @@ models: ethereum: +schema: tokenfy_ethereum - tokenlon: - +schema: tokenlon - ethereum: - +schema: tokenlon_ethereum - thales: +schema: thales ethereum: diff --git a/dex/dbt_project.yml b/dex/dbt_project.yml index e8901fdd5ad..140b7eeb175 100644 --- a/dex/dbt_project.yml +++ b/dex/dbt_project.yml @@ -21,10 +21,9 @@ vars: # You don't need to change these! model-paths: ["models", "../sources"] analysis-paths: ["analyses"] -# ../tests/* should be added to a separate shared folder test-paths: ["tests"] seed-paths: ["seeds"] -macro-paths: ["../macros", "macros"] +macro-paths: ["macros", "../macros"] snapshot-paths: ["snapshots"] target-path: "target" # directory which will store compiled SQL files @@ -41,8 +40,6 @@ tests: # Configuring seeds # Full documentation: https://docs.getdbt.com/reference/seed-configs # For configuring individual seeds (e.g. overriding column types) we recommend a yml file nested in the same folder as the seed -# example: seeds/cryptopunks/schema.yml -# TODO: uncomment when seeds are added seeds: dex: +schema: test_data diff --git a/dex/models/_projects/beethoven_x/_schema.yml b/dex/models/_projects/beethoven_x/_schema.yml new file mode 100644 index 00000000000..bfc9021bb99 --- /dev/null +++ b/dex/models/_projects/beethoven_x/_schema.yml @@ -0,0 +1,53 @@ +version: 2 + +models: + - name: beethoven_x_fantom_pools_fees + meta: + blockchain: fantom + project: beethoven_x + contributors: jacektrocinski, thetroyharris, tomfutago + config: + tags: ['fantom', 'balancer', 'pools_fees'] + description: > + Beethoven X swap fees stored at the pool level. + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - block_number + - tx_hash + - index + columns: + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &contract_address + name: contract_address + description: 'fantom address for the liquidity pool used in transaction' + tests: + - not_null + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" + - &index + name: index + description: '' + tests: + - not_null + - &tx_index + name: tx_index + description: '' + tests: + - not_null + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" + - &block_number + name: block_number + description: 'Block number' + tests: + - not_null + - &swap_fee_percentage + name: swap_fee_percentage + description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' + tests: + - not_null \ No newline at end of file diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_pools_fees.sql b/dex/models/_projects/beethoven_x/beethoven_x_fantom_pools_fees.sql similarity index 100% rename from models/beethoven_x/fantom/beethoven_x_fantom_pools_fees.sql rename to dex/models/_projects/beethoven_x/beethoven_x_fantom_pools_fees.sql diff --git a/dex/models/_projects/cow_protocol/cow_protocol_trades.sql b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql index 6f2a84d55e8..aa731eafcf3 100644 --- a/dex/models/_projects/cow_protocol/cow_protocol_trades.sql +++ b/dex/models/_projects/cow_protocol/cow_protocol_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'cow_protocol', alias='trades', post_hook='{{ expose_spells(\'["ethereum", "gnosis", "arbitrum"]\', "project", diff --git a/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql index 5f7b78c54ee..0ff99b3625a 100644 --- a/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql +++ b/dex/models/_projects/cow_protocol/ethereum/cow_protocol_ethereum_trades.sql @@ -1,17 +1,17 @@ {{ config( - - alias='trades', - materialized='incremental', - partition_by = ['block_month'], - unique_key = ['tx_hash', 'order_uid', 'evt_index'], - on_schema_change='sync_all_columns', - file_format ='delta', - incremental_strategy='merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "cow_protocol", - \'["bh2smith", "gentrexha", "olgafetisova"]\') }}' + schema='cow_protocol_ethereum', + alias='trades', + materialized='incremental', + partition_by = ['block_month'], + unique_key = ['tx_hash', 'order_uid', 'evt_index'], + on_schema_change='sync_all_columns', + file_format ='delta', + incremental_strategy='merge', + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], + post_hook='{{ expose_spells(\'["ethereum"]\', + "project", + "cow_protocol", + \'["bh2smith", "gentrexha", "olgafetisova"]\') }}' ) }} diff --git a/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql index 2bae34d7c63..60277f51741 100644 --- a/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql +++ b/dex/models/_projects/cow_protocol/gnosis/cow_protocol_gnosis_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'cow_protocol_gnosis', alias='trades', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql index 08b6d5778a4..e16b77aebbc 100644 --- a/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql +++ b/dex/models/_projects/dodo/arbitrum/dodo_aggregator_arbitrum_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_arbitrum', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql index 3f9374a5210..7842933a35b 100644 --- a/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql +++ b/dex/models/_projects/dodo/base/dodo_aggregator_base_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_base', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql index 02c5d8cfb0a..8bbd1c5812c 100644 --- a/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql +++ b/dex/models/_projects/dodo/bnb/dodo_aggregator_bnb_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_bnb', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/dodo_aggregator_trades.sql b/dex/models/_projects/dodo/dodo_aggregator_trades.sql index 499def3d2f7..960836bfe2a 100644 --- a/dex/models/_projects/dodo/dodo_aggregator_trades.sql +++ b/dex/models/_projects/dodo/dodo_aggregator_trades.sql @@ -1,11 +1,11 @@ {{ config( - - alias = 'aggregator_trades', - post_hook='{{ expose_spells(\'["ethereum","bnb","polygon","arbitrum","optimism","base"]\', - "project", - "dodo", - \'["owen05"]\') }}' - ) + schema = 'dodo', + alias = 'aggregator_trades', + post_hook='{{ expose_spells(\'["ethereum","bnb","polygon","arbitrum","optimism","base"]\', + "project", + "dodo", + \'["owen05"]\') }}' + ) }} {% set dodo_models = [ diff --git a/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql index 03a9d496d67..0276d19f0be 100644 --- a/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql +++ b/dex/models/_projects/dodo/ethereum/dodo_aggregator_ethereum_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_ethereum', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql index 8325dd73c9f..16783aec971 100644 --- a/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql +++ b/dex/models/_projects/dodo/optimism/dodo_aggregator_optimism_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_optimism', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql index 7b3f165cbcf..44391d3e094 100644 --- a/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql +++ b/dex/models/_projects/dodo/polygon/dodo_aggregator_polygon_trades.sql @@ -1,6 +1,6 @@ {{ config ( - + schema = 'dodo_polygon', alias = 'aggregator_trades', partition_by = ['block_month'], materialized = 'incremental', diff --git a/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql index bb0bfdcbfcc..83ab544ad74 100644 --- a/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql +++ b/dex/models/_projects/lifi/fantom/lifi_fantom_trades.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'lifi_fantom', alias = 'trades' ) }} diff --git a/dex/models/_projects/lifi/lifi_trades.sql b/dex/models/_projects/lifi/lifi_trades.sql index 4f4cf5e3e15..d91055d86c9 100644 --- a/dex/models/_projects/lifi/lifi_trades.sql +++ b/dex/models/_projects/lifi/lifi_trades.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'lifi', alias = 'trades', post_hook='{{ expose_spells(\'["fantom", "optimism"]\', "project", diff --git a/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql index 2d678eb3c01..d373f3f66a2 100644 --- a/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql +++ b/dex/models/_projects/lifi/optimism/lifi_optimism_trades.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'lifi_optimism', alias = 'trades' ) }} diff --git a/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql index cdb4fbc5623..756f8f1a57f 100644 --- a/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql +++ b/dex/models/_projects/odos/avalanche_c/odos_avalanche_c_trades.sql @@ -1,5 +1,6 @@ {{ config( tags=['prod_exclude'], + schema = 'odos_avalanche_c', alias = 'trades', partition_by = ['block_date'], materialized = 'incremental', diff --git a/dex/models/_projects/odos/odos_trades.sql b/dex/models/_projects/odos/odos_trades.sql index 86bfa269889..43e2ac5e5c8 100644 --- a/dex/models/_projects/odos/odos_trades.sql +++ b/dex/models/_projects/odos/odos_trades.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'odos', alias = 'trades', post_hook='{{ expose_spells(\'["optimism", "ethereum"]\', "project", diff --git a/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql index 26b6080c5ad..caf5ee80c48 100644 --- a/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql +++ b/dex/models/_projects/spartacus_exchange/fantom/spartacus_exchange_fantom_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'spartacus_exchange_fantom', alias = 'pools', materialized = 'incremental', file_format = 'delta', diff --git a/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql index 8f0d950c9f6..b4e84971d72 100644 --- a/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql +++ b/dex/models/_projects/tokenlon/ethereum/tokenlon_ethereum_trades.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'tokenlon_ethereum', alias = 'trades', - post_hook='{{ expose_spells(\'["ethereum"]\', "project", "tokenlon", diff --git a/dex/models/_projects/tokenlon/tokenlon_trades.sql b/dex/models/_projects/tokenlon/tokenlon_trades.sql index a1112f50354..3079a528466 100644 --- a/dex/models/_projects/tokenlon/tokenlon_trades.sql +++ b/dex/models/_projects/tokenlon/tokenlon_trades.sql @@ -1,6 +1,6 @@ {{ config( + schema = 'tokenlon', alias = 'trades', - post_hook='{{ expose_spells(\'["ethereum"]\', "project", "tokenlon", diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml index 326c0b71539..9b676eec81d 100644 --- a/dex/models/_projects/uniswap/_schema.yml +++ b/dex/models/_projects/uniswap/_schema.yml @@ -29,9 +29,11 @@ models: description: "DEX pool smart contract address" - name: fee description: "Defined fee" - - name: token0 + - &token0 + name: token0 description: "First token in pool" - - name: token1 + - &token1 + name: token1 description: "Second token in pool" - name: creation_block_time description: "Block time of pool creation" @@ -57,7 +59,8 @@ models: description: "DEX pool smart contract address" tests: - unique - - name: fee + - &fee + name: fee description: "Defined fee" - name: token0 description: "First token in pool" diff --git a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql index 7c026ee6280..496d1694397 100644 --- a/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql +++ b/dex/models/_projects/uniswap/arbitrum/uniswap_arbitrum_pools.sql @@ -1,5 +1,4 @@ {{ config( - schema = 'uniswap_arbitrum', alias = 'pools', materialized = 'incremental', diff --git a/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql index 5513681bd8c..cc6675f88b7 100644 --- a/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql +++ b/dex/models/_projects/uniswap/bnb/uniswap_bnb_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap_bnb', alias = 'pools', materialized = 'incremental', diff --git a/dex/models/_projects/uniswap/uniswap_pools.sql b/dex/models/_projects/uniswap/uniswap_pools.sql index 184d0b59c38..3e88d084378 100644 --- a/dex/models/_projects/uniswap/uniswap_pools.sql +++ b/dex/models/_projects/uniswap/uniswap_pools.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap', alias = 'pools', post_hook='{{ expose_spells(\'["ethereum", "arbitrum", "polygon"]\', "project", diff --git a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql index ca28b611eb6..522b4e786ee 100644 --- a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql +++ b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_arbitrum', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql index b6443dd96eb..c0dcc026f90 100644 --- a/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql +++ b/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_arbitrum', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql index ecc912e35f6..61517e467d8 100644 --- a/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql +++ b/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_avalance_c', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql index a4b0a526244..5dca26f6314 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_bnb', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql index f669c048297..68be120d149 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_deduped.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_bnb', alias = 'api_fills_deduped', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql index 4a20b62ee56..6b582e2d540 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_bnb', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql index 1531044e861..a8d101a01e2 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_ethereum', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql index 6bf44060d48..d25d7b2ed58 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_ethereum', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql index 67140ef0f2a..faf0b2ce872 100644 --- a/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql +++ b/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_nft_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_ethereum', alias = 'nft_fills', materialized='incremental', partition_by = ['block_date'], diff --git a/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql index 7aa286884d8..5b72e6db837 100644 --- a/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql +++ b/dex/models/_projects/zeroex/fantom/zeroex_fantom_api_fills.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'zeroex_fantom', alias = 'api_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql index 6543c86271f..c8b03dc979e 100644 --- a/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql +++ b/dex/models/_projects/zeroex/optimism/zeroex_optimism_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_optimism', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql index 2fb1d2b80bc..6d37f0eaa50 100644 --- a/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql +++ b/dex/models/_projects/zeroex/polygon/zeroex_polygon_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex_polygon', alias = 'native_fills', materialized='incremental', partition_by = ['block_month'], diff --git a/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql index c59c022a550..4dc306800c5 100644 --- a/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql +++ b/dex/models/_projects/zeroex/polygon/zeroex_polygon_nft_fills.sql @@ -1,5 +1,6 @@ {{ config( -tags=['prod_exclude'], + tags=['prod_exclude'], + schema = 'zeroex_polygon', alias = 'nft_fills', materialized='incremental', partition_by = ['block_date'], diff --git a/dex/models/_projects/zeroex/zeroex_native_fills.sql b/dex/models/_projects/zeroex/zeroex_native_fills.sql index f9e1bb61214..156b6b259ae 100644 --- a/dex/models/_projects/zeroex/zeroex_native_fills.sql +++ b/dex/models/_projects/zeroex/zeroex_native_fills.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex', alias = 'native_fills', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon","bnb"]\', "project", diff --git a/dex/models/_projects/zeroex/zeroex_native_trades.sql b/dex/models/_projects/zeroex/zeroex_native_trades.sql index 506e7e49e59..3a2195e6c62 100644 --- a/dex/models/_projects/zeroex/zeroex_native_trades.sql +++ b/dex/models/_projects/zeroex/zeroex_native_trades.sql @@ -1,4 +1,5 @@ {{ config( + schema = 'zeroex', alias = 'native_trades', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon","bnb"]\', "project", diff --git a/seeds/balancer/balancer_transfers_bpt_seed.csv b/dex/seeds/_project/balancer/balancer_transfers_bpt_seed.csv similarity index 100% rename from seeds/balancer/balancer_transfers_bpt_seed.csv rename to dex/seeds/_project/balancer/balancer_transfers_bpt_seed.csv diff --git a/seeds/zeroex/_schema.yml b/dex/seeds/_project/zeroex/_schema.yml similarity index 100% rename from seeds/zeroex/_schema.yml rename to dex/seeds/_project/zeroex/_schema.yml diff --git a/seeds/zeroex/arbitrum/_schema.yml b/dex/seeds/_project/zeroex/arbitrum/_schema.yml similarity index 100% rename from seeds/zeroex/arbitrum/_schema.yml rename to dex/seeds/_project/zeroex/arbitrum/_schema.yml diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_api_fills_sample.csv diff --git a/seeds/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv b/dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv rename to dex/seeds/_project/zeroex/arbitrum/zeroex_arbitrum_native_fills_sample.csv diff --git a/seeds/zeroex/avalanche_c/_schema.yml b/dex/seeds/_project/zeroex/avalanche_c/_schema.yml similarity index 100% rename from seeds/zeroex/avalanche_c/_schema.yml rename to dex/seeds/_project/zeroex/avalanche_c/_schema.yml diff --git a/seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv b/dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv rename to dex/seeds/_project/zeroex/avalanche_c/zeroex_avalanche_c_api_fills_sample.csv diff --git a/seeds/zeroex/base/_schema.yml b/dex/seeds/_project/zeroex/base/_schema.yml similarity index 100% rename from seeds/zeroex/base/_schema.yml rename to dex/seeds/_project/zeroex/base/_schema.yml diff --git a/seeds/zeroex/base/zeroex_base_api_fills_sample.csv b/dex/seeds/_project/zeroex/base/zeroex_base_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/base/zeroex_base_api_fills_sample.csv rename to dex/seeds/_project/zeroex/base/zeroex_base_api_fills_sample.csv diff --git a/seeds/zeroex/bnb/_schema.yml b/dex/seeds/_project/zeroex/bnb/_schema.yml similarity index 100% rename from seeds/zeroex/bnb/_schema.yml rename to dex/seeds/_project/zeroex/bnb/_schema.yml diff --git a/seeds/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/bnb/zeroex_bnb_api_fills_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_api_fills_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_api_fills_sample.csv diff --git a/seeds/zeroex/bnb/zeroex_bnb_native_fills_sample.csv b/dex/seeds/_project/zeroex/bnb/zeroex_bnb_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/bnb/zeroex_bnb_native_fills_sample.csv rename to dex/seeds/_project/zeroex/bnb/zeroex_bnb_native_fills_sample.csv diff --git a/seeds/zeroex/celo/_schema.yml b/dex/seeds/_project/zeroex/celo/_schema.yml similarity index 100% rename from seeds/zeroex/celo/_schema.yml rename to dex/seeds/_project/zeroex/celo/_schema.yml diff --git a/seeds/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/celo/zeroex_celo_api_fills_sample.csv b/dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/celo/zeroex_celo_api_fills_sample.csv rename to dex/seeds/_project/zeroex/celo/zeroex_celo_api_fills_sample.csv diff --git a/seeds/zeroex/ethereum/_schema.yml b/dex/seeds/_project/zeroex/ethereum/_schema.yml similarity index 100% rename from seeds/zeroex/ethereum/_schema.yml rename to dex/seeds/_project/zeroex/ethereum/_schema.yml diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_api_fills_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_native_fills_sample.csv diff --git a/seeds/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv b/dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv similarity index 100% rename from seeds/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv rename to dex/seeds/_project/zeroex/ethereum/zeroex_ethereum_nft_fills_sample.csv diff --git a/seeds/zeroex/fantom/_schema.yml b/dex/seeds/_project/zeroex/fantom/_schema.yml similarity index 100% rename from seeds/zeroex/fantom/_schema.yml rename to dex/seeds/_project/zeroex/fantom/_schema.yml diff --git a/seeds/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/fantom/zeroex_fantom_api_fills_sample.csv b/dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/fantom/zeroex_fantom_api_fills_sample.csv rename to dex/seeds/_project/zeroex/fantom/zeroex_fantom_api_fills_sample.csv diff --git a/seeds/zeroex/optimism/_schema.yml b/dex/seeds/_project/zeroex/optimism/_schema.yml similarity index 100% rename from seeds/zeroex/optimism/_schema.yml rename to dex/seeds/_project/zeroex/optimism/_schema.yml diff --git a/seeds/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/optimism/zeroex_optimism_api_fills_sample.csv b/dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/optimism/zeroex_optimism_api_fills_sample.csv rename to dex/seeds/_project/zeroex/optimism/zeroex_optimism_api_fills_sample.csv diff --git a/seeds/zeroex/polygon/_schema.yml b/dex/seeds/_project/zeroex/polygon/_schema.yml similarity index 100% rename from seeds/zeroex/polygon/_schema.yml rename to dex/seeds/_project/zeroex/polygon/_schema.yml diff --git a/seeds/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_api_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_api_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_api_fills_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_native_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_native_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_native_fills_sample.csv diff --git a/seeds/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv b/dex/seeds/_project/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv similarity index 100% rename from seeds/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv rename to dex/seeds/_project/zeroex/polygon/zeroex_polygon_nft_fills_sample.csv diff --git a/seeds/zeroex/zeroex_api_fills_deduped_sample.csv b/dex/seeds/_project/zeroex/zeroex_api_fills_deduped_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_api_fills_deduped_sample.csv rename to dex/seeds/_project/zeroex/zeroex_api_fills_deduped_sample.csv diff --git a/seeds/zeroex/zeroex_api_fills_sample.csv b/dex/seeds/_project/zeroex/zeroex_api_fills_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_api_fills_sample.csv rename to dex/seeds/_project/zeroex/zeroex_api_fills_sample.csv diff --git a/seeds/zeroex/zeroex_native_fills_sample.csv b/dex/seeds/_project/zeroex/zeroex_native_fills_sample.csv similarity index 100% rename from seeds/zeroex/zeroex_native_fills_sample.csv rename to dex/seeds/_project/zeroex/zeroex_native_fills_sample.csv diff --git a/seeds/dex/aggregator/_schema.yml b/dex/seeds/aggregator_trades/_schema.yml similarity index 100% rename from seeds/dex/aggregator/_schema.yml rename to dex/seeds/aggregator_trades/_schema.yml diff --git a/seeds/dex/aggregator/dex_aggregator_seed.csv b/dex/seeds/aggregator_trades/dex_aggregator_seed.csv similarity index 100% rename from seeds/dex/aggregator/dex_aggregator_seed.csv rename to dex/seeds/aggregator_trades/dex_aggregator_seed.csv diff --git a/seeds/dex/pools/_schema.yml b/dex/seeds/pools/_schema.yml similarity index 100% rename from seeds/dex/pools/_schema.yml rename to dex/seeds/pools/_schema.yml diff --git a/seeds/dex/pools/dex_pools_seed.csv b/dex/seeds/pools/dex_pools_seed.csv similarity index 100% rename from seeds/dex/pools/dex_pools_seed.csv rename to dex/seeds/pools/dex_pools_seed.csv diff --git a/seeds/_sector/dex/_schema.yml b/dex/seeds/trades/_schema.yml similarity index 100% rename from seeds/_sector/dex/_schema.yml rename to dex/seeds/trades/_schema.yml diff --git a/seeds/_sector/dex/aerodrome_base_base_trades_seed.csv b/dex/seeds/trades/aerodrome_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/aerodrome_base_base_trades_seed.csv rename to dex/seeds/trades/aerodrome_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/airswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/airswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/airswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/airswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_bnb_base_trades_seed.csv b/dex/seeds/trades/airswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/airswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/airswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/airswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/airswap_polygon_base_trades_seed.csv b/dex/seeds/trades/airswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/airswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/airswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/alienbase_base_base_trades_seed.csv b/dex/seeds/trades/alienbase_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/alienbase_base_base_trades_seed.csv rename to dex/seeds/trades/alienbase_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/apeswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/apeswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_bnb_base_trades_seed.csv b/dex/seeds/trades/apeswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/apeswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/apeswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/apeswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/apeswap_polygon_base_trades_seed.csv b/dex/seeds/trades/apeswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/apeswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/apeswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/arbswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/arbswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/arbswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/arbswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/auragi_arbitrum_base_trades_seed.csv b/dex/seeds/trades/auragi_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/auragi_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/auragi_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/autotronic_base_base_trades_seed.csv b/dex/seeds/trades/autotronic_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/autotronic_base_base_trades_seed.csv rename to dex/seeds/trades/autotronic_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/babyswap_bnb_base_trades_seed.csv b/dex/seeds/trades/babyswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/babyswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/babyswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_arbitrum_base_trades_seed.csv b/dex/seeds/trades/balancer_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/balancer_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/balancer_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/balancer_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_base_base_trades_seed.csv b/dex/seeds/trades/balancer_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_base_base_trades_seed.csv rename to dex/seeds/trades/balancer_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_ethereum_base_trades_seed.csv b/dex/seeds/trades/balancer_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_ethereum_base_trades_seed.csv rename to dex/seeds/trades/balancer_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_gnosis_base_trades_seed.csv b/dex/seeds/trades/balancer_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_gnosis_base_trades_seed.csv rename to dex/seeds/trades/balancer_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_optimism_base_trades_seed.csv b/dex/seeds/trades/balancer_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_optimism_base_trades_seed.csv rename to dex/seeds/trades/balancer_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_polygon_base_trades_seed.csv b/dex/seeds/trades/balancer_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_polygon_base_trades_seed.csv rename to dex/seeds/trades/balancer_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/balancer_zkevm_base_trades_seed.csv b/dex/seeds/trades/balancer_zkevm_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/balancer_zkevm_base_trades_seed.csv rename to dex/seeds/trades/balancer_zkevm_base_trades_seed.csv diff --git a/seeds/_sector/dex/bancor_ethereum_base_trades_seed.csv b/dex/seeds/trades/bancor_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/bancor_ethereum_base_trades_seed.csv rename to dex/seeds/trades/bancor_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/baseswap_base_base_trades_seed.csv b/dex/seeds/trades/baseswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baseswap_base_base_trades_seed.csv rename to dex/seeds/trades/baseswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/baseswap_basex_base_base_trades_seed.csv b/dex/seeds/trades/baseswap_basex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baseswap_basex_base_base_trades_seed.csv rename to dex/seeds/trades/baseswap_basex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/baso_finance_base_base_trades_seed.csv b/dex/seeds/trades/baso_finance_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/baso_finance_base_base_trades_seed.csv rename to dex/seeds/trades/baso_finance_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/beethoven_x_fantom_base_trades_seed.csv b/dex/seeds/trades/beethoven_x_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/beethoven_x_fantom_base_trades_seed.csv rename to dex/seeds/trades/beethoven_x_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/beethoven_x_optimism_base_trades_seed.csv b/dex/seeds/trades/beethoven_x_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/beethoven_x_optimism_base_trades_seed.csv rename to dex/seeds/trades/beethoven_x_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/biswap_bnb_base_trades_seed.csv b/dex/seeds/trades/biswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/biswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/biswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/camelot_arbitrum_base_trades_seed.csv b/dex/seeds/trades/camelot_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/camelot_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/camelot_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/carbon_defi_ethereum_base_trades_seed.csv b/dex/seeds/trades/carbon_defi_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/carbon_defi_ethereum_base_trades_seed.csv rename to dex/seeds/trades/carbon_defi_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/carbonhood_celo_base_trades_seed.csv b/dex/seeds/trades/carbonhood_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/carbonhood_celo_base_trades_seed.csv rename to dex/seeds/trades/carbonhood_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/chainhop_optimism_base_trades_seed.csv b/dex/seeds/trades/chainhop_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/chainhop_optimism_base_trades_seed.csv rename to dex/seeds/trades/chainhop_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/chronos_arbitrum_base_trades_seed.csv b/dex/seeds/trades/chronos_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/chronos_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/chronos_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/citadelswap_base_base_trades_seed.csv b/dex/seeds/trades/citadelswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/citadelswap_base_base_trades_seed.csv rename to dex/seeds/trades/citadelswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_arbitrum_base_trades_seed.csv b/dex/seeds/trades/clipper_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/clipper_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_base_base_trades_seed.csv b/dex/seeds/trades/clipper_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_base_base_trades_seed.csv rename to dex/seeds/trades/clipper_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_ethereum_base_trades_seed.csv b/dex/seeds/trades/clipper_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_ethereum_base_trades_seed.csv rename to dex/seeds/trades/clipper_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_optimism_base_trades_seed.csv b/dex/seeds/trades/clipper_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_optimism_base_trades_seed.csv rename to dex/seeds/trades/clipper_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/clipper_polygon_base_trades_seed.csv b/dex/seeds/trades/clipper_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/clipper_polygon_base_trades_seed.csv rename to dex/seeds/trades/clipper_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/crescentswap_base_base_trades_seed.csv b/dex/seeds/trades/crescentswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/crescentswap_base_base_trades_seed.csv rename to dex/seeds/trades/crescentswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/curvefi_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/curvefi_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_celo_base_trades_seed.csv b/dex/seeds/trades/curvefi_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_celo_base_trades_seed.csv rename to dex/seeds/trades/curvefi_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_ethereum_base_trades_seed.csv b/dex/seeds/trades/curvefi_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_ethereum_base_trades_seed.csv rename to dex/seeds/trades/curvefi_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_fantom_base_trades_seed.csv b/dex/seeds/trades/curvefi_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_fantom_base_trades_seed.csv rename to dex/seeds/trades/curvefi_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/curvefi_optimism_base_trades_seed.csv b/dex/seeds/trades/curvefi_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/curvefi_optimism_base_trades_seed.csv rename to dex/seeds/trades/curvefi_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_base_base_trades_seed.csv b/dex/seeds/trades/dackieswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_base_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_v2_optimism_base_trades_seed.csv b/dex/seeds/trades/dackieswap_v2_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_v2_optimism_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_v2_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dackieswap_v3_optimism_base_trades_seed.csv b/dex/seeds/trades/dackieswap_v3_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dackieswap_v3_optimism_base_trades_seed.csv rename to dex/seeds/trades/dackieswap_v3_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/defiswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/defiswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/defiswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/defiswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/derpdex_base_base_trades_seed.csv b/dex/seeds/trades/derpdex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/derpdex_base_base_trades_seed.csv rename to dex/seeds/trades/derpdex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/derpdex_zksync_base_trades_seed.csv b/dex/seeds/trades/derpdex_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/derpdex_zksync_base_trades_seed.csv rename to dex/seeds/trades/derpdex_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/dfx_ethereum_base_trades_seed.csv b/dex/seeds/trades/dfx_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dfx_ethereum_base_trades_seed.csv rename to dex/seeds/trades/dfx_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_arbitrum_base_trades_seed.csv b/dex/seeds/trades/dodo_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/dodo_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_base_base_trades_seed.csv b/dex/seeds/trades/dodo_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_base_base_trades_seed.csv rename to dex/seeds/trades/dodo_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_bnb_base_trades_seed.csv b/dex/seeds/trades/dodo_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_bnb_base_trades_seed.csv rename to dex/seeds/trades/dodo_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_ethereum_base_trades_seed.csv b/dex/seeds/trades/dodo_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_ethereum_base_trades_seed.csv rename to dex/seeds/trades/dodo_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_optimism_base_trades_seed.csv b/dex/seeds/trades/dodo_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_optimism_base_trades_seed.csv rename to dex/seeds/trades/dodo_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/dodo_polygon_base_trades_seed.csv b/dex/seeds/trades/dodo_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dodo_polygon_base_trades_seed.csv rename to dex/seeds/trades/dodo_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/dooar_polygon_base_trades_seed.csv b/dex/seeds/trades/dooar_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dooar_polygon_base_trades_seed.csv rename to dex/seeds/trades/dooar_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/dracula_finance_zksync_base_trades_seed.csv b/dex/seeds/trades/dracula_finance_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/dracula_finance_zksync_base_trades_seed.csv rename to dex/seeds/trades/dracula_finance_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/echodex_linea_base_trades_seed.csv b/dex/seeds/trades/echodex_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/echodex_linea_base_trades_seed.csv rename to dex/seeds/trades/echodex_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/elk_finance_base_base_trades_seed.csv b/dex/seeds/trades/elk_finance_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/elk_finance_base_base_trades_seed.csv rename to dex/seeds/trades/elk_finance_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/elk_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/elk_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/elk_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/elk_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/ellipsis_finance_bnb_base_trades_seed.csv b/dex/seeds/trades/ellipsis_finance_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ellipsis_finance_bnb_base_trades_seed.csv rename to dex/seeds/trades/ellipsis_finance_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/energon_base_base_trades_seed.csv b/dex/seeds/trades/energon_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/energon_base_base_trades_seed.csv rename to dex/seeds/trades/energon_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/equalizer_fantom_base_trades_seed.csv b/dex/seeds/trades/equalizer_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/equalizer_fantom_base_trades_seed.csv rename to dex/seeds/trades/equalizer_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/ezkalibur_zksync_base_trades_seed.csv b/dex/seeds/trades/ezkalibur_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ezkalibur_zksync_base_trades_seed.csv rename to dex/seeds/trades/ezkalibur_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/fraxswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/fraxswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_bnb_base_trades_seed.csv b/dex/seeds/trades/fraxswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/fraxswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_optimism_base_trades_seed.csv b/dex/seeds/trades/fraxswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/fraxswap_polygon_base_trades_seed.csv b/dex/seeds/trades/fraxswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/fraxswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/fraxswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/gemswap_zksync_base_trades_seed.csv b/dex/seeds/trades/gemswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gemswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/gemswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/glacier_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/glacier_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/glacier_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/glacier_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/gmx_arbitrum_base_trades_seed.csv b/dex/seeds/trades/gmx_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gmx_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/gmx_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/gmx_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/gmx_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gmx_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/gmx_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_arbitrum_base_trades_seed.csv b/dex/seeds/trades/gridex_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/gridex_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_base_base_trades_seed.csv b/dex/seeds/trades/gridex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_base_base_trades_seed.csv rename to dex/seeds/trades/gridex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/gridex_optimism_base_trades_seed.csv b/dex/seeds/trades/gridex_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/gridex_optimism_base_trades_seed.csv rename to dex/seeds/trades/gridex_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/hashflow_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/hashflow_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_bnb_base_trades_seed.csv b/dex/seeds/trades/hashflow_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_bnb_base_trades_seed.csv rename to dex/seeds/trades/hashflow_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_ethereum_base_trades_seed.csv b/dex/seeds/trades/hashflow_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_ethereum_base_trades_seed.csv rename to dex/seeds/trades/hashflow_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/hashflow_optimism_base_trades_seed.csv b/dex/seeds/trades/hashflow_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/hashflow_optimism_base_trades_seed.csv rename to dex/seeds/trades/hashflow_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/honeyswap_gnosis_base_trades_seed.csv b/dex/seeds/trades/honeyswap_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/honeyswap_gnosis_base_trades_seed.csv rename to dex/seeds/trades/honeyswap_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/honeyswap_polygon_base_trades_seed.csv b/dex/seeds/trades/honeyswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/honeyswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/honeyswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/horizondex_base_base_trades_seed.csv b/dex/seeds/trades/horizondex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/horizondex_base_base_trades_seed.csv rename to dex/seeds/trades/horizondex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/icecreamswap_base_base_trades_seed.csv b/dex/seeds/trades/icecreamswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/icecreamswap_base_base_trades_seed.csv rename to dex/seeds/trades/icecreamswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/icecreamswap_v2_scroll_base_trades_seed.csv b/dex/seeds/trades/icecreamswap_v2_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/icecreamswap_v2_scroll_base_trades_seed.csv rename to dex/seeds/trades/icecreamswap_v2_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/integral_arbitrum_base_trades_seed.csv b/dex/seeds/trades/integral_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/integral_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/integral_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/integral_ethereum_base_trades_seed.csv b/dex/seeds/trades/integral_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/integral_ethereum_base_trades_seed.csv rename to dex/seeds/trades/integral_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_bnb_base_trades_seed.csv b/dex/seeds/trades/iziswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/iziswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_scroll_base_trades_seed.csv b/dex/seeds/trades/iziswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/iziswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/iziswap_zksync_base_trades_seed.csv b/dex/seeds/trades/iziswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/iziswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/iziswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/kyberswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/kyberswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_base_base_trades_seed.csv b/dex/seeds/trades/kyberswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_base_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_bnb_base_trades_seed.csv b/dex/seeds/trades/kyberswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/kyberswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_optimism_base_trades_seed.csv b/dex/seeds/trades/kyberswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/kyberswap_polygon_base_trades_seed.csv b/dex/seeds/trades/kyberswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/kyberswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/kyberswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/leetswap_v2_base_base_trades_seed.csv b/dex/seeds/trades/leetswap_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/leetswap_v2_base_base_trades_seed.csv rename to dex/seeds/trades/leetswap_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/lynex_linea_base_trades_seed.csv b/dex/seeds/trades/lynex_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/lynex_linea_base_trades_seed.csv rename to dex/seeds/trades/lynex_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/mauve_ethereum_base_trades_seed.csv b/dex/seeds/trades/mauve_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mauve_ethereum_base_trades_seed.csv rename to dex/seeds/trades/mauve_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_base_base_trades_seed.csv b/dex/seeds/trades/maverick_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_base_base_trades_seed.csv rename to dex/seeds/trades/maverick_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_bnb_base_trades_seed.csv b/dex/seeds/trades/maverick_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_bnb_base_trades_seed.csv rename to dex/seeds/trades/maverick_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_ethereum_base_trades_seed.csv b/dex/seeds/trades/maverick_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_ethereum_base_trades_seed.csv rename to dex/seeds/trades/maverick_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/maverick_zksync_base_trades_seed.csv b/dex/seeds/trades/maverick_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/maverick_zksync_base_trades_seed.csv rename to dex/seeds/trades/maverick_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/mdex_bnb_base_trades_seed.csv b/dex/seeds/trades/mdex_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mdex_bnb_base_trades_seed.csv rename to dex/seeds/trades/mdex_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/mento_celo_base_trades_seed.csv b/dex/seeds/trades/mento_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mento_celo_base_trades_seed.csv rename to dex/seeds/trades/mento_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/moonbase_base_base_trades_seed.csv b/dex/seeds/trades/moonbase_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/moonbase_base_base_trades_seed.csv rename to dex/seeds/trades/moonbase_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/mstable_ethereum_base_trades_seed.csv b/dex/seeds/trades/mstable_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mstable_ethereum_base_trades_seed.csv rename to dex/seeds/trades/mstable_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/mummy_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/mummy_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mummy_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/mummy_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/mute_zksync_base_trades_seed.csv b/dex/seeds/trades/mute_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/mute_zksync_base_trades_seed.csv rename to dex/seeds/trades/mute_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/nile_linea_base_trades_seed.csv b/dex/seeds/trades/nile_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nile_linea_base_trades_seed.csv rename to dex/seeds/trades/nile_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/nomiswap_bnb_base_trades_seed.csv b/dex/seeds/trades/nomiswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nomiswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/nomiswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/nuri_scroll_base_trades_seed.csv b/dex/seeds/trades/nuri_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/nuri_scroll_base_trades_seed.csv rename to dex/seeds/trades/nuri_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/oasisswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/oasisswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oasisswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/oasisswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oasisswap_base_base_trades_seed.csv b/dex/seeds/trades/oasisswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oasisswap_base_base_trades_seed.csv rename to dex/seeds/trades/oasisswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_arbitrum_base_trades_seed.csv b/dex/seeds/trades/oneinch_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/oneinch_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/oneinch_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/oneinch_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_base_base_trades_seed.csv b/dex/seeds/trades/oneinch_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_base_base_trades_seed.csv rename to dex/seeds/trades/oneinch_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_bnb_base_trades_seed.csv b/dex/seeds/trades/oneinch_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_bnb_base_trades_seed.csv rename to dex/seeds/trades/oneinch_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_ethereum_base_trades_seed.csv b/dex/seeds/trades/oneinch_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_ethereum_base_trades_seed.csv rename to dex/seeds/trades/oneinch_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_fantom_base_trades_seed.csv b/dex/seeds/trades/oneinch_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_fantom_base_trades_seed.csv rename to dex/seeds/trades/oneinch_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_gnosis_base_trades_seed.csv b/dex/seeds/trades/oneinch_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_gnosis_base_trades_seed.csv rename to dex/seeds/trades/oneinch_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_optimism_base_trades_seed.csv b/dex/seeds/trades/oneinch_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_optimism_base_trades_seed.csv rename to dex/seeds/trades/oneinch_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_polygon_base_trades_seed.csv b/dex/seeds/trades/oneinch_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_polygon_base_trades_seed.csv rename to dex/seeds/trades/oneinch_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/oneinch_zksync_base_trades_seed.csv b/dex/seeds/trades/oneinch_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/oneinch_zksync_base_trades_seed.csv rename to dex/seeds/trades/oneinch_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/onepunchswap_bnb_base_trades_seed.csv b/dex/seeds/trades/onepunchswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/onepunchswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/onepunchswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/openocean_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/openocean_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_base_base_trades_seed.csv b/dex/seeds/trades/openocean_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_base_base_trades_seed.csv rename to dex/seeds/trades/openocean_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_fantom_base_trades_seed.csv b/dex/seeds/trades/openocean_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_fantom_base_trades_seed.csv rename to dex/seeds/trades/openocean_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/openocean_optimism_base_trades_seed.csv b/dex/seeds/trades/openocean_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openocean_optimism_base_trades_seed.csv rename to dex/seeds/trades/openocean_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/openxswap_optimism_base_trades_seed.csv b/dex/seeds/trades/openxswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/openxswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/openxswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/opx_finance_optimism_base_trades_seed.csv b/dex/seeds/trades/opx_finance_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/opx_finance_optimism_base_trades_seed.csv rename to dex/seeds/trades/opx_finance_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_base_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_base_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_bnb_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_linea_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_linea_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_zkevm_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_zkevm_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_zkevm_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_zkevm_base_trades_seed.csv diff --git a/seeds/_sector/dex/pancakeswap_zksync_base_trades_seed.csv b/dex/seeds/trades/pancakeswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pancakeswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/pancakeswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/pharaoh_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/pharaoh_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/pharaoh_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/pharaoh_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/plantbaseswap_base_base_trades_seed.csv b/dex/seeds/trades/plantbaseswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/plantbaseswap_base_base_trades_seed.csv rename to dex/seeds/trades/plantbaseswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/platypus_finance_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/platypus_finance_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/platypus_finance_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/platypus_finance_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/quickswap_polygon_base_trades_seed.csv b/dex/seeds/trades/quickswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/quickswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/quickswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/ramses_arbitrum_base_trades_seed.csv b/dex/seeds/trades/ramses_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ramses_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/ramses_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/rocketswap_base_base_trades_seed.csv b/dex/seeds/trades/rocketswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rocketswap_base_base_trades_seed.csv rename to dex/seeds/trades/rocketswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_arbitrum_base_trades_seed.csv b/dex/seeds/trades/rubicon_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/rubicon_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_base_base_trades_seed.csv b/dex/seeds/trades/rubicon_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_base_base_trades_seed.csv rename to dex/seeds/trades/rubicon_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/rubicon_optimism_base_trades_seed.csv b/dex/seeds/trades/rubicon_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/rubicon_optimism_base_trades_seed.csv rename to dex/seeds/trades/rubicon_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/scale_base_base_trades_seed.csv b/dex/seeds/trades/scale_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/scale_base_base_trades_seed.csv rename to dex/seeds/trades/scale_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/scrollswap_scroll_base_trades_seed.csv b/dex/seeds/trades/scrollswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/scrollswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/scrollswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/secta_linea_base_trades_seed.csv b/dex/seeds/trades/secta_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/secta_linea_base_trades_seed.csv rename to dex/seeds/trades/secta_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/sharkswap_base_base_trades_seed.csv b/dex/seeds/trades/sharkswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sharkswap_base_base_trades_seed.csv rename to dex/seeds/trades/sharkswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sharkyswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sharkyswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sharkyswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sharkyswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/shibaswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/shibaswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/shibaswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/shibaswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/smardex_arbitrum_base_trades_seed.csv b/dex/seeds/trades/smardex_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/smardex_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/smardex_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/smardex_base_base_trades_seed.csv b/dex/seeds/trades/smardex_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/smardex_base_base_trades_seed.csv rename to dex/seeds/trades/smardex_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sobal_base_base_trades_seed.csv b/dex/seeds/trades/sobal_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sobal_base_base_trades_seed.csv rename to dex/seeds/trades/sobal_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidlizard_arbitrum_base_trades_seed.csv b/dex/seeds/trades/solidlizard_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidlizard_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/solidlizard_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_base_base_trades_seed.csv b/dex/seeds/trades/solidly_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_base_base_trades_seed.csv rename to dex/seeds/trades/solidly_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_arbitrum_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_base_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_base_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_ethereum_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_ethereum_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_fantom_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_fantom_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/solidly_v3_optimism_base_trades_seed.csv b/dex/seeds/trades/solidly_v3_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/solidly_v3_optimism_base_trades_seed.csv rename to dex/seeds/trades/solidly_v3_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/soswap_base_base_trades_seed.csv b/dex/seeds/trades/soswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/soswap_base_base_trades_seed.csv rename to dex/seeds/trades/soswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/spacefi_zksync_base_trades_seed.csv b/dex/seeds/trades/spacefi_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spacefi_zksync_base_trades_seed.csv rename to dex/seeds/trades/spacefi_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/spartacus_exchange_fantom_base_trades_seed.csv b/dex/seeds/trades/spartacus_exchange_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spartacus_exchange_fantom_base_trades_seed.csv rename to dex/seeds/trades/spartacus_exchange_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/spiritswap_fantom_base_trades_seed.csv b/dex/seeds/trades/spiritswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spiritswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/spiritswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/spookyswap_fantom_base_trades_seed.csv b/dex/seeds/trades/spookyswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/spookyswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/spookyswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/sterling_finance_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sterling_finance_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sterling_finance_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sterling_finance_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/sushiswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/sushiswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_base_base_trades_seed.csv b/dex/seeds/trades/sushiswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_base_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_bnb_base_trades_seed.csv b/dex/seeds/trades/sushiswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_celo_base_trades_seed.csv b/dex/seeds/trades/sushiswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_celo_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/sushiswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_fantom_base_trades_seed.csv b/dex/seeds/trades/sushiswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_gnosis_base_trades_seed.csv b/dex/seeds/trades/sushiswap_gnosis_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_gnosis_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_gnosis_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_linea_base_trades_seed.csv b/dex/seeds/trades/sushiswap_linea_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_linea_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_linea_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_optimism_base_trades_seed.csv b/dex/seeds/trades/sushiswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_polygon_base_trades_seed.csv b/dex/seeds/trades/sushiswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/sushiswap_scroll_base_trades_seed.csv b/dex/seeds/trades/sushiswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/sushiswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/sushiswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/swaap_v2_arbitrum_base_trades_seed.csv b/dex/seeds/trades/swaap_v2_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swaap_v2_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/swaap_v2_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/swapbased_base_base_trades_seed.csv b/dex/seeds/trades/swapbased_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swapbased_base_base_trades_seed.csv rename to dex/seeds/trades/swapbased_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/swapr_ethereum_base_trades_seed.csv b/dex/seeds/trades/swapr_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/swapr_ethereum_base_trades_seed.csv rename to dex/seeds/trades/swapr_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/syncswap_scroll_base_trades_seed.csv b/dex/seeds/trades/syncswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/syncswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/syncswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/syncswap_zksync_base_trades_seed.csv b/dex/seeds/trades/syncswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/syncswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/syncswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/synthetix_optimism_base_trades_seed.csv b/dex/seeds/trades/synthetix_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/synthetix_optimism_base_trades_seed.csv rename to dex/seeds/trades/synthetix_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/synthswap_base_base_trades_seed.csv b/dex/seeds/trades/synthswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/synthswap_base_base_trades_seed.csv rename to dex/seeds/trades/synthswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/thena_bnb_base_trades_seed.csv b/dex/seeds/trades/thena_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/thena_bnb_base_trades_seed.csv rename to dex/seeds/trades/thena_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/throne_exchange_v2_base_base_trades_seed.csv b/dex/seeds/trades/throne_exchange_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/throne_exchange_v2_base_base_trades_seed.csv rename to dex/seeds/trades/throne_exchange_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/throne_exchange_v3_base_base_trades_seed.csv b/dex/seeds/trades/throne_exchange_v3_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/throne_exchange_v3_base_base_trades_seed.csv rename to dex/seeds/trades/throne_exchange_v3_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/torus_base_base_trades_seed.csv b/dex/seeds/trades/torus_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/torus_base_base_trades_seed.csv rename to dex/seeds/trades/torus_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_arbitrum_base_trades_seed.csv b/dex/seeds/trades/trader_joe_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/trader_joe_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/trader_joe_bnb_base_trades_seed.csv b/dex/seeds/trades/trader_joe_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/trader_joe_bnb_base_trades_seed.csv rename to dex/seeds/trades/trader_joe_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/ubeswap_celo_base_trades_seed.csv b/dex/seeds/trades/ubeswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/ubeswap_celo_base_trades_seed.csv rename to dex/seeds/trades/ubeswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_base_base_trades_seed.csv b/dex/seeds/trades/uniswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_base_base_trades_seed.csv rename to dex/seeds/trades/uniswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_bnb_base_trades_seed.csv b/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_bnb_base_trades_seed.csv rename to dex/seeds/trades/uniswap_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_celo_base_trades_seed.csv b/dex/seeds/trades/uniswap_celo_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_celo_base_trades_seed.csv rename to dex/seeds/trades/uniswap_celo_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_ethereum_base_trades_seed.csv b/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_ethereum_base_trades_seed.csv rename to dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_optimism_base_trades_seed.csv b/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/uniswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_polygon_base_trades_seed.csv b/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_polygon_base_trades_seed.csv rename to dex/seeds/trades/uniswap_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_scroll_base_trades_seed.csv b/dex/seeds/trades/uniswap_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_scroll_base_trades_seed.csv rename to dex/seeds/trades/uniswap_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_zksync_base_trades_seed.csv b/dex/seeds/trades/uniswap_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_zksync_base_trades_seed.csv rename to dex/seeds/trades/uniswap_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/uniswap_zora_base_trades_seed.csv b/dex/seeds/trades/uniswap_zora_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/uniswap_zora_base_trades_seed.csv rename to dex/seeds/trades/uniswap_zora_base_trades_seed.csv diff --git a/seeds/_sector/dex/velocimeter_v2_base_base_trades_seed.csv b/dex/seeds/trades/velocimeter_v2_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velocimeter_v2_base_base_trades_seed.csv rename to dex/seeds/trades/velocimeter_v2_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/velocore_zksync_base_trades_seed.csv b/dex/seeds/trades/velocore_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velocore_zksync_base_trades_seed.csv rename to dex/seeds/trades/velocore_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/velodrome_optimism_base_trades_seed.csv b/dex/seeds/trades/velodrome_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/velodrome_optimism_base_trades_seed.csv rename to dex/seeds/trades/velodrome_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/verse_dex_ethereum_base_trades_seed.csv b/dex/seeds/trades/verse_dex_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/verse_dex_ethereum_base_trades_seed.csv rename to dex/seeds/trades/verse_dex_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/vesync_zksync_base_trades_seed.csv b/dex/seeds/trades/vesync_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/vesync_zksync_base_trades_seed.csv rename to dex/seeds/trades/vesync_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/voltswap_base_base_trades_seed.csv b/dex/seeds/trades/voltswap_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/voltswap_base_base_trades_seed.csv rename to dex/seeds/trades/voltswap_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/wagmi_zksync_base_trades_seed.csv b/dex/seeds/trades/wagmi_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wagmi_zksync_base_trades_seed.csv rename to dex/seeds/trades/wagmi_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/wardenswap_optimism_base_trades_seed.csv b/dex/seeds/trades/wardenswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wardenswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/wardenswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/wigoswap_fantom_base_trades_seed.csv b/dex/seeds/trades/wigoswap_fantom_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wigoswap_fantom_base_trades_seed.csv rename to dex/seeds/trades/wigoswap_fantom_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_bnb_base_trades_seed.csv b/dex/seeds/trades/wombat_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_bnb_base_trades_seed.csv rename to dex/seeds/trades/wombat_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_arbitrum_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_base_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_base_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/wombat_exchange_optimism_base_trades_seed.csv b/dex/seeds/trades/wombat_exchange_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/wombat_exchange_optimism_base_trades_seed.csv rename to dex/seeds/trades/wombat_exchange_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_arbitrum_base_trades_seed.csv b/dex/seeds/trades/woofi_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/woofi_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_avalanche_c_base_trades_seed.csv b/dex/seeds/trades/woofi_avalanche_c_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_avalanche_c_base_trades_seed.csv rename to dex/seeds/trades/woofi_avalanche_c_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_base_base_trades_seed.csv b/dex/seeds/trades/woofi_base_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_base_base_trades_seed.csv rename to dex/seeds/trades/woofi_base_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_bnb_base_trades_seed.csv b/dex/seeds/trades/woofi_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_bnb_base_trades_seed.csv rename to dex/seeds/trades/woofi_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/woofi_optimism_base_trades_seed.csv b/dex/seeds/trades/woofi_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/woofi_optimism_base_trades_seed.csv rename to dex/seeds/trades/woofi_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_arbitrum_base_trades_seed.csv b/dex/seeds/trades/xchange_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/xchange_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_bnb_base_trades_seed.csv b/dex/seeds/trades/xchange_bnb_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_bnb_base_trades_seed.csv rename to dex/seeds/trades/xchange_bnb_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_ethereum_base_trades_seed.csv b/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_ethereum_base_trades_seed.csv rename to dex/seeds/trades/xchange_ethereum_base_trades_seed.csv diff --git a/seeds/_sector/dex/xchange_polygon_base_trades_seed.csv b/dex/seeds/trades/xchange_polygon_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/xchange_polygon_base_trades_seed.csv rename to dex/seeds/trades/xchange_polygon_base_trades_seed.csv diff --git a/seeds/_sector/dex/zebra_scroll_base_trades_seed.csv b/dex/seeds/trades/zebra_scroll_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zebra_scroll_base_trades_seed.csv rename to dex/seeds/trades/zebra_scroll_base_trades_seed.csv diff --git a/seeds/_sector/dex/zigzag_arbitrum_base_trades_seed.csv b/dex/seeds/trades/zigzag_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zigzag_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/zigzag_arbitrum_base_trades_seed.csv diff --git a/seeds/_sector/dex/zipswap_optimism_base_trades_seed.csv b/dex/seeds/trades/zipswap_optimism_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zipswap_optimism_base_trades_seed.csv rename to dex/seeds/trades/zipswap_optimism_base_trades_seed.csv diff --git a/seeds/_sector/dex/zkswap_finance_zksync_base_trades_seed.csv b/dex/seeds/trades/zkswap_finance_zksync_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zkswap_finance_zksync_base_trades_seed.csv rename to dex/seeds/trades/zkswap_finance_zksync_base_trades_seed.csv diff --git a/seeds/_sector/dex/zyberswap_arbitrum_base_trades_seed.csv b/dex/seeds/trades/zyberswap_arbitrum_base_trades_seed.csv similarity index 100% rename from seeds/_sector/dex/zyberswap_arbitrum_base_trades_seed.csv rename to dex/seeds/trades/zyberswap_arbitrum_base_trades_seed.csv diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql similarity index 100% rename from tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql rename to dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql diff --git a/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql b/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql similarity index 100% rename from tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql rename to dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml b/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml index 54e2a286953..a1263080140 100644 --- a/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml +++ b/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml @@ -62,55 +62,6 @@ models: - name: protocol_liquidity_eth description: 'Liquidity of the token in the pool in ETH, except BPTs' - - name: beethoven_x_fantom_pools_fees - meta: - blockchain: fantom - project: beethoven_x - contributors: jacektrocinski, thetroyharris, tomfutago - config: - tags: ['fantom', 'balancer', 'pools_fees'] - description: > - Beethoven X swap fees stored at the pool level. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_number - - tx_hash - - index - columns: - - *blockchain - - &contract_address - name: contract_address - description: 'fantom address for the liquidity pool used in transaction' - tests: - - not_null - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &index - name: index - description: '' - tests: - - not_null - - &tx_index - name: tx_index - description: '' - tests: - - not_null - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &block_number - name: block_number - description: 'Block number' - tests: - - not_null - - &swap_fee_percentage - name: swap_fee_percentage - description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: - - not_null - - name: beethoven_x_fantom_protocol_fee meta: blockchain: fantom diff --git a/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv b/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv deleted file mode 100644 index 46af91ddd4d..00000000000 --- a/seeds/curvefi/ethereum/curvefi_ethereum_view_pools_postgres.csv +++ /dev/null @@ -1,299 +0,0 @@ -version,name,symbol,pool_address,decoded,dune_namespace,dune_table_name,a,mid_fee,out_fee,token_address,deposit_contract,coin0,coin1,coin2,coin3,undercoin0,undercoin1,undercoin2,undercoin3,gauge_contract -Factory V1 Meta,GOLD/BSD,GBSD,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,no,,,200,4000000,4000000,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,0x9809f2b973bdb056d24bc2b6571ea1f23db4e861,0x804c23b6ccfa0a1fae1a81c9964f42ae689c790e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x804c23b6ccfa0a1fae1a81c9964f42ae689c790e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,cbETH/ETH,cbETH/ETH,0x5fae7e604fc3e24fd43a72867cebac94c65b404a,no,,,200000000,5000000,45000000,0x5b6c539b224014a09b3388e51caaa8e354c959c8,0x5fae7e604fc3e24fd43a72867cebac94c65b404a,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xbe9895146f7af43049ca1c1ae358b0541ea49704,,,,,,, -Factory V2,FXSFPIS,FXSFPIS,0xd4e2fdc354c5dffb865798ca98c2b9d5382f687c,no,,,400000,26000000,45000000,0xb83e5af00b321d2280382b8634625826fbd75c5b,0xd4e2fdc354c5dffb865798ca98c2b9d5382f687c,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xc2544a32872a91f4a553b404c6950e89de901fdb,,,,,,, -Factory V2,RAI/LUSD-3,RAILUSD-3,0xc58fdb8a50ab921a73535656a7c69387dd863ff6,no,,,200000000,500000,5000000,0xd29f1a967441ae1a4ff2ea35ede54fe01cf6b95f,0xc58fdb8a50ab921a73535656a7c69387dd863ff6,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/LUSD-2,RAILUSD-2,0x162b4deefc73a5277b09bd7a02d25da73d66183d,no,,,200000000,500000,5000000,0xd63acb54fffff6b85255a1ffb6eefffc93cfdd91,0x162b4deefc73a5277b09bd7a02d25da73d66183d,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/LUSD,RAILUSD,0x0d1c65b28190cb88f328d2051c524a5c63d10eb5,no,,,200000000,500000,5000000,0x00989e88f674157992b74f11eb78ee10a76e6258,0x0d1c65b28190cb88f328d2051c524a5c63d10eb5,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,,,, -Factory V2,RAI/DAI-3,RAIDAI-3,0x337ca39842c448030196693f3433332ff1cf3e41,no,,,200000000,500000,5000000,0x4c5e815f0481bb1995ad417a4019669e1017d84b,0x337ca39842c448030196693f3433332ff1cf3e41,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,BTRFLY/ETH,BTRFLYETH,0x6e314039f4c56000f4ebb3a7854a84cc6225fb92,no,,,400000,26000000,45000000,0x7483dd57f6488b0e194a151c57df6ec85c00ace9,0x6e314039f4c56000f4ebb3a7854a84cc6225fb92,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc55126051b22ebb829d00368f4b12bde432de5da,,,,,,, -Factory V2,test2,test2,0xbd917239ec067a6af82aabb6b45dad3d09f4efd8,no,,,400000,26000000,45000000,0x2d011868ac59c5d00b41dead65bfb5ddd4976bda,0xbd917239ec067a6af82aabb6b45dad3d09f4efd8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,test,test,0x118629329731ce1ff01f9401212c53939f8a9eeb,no,,,400000,26000000,45000000,0x14b536dc890b29bb5d317ec4c4585857ccbf0778,0x118629329731ce1ff01f9401212c53939f8a9eeb,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,RAI/DAI-2,RAIDAI-2,0x91d9d17efd378f38a48122ae6ec01b2e83d1ac98,no,,,200000000,500000,45000000,0x85bc2193cd594cddafabed3f4fca48849a9968f8,0x91d9d17efd378f38a48122ae6ec01b2e83d1ac98,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,RAI/DAI,RAIDAI,0x79cb6a84fbec1fe2d66b705a1e7f6482c2993049,no,,,200000000,5000000,45000000,0xc5a62c8a3272e53059386338c9ec2a375f130b33,0x79cb6a84fbec1fe2d66b705a1e7f6482c2993049,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,CTR/ETH,CTRETH,0x383ad525211b8a1a9c13532cc021773052b2f4f8,no,,,400000,26000000,45000000,0x4ce6803f108a667e53fe09a93cf91a18d9d2ad31,0x383ad525211b8a1a9c13532cc021773052b2f4f8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xb3ad645db386d7f6d753b2b9c3f4b853da6890b8,,,,,,, -Factory V2,MATIC/FLEET,MATICFLEET,0x799d141e83d88996c48b98a4f8eb3d96ab422dd3,no,,,400000,26000000,45000000,0x359b630ef33a40b0abeeeed5467fe839f9f7e561,0x799d141e83d88996c48b98a4f8eb3d96ab422dd3,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0xfd56a3dcfc0690881a466ae432d71bb2db588083,,,,,,, -Factory V2,MATIC/SHIB,MATICSHIB,0xb2c248c0b0db7d28dfa0123438b40bb31fb8aa05,no,,,400000,26000000,45000000,0x38f730b5a96fd79b97bb64210021fa67db1ed147,0xb2c248c0b0db7d28dfa0123438b40bb31fb8aa05,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce,,,,,,, -Factory V2,APW/ETH,APWETH,0xc78d84ee5d970227f988a2e2dc0a4a945163bcb9,no,,,400000,26000000,45000000,0x6542d124440269ed8a8a3b14ece9f4923382371a,0xc78d84ee5d970227f988a2e2dc0a4a945163bcb9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4104b135dbc9609fc1a9490e61369036497660c8,,,,,,, -Factory V2,APW/ETH,APWETH,0x316d2606ce036ec0e69a11432a870a4ec66ade96,no,,,400000,26000000,45000000,0x7d4e5c315746ecbf4d82b538767817135f3e3142,0x316d2606ce036ec0e69a11432a870a4ec66ade96,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4104b135dbc9609fc1a9490e61369036497660c8,,,,,,, -Factory V2,BENTCVX/FRAX,BNTCVXFRAX,0xb2e2536821521174a168eda7be78a6c70ea6e5fa,no,,,400000,26000000,45000000,0xdb5a544b6ef951cabd6438eea360758d8b9b9a5f,0xb2e2536821521174a168eda7be78a6c70ea6e5fa,0x9e0441e084f5db0606565737158aa6ab6b970fe0,0x3175df0976dfa876431c2e9ee6bc45b65d3473cc,,,,,,, -Factory V2,BENT/FRAX,BENTFRAXBP,0xd3301b7caa76f932816a6fc7ef0b673238e217ad,no,,,400000,26000000,45000000,0xa3008d3ee33b1ffc448f8891c8c3518b47e0b605,0xd3301b7caa76f932816a6fc7ef0b673238e217ad,0x01597e397605bf280674bf292623460b4204c375,0x3175df0976dfa876431c2e9ee6bc45b65d3473cc,,,,,,, -Factory V2,FLOAT/USDC,FLOATUSDC,0x840cbf6861137624e60380d5e915619885c5aa95,no,,,2000000,5000000,45000000,0x7beb4ee7bfa0f9c16911e57d2aac933e249d840e,0x840cbf6861137624e60380d5e915619885c5aa95,0xb05097849bca421a3f51b249ba6cca4af4b97cb9,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,Phanes,PNHS,0x9bfb082f2dd5d63907afa33dbb8f9c0bcd5c2333,no,,,400000,26000000,45000000,0x799ebe5e2faae084480e890aefc1b23bf626df3b,0x9bfb082f2dd5d63907afa33dbb8f9c0bcd5c2333,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4425c9c6302bd2a815c21012dc7f692216fb3176,,,,,,, -Factory V2,MXNT/USDC,MXNTUSDC,0xc12a73c46d49fa0d7433c90291bc8d1a9eae7b23,no,,,200000000,5000000,45000000,0xf10dba33dcba27e4e45ca77e69c6c2afb96068db,0xc12a73c46d49fa0d7433c90291bc8d1a9eae7b23,0xed03ed872159e199065401b6d0d487d78d9464aa,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,mxnt,MXNT-3Crv,0x039fd59541b3989c7a1e9278431038b3b6ba5f43,no,,,200000000,26000000,45000000,0xdf0b71258854fc8a685e2b63972cdaad61a1c165,0x039fd59541b3989c7a1e9278431038b3b6ba5f43,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,RAREPEPE,NAKAMOTO,0xddbdcebb989b1ef804338d6c9a902f91c2738936,no,,,300000,30000000,50000000,0xaf47ced866c824fdbd3e00f651bdde19ac9cbd03,0xddbdcebb989b1ef804338d6c9a902f91c2738936,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,NAKAMOTOCARD,RAREPEPE,0xfce1b5447a3db7e18352e8ae4bcd780029012383,no,,,300000,30000000,50000000,0x77b46d22ca8fba667929e5b78d8cd1310f6b8504,0xfce1b5447a3db7e18352e8ae4bcd780029012383,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,WETH/RAREPEPE,RAREPEPE,0xec1f6df37b16432e520942affe28149badc5bc5e,no,,,250000,25000000,100000000,0xd3c499639e581f0aa2f85be0b385d1298831c22f,0xec1f6df37b16432e520942affe28149badc5bc5e,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xd6242e984e6db6b5286fb2c26c69330da639da12,,,,,,, -Factory V2,aCRV/CRV,aCRV,0x95f3672a418230c5664b7154dfce0acfa7eed68d,no,,,200000000,10000000,90000000,0x2c97c40c24e2ff11c6965dc40ca77967bcec4719,0x95f3672a418230c5664b7154dfce0acfa7eed68d,0x2b95a1dcc3d405535f9ed33c219ab38e8d7e0884,0xd533a949740bb3306d119cc777fa900ba034cd52,,,,,,, -Factory V2,frETH/WETH,frETHWETH,0x6e77889ff348a16547caba3ce011cb120ed73bfc,no,,,400000,26000000,45000000,0x517e47a2e8c38e5a96708ed866a39ccbaa105640,0x6e77889ff348a16547caba3ce011cb120ed73bfc,0xb4bd4628e6efb0cb521d9ec35050c75840320374,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,UNBNK/ETH,UNBNK/ETH,0x5114f86027d4c9a509cba072b8135a171402c6d5,no,,,400000,26000000,45000000,0x20a1512284dc88102bfe169c08530c743d85dcc7,0x5114f86027d4c9a509cba072b8135a171402c6d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x06b884e60794ce02aafab13791b59a2e6a07442f,,,,,,, -Factory V2,ARTH/DAI,ARTH+DAI,0xfd484a99d21ca118f22871134f467b1ca3f842aa,no,,,200000000,5000000,45000000,0xd1dca101e8155f79db50bc51abbd4ff74bc53f25,0xfd484a99d21ca118f22871134f467b1ca3f842aa,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0x6b175474e89094c44da98b954eedeac495271d0f,,,,,,, -Factory V2,bSTBL/DAI,bSTBLDAI,0xa148bd19e26ff9604f6a608e22bfb7b772d0d1a3,no,,,200000000,1000000,10000000,0x7657ceb382013f1ce9ac7b08dd8db4f28d3a7538,0xa148bd19e26ff9604f6a608e22bfb7b772d0d1a3,0x6b175474e89094c44da98b954eedeac495271d0f,0x5ee08f40b637417bcc9d2c51b62f4820ec9cf5d8,,,,,,, -Factory V2,ARTH/USDC,ARTH+USDC,0x7f2af2c7bfdad063ff01dcec077a216d95a0a944,no,,,200000000,5000000,45000000,0x6cd19aeae3df93fec7b75c11db3c68f9831a44d5,0x7f2af2c7bfdad063ff01dcec077a216d95a0a944,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,,,,,,, -Factory V2,ARTH,ARTH+USDC,0xbfca1a72edd92fff61a8c88f61d4e64e99232b4b,no,,,200000000,5000000,45000000,0x82ebe2c1a4f235efdebabd534ca00cfef59cf22b,0xbfca1a72edd92fff61a8c88f61d4e64e99232b4b,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ARTH,ARTH+3pool,0x7d99469fb3a530136ec0ab6981d64bc9ff81ad04,no,,,200000000,5000000,45000000,0xbb6b6a7204385031a161210967b93b7eb02f8d5e,0x7d99469fb3a530136ec0ab6981d64bc9ff81ad04,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ARTH,ARTH+3pool,0x6525e7e2e8450741ab97bd3948bfa47878f83ec6,no,,,200000000,5000000,45000000,0x240558287687e0645f552c17865a28d64dccf8df,0x6525e7e2e8450741ab97bd3948bfa47878f83ec6,0x8cc0f052fff7ead7f2edcccac895502e884a8a71,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,PSL/ETH,PSLETH,0xd434eaf67bba1903f61cdd3ede6700cac74a5ff2,no,,,400000,26000000,45000000,0xa149523fed056edff817062fbb59455ed3a4380f,0xd434eaf67bba1903f61cdd3ede6700cac74a5ff2,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc775c0c30840cb9f51e21061b054ebf1a00acc29,,,,,,, -Factory V2,TRU/ETH,TRUETH,0x7f787210c83012fca364ae79ad8fc26641c6fbe5,no,,,400000,26000000,45000000,0x79d34ea9f93abfdf163073e87051b75b768079e9,0x7f787210c83012fca364ae79ad8fc26641c6fbe5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x4c19596f5aaff459fa38b0f7ed92f11ae6543784,,,,,,, -Factory V1 Meta,CRV/GNO,CRVGNOOK,0xf08dbd81fcc712004e6943454c83c52de963cdec,no,,,10,4000000,4000000,0xf08dbd81fcc712004e6943454c83c52de963cdec,0xf08dbd81fcc712004e6943454c83c52de963cdec,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,CRV/GNO,CRVGNOOK,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,no,,,10,4000000,4000000,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,0x172a54ba45783049216f90f85fe5e5f6bc1c08fe,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6810e776880c02933d47db1b9fc05908e5386b96,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,Test Only,TestOnly,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,no,,,200,4000000,4000000,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,0xe7e4366f6ed6afd23e88154c00b532bdc0352333,0xadf15ec41689fc5b6dca0db7c53c9bfe7981e655,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,DYDX/stkDYDX,DYDXstDYDX,0x04ecd49246bf5143e43e2305136c46aeb6fad400,no,,,10,4000000,4000000,0x04ecd49246bf5143e43e2305136c46aeb6fad400,0x04ecd49246bf5143e43e2305136c46aeb6fad400,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x65f7ba4ec257af7c55fd5854e5f6356bbd0fb8ec,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdFXS,sdFXSFXS,0x8c524635d52bd7b1bd55e062303177a7d916c046,no,,,10,4000000,4000000,0x8c524635d52bd7b1bd55e062303177a7d916c046,0x8c524635d52bd7b1bd55e062303177a7d916c046,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x402f878bdd1f5c66fdaf0fababcf74741b68ac36,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xa9a9bc60fc80478059a83f516d5215185eec2fc0 -Factory V1 Plain,sdANGLE,sdAGAG,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,no,,,10,4000000,4000000,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,0x48ff31bbbd8ab553ebe7cbd84e1ea3dba8f54957,0x31429d1856ad1377a8a0079410b297e1a9e214c2,0x752b4c6e92d96467fe9b9a2522ef07228e00f87c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x03ffc218c7a9306d21193565cbdc4378952faa8c -Factory V1 Plain,dfxCAD/CADC,dfx2CAD,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,no,,,100,4000000,4000000,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,0x9ca41a2dab3cee15308998868ca644e2e3be5c59,0xfe32747d0251ba92bcb80b6d16c8257ecf25ab1c,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xa5f483571c126b173e33c327e8a293a3492e4566 -Factory V1 Meta,USDT/DAI,USDT/DAI_M,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,no,,,10,4000000,4000000,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,0x3dcc3ac50cb42f7e443d7f548dd2c48edaa8f59a,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,USDT/DAI,USDTDAI_OP,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,no,,,10,4000000,4000000,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,0xb548e49bb6f33a77885836723b73ef9c8dbc047b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x8b3138df9aa1f60648c65c67d6ff646be305788b,no,,,10,4000000,4000000,0x8b3138df9aa1f60648c65c67d6ff646be305788b,0x8b3138df9aa1f60648c65c67d6ff646be305788b,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,no,,,10,4000000,4000000,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,0xc5481720517e1b170cf1d19ceaabe07c37896eb2,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,USDS/3CRV,USDS3CRV,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,no,,,2000,4000000,4000000,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,0xde495223f7cd7ee0cde1addbd6836046bbdf3ad3,0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x87872be0c56ef97156f2617b3083d22423fc62e9,no,,,10,4000000,4000000,0x87872be0c56ef97156f2617b3083d22423fc62e9,0x87872be0c56ef97156f2617b3083d22423fc62e9,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x85f102be3a76165be9668be0bf36e906a488fd33,no,,,10,4000000,4000000,0x85f102be3a76165be9668be0bf36e906a488fd33,0x85f102be3a76165be9668be0bf36e906a488fd33,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xUSD1,xUSD1,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,no,,,10,4000000,4000000,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,0x92da88e2e6f96cc7c667cd1367bd090adf3c6053,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbfef1f07018b3a87fc1e12877038f9616512d587,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,handleUSD,fxUSD,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,no,,,200,4000000,4000000,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,0x0aace9b6c491d5cd9f80665a2fcc1af09e9ccf00,0x8616e8ea83f048ab9a5ec513c9412dd2993bce3f,,,,0x8616e8ea83f048ab9a5ec513c9412dd2993bce3f,,,, -Factory V1 Meta,MIMFRAXBP,MIMFRAXBP,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,no,,,200,4000000,4000000,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,0xb3bc1833ac51aacea92acd551fbe1ab7edc59edf,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,,,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,,,, -Factory V1 Meta,MAI+3pool,MAIpool,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,no,,,500,4000000,4000000,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,0x48fcffa86fb24bdeb45b5739f7ced24095a7c8e8,0x8d6cebd76f18e1558d4db88138e2defb3909fad6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8d6cebd76f18e1558d4db88138e2defb3909fad6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,EUROC,EUROC/3CRV,0x642562115cf5a5e72ab517e6448ec8b61843dac9,no,,,200,4000000,4000000,0x642562115cf5a5e72ab517e6448ec8b61843dac9,0x642562115cf5a5e72ab517e6448ec8b61843dac9,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xad25a97fee68e68eed9453e551d43555d7571554 -Factory V1 Meta,MXNT,crvMXNT,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,no,,,200,4000000,4000000,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,0x50c8f34cea0e65535fc2525b637ccd8a07c90896,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xed03ed872159e199065401b6d0d487d78d9464aa,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,alUSDFRAXBP,ALUSDFRXBP,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,no,,,200,4000000,4000000,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,0x2ed1d3e7771d64feed7ae8f25b4032c8dd2d0b99,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,, -Factory V1 Meta,3CRV/lvUSD,CRVlvUSD,0x67c7f0a63ba70a2dac69477b716551fc921aed00,no,,,10,4000000,4000000,0x67c7f0a63ba70a2dac69477b716551fc921aed00,0x67c7f0a63ba70a2dac69477b716551fc921aed00,0x99899399c097a55afb6b48f797dc5acfa7d343b1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x99899399c097a55afb6b48f797dc5acfa7d343b1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x427aa775edab0f2d9301cd988a5a99ba6cc792e6 -Factory V1 Meta,USDi,USDi-3CRV,0x63594b2011a0f2616586bf3eef8096d42272f916,no,,,1000,4000000,4000000,0x63594b2011a0f2616586bf3eef8096d42272f916,0x63594b2011a0f2616586bf3eef8096d42272f916,0x2a54ba2964c8cd459dc568853f79813a60761b58,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x2a54ba2964c8cd459dc568853f79813a60761b58,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,OMI/USD,OMIUSD,0x8116e7c29f60fdacf3954891a038f845565ef5a0,no,,,200,40000000,40000000,0x8116e7c29f60fdacf3954891a038f845565ef5a0,0x8116e7c29f60fdacf3954891a038f845565ef5a0,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,MBSC DeFi (USD),MBSC,0xee60f4a3487c07b4570ccffef315401c4c5744c8,no,,,100,5000000,5000000,0xee60f4a3487c07b4570ccffef315401c4c5744c8,0xee60f4a3487c07b4570ccffef315401c4c5744c8,0x8e3cf6478582a87a30cd5e6a10e939b642cd7c16,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8e3cf6478582a87a30cd5e6a10e939b642cd7c16,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,Ubiquity 3Pool,uAD3crv,0x9558b18f021fc3cba1c9b777603829a42244818b,no,,,10,4000000,4000000,0x9558b18f021fc3cba1c9b777603829a42244818b,0x9558b18f021fc3cba1c9b777603829a42244818b,0x0f644658510c95cb46955e55d7ba9dda9e9fbec6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0f644658510c95cb46955e55d7ba9dda9e9fbec6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,home,HOME+3crv,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,no,,,200,4000000,4000000,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,0x5c6a6cf9ae657a73b98454d17986af41fc7b44ee,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xe277dd681d966e83f68e5bc7fbfeaf5f1341195f -Factory V1 Meta,3CRVUST,CRVUST,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,no,,,10,4000000,4000000,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,0xbf5d9decccc762fa7b5eb9fac668c803d42d97b6,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,$Pc/ETH,$Pc,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,no,,,10,4000000,4000000,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,0x6f80b9543dd5a0408f162fe2a1675db70a2cb77d,0x2fe269292f74f0a98c5786088317b4f86313c211,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x2fe269292f74f0a98c5786088317b4f86313c211,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,PUSd,PUSd-,0x8ee017541375f6bcd802ba119bddc94dad6911a1,no,,,100,4000000,4000000,0x8ee017541375f6bcd802ba119bddc94dad6911a1,0x8ee017541375f6bcd802ba119bddc94dad6911a1,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x89664d561e79ca22fd2ea4076b3e5def0b219c15 -Factory V1 Meta,PUSd,PUSd-3CRV,0xeb07fcd7a8627281845ba3acbed24435802d4b52,no,,,100,4000000,4000000,0xeb07fcd7a8627281845ba3acbed24435802d4b52,0xeb07fcd7a8627281845ba3acbed24435802d4b52,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,pbtc,pbtc,0xc9467e453620f16b57a34a770c6bcebece002587,no,,,200,4000000,4000000,0xc9467e453620f16b57a34a770c6bcebece002587,0xc9467e453620f16b57a34a770c6bcebece002587,0x62199b909fb8b8cf870f97bef2ce6783493c4908,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x62199b909fb8b8cf870f97bef2ce6783493c4908,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xb5efa93d5d23642f970af41a1ea9a26f19cbd2eb -Factory V2,[Test] Test CTDL/wBTC,testCTDL,0x3c42b0f384d2912661c940d46cffe1cd10f1c66f,no,,,400000,26000000,45000000,0xe2b11613bbe8e09f73fa81b4a09f0dadb20f5df6,0x3c42b0f384d2912661c940d46cffe1cd10f1c66f,0xaf0b1fdf9c6bfec7b3512f207553c0ba00d7f1a2,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,, -Factory V2,CXD/USDC,CXDUSDC,0x4535913573d299a6372ca43b90aa6be1cf68f779,no,,,400000,26000000,45000000,0x70a03471b4f2dee5174ade1165742e2d3fed2e27,0x4535913573d299a6372ca43b90aa6be1cf68f779,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x5a56da75c50aa2733f5fa9a2442aaefcbc60b2e6,,,,,,, -Factory V2,CXD/ETH,CXDETH,0x5d898fd41875b14c1781fb497aecab8e9b24dfc9,no,,,400000,26000000,45000000,0x1979f8296492ff9e6527eca47fc44bb30c391139,0x5d898fd41875b14c1781fb497aecab8e9b24dfc9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x5a56da75c50aa2733f5fa9a2442aaefcbc60b2e6,,,,,,, -Factory V2,ETH/VIRTUE,ETHVIRT,0xd0a1d2a9350824516ae8729b8311557ba7e55bff,no,,,400000,30000000,100000000,0x94f6c0201e1bfcba290345338c3c4abc1901d336,0xd0a1d2a9350824516ae8729b8311557ba7e55bff,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9416ba76e88d873050a06e5956a3ebf10386b863,,,,,,, -Factory V2,VIRTUE/ETH,VIRTETH,0xb2e113a6b8edea086a44b1509013c4fc69ec4bf0,no,,,400000,30000000,100000000,0x203dd977cdb764176ac0fa12f96b3da377fdf5e5,0xb2e113a6b8edea086a44b1509013c4fc69ec4bf0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9416ba76e88d873050a06e5956a3ebf10386b863,,,,,,, -Factory V2,FPI2Pool,FPIFRAX,0xf861483fa7e511fbc37487d91b6faa803af5d37c,no,,,200000000,15000000,30000000,0x4704ab1fb693ce163f7c9d3a31b3ff4eaf797714,0xf861483fa7e511fbc37487d91b6faa803af5d37c,0x853d955acef822db058eb8505911ed77f175b99e,0x5ca135cb8527d76e932f34b5145575f9d8cbe08e,,,,,,, -Factory V2,VNXAU/USDC,VNXAUSDC,0x62d1d9065b4c78964040b640ab404d86d8f68263,no,,,200000000,5000000,45000000,0xfbe8925bdee1c5dd778b3e2ac3ffaeaac462f3c9,0x62d1d9065b4c78964040b640ab404d86d8f68263,0x6d57b2e05f26c26b549231c866bdd39779e4a488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,CADC/3CRV,CADC3CRV,0x595146ed98c81dde9bd23d0c2ab5b807c7fe2d9f,no,,,200000000,5000000,45000000,0x7372601c874a8fa339f52bf0673d14e86f550bfb,0x595146ed98c81dde9bd23d0c2ab5b807c7fe2d9f,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,,,,, -Factory V2,CNC/ETH,CNCETH,0x838af967537350d2c44abb8c010e49e32673ab94,no,,,400000,26000000,45000000,0xf9835375f6b268743ea0a54d742aa156947f8c06,0x838af967537350d2c44abb8c010e49e32673ab94,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9ae380f0272e2162340a5bb646c354271c0f5cfc,,,,,,, -Factory V2,CNC/ETH,CNCETH,0x782115c863a05abf8795df377d89aad1aadf4dfa,no,,,400000,26000000,45000000,0xc0f888d0987287aa1d09cac49f2cca89f7bbe774,0x782115c863a05abf8795df377d89aad1aadf4dfa,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9ae380f0272e2162340a5bb646c354271c0f5cfc,,,,,,, -Factory V2,JPEG/ETH,JPEGETH,0x7e050cf658777cc1da4a4508e79d71859044b60e,no,,,400000,26000000,45000000,0x34ed182d0812d119c92907852d2b429f095a9b07,0x7e050cf658777cc1da4a4508e79d71859044b60e,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xe80c0cd204d654cebe8dd64a4857cab6be8345a3,,,,,,, -Factory V2,eth/nfd,nfdeth,0x7472764c28f843ba246f294c44de9456911a3454,no,,,400000,26000000,45000000,0x5d331b8c8f87130ffbe55011d9d0f74a7af9a21c,0x7472764c28f843ba246f294c44de9456911a3454,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xdfdb7f72c1f195c5951a234e8db9806eb0635346,,,,,,, -Factory V2,LFT/ETH,LFTETH,0xfe4a08f22fe65759ba91db2e2cada09b4415b0d7,no,,,400000,26000000,45000000,0x401322b9fddba8c0a8d40fbcece1d1752c12316b,0xfe4a08f22fe65759ba91db2e2cada09b4415b0d7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xb620be8a1949aa9532e6a3510132864ef9bc3f82,,,,,,, -Factory V2,JZC Miners,JZC/ETH,0x86cf48e9735f84d3311141e8941b2494fb4b8142,no,,,400000,26000000,45000000,0x1b8577b2d5cde12f29f01c5c4d5420e5f4b25e5f,0x86cf48e9735f84d3311141e8941b2494fb4b8142,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x7bb46c33a972349ef48e7545cac068fb77b89e5a,,,,,,, -Factory V2,KP3R/ETH,KP3RETH,0x21410232b484136404911780bc32756d5d1a9fa9,no,,,400000,26000000,45000000,0x4647b6d835f3b393c7a955df51eefcf0db961606,0x21410232b484136404911780bc32756d5d1a9fa9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x1ceb5cb57c4d4e2b2433641b95dd330a33185a44,,,,,,, -Factory V2,PAL/ETH,PALETH,0x75a6787c7ee60424358b449b539a8b774c9b4862,no,,,400000,26000000,45000000,0xbe4f3ad6c9458b901c81b734cb22d9eae9ad8b50,0x75a6787c7ee60424358b449b539a8b774c9b4862,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xab846fb6c81370327e784ae7cbb6d6a6af6ff4bf,,,,,,, -Factory V2,USDC/STG,USDCSTG,0x751d3feffed0890b76e9b86476cfeeaa1fcda73d,no,,,400000,26000000,45000000,0x61bfabe002d2617b897c0a40f4ad45c9fde1b88b,0x751d3feffed0890b76e9b86476cfeeaa1fcda73d,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,,,,,,, -Factory V2,USDC/STG,USDCSTG,0x39567db64f0b25db2c35fc7a4f60c3c5258e4654,no,,,400000,26000000,45000000,0x09eff23aeff4b0a89a31fbcaad85ee7248a5ac83,0x39567db64f0b25db2c35fc7a4f60c3c5258e4654,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,,,,,,, -Factory V2,Test,AAA,0xa6b28989b81b2fe4ec03fde324de1a99ae4366e4,no,,,200000000,5000000,45000000,0xaf0c83990e3fd6a6999d364ee7bf0c9fddcf43e0,0xa6b28989b81b2fe4ec03fde324de1a99ae4366e4,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x514910771af9ca656af840dff83e8264ecf986ca,,,,,,, -Factory V2,ALUSD/BNT,ALUSDBNT,0x6b234f354eda8fae082be20dcf790fd886b42340,no,,,100000000,6500000,45000000,0xa21da2e5335cb06b3d031732c496e334386c1de4,0x6b234f354eda8fae082be20dcf790fd886b42340,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,,,,,,, -Factory V2,ibKRW/USDC,ibKRWUSDC,0xef04f337fcb2ea220b6e8db5edbe2d774837581c,no,,,200000000,5000000,45000000,0x80caccdbd3f07bbdb558db4a9e146d099933d677,0xef04f337fcb2ea220b6e8db5edbe2d774837581c,0x95dfdc8161832e4ff7816ac4b6367ce201538253,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibJPY/USDC,ibJPYUSDC,0xeb0265938c1190ab4e3e1f6583bc956df47c0f93,no,,,200000000,5000000,45000000,0x127091ede112aed7bae281747771b3150bb047bb,0xeb0265938c1190ab4e3e1f6583bc956df47c0f93,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibGBP/USDC,ibGBPUSDC,0xacce4fe9ce2a6fe9af83e7cf321a3ff7675e0ab6,no,,,200000000,5000000,45000000,0x22cf19eb64226e0e1a79c69b345b31466fd273a7,0xacce4fe9ce2a6fe9af83e7cf321a3ff7675e0ab6,0x69681f8fde45345c3870bcd5eaf4a05a60e7d227,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibCHF/USDC,ibCHFUSDC,0x6df0d77f0496ce44e72d695943950d8641fca5cf,no,,,200000000,5000000,45000000,0x08cea8e5b4551722deb97113c139dd83c26c5398,0x6df0d77f0496ce44e72d695943950d8641fca5cf,0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V2,ibAUD/USDC,ibAUDUSDC,0x5b692073f141c31384fae55856cfb6cbffe91e60,no,,,200000000,5000000,45000000,0x54c8ecf46a81496eeb0608bd3353388b5d7a2a33,0x5b692073f141c31384fae55856cfb6cbffe91e60,0xfafdf0c4c1cb09d430bf88c75d88bb46dae09967,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,Curve sETH2-stETH,sETH2stETH,0xd1011b637f979a5d9093df1b32e7736c289024f5,no,,,50,4000000,4000000,0xd1011b637f979a5d9093df1b32e7736c289024f5,0xd1011b637f979a5d9093df1b32e7736c289024f5,0xfe2e637202056d30016725477c5da089ab0a043a,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sETH2/stETH,sETH2stETH,0xe95e4c2dac312f31dc605533d5a4d0af42579308,no,,,50,4000000,4000000,0xe95e4c2dac312f31dc605533d5a4d0af42579308,0xe95e4c2dac312f31dc605533d5a4d0af42579308,0xfe2e637202056d30016725477c5da089ab0a043a,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xecb860e54e33fea8fab5b076734e2591d1a9eba4 -Factory V1 Plain,TriCRV,TriCRV,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,no,,,50,30000000,30000000,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,0x6577b46a566ade492ad551a315c04de3fbe3dbfa,0xd6ecdfd41ddb7167f3ed9b37f33fb24d57543e26,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,,,,,0x29e86ff40fad527fe54af75afe3bb89708af3aa7 -Factory V1 Plain,sdCRV,sdCRVCRV,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,no,,,10,4000000,4000000,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,0x323b3a6e7a71c1b8c257606ef0364d61df8aa525,0xd533a949740bb3306d119cc777fa900ba034cd52,0xd1b5651e55d4ceed36251c61c50c889b36f6abb5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdCRV,sdCRVCRV,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,no,,,10,4000000,4000000,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,0xf7b55c3732ad8b2c2da7c24f30a69f55c54fb717,0xd533a949740bb3306d119cc777fa900ba034cd52,0xd1b5651e55d4ceed36251c61c50c889b36f6abb5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x663fc22e92f26c377ddf3c859b560c4732ee639a -Factory V1 Plain,mCRV-CRV,mCRV-CRV,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,no,,,10,15000000,15000000,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,0xf74bec4bcf432a17470e9c4f71542f2677b9af6a,0x79317218de52dfa2a233a3aeed098161889418c7,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,FRAX/ARTH.usd,FRAXARTHu,0x5a59fd6018186471727faaeae4e57890abc49b08,no,,,100,4000000,4000000,0x5a59fd6018186471727faaeae4e57890abc49b08,0x5a59fd6018186471727faaeae4e57890abc49b08,0x973f054edbecd287209c36a2651094fa52f99a71,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CLever CVX,clevCVX,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,no,,,200,4000000,4000000,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,0xaa6a4f8ddcca7d3b9e7ad38c8338a2fcfdb1e713,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xf05e58fcea29ab4da01a495140b349f8410ba904,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CLever CVX,clevCVX,0x8c1de7a8f8852197b109daf75a6fbb685c013315,no,,,200,20000000,20000000,0x8c1de7a8f8852197b109daf75a6fbb685c013315,0x8c1de7a8f8852197b109daf75a6fbb685c013315,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xf05e58fcea29ab4da01a495140b349f8410ba904,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x0e9470d9e8f5c726158704b982c6de1466372ef2 -Factory V2,ibEUR/USDC,ibEURUSDC,0x1570af3df649fc74872c5b8f280a162a3bdd4eb6,no,,,200000000,5000000,45000000,0x8682fbf0cbf312c891532ba9f1a91e44f81ad7df,0x1570af3df649fc74872c5b8f280a162a3bdd4eb6,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,ApeUSD-FRAX,ApeUSDFRAX,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,no,,,200,4000000,4000000,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,0x1977870a4c18a728c19dd4eb6542451df06e0a4b,0xff709449528b6fb6b88f557f7d93dece33bca78d,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CPI2Pool,FPIVOLT,0x07350d8c30d463179de6a58764c21558db66dd9c,no,,,200,4000000,4000000,0x07350d8c30d463179de6a58764c21558db66dd9c,0x07350d8c30d463179de6a58764c21558db66dd9c,0x853d955acef822db058eb8505911ed77f175b99e,0x559ebc30b0e58a45cc9ff573f77ef1e5eb1b3e18,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,CPI2Pool,FPIVOLT,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,no,,,200,4000000,4000000,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,0xc38ca214c7a82b1ee977232f045afb6d425cfff0,0x5ca135cb8527d76e932f34b5145575f9d8cbe08e,0x559ebc30b0e58a45cc9ff573f77ef1e5eb1b3e18,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,pxCVX/CVX,pxCVX,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,no,,,50,15000000,15000000,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,0xf38a67da7a3a12aa12a9981ae6a79c0fdddd71ab,0xbce0cf87f513102f22232436cca2ca49e815c3ac,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,COMP/ETH,COMPETH,0x9c6751593a1424108f53e5ad6754940fedaa5bc0,no,,,400000,26000000,45000000,0x675eaafa53d80400bc4144876f467622f628ebcb,0x9c6751593a1424108f53e5ad6754940fedaa5bc0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc00e94cb662c3520282e6f5717214004a7f26888,,,,,,, -Factory V1 Plain,WOMI/OMI,WOMIOMI,0xee98d56f60a5905cbb52348c8719b247dafe60ec,no,,,10,10000000,10000000,0xee98d56f60a5905cbb52348c8719b247dafe60ec,0xee98d56f60a5905cbb52348c8719b247dafe60ec,0x04969cd041c0cafb6ac462bd65b536a5bdb3a670,0xed35af169af46a02ee13b9d79eb57d6d68c1749e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,dfxSGD/XSGD,dfx2SGD,0x943b7e761f34866da12c9b84c99888fe2ef607c5,no,,,100,4000000,4000000,0x943b7e761f34866da12c9b84c99888fe2ef607c5,0x943b7e761f34866da12c9b84c99888fe2ef607c5,0x52ddda10eb0abdb34528329c4af16d218ab95bd1,0x70e8de73ce538da2beed35d14187f6959a8eca96,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,yveCRV,yvecrv,0x7e46fd8a30869aa9ed55af031067df666efe87da,no,,,50,15000000,15000000,0x7e46fd8a30869aa9ed55af031067df666efe87da,0x7e46fd8a30869aa9ed55af031067df666efe87da,0xd533a949740bb3306d119cc777fa900ba034cd52,0xc5bddf9843308380375a611c18b50fb9341f502a,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Euro Pool,europool,0xe7a3b38c39f97e977723bd1239c3470702568e7b,no,,,10,4000000,4000000,0xe7a3b38c39f97e977723bd1239c3470702568e7b,0xe7a3b38c39f97e977723bd1239c3470702568e7b,0xee586e7eaad39207f0549bc65f19e336942c992f,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,,,,,0x9f57569eaa61d427deeebac8d9546a745160391c -Factory V1 Plain,MATIC/FLEET,MATICFLEET,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,no,,,10,4000000,4000000,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,0xd7c10449a6d134a9ed37e2922f8474eac6e5c100,0xfd56a3dcfc0690881a466ae432d71bb2db588083,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Euro Pool,europool,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,no,,,10,4000000,4000000,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,0xf70c5c65cf6a28e7a4483f52511e5a29678e4ffd,0xee586e7eaad39207f0549bc65f19e336942c992f,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,GCD / USDP,GCDUSDP,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,no,,,100,4000000,4000000,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,0x649c1b0e70a80210bcfb3c4eb5ddad175b90be4d,0x213ecae6b3cbc0ad976f7d82626546d5b63a71cb,0x1456688345527be1f37e9e627da0837d6f08c925,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,stETH/aETHb,stETHaETHb,0x875df0ba24ccd867f8217593ee27253280772a97,no,,,100,4000000,4000000,0x875df0ba24ccd867f8217593ee27253280772a97,0x875df0ba24ccd867f8217593ee27253280772a97,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0xd01ef7c0a5d8c432fc2d1a85c66cf2327362e5c6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,sdLFT,sdLFTLFT,0xc69b00366f07840ff939cc9fdf866c3dccb10804,no,,,10,4000000,4000000,0xc69b00366f07840ff939cc9fdf866c3dccb10804,0xc69b00366f07840ff939cc9fdf866c3dccb10804,0xb620be8a1949aa9532e6a3510132864ef9bc3f82,0x0879c1a344910c2944c29b892a1cf0c216122c66,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,AAVE/ETH,AAVEETH,0xbf9702efefe1303a61b7c944b5741b773dd930a7,no,,,400000,26000000,45000000,0xd0ed79293aeb9705944aef1871f09d6cbeb8fb54,0xbf9702efefe1303a61b7c944b5741b773dd930a7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9,,,,,,, -Factory V2,MKR/ETH,MKRETH,0x90ce3285a9cce2d36149f12df2c1e357af304a1d,no,,,400000,26000000,45000000,0xd7d81c8665dcd3e6960afe64f204a564d8f8c54b,0x90ce3285a9cce2d36149f12df2c1e357af304a1d,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,,,,,,, -Factory V2,Goldfinch FIDU/USDC,fidu-usdc,0x80aa1a80a30055daa084e599836532f3e58c95e2,no,,,200000000,5000000,45000000,0x42ec68ca5c2c80036044f3eead675447ab3a8065,0x80aa1a80a30055daa084e599836532f3e58c95e2,0x6a445e9f40e0b97c92d0b8a3366cef1d67f700bf,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,frxETH,frxETH,0x7c0316c925e12ebfc55e0f325794b43ead425157,no,,,100,4000000,4000000,0x7c0316c925e12ebfc55e0f325794b43ead425157,0x7c0316c925e12ebfc55e0f325794b43ead425157,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x00000000008fd4f395ec6f12920bae9cb6c722e4,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tMYC/MYC,tMYC,0x83d78bf3f861e898cca47bd076b3839ab5469d70,no,,,1000000000,4000000,4000000,0x83d78bf3f861e898cca47bd076b3839ab5469d70,0x83d78bf3f861e898cca47bd076b3839ab5469d70,0x061aee9ab655e73719577ea1df116d7139b2a7e7,0x4b13006980acb09645131b91d259eaa111eaf5ba,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,agEUR/EUROC,agEUREUROC,0xba866791f98098df41c3187d4d5433be29215c79,no,,,200,4000000,4000000,0xba866791f98098df41c3187d4d5433be29215c79,0xba866791f98098df41c3187d4d5433be29215c79,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,agEUR/EUROC,agEUREUROC,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,no,,,1000,4000000,4000000,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,0xba3436fd341f2c8a928452db3c5a3670d1d5cc73,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xf9f46ef781b9c7b76e8b505226d5e0e0e7fe2f04 -Factory V1 Plain,cbETH,cbETHETH,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,no,,,100,4000000,4000000,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,0x6e8d2b6fb24117c675c2fabc524f28cc5d81f18a,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,aETH,aETH,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,no,,,10,10000000,10000000,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,0xc22936d5ece78c048d6e7fe5d9f77fb6caa16dbb,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x030ba81f1c18d280636f32af80b9aad02cf0854e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V2,SILO/FRAX,silofrax,0x9a22cdb1ca1cdd2371cd5bb5199564c4e89465eb,no,,,400000,26000000,45000000,0x2302aabe69e6e7a1b0aa23aac68fccb8a4d2b460,0x9a22cdb1ca1cdd2371cd5bb5199564c4e89465eb,0x6f80310ca7f2c654691d1383149fa1a57d8ab1f8,0x853d955acef822db058eb8505911ed77f175b99e,,,,,,, -Factory V2,OHM/ETH,OHMETH,0x6ec38b3228251a0c5d491faf66858e2e23d7728b,no,,,400000,26000000,45000000,0x3660bd168494d61ffdac21e403d0f6356cf90fd7,0x6ec38b3228251a0c5d491faf66858e2e23d7728b,0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,OHM/ETH,OHMETH,0x365901db5adb4c789801f19d5f1f46c574783ad6,no,,,400000,26000000,45000000,0xbce2c09c6757cf002dfba4e8b9c6f3d3437dc8dc,0x365901db5adb4c789801f19d5f1f46c574783ad6,0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,YFI/ETH,YFIETH,0xc26b89a667578ec7b3f11b2f98d6fd15c07c54ba,yes,curvefi,yfieth_swap,400000,26000000,45000000,0x29059568bb40344487d62f7450e78b8e6c74e0e5,0xc26b89a667578ec7b3f11b2f98d6fd15c07c54ba,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e,,,,,,, -Regular,y,y,0x45f783cce6b7ff23b2ab2d70e416cdb7d6055f51,yes,curvefi,y_swap,,,,0xdf5e0e81dff6faf3a7e52ba697820c5e32d806a8,0xbbc81d23ea2c3ec7e56d39296f0cbb648873a5d3,0x16de59092dae5ccf4a1e6439d611fd0653f0bd01,0xd6ad7a6750a7593e092a9b218d66c0a814a3436e,0x83f798e925bcd4017eb265844fddabb448f1707d,0x73a052500105205d34daf004eab301916da8190f,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x0000000000085d4780b73119b644ae5ecd22b376,0xfa712ee4788c042e2b7bb55e6cb8ec569c4530c1 -Regular,xautusd,xautusd,0xadcfcf9894335dc340f6cd182afa45999f45fc44,yes,curvefi,xautusd_swap,,,,0x8484673ca7bff40f82b041916881aea15ee84834,0xc5fa220347375ac4f91f9e4a4aab362f22801504,0x68749665ff8d2d112fa859aa293f07a622782f38,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x68749665ff8d2d112fa859aa293f07a622782f38,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x1b3e14157ed33f60668f2103bcd5db39a1573e5b -Factory V1 Meta,wormhole v2 UST-3Pool,UST_whv2,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,yes,curvefi,wormhole_v2,10,4000000,4000000,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,0xceaf7747579696a2f0bb206a14210e3c9e6fb269,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb0f5d00e5916c8b8981e99191a1458704b587b2b -Factory V1 Meta,Wasabi BTC,waBTC,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,yes,curvefi,waBTC,200,4000000,4000000,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,0x6d0bd8365e2fcd0c2acf7d218f629a319b6c9d47,0xfd8e70e83e399307db3978d3f34b060a06792c36,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xfd8e70e83e399307db3978d3f34b060a06792c36,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6, -Regular,ust,ust,0x890f4e345b1daed0367a877a1612f86a1f86985f,yes,curvefi,ust_swap,,,,0x94e131324b6054c0d789b190b2dac504e4361b53,0xb0a0716841f2fc03fba72a891b8bb13584f52f2d,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x3b7020743bc2a4ca9eaf9d0722d42e20d6935855 -Factory V1 Meta,USDV,USDV,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,yes,curvefi,usdv,10,4000000,4000000,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,0x7abd51bba7f9f6ae87ac77e1ea1c5783ada56e5c,0xea3fb6f331735252e7bfb0b24b3b761301293dbe,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xea3fb6f331735252e7bfb0b24b3b761301293dbe,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,usdt,usdt,0x52ea46506b9cc5ef470c5bf89f17dc28bb35d85c,yes,curvefi,usdt_swap,,,,0x9fc689ccada600b6df723d9e47d84d76664a1f23,0xac795d2c97e60df6a99ff1c814727302fd747a80,0x5d3a536e4d6dbd6114cc1ead35777bab948e3643,0x39aa39c021dfbae8fac545936693ac917d5e7563,0xdac17f958d2ee523a2206206994597c13d831ec7,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xbc89cd85491d81c6ad2954e6d0362ee29fca8f53 -Regular,usdp,usdp,0x42d7025938bec20b69cbae5a77421082407f053a,yes,curvefi,usdp_swap,,,,0x7eb40e450b9655f4b3cc4259bcc731c63ff55ae6,0x3c8caee4e09296800f8d29a68fa3837e2dae4940,0x1456688345527be1f37e9e627da0837d6f08c925,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1456688345527be1f37e9e627da0837d6f08c925,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x055be5ddb7a925bfef3417fc157f53ca77ca7222 -Regular,usdn,usdn,0x0f9cb53ebe405d49a0bbdbd291a65ff571bc83e1,yes,curvefi,usdn_swap,,,,0x4f3e8f405cf5afc05d68142f3783bdfe13811522,0x094d12e5b541784701fd8d65f11fc0598fbc6332,0x674c6ad92fd080e4004b2312b45f796a192d27a0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x674c6ad92fd080e4004b2312b45f796a192d27a0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xf98450b5602fa59cc66e1379dffb6fddc724cfc4 -Factory V1 Meta,USDM,USDM,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,yes,curvefi,usdm,10,4000000,4000000,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,0x5b3b5df2bf2b6543f78e053bd91c4bdd820929f1,0x31d4eb09a216e181ec8a43ce79226a487d6f0ba9,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x31d4eb09a216e181ec8a43ce79226a487d6f0ba9,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9af13a7b1f1bbf1a2b05c6fbf23ac23a9e573b4e -Regular,usdk,usdk,0x3e01dd8a5e1fb3481f0f589056b428fc308af0fb,yes,curvefi,usdk_swap,,,,0x97e2768e8e73511ca874545dc5ff8067eb19b787,0xf1f85a74ad6c64315f85af52d3d46bf715236adc,0x1c48f86ae57291f7686349f12601910bd8d470bb,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x1c48f86ae57291f7686349f12601910bd8d470bb,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc2b1df84112619d190193e48148000e3990bf627 -Factory V1 Meta,USDD/3CRV,USDD3CRV,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,yes,curvefi,usdd,200,4000000,4000000,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,0xe6b5cc1b4b47305c58392ce3d359b10282fc36ea,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd5d3efc90ffb38987005fdea303b68306aa5c624 -Factory V1 Meta,tusd-3pool,tusd3pool,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,yes,curvefi,tusd3pool,200,4000000,4000000,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,0xac5f019a302c4c8caac0a7f28183ac62e6e80034,0xef779cf3d260dbe6177b30ff08b10db591a6dd9c,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xef779cf3d260dbe6177b30ff08b10db591a6dd9c,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,tusd,tusd,0xecd5e75afb02efa118af914515d6521aabd189f1,yes,curvefi,tusd,,,,0xecd5e75afb02efa118af914515d6521aabd189f1,0xa79828df1850e8a3a3064576f380d90aecdd3359,0x0000000000085d4780b73119b644ae5ecd22b376,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0000000000085d4780b73119b644ae5ecd22b376,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x359fd5d6417ae3d8d6497d9b2e7a890798262ba4 -Regular,tricrypto,tricrypto,0x80466c64868e1ab14a1ddf27a676c3fcbe638fe5,yes,curvefi,tricrypto_swap,,,,0xca3d75ac011bf5ad07a98d02f18225f9bd9a6bdf,0x331af2e331bd619defaa5dac6c038f53fcf9f785,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,0x6955a55416a06839309018a8b0cb72c4ddc11f15 -Regular,tricrypto2,tricrypto2,0xd51a44d3fae010294c616388b506acda1bfaae46,yes,curvefi,tricrypto2_swap,,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x3993d34e7e99abf6b6f367309975d1360222d446,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,0xdefd8fdd20e0f34115c7018ccfb655796f6b2168 -Factory V1 Meta,Test Pool D,TPD,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,yes,curvefi,tpd,10,4000000,4000000,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,0x705da2596cf6aaa2fea36f2a59985ec9e8aec7e2,0x4185cf99745b2a20727b37ee798193dd4a56cdfa,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x4185cf99745b2a20727b37ee798193dd4a56cdfa,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,3pool,3pool,0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7,yes,curvefi,threepool_swap,,,,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,,,,,0xbfcf63294ad7105dea65aa58f8ae5be2d9d0952a -Regular,teth,teth,0x752ebeb79963cf0732e9c0fec72a49fd1defaeac,yes,curvefi,teth_swap,,,,0xcb08717451aae9ef950a2524e33b6dcaba60147b,,0x0000000000000000000000000000000000000000,0xcdf7028ceab81fa0c6971208e83fa7872994bee5,,,,,,,0x6070fbd4e608ee5391189e7205d70cc4a274c017 -Regular,tbtc,tbtc,0xc25099792e9349c7dd09759744ea681c7de2cb66,yes,curvefi,tbtc_swap,,,,0x64eda51d3ad40d56b9dfc5554e06f94e1dd786fd,0xaa82ca713d94bba7a89ceab55314f9effeddc78c,0x8daebade922df735c38c80c7ebd708af50815faa,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8daebade922df735c38c80c7ebd708af50815faa,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x6828bcf74279ee32f2723ec536c22c51eed383c6 -Factory V1 Meta,tbtc2,tbtc2,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,yes,curvefi,tbtc2,200,4000000,4000000,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,0xfa65aa60a9d45623c57d383fb4cf8fb8b854cc4d,0x18084fba666a33d37592fa2633fd49a74dd93a88,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x18084fba666a33d37592fa2633fd49a74dd93a88,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x29284d30bcb70e86a6c3f84cbc4de0ce16b0f1ca -Factory V1 Plain,Tokemak tWETH/WETH,tWETH+WETH,0x06d39e95977349431e3d800d49c63b4d472e10fb,yes,curvefi,tWETH_WETH,10,4000000,4000000,0x06d39e95977349431e3d800d49c63b4d472e10fb,0x06d39e95977349431e3d800d49c63b4d472e10fb,0xd3d13a578a53685b4ac36a1bab31912d2b2a2f36,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tTCR/TCR,tTCR,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,yes,curvefi,tTCR,1000000000,4000000,4000000,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,0x01fe650ef2f8e2982295489ae6adc1413bf6011f,0x15a629f0665a3eb97d7ae9a7ce7abf73aeb79415,0x9c4a4204b79dd291d6b6571c5be8bbcd0622f050,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tSUSHI/SUSHI,tSUSHI,0x0437ac6109e8a366a1f4816edf312a36952db856,yes,curvefi,tSUSHI,1000000000,4000000,4000000,0x0437ac6109e8a366a1f4816edf312a36952db856,0x0437ac6109e8a366a1f4816edf312a36952db856,0xf49764c9c5d644ece6ae2d18ffd9f1e902629777,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tSNX/SNX,tSNX,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,yes,curvefi,tSNX,1000000000,4000000,4000000,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,0x50b0d9171160d6eb8aa39e090da51e7e078e81c4,0xeff721eae19885e17f5b80187d6527aad3ffc8de,0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tGAMMA/GAMMA,tGAMMA,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,yes,curvefi,tGAMMA,1000000000,4000000,4000000,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,0x9462f2b3c9beea8afc334cdb1d1382b072e494ea,0x2fc6e9c1b2c07e18632efe51879415a580ad22e1,0x6bea7cfef803d1e3d5f7c0103f7ded065644e197,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tFXS/FXS,tFXS,0x961226b64ad373275130234145b96d100dc0b655,yes,curvefi,tFXS,1000000000,4000000,4000000,0x961226b64ad373275130234145b96d100dc0b655,0x961226b64ad373275130234145b96d100dc0b655,0xadf15ec41689fc5b6dca0db7c53c9bfe7981e655,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,tFRAX/FRAX Test,tFRAX+FRAX,0x694650a0b2866472c2eea27827ce6253c1d13074,yes,curvefi,tFRAXFRAX,1000000000,4000000,4000000,0x694650a0b2866472c2eea27827ce6253c1d13074,0x694650a0b2866472c2eea27827ce6253c1d13074,0x94671a3cee8c7a12ea72602978d1bb84e920efb2,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tFOX/FOX,tFOX,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,yes,curvefi,tFOX,1000000000,4000000,4000000,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,0xc250b22d15e43d95fbe27b12d98b6098f8493eac,0x808d3e6b23516967ceae4f17a5f9038383ed5311,0xc770eefad204b5180df6a14ee197d99d808ee52d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tAPW/APW,tAPW,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,yes,curvefi,tAPW,1000000000,4000000,4000000,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,0xcaf8703f8664731ced11f63bb0570e53ab4600a9,0xdc0b02849bb8e0f126a216a2840275da829709b0,0x4104b135dbc9609fc1a9490e61369036497660c8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Tokemak tALCX/ALCX,tALCX,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,yes,curvefi,tALCX,1000000000,4000000,4000000,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,0x9001a452d39a8710d27ed5c2e10431c13f5fba74,0xd3b5d9a561c293fb42b446fe7e237daa9bf9aa84,0xdbdb4d16eda451d0503b854cf79d55697f90c8df,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,susdv2,susd,0xa5407eae9ba41422680e2e00537571bcc53efbfd,yes,curvefi,susd_swap,,,,0xc25a3a3b969415c80451098fa907ec722572917f,0xfcba3e75865d2d561be8d220616520c171f12851,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x57ab1e02fee23774580c119740129eac7081e9d3,0xa90996896660decc6e997655e065b23788857849 -Regular,steth,steth,0xdc24316b9ae028f1497c275eb9192a3ea0f67022,yes,curvefi,steth_swap,,,,0x06325440d014e39736583c165c2963ba99faf14e,,0x0000000000000000000000000000000000000000,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,,,,,,,0x182b723a58739a9c974cfdb385ceadb237453c28 -Factory V1 Plain,stETH concentrated,STETHETH_C,0x828b154032950c8ff7cf8085d841723db2696056,yes,curvefi,stETHconcentrated,1000,4000000,4000000,0x828b154032950c8ff7cf8085d841723db2696056,0x828b154032950c8ff7cf8085d841723db2696056,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xae7ab96520de3a18e5e111b5eaab095312d7fe84,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xf668e6d326945d499e5b35e7cd2e82acfbcfe6f0 -Regular,spelleth,spelleth,0x98638facf9a3865cd033f36548713183f6996122,yes,curvefi,spelleth_swap,,,,0x8282bd15dca2ea2bdf24163e8f2781b30c43a2ef,,0x0000000000000000000000000000000000000000,0x090185f2135308bad17527004364ebcc2d37e5f6,,,,,,,0x08380a4999be1a958e2abba07968d703c7a3027c -Regular,seth,seth,0xc5424b857f758e906013f3555dad202e4bdb4567,yes,curvefi,seth_swap,,,,0xa3d87fffce63b53e0d54faa1cc983b7eb0b74a9c,,0x0000000000000000000000000000000000000000,0x5e74c9036fb86bd7ecdcb084a0673efc32ea31cb,,,,,,,0x3c0ffff15ea30c35d7a85b85c0782d6c94e1d238 -Factory V2,SDT/ETH,SDTETH,0xfb8814d005c5f32874391e888da6eb2fe7a27902,yes,curvefi,sdteth_swap,400000,26000000,45000000,0x6359b6d3e327c497453d4376561ee276c6933323,0xfb8814d005c5f32874391e888da6eb2fe7a27902,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x73968b9a57c6e53d41345fd57a6e6ae27d6cdb2f,,,,,,, -Factory V1 Plain,sdCRV,sdCRV,0x737bc004136f66ae3f8fd5a1199e81c18388097b,yes,curvefi,sdCRV,200,15500000,15500000,0x737bc004136f66ae3f8fd5a1199e81c18388097b,0x737bc004136f66ae3f8fd5a1199e81c18388097b,0x478bbc744811ee8310b461514bdc29d03739084d,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xe64026269a7a528cb9ce17c3a403a956ac973a97 -Regular,sbtc,sbtc,0x7fc77b5c7614e1533320ea6ddc2eb61fa00a9714,yes,curvefi,sbtc_swap,,,,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,,,,,,0x705350c4bcd35c9441419ddd5d2f097d7a55410f -Factory V1 Plain,Wanna Avoid Tether?,sansUSDT,0x08eaf78d40abfa6c341f05692eb48edca425ce04,yes,curvefi,sansUSDT,10,4000000,4000000,0x08eaf78d40abfa6c341f05692eb48edca425ce04,0x08eaf78d40abfa6c341f05692eb48edca425ce04,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x0000000000000000000000000000000000000000,,,,, -Regular,saave,saave,0xeb16ae0052ed37f479f7fe63849198df1765a733,yes,curvefi,saave_swap,,,,0x02d341ccb60faaf662bc0554d13778015d1b285c,,0x028171bca77440897b824ca71d1c56cac55b68a3,0x6c5024cd4f8a59110119c56f8933403a539555eb,,,0x6b175474e89094c44da98b954eedeac495271d0f,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,0x462253b8f74b72304c145db0e4eebd326b22ca39 -Factory V1 Meta,sUSD Metapool,sUSD,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,yes,curvefi,sUSD,100,4000000,4000000,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,0xd05ce4ab1f4fb0c0e1b65ebe3ed7f2dcfc6ccf20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x1c633797b992bbdf20048b822ba58fd0ea17a8c8 -Regular,rsv,rsv,0xc18cc39da8b11da8c3541c598ee022258f9744da,yes,curvefi,rsv_swap,,,,0xc2ee6b0334c261ed60c72f6054450b61b8f18e35,0xbe175115bf33e12348ff77ccfee4726866a0fbd5,0x196f4727526ea7fb1e17b2071b3d8eaa38486988,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x196f4727526ea7fb1e17b2071b3d8eaa38486988,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4dc4a289a8e33600d8bd4cf5f6313e43a37adec7 -Factory V2,RocketPool rETH,rp-eth,0x1dff955cddd55fba58db3cd658f9e3e3c31851eb,yes,curvefi,rpeth_swap,400000,26000000,45000000,0x367d89e3577b95e5d9a770945225b93889b1dc8d,0x1dff955cddd55fba58db3cd658f9e3e3c31851eb,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xae78736cd615f374d3085123a210448e74fc6393,,,,,,, -Regular,reth,reth,0xf9440930043eb3997fc70e1339dbb11f341de7a8,yes,curvefi,reth_swap,,,,0x53a901d48795c58f485cbb38df08fa96a24669d5,,0x9559aaa82d9649c7a7b220e7c461d2e74c9a3593,0x0000000000000000000000000000000000000000,,,,,,,0x824f13f1a2f29cfeea81154b46c0fc820677a637 -Regular,ren,ren,0x93054188d876f558f4a66b2ef1d97d16edf0895b,yes,curvefi,ren_swap,,,,0x49849c98ae39fff122806c06791fa73784fb3675,,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,,0xb1f2cdec61db658f091671f5f199635aef202cac -Factory V2,RAI/FRAX,RAIFRAX,0xc68ffddea3a77b456227b50ebfdcc3c33bc2a8a4,yes,curvefi,raifrax_swap,200000000,5000000,45000000,0x1b8b8a78e12397e18a2bd2b400205d1eb8897573,0xc68ffddea3a77b456227b50ebfdcc3c33bc2a8a4,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x853d955acef822db058eb8505911ed77f175b99e,,,,,,, -Factory V2,RAI/ETH,RAIETH,0x96fb2ab514ca569a1486c50339533ca4637b338b,yes,curvefi,raieth_swap,400000,26000000,45000000,0xde3e8978896e1fa31f1ea2b9012caa4057adb273,0x96fb2ab514ca569a1486c50339533ca4637b338b,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,RAI/agEUR,RAIAGEUR,0xb6d9b32407bfa562d9211acdba2631a46c850956,yes,curvefi,raiageur_swap,200000000,5000000,45000000,0xca7c3ac4e5fb7b2ae60472c80344ea9403c6d2b1,0xb6d9b32407bfa562d9211acdba2631a46c850956,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,,,,,,, -Regular,rai,rai,0x618788357d0ebd8a37e763adab3bc575d54c2c7d,yes,curvefi,rai_swap,,,,0x6ba5b4e438fa0aaf7c1bd179285af65d13bd3d90,0xcb636b81743bb8a7f1e355debb7d33b07009cccc,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x66ec719045bbd62db5ebb11184c18237d3cc2e62 -Factory V1 Plain,rETH/wstETH,rETHwstETH,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,yes,curvefi,rETHwstETH,50,4000000,4000000,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,0x447ddd4960d9fdbf6af9a790560d0af76795cb08,0xae78736cd615f374d3085123a210448e74fc6393,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x8ad7e0e6edc61bc48ca0dd07f9021c249044ed30 -Factory V2,pxCVX/CVX,pxCVXCVX,0xf3456e8061461e144b3f252e69dcd5b6070fdee0,yes,curvefi,pxCVXCVX,200000000,15000000,30000000,0xace78d9bab82b6b4783120dba82aa10b040a14d9,0xf3456e8061461e144b3f252e69dcd5b6070fdee0,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xbce0cf87f513102f22232436cca2ca49e815c3ac,,,,,,, -Regular,pbtc,pbtc,0x7f55dde206dbad629c080068923b36fe9d6bdbef,yes,curvefi,pbtc_swap,,,,0xde5331ac4b3630f94853ff322b66407e0d6331e8,0x11f419adabbff8d595e7d5b223eee3863bb3902c,0x5228a22e72ccc52d415ecfd199f99d0665e7733b,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x5228a22e72ccc52d415ecfd199f99d0665e7733b,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xd7d147c6bb90a718c3de8c0568f9b560c79fa416 -Factory V1 Meta,Paxos Dollar (USDP),pax-usdp,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,yes,curvefi,paxusdp,1000,4000000,4000000,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,0xc270b3b858c335b6ba5d5b10e2da8a09976005ad,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc95bdf13a08a547e4dd9f29b00ab7ff08c5d093d -Regular,pax,pax,0x06364f10b501e868329afbc005b3492902d6c763,yes,curvefi,pax_swap,,,,0xd905e2eaebe188fc92179b6350807d8bd91db0d8,0xa50ccc70b6a011cffddf45057e39679379187287,0x99d1fa417f94dcd62bfe781a1213c092a47041bc,0x9777d7e2b60bb01759d0e2f8be2095df444cb07e,0x1be5d71f2da660bfdee8012ddc58d024448a0a59,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x8e870d67f660d95d5be530380d0ec0bd388289e1,0x64e3c23bfc40722d3b649844055f1d51c1ac041d -Factory V2,PAR/USDC,PARUSDC,0xdad60c5b748306ba5a0c9a3c3482a8d1153dad2a,yes,curvefi,parusdc_swap,200000000,5000000,45000000,0x030cafae2ece75ed411aeb53633fbed3092c3e32,0xdad60c5b748306ba5a0c9a3c3482a8d1153dad2a,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Meta,PAR/USDC,PARUSDC,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,yes,curvefi,par3crv,10,4000000,4000000,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,0x5b78b93fa851c357586915c7ba7258b762eb1ba0,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,AAVE/palStkAAVE,palStkAAVE,0x48536ec5233297c367fd0b6979b75d9270bb6b15,yes,curvefi,palstkaave_swap,200000000,5000000,45000000,0x6085def4343a0b5d97820f131a362dae9fe59841,0x48536ec5233297c367fd0b6979b75d9270bb6b15,0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9,0x24e79e946dea5482212c38aab2d0782f04cdb0e0,,,,,,, -Regular,obtc,obtc,0xd81da8d904b52208541bade1bd6595d8a251f8dd,yes,curvefi,obtc_swap,,,,0x2fe94ea3d5d4a175184081439753de15aef9d614,0xd5bcf53e2c81e1991570f33fa881c49eea570c8d,0x8064d9ae6cdf087b1bcd5bdf3531bd5d8c537a68,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8064d9ae6cdf087b1bcd5bdf3531bd5d8c537a68,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x11137b10c210b579405c21a07489e28f3c040ab1 -Regular,musd,musd,0x8474ddbe98f5aa3179b3b3f5942d724afcdec9f6,yes,curvefi,musd_swap,,,,0x1aef73d49dedc4b1778d0706583995958dc862e6,0x803a2b40c5a9bb2b86dd630b274fa2a9202874c2,0xe2f2a5c287993345a840db3b0845fbc70f5935a5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xe2f2a5c287993345a840db3b0845fbc70f5935a5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x5f626c30ec1215f4edcc9982265e8b1f411d1352 -Regular,mim,mim,0x5a6a4d54456819380173272a5e8e9b9904bdf41b,yes,curvefi,mim,,,,0x5a6a4d54456819380173272a5e8e9b9904bdf41b,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd8b712d29381748db89c36bca0138d7c75866ddf -Factory V1 Plain,Meta EUR,mEUR,0x3cfaa1596777cad9f5004f9a0c443d912e262243,yes,curvefi,mEUR,100,4000000,4000000,0x3cfaa1596777cad9f5004f9a0c443d912e262243,0x3cfaa1596777cad9f5004f9a0c443d912e262243,0x68037790a0229e9ce6eaa8a99ea92964106c4703,0xc581b735a1688071a1746c968e0798d642ede491,0xdb25f211ab05b1c97d595516f45794528a807ad8,0xd71ecff9342a5ced620049e616c5035f1db98620,,,,, -Regular,lusd,lusd,0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca,yes,curvefi,lusd_swap,,,,0xed279fdd11ca84beef15af5d39bb4d4bee23f0ca,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9b8519a9a00100720ccdc8a120fbed319ca47a14 -Regular,linkusd,linkusd,0xe7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171,yes,curvefi,linkusd_swap,,,,0x6d65b498cb23deaba52db31c93da9bffb340fb8f,0x1de7f0866e2c4adac7b457c58cc25c8688cda1f2,0x0e2ec54fc0b509f445631bf4b91ab8168230c752,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0e2ec54fc0b509f445631bf4b91ab8168230c752,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,link,link,0xf178c0b5bb7e7abf4e12a4838c7b7c5ba2c623c0,yes,curvefi,link_swap,,,,0xcee60cfa923170e4f8204ae08b4fa6a3f5656f3a,,0x514910771af9ca656af840dff83e8264ecf986ca,0xbbc455cb4f1b9e4bfc4b73970d360c8f032efee6,,,,,,,0xfd4d8a17df4c27c1dd245d153ccf4499e806c87d -Factory V1 Meta,kusd-3pool,kusd3pool,0xed09ca8275dffb09c632b6ea58c035a851f73616,yes,curvefi,kusd3pool,200,4000000,4000000,0xed09ca8275dffb09c632b6ea58c035a851f73616,0xed09ca8275dffb09c632b6ea58c035a851f73616,0x332e824e46fceeb9e59ba9491b80d3e6d42b0b59,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x332e824e46fceeb9e59ba9491b80d3e6d42b0b59,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,jGBP/TGBP,jGBP+TGBP,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,yes,curvefi,jGBP_TGBP,200,4000000,4000000,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,0xed24fe718effc6b2fc59eeaa5c5f51dd079ab6ed,0x7409856cae628f5d578b285b45669b36e7005283,0x00000000441378008ea67f4284a57932b1c000a5,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,ib,ib,0x2dded6da1bf5dbdf597c45fcfaa3194e53ecfeaf,yes,curvefi,ironbank_swap,,,,0x5282a4ef67d9c33135340fb3289cc1711c13638c,,0x8e595470ed749b85c6f7669de83eae304c2ec68f,0x76eb2fe28b36b3ee97f3adae0c69606eedb2a37c,0x48759f220ed983db51fa7a8c0d2aab8f3ce4166a,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xf5194c3325202f456c95c1cf0ca36f8475c1949f -Factory V2,INV/DOLA,INVDOLA,0x99af0326ab1c2a68c6712a5622c1aa8e4b35fd57,yes,curvefi,invdola_swap,400000,26000000,45000000,0x1868e657122554750eb07b2fa45b4044af35c583,0x99af0326ab1c2a68c6712a5622c1aa8e4b35fd57,0x41d5d79431a913c4ae7d69a668ecdfe5ff9dfb68,0x865377367054516e17014ccded1e7d814edc9ce4,,,,,,, -Factory V1 Meta,ibBTC,ibbtc,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,yes,curvefi,ibbtc,100,4000000,4000000,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,0xfbdca68601f835b27790d98bbb8ec7f05fdeaa9b,0x8751d4196027d4e6da63716fa7786b5174f04c15,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x8751d4196027d4e6da63716fa7786b5174f04c15,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x346c7bb1a7a6a30c8e81c14e90fc2f0fbddc54d8 -Factory V1 Meta,Interest Bearing Bitcoin,ibbtc,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,yes,curvefi,ibbtc,200,4000000,4000000,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,0x99ae07e7ab61dcce4383a86d14f61c68cdccbf27,0xc4e15973e6ff2a35cc804c2cf9d2a1b817a8b40f,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xc4e15973e6ff2a35cc804c2cf9d2a1b817a8b40f,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xe9ef132a724ff731b17bd550709c38a3258edc4e -Factory V1 Plain,ibZAR/ZARP,ibZAR+ZARP,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,yes,curvefi,ibZAR_ZARP,200,4000000,4000000,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,0xcbd5cc53c5b846671c6434ab301ad4d210c21184,0x8cb24ed2e4f7e2065f4eb2be5f6b0064b1919850,0x81d66d255d47662b6b16f3c5bbfbb15283b05bc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xdb190e4d9c9a95fdf066b258892b8d6bb107434e -Factory V1 Plain,ibKRW/sKRW,ibKRW+sKRW,0x8461a004b50d321cb22b7d034969ce6803911899,yes,curvefi,ibKRW_sKRW,100,4000000,4000000,0x8461a004b50d321cb22b7d034969ce6803911899,0x8461a004b50d321cb22b7d034969ce6803911899,0x95dfdc8161832e4ff7816ac4b6367ce201538253,0x269895a3df4d73b077fc823dd6da1b95f72aaf9b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x1750a3a3d80a3f5333bbe9c4695b0fad41061ab1 -Factory V1 Plain,ibJPY/sJPY,ibJPY+sJPY,0x8818a9bb44fbf33502be7c15c500d0c783b73067,yes,curvefi,ibJPY_sJPY,100,4000000,4000000,0x8818a9bb44fbf33502be7c15c500d0c783b73067,0x8818a9bb44fbf33502be7c15c500d0c783b73067,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0xf6b1c627e95bfc3c1b4c9b825a032ff0fbf3e07d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xeff437a56a22d7dd86c1202a308536ed8c7da7c1 -Factory V1 Plain,ibGBP/sGBP,ibGBP+sGBP,0xd6ac1cb9019137a896343da59dde6d097f710538,yes,curvefi,ibGBP_sGBP,100,4000000,4000000,0xd6ac1cb9019137a896343da59dde6d097f710538,0xd6ac1cb9019137a896343da59dde6d097f710538,0x69681f8fde45345c3870bcd5eaf4a05a60e7d227,0x97fe22e7341a0cd8db6f6c021a24dc8f4dad855f,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x63d9f3ab7d0c528797a12a0684e50c397e9e79dc -Factory V1 Plain,ibEUR/sEUR,ibEUR+sEUR,0x1f71f05cf491595652378fe94b7820344a551b8e,yes,curvefi,ibEUR_sEUR,100,4000000,4000000,0x1f71f05cf491595652378fe94b7820344a551b8e,0x1f71f05cf491595652378fe94b7820344a551b8e,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0x57ab1ec28d129707052df4df418d58a2d46d5f51,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,ibEUR/sEUR,ibEUR+sEUR,0x19b080fe1ffa0553469d20ca36219f17fcf03859,yes,curvefi,ibEUR_sEUR,100,4000000,4000000,0x19b080fe1ffa0553469d20ca36219f17fcf03859,0x19b080fe1ffa0553469d20ca36219f17fcf03859,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x99fb76f75501039089aac8f20f487bf84e51d76f -Factory V1 Plain,ibCHF/sCHF,ibCHF+sCHF,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,yes,curvefi,ibCHF_sCHF,100,4000000,4000000,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,0x9c2c8910f113181783c249d8f6aa41b51cde0f0c,0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309,0x0f83287ff768d1c1e17a42f44d644d7f22e8ee1d,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x2fa53e8fa5fadb81f4332c8ece39fe62ea2f919e -Factory V1 Plain,ibAUD/sAUD,ibAUD+sAUD,0x3f1b0278a9ee595635b61817630cc19de792f506,yes,curvefi,ibAUD_sAUD,100,4000000,4000000,0x3f1b0278a9ee595635b61817630cc19de792f506,0x3f1b0278a9ee595635b61817630cc19de792f506,0xfafdf0c4c1cb09d430bf88c75d88bb46dae09967,0xf48e200eaf9906362bb1442fca31e0835773b8b4,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x05ca5c01629a8e5845f12ea3a03ff7331932233a -Regular,husd,husd,0x3ef6a01a0f81d6046290f3e2a8c5b843e738e604,yes,curvefi,husd_swap,,,,0x5b5cfe992adac0c9d48e05854b2d91c73a003858,0x09672362833d8f703d5395ef3252d4bfa51c15ca,0xdf574c24545e5ffecb9a659c229253d4111d87e1,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xdf574c24545e5ffecb9a659c229253d4111d87e1,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x2db0e83599a91b508ac268a6197b8b14f5e72840 -Regular,hbtc,hbtc,0x4ca9b3063ec5866a4b82e437059d2c43d1be596f,yes,curvefi,hbtc_swap,,,,0xb19059ebb43466c323583928285a49f558e572fd,,0x0316eb71485b0ab14103307bf65a021042c6d380,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,,0x4c18e409dc8619bfb6a1cb56d114c3f592e0ae79 -Regular,gusd,gusd,0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956,yes,curvefi,gusd_swap,,,,0xd2967f45c4f384deea880f807be904762a3dea07,0x64448b78561690b70e17cbe8029a3e5c1bb7136e,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc5cfada84e902ad92dd40194f0883ad49639b023 -Factory V2,FXS/ETH,FXSETH,0x1667954f14f5b22c703116d8d806f988b1e09018,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x27ca67c8d7a060988c9f8f57bf7c784dd41816a6,0x1667954f14f5b22c703116d8d806f988b1e09018,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x03470b57b05089ee40c651dac9e0387f1f3cb46f,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x1aea495539b514a5538878d3d3695c7aeddc61f1,0x03470b57b05089ee40c651dac9e0387f1f3cb46f,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x941eb6f616114e4ecaa85377945ea306002612fe,yes,curvefi,fxseth_swap,400000,26000000,45000000,0x90244f43d548a4f8dfecfad91a193465b1fad6f7,0x941eb6f616114e4ecaa85377945ea306002612fe,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V2,FXS/ETH,FXSETH,0x6ec176b5449dd7c1a87ca8d97acecc531c0ca0d8,yes,curvefi,fxseth_swap,400000,26000000,45000000,0xd67f3684346e416a8b1311c8955fb6000a083aaa,0x6ec176b5449dd7c1a87ca8d97acecc531c0ca0d8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,,,,,,, -Factory V1 Plain,handleEUR,fxEUR_CRV,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,yes,curvefi,fxEUR_CRV,10,4000000,4000000,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,0x8df0713b2a047c45a0bef21c3b309bcef91afd34,0x116172b2482c5dc3e6f445c16ac13367ac3fcd35,0xdb25f211ab05b1c97d595516f45794528a807ad8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xe99de9059e65683f7c5e29a0078efecea34e1c2f -Regular,frax,frax,0xd632f22692fac7611d2aa1c0d552930d43caed3b,yes,curvefi,frax,,,,0xd632f22692fac7611d2aa1c0d552930d43caed3b,,0x853d955acef822db058eb8505911ed77f175b99e,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x853d955acef822db058eb8505911ed77f175b99e,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x72e158d38dbd50a483501c24f792bdaaa3e7d55c -Factory V1 Meta,fiat,FIAT+3Crv,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,yes,curvefi,fiat3crv,200,4000000,4000000,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,0xdb8cc7eced700a4bffde98013760ff31ff9408d8,0x586aa273f262909eef8fa02d90ab65f5015e0516,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x586aa273f262909eef8fa02d90ab65f5015e0516,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x71c5dc1b395b02834a97ecf5a0ca062bf8801b07 -Factory V1 Meta,BUSDFRAXBP,BUSDFRAXBP,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,yes,curvefi,factory_metapoool_busdfraxbp,200,4000000,4000000,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,0x8fdb0bb9365a46b145db80d0b1c5c5e979c84190,0x4fabb145d64652a948d72533023f6e7a623c7c53,,,,0x4fabb145d64652a948d72533023f6e7a623c7c53,,,,0xaeac6dcd12cc0be74c8f99efe4bb5205a1f9a608 -Factory V1 Meta,USDDFRAXBP,USDDFRAXBP,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,yes,curvefi,factory_metapool_usddfraxbp,200,4000000,4000000,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,0x4606326b4db89373f5377c316d3b0f6e55bc6a20,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,,,,0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6,,,,0xb8b9dfcb48614fa873ccec72c79d728d39ec9a5c -Factory V1 Meta,TUSDFRAXBP,TUSDFRAXBP,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,yes,curvefi,factory_metapool_tusdfraxbp,200,4000000,4000000,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,0x33baeda08b8afacc4d3d07cf31d49fc1f1f3e893,0x0000000000085d4780b73119b644ae5ecd22b376,,,,0x0000000000085d4780b73119b644ae5ecd22b376,,,,0xf865fdd6a5f307f398a94dc40687995cfaa77bc9 -Factory V1 Meta,sUSDFRAXBP,SUSDFRAXBP,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,yes,curvefi,factory_metapool_susdfraxbp,200,4000000,4000000,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,0xe3c190c57b5959ae62efe3b6797058b76ba2f5ef,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,,0x57ab1ec28d129707052df4df418d58a2d46d5f51,,,,0xf6d7087d4ae4dcf85956d743406e63cda74d99ad -Factory V1 Meta,LUSDFRAXBP,LUSDFRAXBP,0x497ce58f34605b9944e6b15ecafe6b001206fd25,yes,curvefi,factory_metapool_lusdfraxbp,200,4000000,4000000,0x497ce58f34605b9944e6b15ecafe6b001206fd25,0x497ce58f34605b9944e6b15ecafe6b001206fd25,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,,,,0x389fc079a15354e9cbce8258433cc0f85b755a42 -Factory V1 Meta,GUSDFRAXBP,GUSDFRAXBP,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,yes,curvefi,factory_metapool_gusdfraxbp,200,4000000,4000000,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,0x4e43151b78b5fbb16298c1161fcbf7531d5f8d93,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,,,,0x056fd409e1d7a124bd7017459dfea2f387b6d5cd,,,,0xda7f9dd286577cc338047b040c289463743a474e -Factory V1 Meta,apeUSDFRAXBP,APEUSDBP,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,yes,curvefi,factory_metapool_apeusdfraxbp,200,4000000,4000000,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,0x04b727c7e246ca70d496ecf52e6b6280f3c8077d,0xff709449528b6fb6b88f557f7d93dece33bca78d,,,,0xff709449528b6fb6b88f557f7d93dece33bca78d,,,,0xd6e48cc0597a1ee12a8beeb88e22bfdb81777164 -Factory V1 Meta,alUSDFRAXBP,alUSDFRAXB,0xb30da2376f63de30b42dc055c93fa474f31330a5,yes,curvefi,factory_metapool_alusdfraxbp,200,4000000,4000000,0xb30da2376f63de30b42dc055c93fa474f31330a5,0xb30da2376f63de30b42dc055c93fa474f31330a5,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,,,,0x740ba8aa0052e07b925908b380248cb03f3de5cb -Factory V1 Meta,fUSD-3pool,fUSD,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,yes,curvefi,fUSD,200,4000000,4000000,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,0xc2f5fea5197a3d92736500fd7733fcc7a3bbdf3f,0x42ef9077d8e79689799673ae588e046f8832cb95,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x42ef9077d8e79689799673ae588e046f8832cb95,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Regular,eurtusd,eurtusd,0x9838eccc42659fa8aa7daf2ad134b53984c9427b,yes,curvefi,eurtusd_swap,,,,0x3b6831c0077a1e44ed0a21841c3bc4dc11bce833,0x5d0f47b32fdd343bfa74ce221808e2abe4a53827,0xc581b735a1688071a1746c968e0798d642ede491,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc581b735a1688071a1746c968e0798d642ede491,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4fd86ce7ecea88f7e0aa78dc12625996fb3a04bc -Factory V1 Plain,Euro Tether,EURT,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,yes,curvefi,eurt,100,4000000,4000000,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,0xfd5db7463a3ab53fd211b4af195c5bccc1a03890,0xc581b735a1688071a1746c968e0798d642ede491,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,eursusd,eursusd,0x98a7f18d4e56cfe84e3d081b40001b3d5bd3eb8b,yes,curvefi,eursusdc_swap,,,,0x3d229e1b4faab62f621ef2f6a610961f7bd7b23b,,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdb25f211ab05b1c97d595516f45794528a807ad8,,,,,,,0x65ca7dc5cb661fc58de57b1e1af404649a27ad35 -Regular,eurs,eurs,0x0ce6a5ff5217e38315f87032cf90686c96627caa,yes,curvefi,eurs_swap,,,,0x194ebd173f6cdace046c53eacce9b953f28411d1,,0xdb25f211ab05b1c97d595516f45794528a807ad8,0xd71ecff9342a5ced620049e616c5035f1db98620,,,,,,,0x90bb609649e0451e5ad952683d64bd2d1f245840 -Factory V2,DYDX/ETH,DYDXETH,0x8b0afa4b63a3581b731da9d79774a3eae63b5abd,yes,curvefi,dydxeth_swap,400000,26000000,45000000,0x4acc1bf7d6a591016641325aa6664a1cd178f002,0x8b0afa4b63a3581b731da9d79774a3eae63b5abd,0x92d6c1e31e14520e676a687f0a93788b716beff5,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,,,,,,, -Regular,dusd,dusd,0x8038c01a0390a8c547446a0b2c18fc9aefecc10c,yes,curvefi,dusd_swap,,,,0x3a664ab939fd8482048609f652f9a0b0677337b9,0x61e10659fe3aa93d036d099405224e4ac24996d0,0x5bc25f649fc4e26069ddf4cf4010f9f706c23831,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x5bc25f649fc4e26069ddf4cf4010f9f706c23831,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xaea6c312f4b3e04d752946d329693f7293bc2e6d -Factory V2,DUCK/ETH,DUCKETH,0xd8c49617e6a2c7584ddbeab652368ee84954bf5c,yes,curvefi,ducketh,400000,26000000,45000000,0x91f2f1b9d9c7d838c87b687d2accd1f0be8fae5d,0xd8c49617e6a2c7584ddbeab652368ee84954bf5c,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x92e187a03b6cd19cb6af293ba17f2745fd2357d5,,,,,,, -Factory V1 Meta,DOLA-3pool Curve LP,DOLA3POOL,0xaa5a67c256e27a5d80712c51971408db3370927d,yes,curvefi,dola_3crv_pool,100,4000000,4000000,0xaa5a67c256e27a5d80712c51971408db3370927d,0xaa5a67c256e27a5d80712c51971408db3370927d,0x865377367054516e17014ccded1e7d814edc9ce4,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x865377367054516e17014ccded1e7d814edc9ce4,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x8fa728f393588e8d8dd1ca397e9a710e53fa553a -Factory V1 Meta,DEI,DEI,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,yes,curvefi,dei,10,4000000,4000000,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,0x6870f9b4dd5d34c7fc53d0d85d9dbd1aab339bf7,0xde12c7959e1a72bbe8a5f7a1dc8f8eef9ab011b3,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xde12c7959e1a72bbe8a5f7a1dc8f8eef9ab011b3,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,cvxFxs/Fxs,cvxFXSFXS,0xd658a338613198204dca1143ac3f01a722b5d94a,yes,curvefi,cvxfxsfxs_swap,200000000,15000000,30000000,0xf3a43307dcafa93275993862aae628fcb50dc768,0xd658a338613198204dca1143ac3f01a722b5d94a,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,0xfeef77d3f69374f66429c91d732a244f074bdf74,,,,,,, -Regular,cvxeth,cvxeth,0xb576491f1e6e5e62f1d8f26062ee822b40b0e0d4,yes,curvefi,cvxeth_swap,,,,0x3a283d9c08e8b55966afb64c515f5143cf907611,,0x0000000000000000000000000000000000000000,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,,,,,,,0x7e1444ba99dcdffe8fbdb42c02f0005d14f13be1 -Factory V1 Plain,cvxCRV,cvxcrv,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,yes,curvefi,cvxcrv,50,15000000,15000000,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,0x9d0464996170c6b9e75eed71c68b99ddedf279e8,0xd533a949740bb3306d119cc777fa900ba034cd52,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x903da6213a5a12b61c821598154efad98c3b20e4 -Regular,crveth,crveth,0x8301ae4fc9c624d1d396cbdaa1ed877821d7c511,yes,curvefi,crveth_swap,,,,0xed4064f376cb8d68f770fb1ff088a3d0f3ff5c4d,,0x0000000000000000000000000000000000000000,0xd533a949740bb3306d119cc777fa900ba034cd52,,,,,,,0x1cebdb0856dd985fae9b8fea2262469360b8a3a6 -Factory V1 Plain,Curve.fi sCRV/CRV,crvCRVsCRV,0x621f13bf667207335c601f8c89ea5ec260bada9a,yes,curvefi,crvCRVsCRV,100,4000000,4000000,0x621f13bf667207335c601f8c89ea5ec260bada9a,0x621f13bf667207335c601f8c89ea5ec260bada9a,0xd38aeb759891882e78e957c80656572503d8c1b1,0xd533a949740bb3306d119cc777fa900ba034cd52,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Ahead of the Curve,crvCRV,0xda5b670ccd418a187a3066674a8002adc9356ad1,yes,curvefi,crvCRV,10,4000000,4000000,0xda5b670ccd418a187a3066674a8002adc9356ad1,0xda5b670ccd418a187a3066674a8002adc9356ad1,0xd533a949740bb3306d119cc777fa900ba034cd52,0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0xd38aeb759891882e78e957c80656572503d8c1b1,,,,, -Regular,compound,compound,0xa2b47e3d5c44877cca798226b7b8118f9bfb7a56,yes,curvefi,compound_swap,,,,0x845838df265dcd2c412a1dc9e959c7d08537f8a2,0xeb21209ae4c2c9ff2a86aca31e123764a3b6bc06,0x5d3a536e4d6dbd6114cc1ead35777bab948e3643,0x39aa39c021dfbae8fac545936693ac917d5e7563,,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,0x7ca5b0a2910b33e9759dc7ddb0413949071d7575 -Factory V2,CADC/USDC,CADCUSDC,0xe07bde9eb53deffa979dae36882014b758111a78,yes,curvefi,cadcusdc_swap,200000000,5000000,45000000,0x1054ff2ffa34c055a13dcd9e0b4c0ca5b3aeceb9,0xe07bde9eb53deffa979dae36882014b758111a78,0xcadc0acd4b445166f12d2c07eac6e2544fbe2eef,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Plain,Badger Locked CVX,bveCVX-CVX,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,yes,curvefi,bveCVX_CVX,100,4000000,4000000,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,0x04c90c198b2eff55716079bc06d7ccc4aa4d7512,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0xfd05d3c7fe2924020620a8be4961bbaa747e6305,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x1b759a88543931f4bb983bca4194306039cb979c -Regular,busdv2,busdv2,0x4807862aa8b2bf68830e4c8dc86d0e9a998e085a,yes,curvefi,busdv2,,,,0x4807862aa8b2bf68830e4c8dc86d0e9a998e085a,,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xd4b22fedca85e684919955061fdf353b9d38389b -Regular,busd,busd,0x79a8c46dea5ada233abaffd40f3a0a2b1e5a4f27,yes,curvefi,busd_swap,,,,0x3b3ac5386837dc563660fb6a0937dfaa5924333b,0xb6c057591e073249f2d9d88ba59a46cfc9b59edb,0xc2cb1040220768554cf699b0d863a3cd4324ce32,0x26ea744e5b887e5205727f55dfbe8685e3b21951,0xe6354ed5bc4b393a5aad09f21c46e101e692d447,0x04bc0ab673d88ae9dbc9da2380cb6b79c4bca9ae,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x4fabb145d64652a948d72533023f6e7a623c7c53,0x69fb7c45726cfe2badee8317005d3f94be838840 -Factory V2,BTRFLY/ETH,BTRFLYETH,0xf43b15ab692fde1f9c24a9fce700adcc809d5391,yes,curvefi,btrfly_eth_swap,400000,26000000,45000000,0xe160364fd8407ffc8b163e278300c6c5d18ff61d,0xf43b15ab692fde1f9c24a9fce700adcc809d5391,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xc0d4ceb216b3ba9c3701b291766fdcba977cec3a,,,,,,, -Factory V1 Meta,Bhome,bhome,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,yes,curvefi,bhome,10,4000000,4000000,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,0x3b22b869ba3c0a495cead0b8a009b70886d37fac,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xb8919522331c59f5c16bdfaa6a121a6e03a91f62,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,bentCVX,bentcvx,0xf083fba98ded0f9c970e5a418500bad08d8b9732,yes,curvefi,bentcvx,50,15000000,15000000,0xf083fba98ded0f9c970e5a418500bad08d8b9732,0xf083fba98ded0f9c970e5a418500bad08d8b9732,0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b,0x9e0441e084f5db0606565737158aa6ab6b970fe0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Bean-LUSD,BEANLUSD,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,yes,curvefi,bean_lusd_pool,100,4000000,4000000,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,0xd652c40fbb3f06d6b58cb9aa9cff063ee63d465d,0xdc59ac4fefa32293a95889dc396682858d52e5db,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,bbtc,bbtc,0x071c661b4deefb59e2a3ddb20db036821eee8f4b,yes,curvefi,bbtc_swap,,,,0x410e3e86ef427e30b9235497143881f717d93c2a,0xc45b2eee6e09ca176ca3bb5f7eee7c47bf93c756,0x9be89d2a4cd102d8fecc6bf9da793be995c22541,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x9be89d2a4cd102d8fecc6bf9da793be995c22541,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0xdfc7adfa664b08767b735de28f9e84cd30492aee -Factory V1 Meta,baoUSD,baoUSD-,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,yes,curvefi,baoUSD,100,4000000,4000000,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,0x0fafafd3c393ead5f5129cfc7e0e12367088c473,0x7945b0a6674b175695e5d1d08ae1e6f13744abb0,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x7945b0a6674b175695e5d1d08ae1e6f13744abb0,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V2,BADGER/WBTC,BADGERWBTC,0x50f3752289e1456bfa505afd37b241bca23e685d,yes,curvefi,badgerwbtc_swap,400000,26000000,45000000,0x137469b55d1f15651ba46a89d0588e97dd0b6562,0x50f3752289e1456bfa505afd37b241bca23e685d,0x3472a5a71965499acd81997a54bba8d852c6e53d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,,,,,,, -Regular,ankreth,ankreth,0xa96a65c051bf88b4095ee1f2451c2a9d43f53ae2,yes,curvefi,ankreth_swap,,,,0xaa17a236f2badc98ddc0cf999abb47d47fc0a6cf,,0x0000000000000000000000000000000000000000,0xe95a203b1a91a908f9b9ce46459d101078c2c3cb,,,,,,,0x6d10ed2cf043e6fcf51a0e7b4c2af3fa06695707 -Regular,alusd,alusd,0x43b4fdfd4ff969587185cdb6f0bd875c5fc83f8c,yes,curvefi,alusd,,,,0x43b4fdfd4ff969587185cdb6f0bd875c5fc83f8c,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x9582c4adacb3bce56fea3e590f05c3ca2fb9c477 -Factory V1 Plain,alETH,alETH+ETH,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,yes,curvefi,aleth,100,4000000,4000000,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,0xc4c319e2d4d66cca4464c0c2b32c9bd23ebe784e,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0x0100546f2cd4c9d97f798ffc9755e47865ff7ee6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x12dcd9e8d1577b5e4f066d8e7d404404ef045342 -Factory V2,ALCX/ETH,ALCXETH,0xa498b08ca3c109e4ebc7ff01422b6769eaef16ef,yes,curvefi,alcxeth_swap,400000,26000000,45000000,0x3010c5746833bbd5f244bd42f97f20c45f2bbf25,0xa498b08ca3c109e4ebc7ff01422b6769eaef16ef,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xdbdb4d16eda451d0503b854cf79d55697f90c8df,,,,,,, -Factory V1 Plain,agEUR/ibEUR,ag+ib-EUR,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,yes,curvefi,ag_ibEUR,200,4000000,4000000,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,0xb37d6c07482bc11cd28a1f11f1a6ad7b66dec933,0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x38039dd47636154273b287f74c432cac83da97e2 -Factory V1 Plain,agEUR,agEUR/sEUR,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,yes,curvefi,agEURsEUR,200,4000000,4000000,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,0x45a8cc73ec100306af64ab2ccb7b12e70ec549a8,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0xd71ecff9342a5ced620049e616c5035f1db98620,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Regular,aave,aave,0xdebf20617708857ebe4f679508e7b7863a8a8eee,yes,curvefi,aave_swap,,,,0xfd2a8fa60abd58efe3eee34dd494cd491dc14900,,0x028171bca77440897b824ca71d1c56cac55b68a3,0xbcca60bb61934080951369a648fb03df4f96263c,0x3ed3b47dd13ec9a98b44e6204a523e766b225811,,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,,0xd662908ada2ea1916b3318327a97eb18ad588b5d -Factory V1 Plain,AAVE Untethered,aUSDC+aDAI,0x6a274de3e2462c7614702474d64d376729831dca,yes,curvefi,aUSDC_aDAI,100,4000000,4000000,0x6a274de3e2462c7614702474d64d376729831dca,0x6a274de3e2462c7614702474d64d376729831dca,0xbcca60bb61934080951369a648fb03df4f96263c,0x028171bca77440897b824ca71d1c56cac55b68a3,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd81370cad41b244b8d2129153997e26ceeab3bef -Factory V1 Plain,Ankr Reward-Earning Staked MATIC,aMATICb,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,yes,curvefi,aMATICb,200,4000000,4000000,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,0x1f6bb2a7a2a84d08bb821b89e38ca651175aedd4,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd4a0db2627670a3fc1390f0947ed1ccd29bed28c -Factory V1 Plain,Ankr Reward-Earning Staked ETH,aETHb,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,yes,curvefi,aETHb,100,4000000,4000000,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,0xfb9a265b5a1f52d97838ec7274a0b1442efacc87,0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xd01ef7c0a5d8c432fc2d1a85c66cf2327362e5c6,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xdd9b30168aeded944042568bfe16f73ef2b4573e -Factory V1 Meta,SORA XSTUSD,XSTUSD,0x1033812efec8716bbae0c19e5678698d25e26edf,yes,curvefi,XSTUSD,100,4000000,4000000,0x1033812efec8716bbae0c19e5678698d25e26edf,0x1033812efec8716bbae0c19e5678698d25e26edf,0xc7d9c108d4e1dd1484d3e2568d7f74bfd763d356,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc7d9c108d4e1dd1484d3e2568d7f74bfd763d356,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb3d8e2a22a28dc55b26236c45cc1df75e5081ef5 -Factory V1 Meta,xDollar Interverse Money,XIM3CRV,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,yes,curvefi,XIM3CRV,100,4000000,4000000,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,0x679ce2a8b3180f5a00e0dcca26783016799e9a58,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,xim,XIM,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,yes,curvefi,XIM,100,4000000,4000000,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,0x6d8ff88973b15df3e2dc6abb9af29cad8c2b5ef5,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x573d2505a7ee69d136a8667b4cd915f039ac54e5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x63093c86472469f55c4f6c7cbff83ec18cd8a94b -Factory V1 Plain,Stax Frax/Temple xLP + LP,xFraxTplLP,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,yes,stax,Vyper_contract,40,29400000,29400000,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,0xdadfd00a2bbeb1abc4936b1644a3033e1b653228,0xbcb8b7fc9197feda75c101fa69d3211b5a30dcd9,0x6021444f1706f15465bee85463bcc7d7cc17fc03,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x8f162742a7bcdb87eb52d83c687e43356055a68b -Factory V1 Meta,dForce,USX3CRV,0x76264772707c8bc24261516b560cbf3cbe6f7819,yes,curvefi,USX3CRV,100,4000000,4000000,0x76264772707c8bc24261516b560cbf3cbe6f7819,0x76264772707c8bc24261516b560cbf3cbe6f7819,0x0a5e677a6a24b2f1a2bf4f3bffc443231d2fdec8,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x0a5e677a6a24b2f1a2bf4f3bffc443231d2fdec8,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,UST-FRAX,UST-FRAX,0x1c65ba665ce39cfe85639227eccf17be2b167058,yes,curvefi,USTFRAX,200,4000000,4000000,0x1c65ba665ce39cfe85639227eccf17be2b167058,0x1c65ba665ce39cfe85639227eccf17be2b167058,0xa693b19d2931d498c5b318df961919bb4aee87a5,0x853d955acef822db058eb8505911ed77f175b99e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0x3084218bd8338a0340c74b658aff2212ab69cab1 -Factory V2,TOKE/ETH,TOKEETH,0xe0e970a99bc4f53804d8145bebbc7ebc9422ba7f,yes,curvefi,TOKEETH,400000,26000000,45000000,0x7ea4ad8c803653498bf6ac1d2debc04dce8fd2ad,0xe0e970a99bc4f53804d8145bebbc7ebc9422ba7f,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x2e9d63788249371f1dfc918a52f8d799f4a38c94,,,,,,, -Factory V2,STG/USDC,STGUSDC,0x3211c6cbef1429da3d0d58494938299c92ad5860,yes,curvefi,STG_USDC,400000,26000000,45000000,0xdf55670e27be5cde7228dd0a6849181891c9eba1,0x3211c6cbef1429da3d0d58494938299c92ad5860,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,,,,,,, -Factory V1 Meta,RAMP rUSD,RAMP rUSD,0x8083b047e962ca45b210e28ac755fbda3d773c5b,yes,curvefi,RAMPrUSD,100,4000000,4000000,0x8083b047e962ca45b210e28ac755fbda3d773c5b,0x8083b047e962ca45b210e28ac755fbda3d773c5b,0xcf178a685471927e977a0ea8ee555c11b2aa6b7b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xcf178a685471927e977a0ea8ee555c11b2aa6b7b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xecd04fcf4c1a2b1c300e386a96d0906bc31e22b3 -Factory V1 Meta,QBIT Well,QWell1,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,yes,curvefi,QWell1,100,8400000,8400000,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,0x9f4a88da14f2b6dbc785c1db3511a53b8f342bde,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,QabbalahBit Wellsprings,QBITWELLS,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,yes,curvefi,QBITWELLS,10,18000000,18000000,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,0xc8781f2193e2cb861c9325677d98297f94a0dfd3,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x8b921e618dd3fa5a199b0a8b7901f5530d74ef27,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,PWRD Metapool,PWRD3CRV,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,yes,curvefi,PWRD3CRV,200,4000000,4000000,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,0x2de8c952871317fb9f22c73bb66bf86a1eebe1a5,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x17f18b0bc46dafb1772d88897a8f8782bf3285e8 -Factory V1 Meta,PWRD Metapool,PWRD,0xbcb91e689114b9cc865ad7871845c95241df4105,yes,curvefi,PWRD,200,4000000,4000000,0xbcb91e689114b9cc865ad7871845c95241df4105,0xbcb91e689114b9cc865ad7871845c95241df4105,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xb07d00e0ee9b1b2eb9f1b483924155af7af0c8fa -Factory V1 Meta,Orkan,ORK,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,yes,curvefi,ORK,100,4000000,4000000,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,0x148a88719ba0b34f16e0f5a7537da73bdc9c2a2a,0xe1406825186d63980fd6e2ec61888f7b91c4bae4,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0xe1406825186d63980fd6e2ec61888f7b91c4bae4,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6, -Factory V1 Plain,OPEN MATIC,OPEN MATIC,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,yes,curvefi,OPEN_MATIC,100,4000000,4000000,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,0xc8a7c1c4b748970f57ca59326bcd49f5c9dc43e3,0x69e8b9528cabda89fe846c67675b5d73d463a916,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,MIM-UST,MIM-UST,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,yes,curvefi,MIM_UST,200,4000000,4000000,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,0x55a8a39bc9694714e2874c1ce77aa1e599461e18,0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3,0xa47c8bf37f92abed4a126bda807a7b7498661acd,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xb518f5e3242393d4ec792bd3f44946a3b98d0e48 -Factory V1 Plain,JPYC/ibJPY,JPYC+ibJPY,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,yes,curvefi,JPYC_ibJPY,200,4000000,4000000,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,0xbb2dc673e1091abca3eadb622b18f6d4634b2cd9,0x2370f9d504c7a6e775bf6e14b3f12846b594cd53,0x5555f75e3d5278082200fb451d1b6ba946d8e13b,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,FEI Metapool,FEI3CRV,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,yes,fei_protocol,Fei3Crv,10,4000000,4000000,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,0x06cb22615ba53e60d67bf6c341a0fd5e718e1655,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0xdc69d4cb5b86388fff0b51885677e258883534ae -Factory V1 Plain,Fei PCV 1,FEIPCV-1,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,yes,curvefi,FEIPCV_1,1000,4000000,4000000,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,0xa0d35faead5299bf18efbb5defd1ec6d4ab4ef3b,0x683923db55fead99a79fa01a27eec3cb19679cc3,0x028171bca77440897b824ca71d1c56cac55b68a3,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Plain,Neutrino EUR,EURN/EURT,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,yes,curvefi,EURN_EURT,200,4000000,4000000,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,0x3fb78e61784c9c637d560ede23ad57ca1294c14a,0x9fcf418b971134625cdf38448b949c8640971671,0xc581b735a1688071a1746c968e0798d642ede491,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,,0xd9277b0d007464eff133622ec0d42081c93cef02 -Factory V1 Plain,Sharedstake ETH/vETH2,ETH/vETH2,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,yes,curvefi,ETH_vETH2,100,4000000,4000000,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,0xf03bd3cfe85f00bf5819ac20f0870ce8a8d1f0d8,0x898bad2774eb97cf6b94605677f43b41871410b1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,ELONX POOL,ELONXSWAP,0x8ed10e4e307822b969bcdaffd49095235f6f892b,yes,curvefi,ELONXSWAP,10,4000000,4000000,0x8ed10e4e307822b969bcdaffd49095235f6f892b,0x8ed10e4e307822b969bcdaffd49095235f6f892b,0x815b4ce34fac32b951bd26ea85901e3b834204b6,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x815b4ce34fac32b951bd26ea85901e3b834204b6,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,DSU,DSU+3Crv,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,yes,curvefi,DSU3Crv,200,4000000,4000000,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,0x9fed7a930d86dfe5980040e18c92b1b0d381ec19,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,DSU,DSU,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,yes,curvefi,DSU,200,4000000,4000000,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,0xf0c081020b9d06eb1b33e357767c00ccc138be7c,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x605d26fbd5be761089281d5cec2ce86eea667109,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7,0x76d96c0522b3f820de53ea8ea98fe8b38b35af3f -Factory V1 Plain,d3pool,D3,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,yes,curvefi,D3,200,4000000,4000000,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89,0x853d955acef822db058eb8505911ed77f175b99e,0x956f47f50a910163d8bf957cf5846d573e7f87ca,0xbc6da0fe9ad5f3b0d58160288917aa56653660e9,0x0000000000000000000000000000000000000000,,,,,0x16c2bee6f55dab7f494dba643ff52ef2d47fba36 -Factory V1 Meta,BTCpx,BTCpx,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,yes,curvefi,BTCpx,200,4000000,4000000,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,0x4e52cfc80679f402d10f7766fa3f85351a7c2530,0x9c32185b81766a051e08de671207b34466dd1021,0x075b1bb99792c9e1041ba13afef80c91a1e70fb3,,,0x9c32185b81766a051e08de671207b34466dd1021,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6,0x517616c02c4286daa20e5841cad084039f2062fc -Factory V1 Meta,AETHV1,AETHV1,0x97aeb34ac6561146dd9ce191efd5634f6465def4,yes,curvefi,AETHV1,10,4000000,4000000,0x97aeb34ac6561146dd9ce191efd5634f6465def4,0x97aeb34ac6561146dd9ce191efd5634f6465def4,0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,3EURpool,3EURpool,0xb9446c4ef5ebe66268da6700d26f96273de3d571,yes,curvefi,3eurpool,200,4000000,4000000,0xb9446c4ef5ebe66268da6700d26f96273de3d571,0xb9446c4ef5ebe66268da6700d26f96273de3d571,0x1a7e4e63778b4f12a199c062f3efdd288afcbce8,0xc581b735a1688071a1746c968e0798d642ede491,0xdb25f211ab05b1c97d595516f45794528a807ad8,0x0000000000000000000000000000000000000000,,,,,0x1e212e054d74ed136256fc5a5dddb4867c6e003f -Factory V1 Meta,DYDX-3CRV,3DYDX,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,yes,curvefi,3DYDX,100,4000000,4000000,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,0xe667c793513ecbd74fb53bb4b91fdae02bfc092d,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0x92d6c1e31e14520e676a687f0a93788b716beff5,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Plain,cvxCRV,2CRV,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,yes,curvefi,2CRV,10,15000000,15000000,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,0x6c7fc04fee277eabdd387c5b498a8d0f4cb9c6a6,0xd533a949740bb3306d119cc777fa900ba034cd52,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,,,,, -Factory V1 Meta,17PctCryptoDiversifiedDollar,17PctCypt,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,yes,curvefi,17PctCypt,10,4000000,4000000,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,0xe76ebd4f9fa58e5269d3cd032b055b443239e664,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, -Factory V1 Meta,17PctCryptoDiversifiedDollar,17PctCypt,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,yes,curvefi,17PctCypt,10,4000000,4000000,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,0x66b2e9b25f8aba6b4a10350c785d63bade5a11e9,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,,,0xc4ad29ba4b3c580e6d59105fff484999997675ff,0x6b175474e89094c44da98b954eedeac495271d0f,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xdac17f958d2ee523a2206206994597c13d831ec7, diff --git a/seeds/dex/trades/_schema.yml b/seeds/dex/trades/_schema.yml deleted file mode 100644 index 5542398b7a4..00000000000 --- a/seeds/dex/trades/_schema.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 - -seeds: - - name: dex_trades_seed - config: - column_types: - tx_hash: varbinary - token_bought_address: varbinary - token_sold_address: varbinary - token_bought_amount: double - token_sold_amount: double - block_date: timestamp diff --git a/seeds/dex/trades/dex_trades_seed.csv b/seeds/dex/trades/dex_trades_seed.csv deleted file mode 100644 index 1ad1878fbb3..00000000000 --- a/seeds/dex/trades/dex_trades_seed.csv +++ /dev/null @@ -1,541 +0,0 @@ -blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_bought_amount,token_sold_address,token_sold_amount -avalanche_c,pharaoh,1,2023-12-27,0xba5d58703f53313a5d46bc2f14043735580123c66817558adfee943fe5fb5e49,19,0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7,50008753,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,50000000 -ethereum,kyberswap,elastic_2,2023-01-09,0xa6d744fdbe93ed48ad6d8d3d3b86715e7a5bab9d95a970b56f9a40cbde38fc5a,413,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,10.3359399189,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,18256.893542 -ethereum,maverick,1,2023-03-10,0x0da5b35106718de658279fc109cc593cf5d81de829e77a6cea01566f3bf7def6,130,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15035.242634,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,14628.522982718923 -ethereum,uniswap,1,2022-08-10,0xc5d051f200779582390fe36838263f346e3f9c13731f6d186f12bd72e1223501,164,0x6b175474e89094c44da98b954eedeac495271d0f,114.525972456783,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.062801179402571 -ethereum,uniswap,1,2022-08-10,0x6a6aaf4e55c3f7a070b1b2bb955c8a072bd7f3a00db898bb6ad9c35ff1d0bd36,58,0x23b608675a2b2fb1890d3abbd85c5775c51691d5,0.00485937701376674,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0941477783366224 -ethereum,uniswap,1,2022-08-10,0x73e6503108c7774fad6f297303553153bb074d7a8abea64e67c23025dbd9cdd1,259,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1604.708387,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.9605157 -ethereum,uniswap,1,2022-08-10,0x085c1de4ae885aced9e145292fe1e7619ad707df91db2a47046e6394f0a2ab14,39,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.45503069565416,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2500 -ethereum,uniswap,1,2022-08-09,0xcb3958bb94b8d1d8ba8960e4c76e90f4f60446311f9ad595f7768077084f41b3,126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.205795017804108,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,0.325960741989667 -ethereum,uniswap,1,2022-08-10,0x0995c3e2ae836c9d1c2648c9bbbdc06710294c933faed35a7cf5fe84295324c6,274,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00130012577707246,0x3d1ba9be9f66b8ee101911bc36d3fb562eac2244,3418.726 -ethereum,uniswap,2,2022-08-14,0x906bf116aa38282ea12a0a55fccdd9684d4904c0ddb5bff8c1a6e4e1bf791eb2,17,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,300.357175,0x6b175474e89094c44da98b954eedeac495271d0f,301.348892417344 -ethereum,uniswap,2,2022-08-14,0x644857941ede03358cbb28793d925e374184d07faa62cba22b1ca974035c06ee,161,0x6b175474e89094c44da98b954eedeac495271d0f,149.606421160013,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150 -ethereum,uniswap,2,2022-08-14,0x51b191c8c620b1dc5867f1c0e1c3b2c4acb20009a7e29a8540c0ed94f678c350,194,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,1980.88020260497,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.13345856353334 -ethereum,uniswap,2,2022-08-14,0x77bdb8bff66248595b99851084a3a921db653ba2fb2a775ac7f0614cf4bddab5,23,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.13666561702156,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,683.8 -ethereum,uniswap,2,2022-08-14,0xb00a6f017198bbbcc4d2d390326cec87301e08880e1e1e0d6877b28b906a61d5,33,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.9695767307707,0x6b175474e89094c44da98b954eedeac495271d0f,15531.4453730142 -ethereum,uniswap,3,2022-09-28,0x021a4ea590baee1e6bec5ecdb3b03cb67a4efaac67ac764f97ac3b152fe1ad10,8,0xae78736cd615f374d3085123a210448e74fc6393,0.490796462724159,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.510288592522475 -ethereum,uniswap,3,2022-09-28,0x566b4dd208a3af70b3b80e9352e35f263db73ec29ed6e6385f719773b98d19ce,239,0x3845badade8e6dff049820680d1f14bd3903a5d0,15.6789364011265,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,uniswap,3,2022-09-28,0xdcaf9394fddb84afbf971045661d7e96ed2d01a743ea913abceb20cf4c13452e,2,0xdac17f958d2ee523a2206206994597c13d831ec7,18410.19214,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,13.7977443609023 -ethereum,uniswap,3,2022-09-28,0x4bda429e77bdd899139e00628c8fee2e119db6098745cba00e11efeeb1a99bd2,84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,10747.932591,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,8.06043203550863 -ethereum,uniswap,3,2022-09-28,0x7a98cdef70a5518538457c807d90e69340d709d2a2a87699a869db8be7a66d8f,112,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,46942.648238,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,35.2 -optimism,uniswap,3,2022-09-30,0xf55b5c5ec3bf016046a173f484fe972e32fdcba467d7f9e736aa24c72ba77f77,7,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,100.981029315346,0x7f5c764cbc14f9669b88837ca1490cca17c31607,101 -optimism,uniswap,3,2022-09-30,0x1eb5e4679743665b626af08e0e1cb571982d851e4d9a26ca84763ab4e97b2413,10,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,5.38359932389085,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5.384615 -optimism,uniswap,3,2022-09-30,0x14d51305de3c0224f1474e895d8a75c3f6f31c050a8384fb56352b9ce23dfde5,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,60.46196,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,60.456251 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xd36c783cd53d3bf612ec74f6f41c1044ca99f45dd16673e9152093df6089e2b5,293,0x6b175474e89094c44da98b954eedeac495271d0f,9.18792133,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xcdb69602e9ecf42a2e0375eeaef525f825c06d4d83943f69dfb2aca882c54308,272,0xd533a949740bb3306d119cc777fa900ba034cd52,3381.61805,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2977.71 -ethereum,airswap,swap_v3,2022-08-19,0x00399b5f2fc5535efd528b03f76a871766e5f2d2869799281b3064cd02de14fe,308,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,825.220907,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4863593 -ethereum,airswap,swap_v3,2022-08-25,0x0000e369cb6a2d5908c26d736d0012a3136603f2020acfe8bfd86af4790c8590,213,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.357272738807249,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,600 -ethereum,airswap,swap,2022-09-29,0x30219b51b252348303f297778374024b4afcd6023d522b4442d2304b8f0c154d,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,102122.5869,0xe34c023c0ea9899a8f8e9381437a604908e8b719,103441.57 -ethereum,airswap,swap,2022-09-27,0x1daef042310db224f72cb4c922e1a4ccfa2cbbba8f2757dec38651e95933c6f7,32,0x72b886d09c117654ab7da13a14d603001de0b777,253905.87392903,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,30500 -ethereum,airswap,light,2022-05-25,0x02881571864ff927f2c1e3a65e88ac2cdb63bcc8b075b3b5cac1fabdbff8719a,287,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3901.628058,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.98514 -ethereum,airswap,light,2022-05-31,0x041c1b58767f3428419d4c3e767e4dda0490d5aa2459902955f9bca530739bc8,175,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.02477942922041,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2000 -ethereum,airswap,light_v0,2021-03-19,0xc418c91e3ac55dd29d4471f12fd5d425df952d2bbe70d5f7157f6a15c49b4c6f,272,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.11323417,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3816.26867 -ethereum,airswap,light_v0,2021-03-19,0xc204cbd09767db2c912a7185dcda818b267bc6119a6ba7fc9a16d5ebca654068,109,0xdac17f958d2ee523a2206206994597c13d831ec7,909.704519,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4985 -ethereum,curve,Regular,2022-09-03,0x0fc5910c411bdbbf1827fa278c22b3351892e8931e7c3db02e817bc052a489fc,11,0xdac17f958d2ee523a2206206994597c13d831ec7,45324225240,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.929896609E+019 -ethereum,curve,Regular,2022-09-04,0x4ca41e0f0700f357111aaae66a85b0def53b00a6ca02145e6e6ec00775621df5,537,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,7.93070096583753E+022,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,7.78328E+022 -ethereum,curve,Factory V1 Meta,2022-09-23,0x182e11e393388ea9365b1e566bfc66754bbdfb7f83344f6e1e4f05cde97ea66b,11,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,4.29398385988372E+020,0xa693b19d2931d498c5b318df961919bb4aee87a5,10259457322 -ethereum,curve,Factory V1 Plain,2022-09-19,0xe31b85292938984c61b4a9d8d2eb781f20bfa22c068a380a67fce94ef8ec450c,60,0xd533a949740bb3306d119cc777fa900ba034cd52,7.42474512665705E+020,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,7.74567425737246E+020 -ethereum,curve,Factory V2,2022-09-03,0x02fe546401dd52e07528532ed1ac4ed1d4f525118836f71a4014282fb6a06839,4,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,5.13561732187354E+022,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,33333000000 -ethereum,clipper,1,2021-07-14,0x8d246ba8ec0775e6b7cff03010b858e22a9295d24b7fd08a8f705bbd3d333dab,301,0xdac17f958d2ee523a2206206994597c13d831ec7,165.266255,0x0000000000000000000000000000000000000000,0.082849 -ethereum,clipper,2,2022-08-05,0xdae0599fd4db92ae4ba8c69bb8f0955c8d6e33bef1b5dd91f7b42aff95d1bffb,90,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00905195942930063 -ethereum,clipper,3,2022-10-05,0x2a85b64c9b39ad26cd62b72c984fb31c6c53e2eab317d79a34787a10d9883942,222,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.110806219109147 -ethereum,sushiswap,1,2021-09-15,0x7074892627f2bccfbf394ec8760cade1d3d672289b46fbc7c5e590db31c16c95,3,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,3017.55093634511,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,11.7781782389008 -ethereum,sushiswap,1,2021-11-22,0x3d68c5df7a7a82ad679592d00eced1461447b487d1c54d89f0fa46ddc21bac84,7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.46565784374643,0xd291e7a03283640fdc51b121ac401383a46cc623,1121.3436686981 -ethereum,sushiswap,1,2021-11-27,0x0de46956f3fbdf6c9613f087f063daf62b7be67aeb8f092704d98feb1d2a0911,8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.309451321421892,0xf422b6f41a14fb74b21cb95a8d82971a3b527117,16109.3510951687 -ethereum,sushiswap,1,2021-08-01,0x901305aef9025df025b948065b89dd2f6350c09d9cd4eb957b3b69d4a487b1eb,8,0x25f8087ead173b73d6e8b84329989a8eea16cf73,3588.33361827192,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.18922607574853 -ethereum,swapr,1,2022-09-03,0xc58ae666672615f121747458b336004b5bac48823a6135163d3b23afeab4d632,333,0x6b175474e89094c44da98b954eedeac495271d0f,68.407407578415861544,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0441670997926941 -ethereum,swapr,1,2022-05-04,0x53f3c3e596923e6c74988dffb69b52fe90d5bc191237dd87bd926de934b2f310,181,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.278764086245774,0x6b175474e89094c44da98b954eedeac495271d0f,781.537753648362 -ethereum,defiswap,1,2020-09-10,0xe1fa03eaadc2050042d0a70799776d4788a22732ba4914c80644629cd6312e65,196,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0.03502,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0001 -ethereum,defiswap,1,2022-02-03,0x6f280443c97a4f5f75d041ae8c378af7bd88aeb9df893019aac2e8f13f7c04ed,48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,852.379306321183,0xc00e94cb662c3520282e6f5717214004a7f26888,3674.21052715029 -ethereum,dfx,0.5,2022-10-14,0x8e51157eb06f0dcd4a546db83a8c4419ea6438e8d5f049c9a7ac71c6a03ca179,604,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,101.003244,0x2c537e5624e4af88a7ae4060c022609376c8d0eb,1891.282964 -ethereum,dfx,0.5,2022-10-13,0xa655e13b90fdfb4e590422308ebd51c45e4c213c466c2c765e307207936b6375,19,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,39601.170618,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,38720 -arbitrum,zigzag,1,2022-10-16,0x65149408bc88fdf9b690269f7e57dcaf8d5577af412ccd3b6d8cb13a9e5c11f8,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,266374900,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,266363162 -arbitrum,zigzag,1,2022-10-26,0xc36027e8ccac981439cae6471824c08fad2831a94d18245052f60ec68e95fd1e,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,214452952992,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,1060036291 -arbitrum,zigzag,1,2022-10-01,0x0a18966c178428cdedcec56823ceea18cd25b30f3da0051185af6633ace725b7,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,114719722544,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,86485492800931211274 -bnb,pancake,2,2022-10-02,0x621c3436f07ab0c7228b50618195a1d9c19c62268d51f556fe3e9595c21cb2c6,140,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,4.128690371495819498,0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82,0.9182291278576036 -bnb,pancake,2,2022-10-06,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,46,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,29.176228605313702756,0xaef0d72a118ce24fee3cd1d43d383897d05b4e99,266659.423741634885391646 -ethereum,dodo,1,2020-09-01,0x784afe0cd29926a86e15390c6d894eccfd3fcfd3d170cbb69a1a9aeb9f98e5af,72,0xc00e94cb662c3520282e6f5717214004a7f26888,24.88,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,6557.285496 -ethereum,dodo,1,2021-01-30,0x616b4f09c34a3e598b00373a961e1daa4c2decc7a5315192f2927a68e767a4d6,100,0xc00e94cb662c3520282e6f5717214004a7f26888,22.84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,7017.918 -ethereum,dodo,2_dvm,2022-11-01,0xd22f88ac18cec7940d5d238140e8cd70e1fb77f01524e92cdba9002831405e53,48,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,823.892847,0x4bdcb66b968060d9390c1d12bd29734496205581,15050.127244362413 -ethereum,dodo,2_dsp,2022-11-01,0x217a50ce8c056b6f240ca0fee82a7aea76fde5845238717d4d2fe36a1d885fe3,18,0x6b175474e89094c44da98b954eedeac495271d0f,16786.79842759679,0xdac17f958d2ee523a2206206994597c13d831ec7,16789.191028 -bnb,dodo,1,2022-01-02,0x520b133f33a11da463ef652c2204e89056384f3755aa17ed3bd8692a708e2daf,9,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,15000,0xe9e7cea3dedca5984780bafc599bd69add087d56,14999.373075377125 -bnb,dodo,1,2021-12-08,0x5a3656a980ff18ea51639ec55b909e06c05447296ad41234cce2a6504e7e3cd1,555,0xe9e7cea3dedca5984780bafc599bd69add087d56,6499.127981081047,0x55d398326f99059ff775485246999027b3197955,6493.88249982855 -bnb,dodo,2_dvm,2022-10-27,0x1b313c2256a8fe451949711d34dfadf49b33e6e49fa95564394c764f1fa10a96,138,0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623,16153.846153846154,0xb5102cee1528ce2c760893034a4603663495fd72,804.7505008944851 -bnb,dodo,2_dsp,2022-01-28,0x0adbde9ea212758528e872e94cd4056e77aae00d64a270df9cd10adef1a43883,185,0x2c30b4cb4b3001afa5b8c43c5a7ca548067562a0,282.61385074773614,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,282.357407285385 -bnb,dodo,2_dpp,2022-12-18,0x5425c84608187bfd827a076b30760402987276fdcc5168b4b9cce30ac531752b,15,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.4460644851563125,0xe9e7cea3dedca5984780bafc599bd69add087d56,350.17016117475544 -bnb,dodo,2_dpp,2022-12-18,0x8a13bf64a7c9b5db044f3771b6a654e822c37434f55d1e41d8b5a7808221835b,40,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.8608918052876906,0x55d398326f99059ff775485246999027b3197955,451.18801668480404 -arbitrum,dodo,1,2023-01-07,0x9ed6106825fc5d53665ee6376f3501b4b54a554c19290afc4d51e06ff8bbb6ce,16,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,50.014816,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,50 -arbitrum,dodo,1,2023-01-07,0xd6415725b7c78e43935708dad578870363486a806d38ef8a0e9a8f6ab4cfe475,14,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,101.859893,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,101.809143 -arbitrum,dodo,2_dvm,2023-10-09,0x8c4a3f95cd30e91aca5ec95cab93543af728256c299110b14a29438e79f62e72,15,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.108417,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.002622797526025669 -arbitrum,dodo,2_dsp,2023-01-07,0x75bf7f2fbb62b1d543e1e8b3e3641f85fffcdedeb4e3eeaedd0fc9461563be79,12,0x641441c631e2f909700d2f41fd87f0aa6a6b4edb,1211.1861381535175,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1211.102662 -arbitrum,dodo,2_dpp,2023-02-23,0x55c6277132f498dbaf7ad4df56380f0838f14121491b4b2954d7af42f3024cc0,23,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.2164701922659768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,360.422629 -optimism,dodo,2_dvm,2022-08-18,0x64557e632ccb92997101e6fe03d93b926f54488d82fa3c1a1ff28f32e2ccdef6,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.491844,0x4200000000000000000000000000000000000006,0.000338547426391858 -ethereum,bancor,1,2021-07-19,0x00c78e18b2ff2f7da30364f421d7b32e026523d64d37617a8c5acfa94f8850a1,235,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,306.394926082191,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.45 -ethereum,bancor,1,2022-01-01,0xe3a7a76069d1109e9d4d13236ee746ce1cf5dbf9dcf430fde8b257f19a98162e,196,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,1991.31923775975,0xb056c38f6b7dc4064367403e26424cd2c60655e1,10000 -ethereum,bancor,1,2022-08-10,0xc470cc109b2fd341d5e155ef0a5b270d31e46320fec423616bfbf8e08bde1d89,87,0x4a220e6096b25eadb88358cb44068a3248254675,4.21008338989588,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,879.148341427923 -ethereum,carbon_defi,1,2023-04-24,0xd4d6be5f2e8475ff67c7f718edfdb8b1de9bef225e7f82f8b3867f07da3d6032,396,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,60.764468,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.032 -ethereum,carbon_defi,1,2023-06-10,0x11646f9854a79d49fc4f8005fb542b6afd6ac2ae3b444a89ca3a57b6e325f8a1,214,0x6b175474e89094c44da98b954eedeac495271d0f,18803.048784261206,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10.553764 -ethereum,carbon_defi,1,2023-07-04,0x28b9ffba580de047e5b3025e28b6dc6e9b4a0091dc7e90e87a3b9df1a72e1fee,424,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,731.6246907423406,0x48fb253446873234f2febbf9bdeaa72d9d387f94,1402.8429106481624 -ethereum,hashflow,1,2022-10-11,0x32cf4a6b5cc8f98c1e581c4c645c4e8a5509b524798789d9ba4d32e169c367f5,16,0xdac17f958d2ee523a2206206994597c13d831ec7,17911.421153,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,22400 -ethereum,hashflow,1,2022-10-11,0xe4e4a36fba54da2aae2fd17bd783d448636f2a439f5ee8c65a6bd6b1a0015812,60,0x0000000000000000000000000000000000000000,1.3681194955173488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1744.214319 -ethereum,mstable,feederpool,2021-05-05,0x44d84fd2602b8cc6c8872f7c1ec1354b7265a8dde35c3099310298322f948ce8,393,0x4fabb145d64652a948d72533023f6e7a623c7c53,207366.593542953125079686,0x6b175474e89094c44da98b954eedeac495271d0f,207343.38432717659586164 -ethereum,mstable,feederpool,2021-07-12,0x40a185a0e023931c764c9e0c367494ec0491ac1c83c104e52c0f80ec5eecf227,39,0x6b175474e89094c44da98b954eedeac495271d0f,14152.444151925737407389,0x4fabb145d64652a948d72533023f6e7a623c7c53,14170.8094 -ethereum,mstable,masset,2022-08-11,0x251247062570a31c65605c5c022d0b6375c0e0a7f78ff846ed0194e6eb89d75f,48,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,1.48620013,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,1.49136326 -ethereum,mstable,masset,2022-11-10,0x2a25f982c167701bb14fedab38e36db11b80e0df84415224a9b9358810abe5e9,20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,97891.598255842626470327,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,98029.682483 -avalanche_c,sushiswap,1,2022-02-25,0x82fd5a6540dce85d1e21f32f1c3caed449899345ef111576a17c2954fe0effc6,33,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,1379.137017,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1373.864622043913288097 -avalanche_c,sushiswap,1,2022-05-12,0x73e34eb697701cff1cd6f045855584d6cc7a8e7923d8e2f494a0ffba034500c8,116,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.210377021755772039,0x50b7545627a5162f82a992c33b87adc75187b218,0.0002241 -gnosis,sushiswap,1,2021-11-08,0x5071403049381a8e0a9b1859d933a4367ac95db0549597d615f11d8d6989766b,103,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,138.845996,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,138.937452952743346786 -gnosis,sushiswap,1,2022-06-28,0x73b7fc9d26042dc2552a014c6a8e138dedaabb3150721f538404a109f5efd031,9,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,4.529829473199357637,0xe2e73a1c69ecf83f464efce6a5be353a37ca09b2,0.650820213174998578 -arbitrum,sushiswap,1,2023-01-10,0xafa7fc216c42ebc38df30ee06c935d34454603b51c8f30110b09ba0c96a5cf2b,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.988441,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,2 -arbitrum,sushiswap,1,2023-01-10,0x6ae9f8365f8e9ce4b6fa5e957558f798eb79552370533b525d2cfcc49ac895d6,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.003433,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0000026 -arbitrum,sushiswap,1,2023-01-09,0x98032f79d4f04087984d9a29bf0cda82b2ab80afaf7c53172a9886d5cad4a66e,12,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.892222,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0006764 -avalanche_c,fraxswap,1,2022-07-16,0xa3b0a0511b2454fc1120234bee1c8d55b389fd18aeef5c7facf901ebbeb22347,11,0x214db107654ff987ad859f34125307783fc8e387,200.0,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1094.4001103042203 -avalanche_c,fraxswap,1,2022-08-19,0x92ffa2b7400b5ce9f50561358c9704a93b4c60133a2cd12b22393cdcf0cf4d5f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1026.1252914116867,0x214db107654ff987ad859f34125307783fc8e387,167.62804286355896 -avalanche_c,fraxswap,1,2022-07-13,0xf57b7cfe775b4f21f74ed2c08d56eaceb84a1e9191f3c7d5097128b08ab7444b,9,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,500.0,0x214db107654ff987ad859f34125307783fc8e387,103.83628889808516 -avalanche_c,fraxswap,1,2022-10-15,0xe29a3bc86f7903618c9716037437256d8cb3bd37368f356e19c825d505b21616,4,0x214db107654ff987ad859f34125307783fc8e387,167.2033272898448,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0 -avalanche_c,fraxswap,1,2022-09-05,0xc0d3943d0fb158b7fa111a20ae64e81044161e6a1cabf819f64252980f81af3f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1330.6397885530023,0x214db107654ff987ad859f34125307783fc8e387,215.93386151058667 -avalanche_c,fraxswap,1,2022-06-16,0x17cc2def9d5869f604789dc0593af77b68fc6b51dd98e0dacf9f50d744d5d534,86,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,228.50208340351497 -avalanche_c,fraxswap,1,2022-06-16,0xc7973b9adc9c15c4b536ac3682344420b8e8e541e801e0f451a52f685a10d002,65,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,229.28068237184743 -avalanche_c,fraxswap,1,2022-09-05,0x608542c07700429cf096204f91a193341e40ae4059b7940d7eb5ad9f051836b8,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1052.0376768716717,0x214db107654ff987ad859f34125307783fc8e387,169.6623770097244 -avalanche_c,hashflow,1,2022-09-23,0xb64cabc1fc83f1922a9bf1c315a6bf7e81530dc33b68be78871e61329884078a,25,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1003.182468,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,57.71187672458048 -avalanche_c,hashflow,1,2022-08-29,0x3b837a7861992717ee9843e7b46bf414255eb77583f4eb5409d2945ee0295597,38,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,11.276858734485854208,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,200 -avalanche_c,hashflow,1,2023-01-12,0xab0c51f0fc13c3bd30194e0fabf1827fd9ae164ffc2ca8aab83c0443a2e63abd,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,431.856634,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,432.07267 -avalanche_c,curve,2,2022-11-03,0x5fac517fbfdd744ff858c15babc0998cbc7c2d0c4aa064f60bd17b2a3a53d670,17,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,24396.061353,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,24408.524998416038829515 -avalanche_c,curve,2,2022-06-04,0x36158219ea84887d26aa64deb11ca2ccc3e1576e5464b044edbd446aa277beda,20,0xc7198437980c041c805a1edcba50c1ce5db95118,149.228657,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,149.167743 -avalanche_c,curve,2,2022-11-02,0xcd7a6bd17655e6d54bc4a21927082f27b1f499c9b791bad783084c19b95ce4e1,168,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,647.498626,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,647.585569 -avalanche_c,platypus_finance,1,2022-05-01,0xc9cf002b6422ef0a617284537683372c66b92e84e0b28fde8a0cc04a4eef519e,23,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,4994.308573,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,4994.787342 -avalanche_c,platypus_finance,1,2022-05-03,0x75dc4b71defb76d9888aabbd8771e8b38ee48fb41d43cc3ecae6fb73b3911c84,20,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,21009.805223,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,21012.319756 -avalanche_c,platypus_finance,1,2022-05-03,0x93bd89cf8a4d602d5cbc32446e5fb4bf9ed170f5ac72c2dc23294c8f5e1a8a05,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1199719.208427,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1200000.0 -avalanche_c,platypus_finance,1,2022-05-04,0x306818d93ecd131c5e5e40a2293150db9484555d539a45e0512cc28a7041ebfb,45,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,220.0206736954061,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,220.0 -avalanche_c,platypus_finance,1,2022-05-04,0x9e982c5f221d878d5c30291f3b1af3bb4896a0d15ecc305ff4d4e63936ed191e,64,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,728.2722352237333,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,728.227031 -avalanche_c,platypus_finance,1,2022-05-05,0xd1d05ff16c664884875cf17ded334008fe1005b15103460c76a8979a791d3cc1,13,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,148967.354389,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,149000.0 -avalanche_c,platypus_finance,1,2022-05-05,0x138e58cdee3bd8ccb09bfaaffe340f84c29688d4a239dab4b94d12e49434d5a9,82,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,783.164086,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,783.2365264361647 -avalanche_c,platypus_finance,1,2022-05-06,0x48596630bee61338ac47f100539d58fd783215ceb624d888249818b9c7eade5f,59,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,741.001182,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,741.1522427698851 -avalanche_c,platypus_finance,1,2022-05-07,0x2954327b19870057c067530f4f951014163795afe991f5cd2657649ab8151a88,74,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1034.338934536323,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1034.310287 -avalanche_c,platypus_finance,1,2022-05-07,0x9ac609a5cf6084d4152e835fcf790f45dbdb363bda79afc62ac3dfc5235eea7d,17,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,121.298967,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,121.300365 -avalanche_c,platypus_finance,1,2022-05-07,0x2a3a710fa23fe85c0153a701167ac8265327e08c4e527e9de3d0727099934f48,8,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,2069.426263,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,2069.863443 -avalanche_c,platypus_finance,1,2022-05-09,0xa268e678b9167e2afbff624d6c473e1de4e69e00bbbf15cff30fec754965161e,80,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,504890.913495,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,505000.0 -avalanche_c,platypus_finance,1,2022-05-09,0x2747e96f2e6198cbaad9a34257faae3d1282401ec89c4d8e2b8980830417f7e4,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,23608.565879,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,23614.60193014132 -avalanche_c,platypus_finance,1,2022-05-09,0x4587aca823136fd6dbe9ecf9a992074062c49d13ee38fc65a7f547e5647c40d6,34,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,340.040453,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,340.06469425688414 -avalanche_c,platypus_finance,1,2022-05-09,0x916f2f560b3c13f31aa4139608b067e00ad042bd3bdb197a683e68d77c80aab0,12,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,25017.262697,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,25023.099847 -avalanche_c,platypus_finance,1,2022-05-09,0xd1e3319eb5ab9cae929d2a18e79facb10309f84a8e38073596df084745c2f2f1,113,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,289498.193117,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,289560.3059171445 -avalanche_c,platypus_finance,1,2022-05-09,0x7fa1daa95f0c034752cb3719b62e7ae3d372945db163bda78e26cdc3a18192c3,6,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7500.368177,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,7500.0 -avalanche_c,platypus_finance,1,2022-05-09,0x363e3d084f738cb84cc809ca6ec9738bc23ceb606ca13148fe210b0bb098115b,22,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,78918.176151,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,78938.0 -avalanche_c,platypus_finance,1,2022-05-09,0x70aa1e9d8f0698b0b4b118b5296d67a3fb15f380a8ca105ba3c433655ae93aa6,28,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,44548.677919,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,44561.0 -avalanche_c,platypus_finance,1,2022-05-10,0x1bbe2f7773c059f500de2cd6acdee778d04b8c8185d4c69bb20db835feda9b76,24,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1505.784684,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1506.0280424835855 -arbitrum,gmx,1,2022-11-14,0x4c4f46a92fba43bfcb232568d7a31b4af63e91ab332b36549f2cc8929057bf11,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.20892017,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,259 -arbitrum,gmx,1,2022-11-15,0xe8c98bea3bf37ebb632c2f59e8e8db88f06456c12a1a9b1f6217f896820928b8,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0023785668,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,3 -avalanche_c,gmx,1,2022-11-14,0x4fee39a37c1adab2e185876f06395fe3a0ed53d2d2d10e82ef7b40dbdb70714e,16,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,562.108981,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.46443571715597298 -avalanche_c,gmx,1,2022-11-15,0x834202fb166e9cd8056bb1b7109c3a63e636244b5306080b3405d0321c0731c4,11,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,260.988536,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,20 -polygon,uniswap,3,2022-11-14,0x065d1410e74a0f973feb1b2b81030c4e48787fc9e540700d6018dfb5f96bfcf0,2,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,240.508119698835042944,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,219.13821 -polygon,uniswap,3,2022-11-14,0x17e206610661e39deac15979717f6658035a531aa66c78ffcdc6e8d02a4dd4a9,60,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,230.890774,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.0140068 -polygon,uniswap,3,2022-11-05,0x2f2f34207e9b8b521e87e40aaf452c0ddb57c580b5174a615cc286366efca79d,33,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1005.454808280348265291,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1212.644735 -polygon,dodo,1,2023-01-07,0xa4d5eb370faea67353f0a86d7942acc80ac927fdc3c058487436fb322ac7b7d1,183,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,46.625415,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,46.644294 -polygon,dodo,1,2023-01-07,0x1aba3621500f42af37f31950137b0776485ae1530a958fc05a68c39f414280c2,115,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,891.937912,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,892.289088 -polygon,dodo,2_dvm,2023-01-07,0x828df8835147ed71b60e504127e409ffeb3bf7495dfec75a712c117f07d28f56,405,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.00005737,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.2059550547960038 -polygon,dodo,2_dpp,2023-01-07,0x76f9dbda9492d12478525d27fce7963152bb9c5f3f7dafc2c5e9a8effd03f2d8,39,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,750,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,933.2716544242052 -avalanche_c,woofi,1,2022-11-08,0xae581cf151eacf9877f628e722514674f3f13b19abcce4e82808a2350526134a,25,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,33.765119660094401667,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,565.826462 -avalanche_c,woofi,1,2022-05-10,0x4ab2a9385bda8de7df444e6f342c12dd70ad6300fdf3a351d80f46e119a7811c,122,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,126322.419554,0x50b7545627a5162f82a992c33b87adc75187b218,4.00000076 -avalanche_c,woofi,1,2022-07-28,0xa1bcc8d3ec39c8694c2be30f5489091fe1bfe8ffd570841e55e00bef6ee3359c,6,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,0.197657,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.008699999999999999 -avalanche_c,woofi,1,2022-09-07,0xf48e0d36d6a51f82edecb408b20c1aa275fddc71f18d4118e734e3116c19d359,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2.714758315778573433,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,49.97 -bnb,woofi,1,2021-12-21,0xf3d0410543a546cf714ecbbe97caf9b6dc89f0caf627a44dc3b24eb8717b8c56,66,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,1.572913555840424953,0x55d398326f99059ff775485246999027b3197955,75491.688052189872040799 -bnb,woofi,1,2021-12-17,0xec25e2af89961b2ca54b69312a2cee1f545786e96d5287dec9fd12b2aba8df63,37,0x55d398326f99059ff775485246999027b3197955,12083.822061807061265726,0x2170ed0880ac9a755fd29b2688956bd959f933f8,3.097519332673643182 -bnb,woofi,2,2022-08-21,0x37420ded51ff96116d39301b4e4e75f3c713423b94319eb4fe3f29e31d3bd6cb,83,0x55d398326f99059ff775485246999027b3197955,14.977390055532270669,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050325032466406425 -bnb,iziswap,1,2022-11-21,0x07e7b79ed2e7958c7744accc12ce8c732d82c6d62ce586365d276a72ecca8ba4,97,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.91980872085136,0x55d398326f99059ff775485246999027b3197955,1000.0 -bnb,iziswap,1,2022-11-21,0x8c1e8cb4f4766ef9a775f040c576dd88a3a6993c8754c35f1e6faf4e1aa65718,197,0x55d398326f99059ff775485246999027b3197955,1016.3951483032495,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,iziswap,1,2022-11-21,0x57bbc0040e8db0bdf9dd38b1e888dfc124159a4ef4c0368426f89238db23d8de,264,0x55d398326f99059ff775485246999027b3197955,1019.5850870781412,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,fraxswap,1,2022-11-19,0x36f1b32a8115300906f74d3ddf2051d62a226045611a251d84a8a32395ead967,439,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,0.251513613449462899,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.001 -bnb,fraxswap,1,2022-10-26,0xe09dd465622225d25f5555214eb8e8e6e74d4a4fa5f6ac51b35f520150011f24,50,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,4.663005228579123357,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018388924302368166 -ethereum,fraxswap,1,2022-07-25,0x36ea8f58b542aed8c3f35ce396da15054e04a522efb25281c8ed0080a081083a,200,0x853d955acef822db058eb8505911ed77f175b99e,6321.896197119067345439,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,1000 -ethereum,fraxswap,1,2022-08-21,0x39714256ccf47a89e297b726e8de9eec9446949a224d5e2215fd4dc87c0c8969,406,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,2000.000000000000121322,0x853d955acef822db058eb8505911ed77f175b99e,13014.187897251069443882 -polygon,fraxswap,1,2022-11-01,0xda324654d84c5f9b67f6947575878eb25f8789153151295d08ee2738847a0750,135,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,0.008797854552852608,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.01 -polygon,fraxswap,1,2022-11-01,0x9f4b2967cd1cc64490f2765b6d95c70f8d6df37eaa7f2b441e141b2a41f7a793,188,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.987969423771805753,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,1.759300000000000086 -bnb,biswap,1,2022-11-22,0x66a602998a3585037eb498c103b009a4face2faf93ea57dfb1a44d1fa4a06dad,163,0xe9e7cea3dedca5984780bafc599bd69add087d56,33.830622552179025128,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2128.2655 -bnb,biswap,1,2022-11-22,0x9050a1e2f7aa392e39195b5b22382d595e94104b72699655b198c498f82bbfe6,153,0xe9e7cea3dedca5984780bafc599bd69add087d56,26.146488901376957832,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,1643.319 -bnb,biswap,1,2022-11-22,0xe2efd633720bd29322da7e39857e98b3c9904a1c55f9b3995441160983e06296,119,0xe9e7cea3dedca5984780bafc599bd69add087d56,43.898605549510836795,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2756.0281 -bnb,biswap,1,2022-11-22,0x0b9ba3ee4a0b3f4db2baba70be527f5a50aea77423cd921106ec9f0ac8dcf169,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018248512111984361,0xe9e7cea3dedca5984780bafc599bd69add087d56,4.837104443141354752 -bnb,biswap,1,2022-11-22,0xaf03946d9b98e5d6e841bb50555208801e48d773a8dfdf1ecc203d943c27c603,350,0x2170ed0880ac9a755fd29b2688956bd959f933f8,6.247796965743473757,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.43849 -bnb,nomiswap,1,2022-12-01,0x3b8f8370f2535fb7cd8b68a63d7bdb722cb5452b79a231122a9f5dd246be6657,295,0xe9e7cea3dedca5984780bafc599bd69add087d56,3.4406837272665105,0x60322971a672b81bcce5947706d22c19daecf6fb,8.610658726450525 -bnb,nomiswap,1,2022-12-01,0x2cb3567eada4e2f6350c44a7765516d381641db036cc664e3a64d15b303ac7ad,2503,0x60322971a672b81bcce5947706d22c19daecf6fb,85.62389404482691,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.191528536984286 -bnb,nomiswap,1,2022-11-30,0x9e3dfbd555adc7bd60844ca970bf6fd8ca6a24981b0c05925660f0f5ee8b4a5e,655,0x60322971a672b81bcce5947706d22c19daecf6fb,90.47037459371727,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.79453094032464 -bnb,nomiswap,1,2022-11-30,0xe504096106135022b0d0917e863c8255cc5f8777bcaa70ee38f342be6f74c56d,338,0x60322971a672b81bcce5947706d22c19daecf6fb,103.77456768715207,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.45117236156748 -bnb,nomiswap,1,2022-12-02,0xad22e5ec3486fe0b950510bb500c37baf27f4f50bf5f0fbd6c4ccfc777e2ad15,249,0xe9e7cea3dedca5984780bafc599bd69add087d56,44.399389252049524,0x60322971a672b81bcce5947706d22c19daecf6fb,114.46999990155486 -bnb,babyswap,1,2022-11-22,0x0f4e9d9f303d6d87cd95d85f2dbe48f3cc8e7e8240952e4bd485ef0f81503617,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050410279081245794,0x55d398326f99059ff775485246999027b3197955,13.346254023941418542 -bnb,babyswap,1,2022-11-22,0x6ba016ab36bd67d7459b4fbaead32e82a57a8930564355d3bfbd3ec7f876d559,244,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004192030247987002,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,40.39956 -bnb,babyswap,1,2022-11-22,0x0e6d9777fc533bc403df3ebe1b82b5399870f1301e45c90427b9664438efcc31,353,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,1738.090365320173641069,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.18104693184 -bnb,babyswap,1,2022-11-30,0x279dfbce106e55f05a20331ed088e1fd2e1ff68c05ab089cca473f3dbbaef9fe,283,0x55d398326f99059ff775485246999027b3197955,1654.599686417120624489,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,60085.854 -avalanche_c,trader_joe,1,2022-11-08,0x1f90838d916d2edf881ba53d8abfe5b557ff2a8d23d7ed692cc0687a71a9cd53,15,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,342510510,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,21741961515422881640 -avalanche_c,trader_joe,1,2022-11-09,0x82cd2992be090d073b82406e3f3882c43eeb4ac7e7ce26839290c6e028b2ac3b,130,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,30093631,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2354558311510002477 -optimism,velodrome,1,2022-12-02,0x8c4641cbf23a94be095e73660510f7e265d76601b414ea6f838f651609741c87,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,338.699889,0x4200000000000000000000000000000000000042,311 -optimism,velodrome,1,2022-12-02,0x52e9f5710d07923e189104e31b1c98f569a9fa038b41b67043e9b991fcf7a95f,5,0x7f5c764cbc14f9669b88837ca1490cca17c31607,896.242313,0x4200000000000000000000000000000000000042,823.875076815262 -bnb,mdex,1,2022-12-01,0xcd3cb070ee7f3524bbe091d15cc228676301ba87c8f11101293dd704c7442aa3,633,0xe9e7cea3dedca5984780bafc599bd69add087d56,41.22399442847115,0xa7f552078dcc247c2684336020c03648500c6d9f,1149.6338751257592 -bnb,mdex,1,2022-12-01,0x5558ee58a68414ca812e6861e4f1743fd4670669ab67bdd6cfde72f2185bf098,169,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050624007144351967,0xe9e7cea3dedca5984780bafc599bd69add087d56,15.035196244738406 -bnb,mdex,1,2022-12-01,0xfdd41f1fbd608530bd96c19fdfc713d861ec483d9c71976df981a4f61fd28140,376,0x55d398326f99059ff775485246999027b3197955,3.854107292216319,0x3ee2200efb3400fabb9aacf31297cbdd1d435d47,12.23 -bnb,mdex,1,2022-12-01,0x7d8f360ee960583133bbde85314d0257703feabf7a87518e5dc7b3a83de5c001,436,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1,0x55d398326f99059ff775485246999027b3197955,29.673387128124077 -bnb,mdex,1,2022-12-01,0xc2e17fc3812f583f5cd2ac1622939828181600b4a65bc1a30449050e3955522c,341,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.60004338983994,0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd,5.179156079954205 -bnb,ellipsis_finance,1,2022-06-12,0x264e4b912aa4d9a5338fc3803687229fd8fd6fb3cdc3008c97060d10a959f62a,437,0x1075bea848451a13fd6f696b5d0fda52743e6439,2.291714623466671663,0x2170ed0880ac9a755fd29b2688956bd959f933f8,2 -bnb,ellipsis_finance,1,2022-11-10,0x9c962e3862c0912117ad770035c492a2a4bca4e72f38baa12165853f85960992,458,0xe9e7cea3dedca5984780bafc599bd69add087d56,78.965818265473976219,0x7c869b5a294b1314e985283d01c702b62224a05f,78.401313456087213685 -bnb,ellipsis_finance,1,2022-05-22,0x85e68cfc48c650f4d7cfb9ce98b09c89e0952b3f7b7b2111ead705a72bd4cb38,349,0xe9e7cea3dedca5984780bafc599bd69add087d56,299.616793572788036088,0xdcecf0664c33321ceca2effce701e710a2d28a3f,314.194676267749213306 -bnb,wombat,1,2022-10-27,0xb228abac355fbc699ab0b134f48a495929069310aa32132ca5cdb679a81b6128,111,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,173.56579848904872,0xe9e7cea3dedca5984780bafc599bd69add087d56,173.79087768722817 -bnb,wombat,1,2022-10-27,0x7a6f269ba6a5826e1ac578ec0bb3272429912ab38a8e2533706415cad6cf0634,128,0x1bdd3cf7f79cfb8edbb955f20ad99211551ba275,0.001925010584091731,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.002 -bnb,wombat,1,2022-10-27,0x478de9749640e880e80485550c62a63072fa946c791f3cf00b60e417c34cb4dd,138,0xe9e7cea3dedca5984780bafc599bd69add087d56,100.08972348327656,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,100.1 -bnb,hashflow,1,2022-10-10,0xf7ae714fd7b9c2c5a6f5d1cda6f17b90c3a8585e1d3a2c8efa14826b15f9b9b7,19,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.784257887632644608,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,762 -bnb,hashflow,1,2022-10-10,0x7add80a388efcf38752d98b48a63844b6c3f45a4df9305268180bd8c2cc6d4b0,207,0xe9e7cea3dedca5984780bafc599bd69add087d56,110.063488,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.4 -bnb,hashflow,1,2023-01-14,0x082830ea432a172e3bab91f690c27830e3fe812aa0cd6613fd62f91be7586fc1,137,0xb3999f658c0391d94a37f7ff328f3fec942bcadc,2.73,0x44ec807ce2f4a6f2737a92e985f318d035883e47,2.73 -bnb,apeswap,1,2022-12-01,0xe4a7e72a504a6a295a75d3f264d0c94b441e89c813b9526f94f660f547c5c835,714,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00120638837141382,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.36 -bnb,apeswap,1,2022-12-01,0x23340f2b63579368aeec4765d4dcda837ea706755e9de56f9ee240877d73d5fe,31,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.003268023598876883,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.9757957073529867 -bnb,apeswap,1,2022-12-01,0xec62c204ea228732d789965d8cbadf18282c0d8fa172623bef62a440ad119827,218,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.013379338141206242,0x55d398326f99059ff775485246999027b3197955,4 -bnb,apeswap,1,2022-12-01,0x293589cdd2503ed9c667d7dd22ddbb65aaaf66490b197c47cb479a4dd84ef023,335,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01336201242131474,0xe9e7cea3dedca5984780bafc599bd69add087d56,4 -bnb,apeswap,1,2022-12-01,0x8a751f20be9f46c85fa9ed18490f9da5c7907b5fa5ffa93b2aec182778f24cda,442,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.7425522170245182,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.005817836045524239 -polygon,apeswap,1,2022-11-22,0x2f15cd0b477cc45c55924b7aa461a516e2b2f369a3806b55042e3c0e5b0877da,157,0x46d502fac9aea7c5bc7b13c8ec9d02378c33d36f,2248,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,57.048500720012677391 -polygon,apeswap,1,2022-11-22,0x3d56ef902984864931d8feb5f1e91cf896e2d1d535a4ada3968942f2f1c500fa,10,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,699.067345412356780819,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.530171159999668219 -polygon,apeswap,1,2022-11-22,0x740f53bcc15bb3a96c1435003e837677f8bc8f0d94d0c3ff6c33f45443cb746b,134,0xc004e2318722ea2b15499d6375905d75ee5390b8,22416.52442997,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21 -polygon,apeswap,1,2022-11-22,0x194d468d6c62a717806b5ee4b71131e9f834d724cbd4309a525fac5d9a320f64,185,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.99267586734214204,0x5d47baba0d66083c52009271faf3f50dcc01023c,12.616273336186259757 -polygon,apeswap,1,2022-11-22,0xe1d484c6453e2f701a0b246764d4c6dac27d99588b4df3ba6caee50f72f21429,290,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,33,0xc004e2318722ea2b15499d6375905d75ee5390b8,35313.94136592 -fantom,curve,2,2023-01-26,0x2c82d58a52e773e79abe81c8f04ab506f9ddded1b17d7f87ff40861a10681e4b,27,0x04068da6c83afcfa0e13ba15a6696662335d5b75,194.438488,0xdc301622e621166bd8e82f2ca0a26c13ad0be355,191.5377712986513 -fantom,curve,2,2023-01-26,0x7e20e5a8d85bf205cfe3dd7cb6a6668c82707f0ab7f7581a5d78dffbe1dac8ee,10,0x04068da6c83afcfa0e13ba15a6696662335d5b75,93.168043,0xfb98b335551a418cd0737375a2ea0ded62ea213b,93.91500221736457 -fantom,spookyswap,1,2023-01-22,0x0d8a71bb5d5d881dae96a62603d51aed6029fcb1f400eb90afd33fdacbd1b3fb,3,0x049d68029688eabf473097a2fc38ef61633a3c7a,94.447206,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,248.3197518 -fantom,spookyswap,1,2023-01-22,0xc408dfc2a9be6f97e60b89fa8c5711e796e73c55c62f74d22ad9ae54667b6565,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,590,0x049d68029688eabf473097a2fc38ef61633a3c7a,225.486545 -optimism,beethoven_x,2,2023-01-22,0x3be1a0fb7f1ef890351fe4a575a095e6e996625e01af1e4b43893d00ac35bbb6,1,0x4200000000000000000000000000000000000042,56.0439404452666,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.261625 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,508,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,0.000034701468348079,0x4200000000000000000000000000000000000042,0.000111535848130678 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,512,0x4200000000000000000000000000000000000042,1.38960477071438,0x4200000000000000000000000000000000000006,0.00195330326074912 -optimism,beethoven_x,2,2023-01-21,0xbc0015bacc88ed681b13ee19ef14c3ec74184cb8fe4e96128313f2ab797c283e,8,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0716016140629488,0x4200000000000000000000000000000000000006,0.0789256223359575 -optimism,beethoven_x,2,2023-01-22,0x0d0042f1f3726a6958ef3a491482e734d559cf07ed24d1e19b65541d893fe75d,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,96.65967,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0539912808878705 -optimism,rubicon,1,2023-01-23,0x9b881a99a4d952ce35e69e938aeb6fa433e9b6aa609338a6451d61231fadd565,106,0x4200000000000000000000000000000000000006,0.0687643728672874,0x7f5c764cbc14f9669b88837ca1490cca17c31607,112.189533 -optimism,rubicon,1,2023-01-24,0x0808ab44a5ba3c04cd3411216feb1cf7f6d2408f6173ae0d2c533f1ee9ec7317,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.997583,0x4200000000000000000000000000000000000042,5.01949758830531 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.817783,0x4200000000000000000000000000000000000042,4.02459708671438 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,15,0x4200000000000000000000000000000000000006,0.00538901884526646,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.816901 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,22,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,8.670616,0x4200000000000000000000000000000000000006,0.00538847955865886 -fantom,sushiswap,1,2023-01-20,0xed537c0e7ebd3d654bd8e5cf8ceec84a4fdc0483eee59802c890d0fcfcf1060c,166,0x321162cd933e2be498cd2267a90534a804051b11,0.00756091,0x74b23882a30290451a17c44f4f05243b6b58c76d,0.1022693 -fantom,sushiswap,1,2023-01-20,0xd0e069b94d62579995037ae2180a1e88811012383cfc0927092680f87e0ed2d3,29,0x049d68029688eabf473097a2fc38ef61633a3c7a,70.205678,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,230 -arbitrum,arbswap,1,2022-12-17,0x0e24e2a7c61821707441ac12f8e8d4ce38ff829f94b86a70ede3cfd9af52511a,19,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.001234459141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.458842 -arbitrum,arbswap,1,2022-12-17,0x3390d9871240fc2a540dc5d0dec18cbcc6991c936330c5fbe7513c6a0a990ec0,5,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,19.230924,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,18.86197078 -arbitrum,arbswap,1,2022-12-18,0xea091ea1def1416b81a3903b1c266bd53cb137f8c52d9fab883811440ac9e474,4,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01899934141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,23.112426 -arbitrum,balancer,2,2022-10-25,0x8cc9955e4368d88ef78a0c6dc8505da3e7272446e70947126286780daa454f84,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,430.19906,0x6694340fc020c5e6b96567843da2df01b2ce1eb6,900 -ethereum,balancer,1,2020-08-02,0xac80f41cdfc018bfdc6d37f881fe3def377aa9fd3d0b794c3d7e7ee1e6501ce4,99,0x6b175474e89094c44da98b954eedeac495271d0f,25.34746680728174,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0658152885716226 -ethereum,balancer,2,2022-05-06,0xb6bba47d296682416f32fb4264cfe3fe2994284183081beafc8c36cc1e76b1f2,3,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.755554997108105,0xba100000625a3754423978a60c9317c58a424e3d,758.7236799507402 -gnosis,balancer,2,2023-01-20,0x70a7380d73bd8dc96aa2a2ec338f6a660df54e797bab507b5ee04c27e6433844,20,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2.811201702694398,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,2.811563 -optimism,balancer,2,2023-01-14,0xbcd5b16b59067a5c9dc98fe5fcf0c2ec8b0554249bdb54db423d805d2e20265c,33,0x4200000000000000000000000000000000000006,0.020434661575615593,0x7f5c764cbc14f9669b88837ca1490cca17c31607,31.094857 -polygon,balancer,2,2022-02-05,0x24685d2daebdf4ade873366e33863e0c9b349e974270d786fc773cf5bc8554ec,254,0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39,6.60916362154873,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.03965 -fantom,spartacus_exchange,1,2023-01-23,0x6768ad671c7da39ee9d75b37ad58b77c72982aa7bf21d1dfb030fa7546ad58d9,13,0x04068da6c83afcfa0e13ba15a6696662335d5b75,13273.768685,0x049d68029688eabf473097a2fc38ef61633a3c7a,13276.71125 -fantom,spartacus_exchange,1,2023-01-22,0xc0a1b20ead30eb1f7c730afcf9399945ce84b5bcdcb9dabf3bcfa3411499d1b5,6,0x04068da6c83afcfa0e13ba15a6696662335d5b75,25.332101,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,67 -fantom,equalizer,1,2023-01-22,0xca3fce464272fae479cc0056caa15e882e3fde396a5da883871ba9b8ff1fbbf3,43,0x5cc61a78f164885776aa610fb0fe1257df78e59b,129.98998930892284,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1.049684 -fantom,equalizer,1,2023-01-22,0xf72faa8d02ad82c498e2bef2eafa3071d4e531b8245be1defc963f314ab96a24,48,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.017632,0x04068da6c83afcfa0e13ba15a6696662335d5b75,9.019453 -fantom,wigoswap,1,2023-01-22,0xecaff2b9aeedca150c05e79e27474e25a2c40722ae2b70b3b90be163f2a9f8b9,15,0x04068da6c83afcfa0e13ba15a6696662335d5b75,87.454047,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,220 -fantom,wigoswap,1,2023-01-22,0x3a5eaeb4b331a05e24406c955f2ee89c0da7b37365b6049de224aa08d9b4e38b,17,0x1e4f97b9f9f913c46f1632781732927b9019c68b,33.77612953779118,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,96.8125 -fantom,spiritswap,1,2023-01-23,0x2d2c2b842b1a0118bbfb931715b21ee17d3ae0a0128e6402b3cfa4645e3a69c4,57,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,48.501746184182,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,19.985 -fantom,spiritswap,1,2023-01-23,0xf02b0492697aa787cac842b91a47a4f5582386822e7a493dbf278718175ccfbd,4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,282.525324,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,700 -optimism,synthetix,1,2023-01-29,0x8ae97667b2e098ab76d6fc3e89a62fca7a736894fba7a740a3636f9c64cc8077,7,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,20,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,33025.1881585549 -optimism,synthetix,1,2023-01-30,0x81f4b75e257aae89b5ac2a79764260131f9db2ff4551cc837e3f758df444e12e,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,67.814135331492,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.04161141 -optimism,synthetix,1,2023-01-30,0x26fdd3b38051f353979603153113ba2600290e6e9a4455c4f32a933b52c2e91d,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.154574875193123,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.0001 -optimism,synthetix,1,2023-01-30,0xe32cc68ee496955f2aee625067b304cea1f066ac5f23cb864ddc1466636e5cff,7,0xfbc4198702e81ae77c06d58f81b629bdf36f0a71,0.128596335180203,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.1396 -optimism,synthetix,1,2023-01-30,0x298ec0451a7380c6c5f470414248c896ac473996ecd5cc1b2abfcc542770b536,7,0xc5db22719a06418028a40a9b5e9a7c02959d0d08,437.636404718796,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,3080.5826 -optimism,curve,1,2022-12-02,0x80b901d362d34109fc5ab3d2501390a9a0e54e69388e5eea84469ce77a3b9302,9,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,73.0574092246244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,72.2707437014961 -optimism,curve,1,2022-12-01,0x9b98ca1a43c0b4c7709285f8e591a605905dc35e8f52234410628de6ebf1d365,42,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.034302,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1.03049060456676 -optimism,curve,1,2023-01-31,0x77fadc1a0ea6ab065fc3190a24f4f67ff35f22dc824f003cf0656d79089669c4,25,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.435843637716131,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.429232709933431 -optimism,curve,1,2023-01-30,0xa0b8591ffcbc148432fd3c603616dce7877f6097d93716d726ef6dae9a6bcd8f,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0218734943841243,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0215416887092783 -optimism,curve,1,2023-01-30,0xfca84e35c36c4d6fe0f40eac69c229e9bf4fa3a12f7b8267ae9609aff58a65af,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,45.648713,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,45.6283342082489 -optimism,curve,1,2023-01-30,0x76780eb40844a0fc1cbaa16a30d8098d55bec4d774cfee1a7baed9c8dd4f6a92,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0799001414721287,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0786881443367727 -optimism,curve,1,2023-01-30,0x72f451639593a62c0ec916d20de947b11d15f2ae5075452ddf08d68f77b54e87,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0998759919306217,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0983609378552637 -optimism,curve,1,2023-01-31,0xa70d826c5b3b5afbe9585e15f1e58c75cbcc1359784d48de48b9d025270985d9,70,0x7f5c764cbc14f9669b88837ca1490cca17c31607,32.037157,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,32.036492 -optimism,curve,1,2023-01-31,0x2a4ff09a9d921f631e4e14a61fc6f7fd7997691ed40acac415c0988fe93f9f96,39,0x7f5c764cbc14f9669b88837ca1490cca17c31607,16.006302,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,16.006705 -optimism,curve,1,2023-01-30,0xf14d489c5cb44772b1082e7589781fac60d0f559fa2999844b2cbb782d434443,75,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.00233,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,8.00249590591778 -optimism,curve,1,2023-01-30,0x2615836b17d0b9a467f187a84c497233ee3a815a0ad341d70b63e28d2c6c98df,159,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.283656,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,128.286430267516 -optimism,curve,1,2023-01-30,0x4569f2998b9f00eea1c372d82a36fa32b7aa7ca9fba7378bf63756614e2733e9,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,255.877053,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,255.914112076597 -optimism,zipswap,1,2022-04-06,0xbdad190b91443e3b18e07e213b2b8ebc2725e188571f0f43eb8962d8f885c932,3,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3867.857072,0x4200000000000000000000000000000000000006,1.15 -optimism,zipswap,1,2022-02-05,0x111251020222b3efbd71693d4d5ef3f3e3ff9598f023152877f47ad87f2b60b8,5,0x4200000000000000000000000000000000000006,1.44270162397699,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,4293.85850577198 -optimism,zipswap,1,2022-02-12,0x25b8b0f3465265e895c92353e967bd934d86ae6a0ce9a5a7bf45d967868a1582,9,0x4200000000000000000000000000000000000006,1.00158875384491,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2961.21850646285 -optimism,zipswap,1,2022-03-06,0xbc6ec237edd3883acd524defb5f1d8635df3610eb195828b4679b3dc9e6e6b0e,4,0x4200000000000000000000000000000000000006,1.89814384488954,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4924.180007 -optimism,zipswap,1,2022-03-01,0xb285876c166ca5a4614c28cb838a1067cf12b8a0f5217fe1021427f7d4571548,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5587.487912,0x4200000000000000000000000000000000000006,1.9 -avalanche_c,trader_joe,2,2023-02-17,0x51c5b4dabbcedf31ab4379eeb163dd8a72db4ed827655e6c4019a84d59e45c0b,55,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477 -avalanche_c,trader_joe,2,2023-02-17,0x582496cdacfa83cbb32bdc9e6a7a0baecb31e43ca798728500e783b95c2b6673,14,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868 -polygon,quickswap,3,2023-02-17,0x8d1bffc369ccde33fff07cb5edaf58bdc4a63217e5e234d8fe1f3908779610ae,105,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,200,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,293.856899 -polygon,quickswap,3,2023-02-17,0x5761ecf943d9ccdec872484d42d45c28f72b3a3760c6da97b573c8a7e2e38af4,192,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,147.193696,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,quickswap,2,2022-10-17,0x89588a0facfd37f5e6787bab1a534d4ceb94b0c630a177397150cd580151f2e0,179,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,13.420646,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,13.425263636998267 -polygon,quickswap,2,2022-10-14,0x7fb5168d79b8a249784a62e266d4d805e98ae81af2b69c54dc23060ce4ceaae9,216,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,494.340474,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.37290529608348755 -polygon,quickswap,2,2022-06-25,0xe9da7260f20bbb8b5d135c217c073758b5474e2973ac9540b4ee919d0219650b,288,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,183.901282,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,300 -fantom,beethoven_x,1,2023-02-01,0xb353ea3753bd43f79452a99a5f0b4ba79848eb535406006b2a325e2610cc20c7,10,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,10.79068245,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,10.9191819 -fantom,beethoven_x,1,2023-02-01,0x406e3b0bfa2b7289eb7a9c37a87f55d1c1f7b5dc1c90cf638ccf6bc06b73f4f0,43,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,154.8200719,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,156.6637268 -fantom,beethoven_x,1,2023-02-01,0x9ed054600393f6ddfd5e9e271ceacc419ea1ea5c5069032f3bccf6e0bbd1057c,9,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,4.419601846,0x04068da6c83afcfa0e13ba15a6696662335d5b75,4.417833 -fantom,beethoven_x,1,2023-02-01,0x3ad542dcee62446ad4cea36a4606c1dfecdc654d83113509ca43c958737b97b9,44,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,1999.4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1042.833542 -fantom,beethoven_x,1,2023-02-01,0xf73a2c4c02eb03d263d39f5b640229bb9b23f8242a5389b37a5c8aedc428b17e,56,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,84.55916959,0xc5e2b037d30a390e62180970b3aa4e91868764cd,550.564336 -ethereum,pancakeswap,2,2023-01-12,0x176632fa77a3e328cf904f814888f77ee97c57cde0a014d1dedcab92accfc959,247,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1936898575,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,274.694256 -ethereum,pancakeswap,2,2023-01-09,0xc1f7f412ac0636e914b2e55e21ddbb79f313be2d7ca4c5e084db223787c52441,325,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,39.768234,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.03053786191 -ethereum,pancakeswap,2,2022-12-01,0x70cb37c8e8a566b850d1475606b3c4b64adf51cca9bb9e32645344b93c99c8f9,17,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.607205635,0xdac17f958d2ee523a2206206994597c13d831ec7,9627.386202 -ethereum,pancakeswap,2,2022-12-13,0x0ba7e4e4a630729028258782ac77f81444de749ffe9fbc526295c29979a9cca1,49,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.479851125,0xdac17f958d2ee523a2206206994597c13d831ec7,1948.798982 -ethereum,pancakeswap,2,2022-12-13,0xc66b844b06fdfcc8376915467463328e5bd189335f03249670473a247e38741a,300,0xdac17f958d2ee523a2206206994597c13d831ec7,187.010126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1401299988 -arbitrum,integral,size,2022-07-14,0x16f35abbffc8b50bc985d2db02abeaf337e16de587b85eb3c834b70bf6e9cfc7,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01900877891605384,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,21.123742 -arbitrum,integral,size,2022-10-23,0xb705d45124099b8e98e9dd7205392dbda8a34d40e3ad47a875239cf38c9a81fe,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000653038267454768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.855361 -arbitrum,integral,size,2022-10-29,0x769e31ebc00639ce2a44b9885070473d619ed35ddcdbcff789852067457e2785,4,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.03,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000018904849893185 -arbitrum,integral,size,2022-11-10,0x3d18f064963df7166dd579e65c775b4d4e8260923041e4393615fc032977a9a4,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.642262,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0005 -arbitrum,integral,size,2023-01-27,0xbf780d189520cb325350d3c94423f1a46c42387f765f35c4dcca7e1e8bdff06e,10,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0012454151038722 -arbitrum,integral,size,2023-03-05,0x8bda9d3016f4e7768181325032442549348c251f2e161852bce177b00143c2ed,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00291816855303509,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.579709 -ethereum,integral,size,2022-03-21,0xae7bb04cb102287ca2b832010121bd8fdac1396359a428f50ce992a5c6ebc212,153,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005070744820370721,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,14.77512 -ethereum,integral,size,2022-07-03,0x5534f8443a6a08c6c279e5fbaaaa39ffe5a698de2be8240827dc732320585761,244,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.24908715433948347,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,265.219513 -ethereum,integral,size,2023-01-06,0x822561900aada258035a1645eb34c866b9d02638ada3fd9f5dc4739d18d680c1,80,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,89483.765933,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,72 -ethereum,integral,size,2023-01-30,0xe51df574230b4e1002606a3cd73d511e85003e19413c6d1db52f3d6b788935a0,158,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,126.18176269960297,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,199977.007606 -ethereum,integral,size,2023-02-14,0x7c01d8115c86b110ed4673068feed8febe7d26115d56779161c0d5c1e2a01ae3,170,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,45.174995872186976,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,69953.020039 -ethereum,integral,size,2023-03-05,0x93a28f10be5e758a9ac05722595c8a2d8c5900a107ad097e47027eeea57ebe61,91,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,43.29894547565704,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,68000 -optimism,sushiswap,trident-cpp,2023-02-25,0x556acdec157c9c7beaecbd3013a988e5ed13e4d4293231274bd0055687b6d3fe,19,0x4200000000000000000000000000000000000042,1.2359258546421,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.834014 -optimism,sushiswap,trident-cpp,2023-02-25,0x49135f081d16041793f3f4c52c91085382c9a8cc2e7bfd6b4d90306ff624f954,22,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.318854,0x4200000000000000000000000000000000000042,4.48285194988426 -optimism,sushiswap,trident-cpp,2023-02-25,0xfec6e552c846e1a321fe73dffd923ba15312066d0b91b3dd1d7d7d169a86e789,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.791866,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1.839893 -optimism,sushiswap,trident-sp,2022-10-10,0x83c508e618dc0994dfbb7cdc027e5959fab51038dce9d561c75179e09f86f47e,17,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,7.60726339281,0x7f5c764cbc14f9669b88837ca1490cca17c31607,7.749999 -optimism,sushiswap,trident-sp,2022-10-04,0x62e0ddfab23a326c20b192d2532493ab8457a2ae8eddcc935bf467d88d6fe745,17,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,3.999622063709,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4.000001 -bnb,pancakeswap,mmpool,2023-03-03,0x42b4dcf040808d2a22928744c0a78aaf9873b30b027a638ae93b1983295cf0fc,306,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.944209657,0x55d398326f99059ff775485246999027b3197955,2012.077814 -bnb,pancakeswap,mmpool,2023-03-03,0x653194cae17a57e6b1ceddb9e7fcd917435094460772c16d9bf0a97b60a4b9b2,94,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3451386066,0x55d398326f99059ff775485246999027b3197955,100 -bnb,pancakeswap,mmpool,2023-03-03,0x590e143ba81d3aca84b3e84391f7943af2aedbbb3fb600eea4b455cc974c519a,390,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3394153334,0x55d398326f99059ff775485246999027b3197955,98.37106848 -bnb,pancakeswap,mmpool,2023-03-03,0x0d9e5f3bb655fdab7281e376d5baba55867a8f16bfe53f2c6dfa8e88885b5570,255,0x55d398326f99059ff775485246999027b3197955,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.5188477066 -bnb,pancakeswap,mmpool,2023-03-03,0x077b09506b8b3cf5fa5737ff1b5f865f5cb846eca7325abe08092b043f9f6fcd,107,0xe9e7cea3dedca5984780bafc599bd69add087d56,53,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.183167344 -ethereum,pancakeswap,mmpool,2023-03-09,0x4a4e3ed3c8048ae97d776d90a8e6c7a20036aefb98846dd5158a01dd29b0996d,231,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,71.119581,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0462709406 -ethereum,pancakeswap,mmpool,2023-03-09,0x19cc99f99a1c638bf5a45711a50f3c185cedd9ad4e1cbda231895c6d0f365abf,277,0xdac17f958d2ee523a2206206994597c13d831ec7,1283.292428,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.8356205947 -ethereum,pancakeswap,mmpool,2023-03-09,0x7d97ffaff69d26a44b1f0347675fe839cb72c886b46e94becec16a381a6e6c8e,349,0x4fabb145d64652a948d72533023f6e7a623c7c53,38.18645876,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02489566923 -ethereum,pancakeswap,mmpool,2023-03-09,0xe8fceccb966aa76d8b847f0b067f987b233313699d53a8dfd95f3e4869b9c621,500,0x4fabb145d64652a948d72533023f6e7a623c7c53,39.47962744,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02571453404 -ethereum,pancakeswap,mmpool,2023-03-09,0x06e1b3740c4a4d8fa60f7ddf6defb706f1ec64c563b697f0695647921b2b8c89,288,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1535.457365,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1 -bnb,pancakeswap,stableswap,2022-09-30,0xc8e562b51d15bc7dcc461f0d8f674c368cb17d5b338c825fc2021da4e070635d,42,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,44.96591897,0xe9e7cea3dedca5984780bafc599bd69add087d56,45 -bnb,pancakeswap,stableswap,2023-02-23,0x926a9463e8b1c94b267f8996c0aa3d25f0650b16d84cdf22c5c8cbd175b35a92,95,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,29.52590913,0xe9e7cea3dedca5984780bafc599bd69add087d56,29.53001786 -bnb,pancakeswap,stableswap,2023-02-23,0x2748ee8746f8ef3188f256312489cf877f819725c7b8526eabd2588437bced33,318,0xe9e7cea3dedca5984780bafc599bd69add087d56,17.00035523,0x55d398326f99059ff775485246999027b3197955,17 -bnb,pancakeswap,stableswap,2023-02-23,0xac4971ca3d750e40957720b9ed7d312de71868da236c5775f6cee8dc6a14bf30,226,0x55d398326f99059ff775485246999027b3197955,1000.607238,0xe9e7cea3dedca5984780bafc599bd69add087d56,1000.83 -bnb,pancakeswap,stableswap,2023-02-23,0xe71f7a8812df06a0b36b88a2746d1d48ad39bb5bcb61c23572aeea04df96cc50,181,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,2499.859114,0x55d398326f99059ff775485246999027b3197955,2500 -arbitrum,clipper,1,2022-12-15,0x4e8b282691842b546869ff2ffb6e33e515d609bced31527bc049f92e6e00c831,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.490002,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,5.49 -arbitrum,clipper,1,2022-12-15,0x3c63866b0a50ef829cf1431b90116fad82e44823228dfa57a6fb43eda552304b,2,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.474675,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0083 -arbitrum,clipper,1,2023-02-15,0x52f3a5f2a8217e8bba343841bd379c076cfa06c1279d64ee43f891fc4aaedebc,3,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,114.4518751,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,114.56 -arbitrum,clipper,1,2022-12-17,0x283d63748d6390489926c305d148468c5308c75e58ea120fb0329a345b9c9447,22,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.04963966456,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,58.644399 -arbitrum,clipper,1,2023-02-15,0x967ac0e5c10a6d27df334f4a33a35c25a3cbf58e7ee48d6a58b97467a16496cc,58,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.1052072797,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.00736108 -optimism,curve,1,2022-11-12,0xcea94039dcf9ce75c6081f0ed26fc3f6b9193036f901372b002edc67f960a711,9,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.001012,0x2e3d870790dc77a83dd1d18184acc7439a53f475,0.00101798869624305 -optimism,curve,1,2022-05-20,0xf0a56683a1f5c98f734da37362976c19ced781ea2ca1168c203d605593689308,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,112.531495,0x7f5c764cbc14f9669b88837ca1490cca17c31607,106.894737 -optimism,curve,1,2022-05-16,0x1daf9b0e5b53bbb0cf2cc82fc56ea4b03e4b04642326c4c34ee5034edcc419a0,5,0x2e3d870790dc77a83dd1d18184acc7439a53f475,2028.06638964748,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,2002.456704 -optimism,curve,1,2022-05-11,0x9e35d672d4202923c30f0e65eeaae4b7e922600b2715dacde56a98cef3903062,5,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1002.93221,0x2e3d870790dc77a83dd1d18184acc7439a53f475,1001.2474503025 -optimism,curve,1,2022-05-14,0xa3178cf9778f11a12c896e7967a38ab72b2ca043e2f569dc56e7fe58de6d7995,3,0x2e3d870790dc77a83dd1d18184acc7439a53f475,6057.51457069822,0xfb21b70922b9f6e3c6274bcd6cb1aa8a0fe20b80,30000 -ethereum,verse_dex,1,2023-04-04,0x18c614748464c21582bcd495cc7b733b79c229f704175c1148ce38586315979a,152,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00955734414316444,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,16661.729412 -ethereum,verse_dex,1,2023-04-04,0x8ff523946a9fc2f8fde8d15bab4987afaf68ac5af60112dfde75d784ee833a7c,324,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,1.7744202052689952,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000001 -ethereum,clipper,4,2023-04-06,0x3772f0915d742bc2d40fec51d5be6c0f92e511290fea9212d45561ebae61f7f7,156,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,4134.968625,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.175 -ethereum,clipper,4,2023-04-06,0x844d2221065c96722aeb29ff2a412042c41515ce86bede33615e29357fb76d10,118,0xdac17f958d2ee523a2206206994597c13d831ec7,18956.433604,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10 -ethereum,clipper,4,2023-03-30,0x4e4aa9d5238083c16fab7077782dfafd928cd9fc5fe1946230345a6c06393c29,168,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,6.766262249310329856,0xdac17f958d2ee523a2206206994597c13d831ec7,12000 -ethereum,pancakeswap,3,2023-04-02,0x3a0097fcc23266394c9ec6e5cf1dd667e60717b1f92fbc76a5e5e2aa50a430ba,84,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.001637811713,0xdac17f958d2ee523a2206206994597c13d831ec7,3 -ethereum,pancakeswap,3,2023-04-01,0x942d7e8064aa1925e484ad9e38b25b0eea8620aa2b85a42a47b957bcdc5df18b,175,0xdac17f958d2ee523a2206206994597c13d831ec7,0.980006,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1 -bnb,pancakeswap,3,2023-04-02,0x34e2f3b9224779e88f114b4c4a65f1480e9caa66ff85921f9c3bba825ef51f63,266,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.000003526055978,0x55d398326f99059ff775485246999027b3197955,0.1 -bnb,pancakeswap,3,2023-04-02,0x54ce217448356994969038a892c0e7b5613ae237305a8191a95ff0d034321c52,174,0x55d398326f99059ff775485246999027b3197955,0.1933971381,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.1934275369 -bnb,pancakeswap,3,2023-04-02,0x570f6d65a9f3046b184feb4efea90de552b31e6b06c1a04baf645636a3389ca1,265,0x55d398326f99059ff775485246999027b3197955,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.002954374 -ethereum,kyberswap,elastic,2023-03-18,0x294c98fc947bf25331849d24ecc6dda039c293aa36b5046c88a8e677b1621d78,94,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,25060.144,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,12.515483515 -ethereum,kyberswap,elastic,2023-03-15,0x672f52ebebab645191403cfecb43dbb512100552e669288f4fc81174f9bdf587,104,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15081.44,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,8.03308903 -ethereum,kyberswap,elastic,2023-01-09,0xa508a934395ab577132be907912b0d70c1493730696db951fc39e9b4506b9a96,37,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,5.222238778,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,4.767894198 -bnb,onepunchswap,quick,2023-03-03,0xa74ad784d8b0f673cb7ebe659f46d136a6d4a58bbd6386f3c4cc8a3adb064bdd,273,0x55d398326f99059ff775485246999027b3197955,1099.16920747,0xe9e7cea3dedca5984780bafc599bd69add087d56,1100 -bnb,onepunchswap,normal,2023-01-12,0xa723fca3a321586a38c738a1bc221a4e9bf4f5e7732660ae6ffc9d64024ec92d,448,0x55d398326f99059ff775485246999027b3197955,21.499975900000003,0xe9e7cea3dedca5984780bafc599bd69add087d56,22 -arbitrum,kyberswap,elastic,2023-04-11,0xdf4e944f86454b662499e8326333dce6af1c18f9663d1289c89b5d49a18d5e9f,5,0x912ce59144191c1204e64559fe8253a0e49e6548,579.3333333,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.370589731 -arbitrum,kyberswap,elastic,2023-03-11,0xbfd464a0d559cceebbdd20c42ee8a1054de12c936396adbec4bafad9eba60faa,13,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2468.999762,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,1.723592528 -arbitrum,kyberswap,elastic,2023-03-26,0x070e704ea6da35b05c97e2a2f9ccf01136f9bdf6d411da31206a837d373e58ca,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0029,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.145281 -bnb,sushiswap,1,2021-11-01,0xc66fb80242b7c788c2896b3dc8c611203771be9474d18f85cb2032d594de327c,830,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.07525109648,0x049d68029688eabf473097a2fc38ef61633a3c7a,43.351292 -bnb,sushiswap,1,2021-11-01,0xffc3e47949b600ee61d7b3b7b57da6137ed4c55652da396d02ff3ece60bfdd9b,591,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01789196956,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.541071 -polygon,sushiswap,1,2021-06-16,0xc625dc2c5e923afd8469e9e03233d37eab64d627a4e6f221c8b63efcf276523c,179,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.1131447356,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,191.734491 -polygon,sushiswap,1,2021-06-16,0xa727f3165a6e7533cbeecfbe67e4072f8b9a0eec486a4c9976b25b902a1bd6f0,310,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0008197673253,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.388941988 -arbitrum,arbswap,1,2023-04-20,0x33634f26b1e30f11e9e838aff4d9b80aba590b7e606cd098aaf44dff750453f0,26,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,393.359856,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,393.622497 -arbitrum,arbswap,1,2023-04-20,0x7067cf03ac33918acdfdc6e92baa72116fe9fcf8f80a66f50eadb1622b045749,24,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,301.67528,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,301.87521 -arbitrum,arbswap,1,2023-04-20,0x3f0b0b0a16ade0cde73012628a814ee1115191648bd0d194e85a75c8f9f74267,20,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1225.214854,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1226.048896 -avalanche_c,glacier,2,2023-04-22,0x8e5b51477a54c3de4e5850c09f33958ca357baa676bb7342389030bc4ba3e901,5,0x3712871408a829c5cd4e86da1f4ce727efcd28f6,63.768883740248004859,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.1 -avalanche_c,glacier,3,2023-10-11,0x1751558603dd0b89deff0e55ada181d3491079ef14e47ec44e8441be9958d386,51,0x152b9d0FdC40C096757F570A51E494bd4b943E50,0.00003735,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,1 -bnb,thena,1,2023-01-13,0x5e9dbda2365611fd1a32b5b674aa082008194192ce42764e9ba7cb68e81a770f,205,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2832796564,0xf307910a4c7bbc79691fd374889b36d8531b08e3,3794.420108 -bnb,thena,1,2023-03-20,0xce4925f4437a57ca2c81eaa2d9ffe98d3f057e7814517f06011c61706038ec57,54,0x3e0a7c7db7bb21bda290a80c9811de6d47781671,106017.0695,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2878260858 -bnb,thena,1,2023-01-13,0x9ac1353991d2f9b54d9bbe5bf410f572ca49b2cd55f9b21129d2c34d044869d2,70,0xe9e7cea3dedca5984780bafc599bd69add087d56,248.3024372,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.85 -bnb,thena,1,2023-01-11,0x9bef538535e92fcceeaa0d0e53671a96f99b7f4caf3e5571bce376b376ba1792,86,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.02782935491,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.0001 -bnb,thena,1,2023-01-15,0x19c3e71f0813076f8c101040e915ebf57e518b12a34299ba9d901092ce023b47,93,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.300626579,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.656329907 -bnb,thena,fusion,2023-04-25,0xbb4c30455d3d5e8b69d11dfcfa3bf1bcb77822d9f1d34726cba5a6d09e1e9fa2,409,0x55d398326f99059ff775485246999027b3197955,7009.844541,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,7010.638184 -bnb,thena,fusion,2023-04-21,0xc7fc3cd4454421a2f37db49d965be5ab236419988cce54245da9fa38e301a7b7,64,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.82962897,0x55d398326f99059ff775485246999027b3197955,1553.83144 -bnb,thena,fusion,2023-04-22,0xbce3f03c353621d410f8bb396b157c644a03153699cf2821f6fd042225a37044,87,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.491571503,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.504299198 -bnb,thena,fusion,2023-04-23,0x436ade4d35952187e4a045cfbe9495839b1bcf8b26448f3b67dbbdd54636c831,293,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.27418968,0xad29abb318791d579433d831ed122afeaf29dcfe,971.5572125 -bnb,thena,fusion,2023-04-23,0xc0dda2219f7daa1866b234f324dae21abeebae534e5a63378d3c90b039c5ae71,98,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,7.677802518,0x55d398326f99059ff775485246999027b3197955,2535.952589 -bnb,trader_joe,2,2023-03-22,0xac02d1ccbda4a91fd1536f651b8fb4e5f007c2946895b5b79f75172b7d8ffa65,89,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.272454476,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.4238820505 -bnb,trader_joe,2,2023-03-29,0x13ec4185ea44e8bfc20f697d78cdc143857a4b4e5bb4c38912ffa0a6816b8c34,101,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03494438202,0x55d398326f99059ff775485246999027b3197955,10.94292897 -bnb,trader_joe,2,2023-03-30,0x2def8747ff99350ff0aa9fcbfa71a863ad597f430a99ae8a625263f101be0b8a,67,0xf7de7e8a6bd59ed41a4b5fe50278b3b7f31384df,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2773595262 -bnb,trader_joe,2,2023-03-30,0xf0fbd4b3c90627a03e4d5711ba46cc8d34a9b98e7a9e66d956df655107a0744e,152,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.0003537724251,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03171060155 -bnb,trader_joe,2,2023-03-18,0x8a0fb41570066245da48355ec6d29a08d6a7a16078e55992444f0f0e81268d58,310,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00499 -polygon,clipper,coves1,2022-06-03,0x93e44bb7e6ddf344eed6b2b4c5515e3c05b2e446ec31af6872cc682718b060a6,163,0x172370d5cd63279efa6d502dab29171933a610af,0.123367431088796876,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.002702 -polygon,clipper,coves1,2022-06-05,0x3c054758e23b93515785e9c2700043d354d880340e390a7b8b8a98a8b8b2bfe3,159,0x0621d647cecbfb64b79e44302c1933cb4f27054d,90.847377705661993975,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.039663 -polygon,clipper,coves1,2023-03-04,0xa58ec465b5e28a212f86083c0dfeecb154f24f40104445a7990c5c576230e0c3,443,0x6bfce69d1df30fd2b2c8e478edec9daa643ae3b8,5.099499802721257244,0x482bc619ee7662759cdc0685b4e78f464da39c73,713.373882 -arbitrum,clipper,coves1,2022-12-06,0xa0a47ca5f454a5c9d001d03de6563fe0e2a48e16c8723d3c0a26088a7f940f41,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,0.158964119815058764,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.01 -arbitrum,clipper,coves1,2022-12-09,0xc1b08d81333f584ac973dd872bbc77f1d008e772451d7de74a154b57de7f883f,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,15.114099040607641726,0x75c9bc761d88f70156daf83aa010e84680baf131,1815.668906918918325545 -arbitrum,clipper,coves1,2023-03-20,0x2931dbddc1a0871c8ab04e51da506c576e799c0bfdc8a4e779a0dae75c5dfcc3,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,3.119357483899408340,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.553 -polygon,clipper,1,2022-01-26,0x555c31d37b6b77de5edbbaa623761737a33a5b71441d1f909eb8557ab9d7a166,205,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,133.833762,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.051695 -polygon,clipper,1,2022-01-26,0xd41d3a78cf89308068ff7f8e7019c85ad52d9ca67e39df15421d29328075e5ee,106,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.5,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.296711840114860928 -polygon,clipper,1,2022-01-27,0x756a078124017590745a408ed1e73b6fe5c2b2b6173d58ec5a00f5ef335d5b16,681,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,644.744585586146541568,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1027.15 -polygon,clipper,2,2023-05-05,0xb435e13ddd117c716da7a545cee52c0044d13e426ad828a2320f452e28e6af85,133,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21.938739,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,22 -polygon,clipper,2,2023-05-02,0x3a421f0ecb82952458147c5e36a74b3a76b3a19b73b8f12876cba549abe05c89,33,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.89233926939564864,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,1646.45 -polygon,clipper,2,2023-04-30,0xc0d794026723e06e8ed27ac51deea4c6721349cfed72c7adae93a4e25e4bd9cf,103,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,9.9588119216496128,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,10.03 -optimism,clipper,1,2022-02-12,0xd22ecf018e5f53662e338637030fc9b421ca9eb2d0bb8780f82153c3081ad0ce,2,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.980299461242894336,0x4200000000000000000000000000000000000006,0.001 -optimism,clipper,1,2022-02-14,0x76bceae919aa817fd3bfb14752bdf6cc2a9fc2103e95b16e32bdd495751644a0,2,0x4200000000000000000000000000000000000006,0.001993505781816838,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,6 -optimism,clipper,1,2022-06-19,0xdffb84123a6e954f391a44d1a3c045097cdbb9cc8a2d74c29d92fbe84b7a3b91,3,0x4200000000000000000000000000000000000006,0.025954788650449416,0x7f5c764cbc14f9669b88837ca1490cca17c31607,27 -optimism,clipper,2,2023-01-07,0xa9ebe982d106fda99c19deb174e8f4c3ab5cfd86f3a59bd733e6be2a9cc4fce2,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2.95,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.95 -optimism,clipper,2,2023-04-28,0x9858f1003e8e35dfa563531e4af26303fbb4d3e04ef8e56b0e601cf012fb365e,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,174.913443,0x4200000000000000000000000000000000000006,0.092345 -optimism,clipper,2,2023-05-08,0x0a79d12a8a315b8f3bc098e137b9984f64e4f74b8593d15fe7238f0913eae25a,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,100.800922,0x7f5c764cbc14f9669b88837ca1490cca17c31607,100.89 -optimism,clipper,coves1,2022-12-13,0x201e546c8871abf6220934093065e1aac8fab88320f6815cad4e78273e07626b,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.618159001037606673,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,21.3 -optimism,clipper,coves1,2023-03-17,0xdce9dc4b6817b3038e339b0db046d35e602a830023808dad953146f14ea1e076,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.246568672972728249,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.489492 -optimism,clipper,coves1,2023-01-08,0xeaa79d87de38e9f0a5ee5b0ab948dd998a342348f11a35ab63a726054d31b472,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,3.085208524632291028,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,107.717588 -arbitrum,camelot,1,2023-02-10,0x03bad3b7a62d5dcde805ebcf1441e6966fdf66f4d03fabc040955e953b26e8e9,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.09033515213962749,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,249.5412320381824 -arbitrum,camelot,1,2023-02-06,0x04fd14aa1471a9561a66fd804a5c995ec211aa7e96bbcbeb48801efdbdb236d6,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.22457814589748834,0x088cd8f5ef3652623c22d48b1605dcfe860cd704, -arbitrum,camelot,1,2023-02-16,0x0aba2b8e2046b670abd3046e28e55e5fb521b6271d2ec8fb72c54df1f5977079,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.707795125477355,0x51318b7d00db7acc4026c88c3952b66278b6a67f,1759.9819725646116 -arbitrum,camelot,1,2023-02-08,0x317879e802e220cd2b910c2b477406506eff5ef62894344adc9f7e26fa3589e0,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,466.224209,0xba42a714bc9c16be6a1ce5eb66ab4deb3904862a, -arbitrum,camelot,1,2023-02-20,0x2d820ba0c8ee0b2b3dfbe1002520bfd952fd65e6f52217722fdd83ed44b982cb,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.18770390514247653,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,225 -ethereum,xchange,1,2023-06-05,0x46da856ff5390f122260b3ddeff8c84e6471d715722bcec69410859a9dd7a9ce,26,0x70008f18fc58928dce982b0a69c2c21ff80dca54,6177.083844891557065659,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.25809555 -ethereum,xchange,1,2023-06-04,0xb9cf9af8c09ee4b01f7998e4d09b5732e3d59db577453d8f649c3368a5be4723,3,0x7102dc82ef61bfb0410b1b1bf8ea74575bf0a105,16740.414870869491102082,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,349.842891200744390656 -ethereum,xchange,1,2023-06-04,0xdca9e79f3d41644b579994c0e62f73e8741605b85bb9a80fcc6d173180fd891c,26,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,264.386114548212846651,0x7103ebdbf1f89be2d53eff9b3cf996c9e775c105,16740.857191421503408067 -ethereum,xchange,1,2023-06-12,0xf71d8fd364e2402eb11ba7bfbd9b59336e2b075571c1523d119f74a11a1986e3,170,0x117546d1467d80c6bde13910412c724383260cf9,345579.7727468311529198,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -ethereum,xchange,1,2023-06-12,0x7da422240ab88976df8c9694114daf8b8cfc335e1f851a8c175bca99e5e4cdcd,200,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.134508790612232095,0x117546d1467d80c6bde13910412c724383260cf9,477750.8030874053723140 -ethereum,xchange,1,2023-06-12,0x4eba2bbed2a473a3a6b2fbfc1d784940b5157afc285c35aff1200e491ea1346a,115,0xdbc7945c5403c589ec39a9aa8c5af234c706f6a2,14049529527.028758241707276441,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -arbitrum,rubicon,1,2023-06-22,0xd8360d1c435e78ccb4dd69a09a86fcae9cbfd03be22880f375bc63f945f86105,9,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000001,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.045454 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,116,0x55d398326f99059ff775485246999027b3197955,616.3450112,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.4932 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,112,0x55d398326f99059ff775485246999027b3197955,80.43094329,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3252 -bnb,maverick,1,2023-07-11,0xdcabb7f0bf4e3b5dd66cd5920bdac9aff12525bbf19cd6ff1fdaa580c13c91d2,284,0x55d398326f99059ff775485246999027b3197955,39.15345608,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.15791026 -bnb,maverick,1,2023-07-11,0x39e0ca81018ce7c7af3988d7c07b711bd0c388285f53b0d00a215e1aa5da2f33,239,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.007728228509,0x55d398326f99059ff775485246999027b3197955,1.919414559 -bnb,maverick,1,2023-07-11,0x840ba933291c56edf365f610145a3daaddca924d05cdbb854406bfd9e1456c5c,490,0x55d398326f99059ff775485246999027b3197955,0.09150513578,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00037 -bnb,biswap,3,2023-07-04,0xf1e982bbc994157eb9166ff1dd38007563be61732e4d9cf68c9054c06172d914,388,0x55d398326f99059ff775485246999027b3197955,347.9115816,0x965f527d9159dce6288a2219db51fc6eef120dd1,3393.698051 -bnb,biswap,3,2023-07-04,0x374992d7f8a643561b0e2e81fba3476bed551ff56923cdb7249a6ed55f0048f9,62,0x55d398326f99059ff775485246999027b3197955,4250.697313,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,17.322 -bnb,biswap,3,2023-07-04,0x48f8c54608537fd65159b1ddd29816ecb8898d24d8db5d499081dc6d54ff970b,203,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.749781574,0x55d398326f99059ff775485246999027b3197955,918 -bnb,biswap,3,2023-07-04,0xc7eafa7888604093d5519a2781a11ccfc13a3886ff527a2d7994ab149736bc38,111,0x55d398326f99059ff775485246999027b3197955,432.8623893,0x965f527d9159dce6288a2219db51fc6eef120dd1,4211.332437 -bnb,biswap,3,2023-07-04,0x72d5dac9c7a76ac8a22f187904b7426b558679e7e67bf57d445c2843e76b7ce9,353,0x55d398326f99059ff775485246999027b3197955,2067.243048,0x965f527d9159dce6288a2219db51fc6eef120dd1,20000 -arbitrum,clipper,2,2023-08-18,0x1768f47e4c444d7c0ddd57a3443e7d33fac05e50f3fdd2df90ff2668ceec3b84,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.511516502316425216,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.03255 -arbitrum,clipper,2,2023-08-18,0x90e3be5cdf42ec6b3a73ec3d05223eab42838ac30ad5cc74289f794af6b577f2,21,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.846399351080674428,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1414.806453 -arbitrum,clipper,2,2023-08-18,0x6b111ae4d162a9edc797aed817bb7c63c6dc822d1779cb81fa5b059ace8d4d9f,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.10982751402043816,0xaf88d065e77c8cc2239327c5edb3a432268e5831,183.36 -bnb,trader_joe,2.1,2023-07-28,0xb33ad6a6e11af49bab308fdee266792b9f2076ddc0ddda7a67f914a2f16b8556,414,0x55d398326f99059ff775485246999027b3197955,43.56323804,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1813504168 -bnb,trader_joe,2.1,2023-07-28,0xd46f2e27a78eba9f1be4c977d455e6149a5378ff00c09ca688ecbc758a074d46,137,0x55d398326f99059ff775485246999027b3197955,79.36140925,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3298806352 -bnb,trader_joe,2.1,2023-07-28,0x83a45610d0c433efd31036beae942c56f622a8199e06af63504665aa77db5877,213,0x55d398326f99059ff775485246999027b3197955,84.52649753,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3513502969 -bnb,trader_joe,2.1,2023-07-27,0xb82b8d676b6c1ee79634ca1c1cb581061c81c63f028145b67b299ea66d7bb236,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01662917245,0x55d398326f99059ff775485246999027b3197955,3.9994 -bnb,trader_joe,2.1,2023-07-27,0x34e262e0bc312d589c71f35e75bcf77ae849804f46fdb18bec9b32a8b80e48d0,886,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004132442613,0x55d398326f99059ff775485246999027b3197955,0.99985 -arbitrum,pancakeswap,3,2023-08-10,0x5717320a6ee550e52766121090ee54b07b3709f4f0711cc92eebc0ef98254f83,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,11,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005948697782 -arbitrum,pancakeswap,2,2023-08-10,0x827d5b1184f9a6f635ef1a0a114a3c00f9a9ee365270c7650d780fb915803878,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.500654,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0002455680987 -arbitrum,pancakeswap,2,2023-08-10,0x83a33922c2a82f94f34cae0d4db5d5870f96591c1a934966f683f4cdc9b16874,5,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2627488973,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001916379656 -arbitrum,pancakeswap,2,2023-08-10,0xc3e422ff2d453e0f4e4e28a99ceb4ec86b63d7bd3326f79ca7e93c499c74337a,4,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2425571142,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00014 -arbitrum,pancakeswap,2,2023-08-10,0x1958fe5d2b768dff806749c4d029be07fd5a0e182d4de5e2328b84dbfac8520d,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.239277,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001 -arbitrum,pancakeswap,2,2023-08-10,0xb9cda996210e763e0edaa5489a276e96f4db35161b15b95407f95cfd4a8e2c79,10,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.221946,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001257329137 -base,uniswap,3,2023-08-12,0xc04be42e9fe8cfcbaa9aebab27c9b527b692473f89a7f8c0df6f09c8f5573cbc,10,0x8544fe9d190fd7ec52860abbf45088e81ee24a8c,,0x4200000000000000000000000000000000000006, -base,uniswap,3,2023-08-18,0x43c43e6b8316986ab3c14123c0e297e3f47891d1f17d16760cdd9e04be53d967,48,0x4200000000000000000000000000000000000006,,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, -base,sushiswap,1,2023-08-11,0x9a0de02d064c2093c18eb1fcf221c5d2f8ddbb959f152a50953ff7305d7487d3,33,0x4200000000000000000000000000000000000006,,0xeb466342c4d449bc9f53a865d5cb90586f405215, -gnosis,honeyswap,2,2023-08-21,0xe0945f4c866da125593006178aebc47ad709977fa1cef3267f2f393998096208,5,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,56.58785072313919,0x9c58bacc331c9aa871afd802db6379a98e80cedb,0.5544256540774396 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,34,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7,0x3a97704a1b25f08aa230ae53b352e2e72ef52843,0.000001006924689829 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,37,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000026616366730299,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7 -gnosis,honeyswap,2,2023-08-21,0x47b8a32f6fb1c87166640072a6e882be5751c9cf32bbb5bfbc0c6283b135d5c3,45,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000003449911839519,0x524b969793a64a602342d89bc2789d43a016b13a,0.000124343025949923 -gnosis,honeyswap,2,2023-08-21,0xe9a4089db84306526abfab3fd1410a6b55104753b7a2cee09353ca4754bbfff6,9,0xe68856eb29b2fb39699286cca7f10f90ce8ae9de,0.003243743285956065,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.00001 -celo,uniswap,3,2023-07-26,0xb4c714f5f3ada0aab91354ea4f98b81d3f22b99a44bd1120064804375baaf0f1,39,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000000128752079,0x471EcE3750Da237f93B8E339c536989b8978a438,0.0000001651 -celo,uniswap,3,2023-07-24,0xfd97ff672aabdbd57b3ff7f51ec91b3170e946e5c6a93f4486c33b6a8619fac8,22,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000013520104342,0x471EcE3750Da237f93B8E339c536989b8978a438,0.00001732 -celo,uniswap,3,2023-09-01,0xa97e020130d49ce315764b2508064d6ff039f2448f2061bd6ba974179d09303f,12,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.000018520277777,0x471EcE3750Da237f93B8E339c536989b8978a438,0.000046 -celo,uniswap,3,2023-09-03,0x1450d020ee268a70b1794e0bb248604cf30b2f7510c6065e93cd4adaae20cf85,32,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.027461717078225,0x471EcE3750Da237f93B8E339c536989b8978a438,0.07 -celo,uniswap,3,2022-07-08,0x481633031a8e6c30fb13d788ff16bfe294adbc71c0cf7ae291a7798935eb789d,41,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,2.948959733277387,0x765DE816845861e75A25fCA122bb6898B8B1282a,3 -base,aerodrome,1,2023-08-29,0x7d759da49295695ec7cade65a7f8abbdf83d6f639efa03ad73533f46f387375e,21,0x9e53e88dcff56d3062510a745952dec4cefdff9e,949750.9264,0x4200000000000000000000000000000000000006,0.2 -base,aerodrome,1,2023-08-29,0x3c00dfe0b735b6c7f3dd302e41cdb5bc32fa64ce98b958ea2a99e9b868f24976,8,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,16.521567,0x4200000000000000000000000000000000000006,0.01 -base,aerodrome,1,2023-08-29,0x644579f1f66b20b7aacddc4300ea746963ef3c68c37b32d14c7a9f59a92d2151,17,0x9e53e88dcff56d3062510a745952dec4cefdff9e,1.59E+06,0x4200000000000000000000000000000000000006,0.3 -base,aerodrome,1,2023-08-29,0x552ae20fd4164aa9ef2a37616510c7dd54333733578a4af20074e81dc14af8ce,143,0x4200000000000000000000000000000000000006,0.06062542,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,100 -base,aerodrome,1,2023-08-29,0x8e6c892e94a991f843932a8b9af962f448d06c25addca4c608eef800aaf2ab70,16,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,170.841539,0x4200000000000000000000000000000000000006,0.1 -base,pancakeswap,3,2023-08-31,0x5c4a3562d59f1f93dc0957c343e76b35b6e950fe7ad5fbdf076cc22c8da8174e,28,0x4200000000000000000000000000000000000006,0.003720470707,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,6.343995 -base,pancakeswap,3,2023-08-31,0xea7b7bd6c573297654b851fe15360dcd00adb93fdfbff8a9a92335321afe9abf,4,0x4200000000000000000000000000000000000006,0.005807826327,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,9.580012 -base,pancakeswap,3,2023-09-01,0x6d95168e601891640fa88da905543ef7a462558b78ca18bf99db90eb1abc110f,26,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.41335,0x4200000000000000000000000000000000000006,0.0002522152926 -base,pancakeswap,3,2023-09-01,0x640b78e9b17af09de2fc40078be4b4f21b2972f88a9072d7efa409f12bfd5250,452,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2.937885,0x4200000000000000000000000000000000000006,0.001785943443 -base,pancakeswap,3,2023-09-01,0xbc5078838d0be6b2f8622cf083f5d4c9730d4ee634c187ed0c0a6433d134a50e,21,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,10,0x4200000000000000000000000000000000000006,0.006102659752 -base,pancakeswap,2,2023-08-31,0x9a02a20dca2bf9e479728cedbaa40aba6cbff9a0bb39d74acbe697d8f448e0a1,7,0x4200000000000000000000000000000000000006,0.004908297163,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,522.2112531 -base,pancakeswap,2,2023-08-31,0xc3dbd8776badacf03df41d3b465ec8ea39fe3eabd955d3a617f9f389a16dcceb,32,0x4200000000000000000000000000000000000006,0.002061983011,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,236.8625742 -base,pancakeswap,2,2023-09-02,0xdc89e32ecf7ae2bec89917684fc4bfdd67810fd57a5233b08f99c72d82296613,11,0x4200000000000000000000000000000000000006,0.0009771073402,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,1.547626 -base,pancakeswap,2,2023-09-03,0x242eae02b5a66da57e2c3262ef4bac617cfb32b4a040b22bb2cdc516df520de6,5,0x4200000000000000000000000000000000000006,0.0005003577617,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.818416 -base,pancakeswap,2,2023-09-03,0x4bcf24191cfadc78f8d99c300c82fe203814e136cf0c3a628a889c3c0dfcd0b4,4,0x4200000000000000000000000000000000000006,0.0004002484217,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.653942 -celo,mento,1,2023-07-17,0x5da85d08a4baa9c78510bad37fc0cf9ef2045db2aa46e988a0dd82bb8212b2f4,100,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,20.956079931951415,0x471ece3750da237f93b8e339c536989b8978a438,40.605169743968546 -celo,mento,1,2023-07-12,0x3e4cdec526c199a166cf6cb20153c1497e8a644a0a41f1e697e895b9165548e8,20,0x471ece3750da237f93b8e339c536989b8978a438,800.0054,0x765de816845861e75a25fca122bb6898b8b1282a,395.59555761415027 -celo,mento,1,2023-07-09,0x2dd4a8ded11dc1c72ecc777ad46dac15c0d43d8a39c9ba3f27ce14e4484ed79e,9,0x765de816845861e75a25fca122bb6898b8b1282a,96.17799572228877,0x471ece3750da237f93b8e339c536989b8978a438,187.82965109563872 -celo,mento,1,2023-07-13,0x2f7be9a913a12c73eb45713140e4d3952153e90d3e81c26fbdd29726e164fee8,26,0x471ece3750da237f93b8e339c536989b8978a438,6.975571396935835,0x765de816845861e75a25fca122bb6898b8b1282a,3.3358208614857126 -celo,mento,1,2023-07-22,0xa1e3eb8c0b08d483915ddcb2921593cdf8e1a1eaf8ec2679bc5fe9fcbf179e6a,4,0xe8537a3d056da446677b9e9d6c5db704eaab4787,607.0101626243413,0x471ece3750da237f93b8e339c536989b8978a438,256 -celo,mento,2,2023-06-21,0xb91f34e839f46eb834105bab4b66eabe0bf47dd155fc30160da75a452a32d096,83,0x765de816845861e75a25fca122bb6898b8b1282a,445.2967749304183,0x471ece3750da237f93b8e339c536989b8978a438,1030 -celo,mento,2,2023-06-30,0xfd0f315871c06f18b2c6b0debc2a518d199aafae7b83d25567fd68e6dae811e7,106,0x471ece3750da237f93b8e339c536989b8978a438,100.38789463130256,0xe8537a3d056da446677b9e9d6c5db704eaab4787,210.92554896017592 -celo,mento,2,2023-06-21,0x534776eb975e06ff6d31674d397851105049c5dd35962a8f50b505ad45a9bede,133,0xeb466342c4d449bc9f53a865d5cb90586f405215,490.058081,0x765de816845861e75a25fca122bb6898b8b1282a,490.15611234048663 -celo,mento,2,2023-06-10,0x2ca1f551c2d7444069a391bcba4b203d675e68d09db37bbbee90350e55c4c34b,66,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,291.95751633951255,0x471ece3750da237f93b8e339c536989b8978a438,788.89 -celo,mento,2,2023-06-22,0x5e7703f4b32df24f6c5c3539028e09f37bdbd174b00d6da565ecc1c54ba4f39d,58,0x471ece3750da237f93b8e339c536989b8978a438,189.2299185313668,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,76.73486063607002 -base,dodo,2_dpp,2023-08-24,0x8d284b3f21f9fae6bfffa14d0396c735b986accea585fe845d8e34b1e130d349,30,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.08111752951130441,0x4200000000000000000000000000000000000006,135.73585 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,46,0xa8d0e6799ff3fd19c6459bf02689ae09c4d78ba7,4.139726896e-09,0x471ece3750da237f93b8e339c536989b8978a438,1e-08 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,85,0x471ece3750da237f93b8e339c536989b8978a438,0.011131926416824384,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.004629938972936026 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,57,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859808034948372,0x64defa3544c695db8c535d289d843a189aa26b98,0.00031599070221135 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,65,0x98587fa3fe8ae28ace515281c1fec1e992a7f214,0.002284075177457273,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859901297288047 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,79,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.00342165606916204,0x918146359264c492bd6934071c6bd31c854edbc3,0.003661695659348901 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,71,0x918146359264c492bd6934071c6bd31c854edbc3,0.001781202060105895,0x918146359264c492bd6934071c6bd31c854edbc3,2.2958504411753e-05 -optimism,opx_finance,1,2023-09-14,0x2fc2351426e105434af65e0e2f1faa992c7285748e5938133bf03f99aa64a4d0,9,0x7f5c764cbc14f9669b88837ca1490cca17c31607,385.924225,0x4200000000000000000000000000000000000006,0.239356245490566881 -optimism,opx_finance,1,2022-11-04,0x66e3aba1a244fe17e3ff45be045c1318a8957e150e811bc19ecfad0f203b6de0,11,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.936762,0x4200000000000000000000000000000000000006,0.0068 -optimism,opx_finance,1,2023-02-03,0x6c81ff042560bb6583a1646ff37ad07cd4e96594381235c50d836966a544d354,8,0x7f5c764cbc14f9669b88837ca1490cca17c31607,14.070861,0x4200000000000000000000000000000000000042,5 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,29,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468,0x471ece3750da237f93b8e339c536989b8978a438,35.37827374653412 -celo,sushiswap,1,2023-09-15,0xd932e433b0f672f29af0490b5304361095ea3ce2096f824c495dfae5bf72e026,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.008584151286614612,0x471ece3750da237f93b8e339c536989b8978a438,31.755965948104855 -celo,sushiswap,1,2023-09-15,0x157447e41e81e05ba65c69caac7d56200f371a977ee5c841dfeec683317b98fb,38,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.015146900389257045,0x765de816845861e75a25fca122bb6898b8b1282a,23.8728179530718 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.03129519531871116,0x471ece3750da237f93b8e339c536989b8978a438,114.90811086228412 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,23,0x765de816845861e75a25fca122bb6898b8b1282a,15.255434965463113,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,26,0x765de816845861e75a25fca122bb6898b8b1282a,49.42283255941517,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.031295195318706094 -arbitrum,trader_joe,2.1,2023-09-27,0xa0c3a8baeb889f57962e1f90f02878c52bc2703923ea44d6c32b54ac85a182fa,4,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1000.850315,0xaf88d065e77c8cc2239327c5edb3a432268e5831,999.9975 -arbitrum,trader_joe,2,2023-02-25,0x0089a8b75a142474502974fa9a69d69bf007d7fcd760df9e78e1e38cdc63a8bd,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.119172119245068251,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,748.500000000000004917 -ethereum,mauve,1,2023-09-14,0x9287ef89d064846c961ae2102b32cf1327bc5b26bde1ae0f9c884f6dec6b73e9,485,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.05361889288401018,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0.05 -ethereum,mauve,1,2023-09-13,0x7f71f44e295edd95a55425e96e8a05e5059908f2cabbe53497b7657037ac6c31,102,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.007446710798914315 -ethereum,mauve,1,2023-09-14,0xcc62f06a8c9b4351ebb510d178fc68fe946bba1cd05244db92de76fd62a824b7,200,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,16.83761,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,mauve,1,2023-09-14,0x94993dbf07f4ef0bf38a15a303182a3dbd0ef4525f09c4be0f2babbb5be2e2aa,236,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,1758.083836,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1850 -optimism,openxswap,1,2023-02-24,0xaed44713142d008b7771dbd844dc04996fdf84d2a759b18000fbbd1cedda9ee2,7,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,2234.6467852361957,0x4200000000000000000000000000000000000006,0.30264897056 -optimism,openxswap,1,2023-02-24,0x2ab499560940eec712e662231d9a0dc39199c592ee4f651cfc5fe26ae60ded20,13,0x4200000000000000000000000000000000000006,1.0286444738988605,0x4200000000000000000000000000000000000042,544.7762488522358 -optimism,openxswap,1,2023-04-15,0x4083325e7db95f35ef9e425ee7cf550ca7504af92355f214af8071d70659a9df,8,0x4200000000000000000000000000000000000006,0.004769354772713511,0x7f5c764cbc14f9669b88837ca1490cca17c31607,9.994 -arbitrum,camelot,3,2023-10-15,0x939231c21d47605a86fce8536da3cfb556a7ca4334e3f1963a23006633597f03,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01 -arbitrum,camelot,3,2023-10-15,0xe12624f375d78828270cf0b84757b6c1e3fd2a8efddb3c25cac301fe5bfb71ae,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.168 -arbitrum,camelot,3,2023-10-15,0x810b6259d2171ca029a3ddb86dfbf682a9306443424082198afe63050fc699a9,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.02553995037289231,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee, -optimism,wardenswap,2,2022-09-21,0x2c44ca40b62d3154a01796de00696cba3a3247ab5124ddd263165cf4b470fc4c,43,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,529.0905775854186,0x4200000000000000000000000000000000000006,0.4280560649800964 -optimism,wardenswap,2,2022-07-27,0xd025c68690340c035e9b9b5e3d53435c2f301a3f9e6a7bdceb7cb9a82bf28174,20,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,16.093947010513283,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,270 -optimism,wardenswap,2,2022-06-26,0x2084856c984f51a9a9bd377bfbc6ce78be410cc8c9b2836282b83b1dc2b2d677,16,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1393.326394,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1397.048637 -optimism,openocean,2,2023-09-04,0x1c2bc7857ce9acd8d6b018eea4b2e2affbda61e56916161b4348ef0603ff7935,23,0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6,82.11154686585886,0x7f5c764cbc14f9669b88837ca1490cca17c31607,500.376315 -optimism,openocean,2,2023-06-30,0x4a823ca5c73264723a1326c9d3dedd0f1b2bbbc446e7f2c71ac5c998234b8ca2,9,0x1db2466d9f5e10d7090e7152b68d62703a2245f0,14.714535262567255,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2 -optimism,openocean,2,2022-08-03,0x13875f629d4c608d034411333bf0f0095fb6ac41c219163ed8d359805a63fa05,25,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,11.319842,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.265711412351504 -celo,curve,1,2023-10-17,0x4cef035b424859b5d61b1da3c2f03febd83f03083c764fa1af860bf4e26d28b3,16,0x37f750b7cc259a2f741af45294f6a16572cf5cad,118810.850166,0x765de816845861e75a25fca122bb6898b8b1282a,118999.79999999999 -celo,curve,1,2023-10-15,0x0a524624a533492b91c1204004589225f697d37bf63af60fde884b226e8b1f26,14,0x37f750b7cc259a2f741af45294f6a16572cf5cad,10.329967,0x765de816845861e75a25fca122bb6898b8b1282a,10.34099704814135 -celo,curve,1,2023-10-16,0xba430c475c9ee7e8bd17c760f6a7833b0779781092033de73ca1bf3f7e86e7f8,43,0x37f750b7cc259a2f741af45294f6a16572cf5cad,5.189966,0x765de816845861e75a25fca122bb6898b8b1282a,5.197918504908161 -celo,curve,1,2023-10-15,0x28500eb8fe60219ee750bbea028e4ace3259aae1f350727c97311be3ac579dd4,13,0x37f750b7cc259a2f741af45294f6a16572cf5cad,432.240793,0x765de816845861e75a25fca122bb6898b8b1282a,432.6936029057536 -optimism,openocean,2,2023-05-30,0xc97e676905d6d2763fa55ac9aac6d6d85f6597901cf34711d6b65981b0cb0f75,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.193448,0x4200000000000000000000000000000000000006,0.00167453389173889 -optimism,openocean,2,2023-11-07,0xde2d7e6f02cfce8eb8a1bb752ce956cfcf81b7bf8380490bcdfeab9694b4e5ad,15,0x8700daec35af8ff88c16bdf0418774cb3d7599b4,2.9738578135579843,0x4200000000000000000000000000000000000006,0.003958725899153863 -optimism,openocean,2,2023-07-31,0x92188637370c0bf3595ae4bef248db90f43167483320fc9b21adb016cfb84e76,81,0x8b21e9b7daf2c4325bf3d18c1beb79a347fe902a,1438.894027919516,0x4200000000000000000000000000000000000042,14.86875 -base,maverick,1,2023-10-24,0xf76389f7730beb6a51a3e1881b0a9139fe8ec07d8403061fd52d5aaf1357ad00,12,0x50c5725949a6f0c72e6c4a641f24049a917db0cb,2955.014794642196128309,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2954.059434 -optimism,woofi,1,2023-06-21,0x2e968976942bbbd2a843a1b3d2b8c344f4f0b705d6e8d1d3742078b6fab28b10,38,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.628553,0x4200000000000000000000000000000000000006,0.0009 -optimism,woofi,1,2023-07-30,0x58b21db3dc2a145b8c844471310eebdc85fdf3ec8820d4a6ea526bc1f735aec0,15,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.102243,0x4200000000000000000000000000000000000042,0.06525080616397874 -optimism,woofi,1,2023-06-07,0x203dbe62e1896dc9892dae69e7c4dbdc7c491d775923fb44a094c45b916a9946,12,0x4200000000000000000000000000000000000042,8.853725019194362,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.180901 -zksync,maverick,1,2023-10-23,0xbe2700aac1174728513863a4f42d37aa9ac7a7d73389fa00a5abcfbd3570d5a6,4,0x2039bb4116B4EFc145Ec4f0e2eA75012D6C0f181,1.723727835619188444,0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4,1.7232 -arbitrum,1inch LOP,1,2021-09-24,0xfaebdcb7948f7141d05709373681b0e04c0672051b072db49268066c5ed146b6,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.308879 -arbitrum,1inch LOP,2,2021-12-10,0x1c7b1db733029cdfefa5d33372061dcf392e6ddd668774306f7e80c6057d9631,1,0x0e15258734300290a651fdbae8deb039a8e7a2fa,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.63023 -arbitrum,1inch LOP,3,2022-11-25,0x5c8b58d7b37384216431a6fd41f424f1a750b4cb28c0a891d313454590cb1046,1,0xbfa641051ba0a0ad1b0acf549a89536a0d76472e,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1 -arbitrum,1inch LOP,3 RFQ,2023-04-26,0x51b8f0aeaa4944927bf2c1c4c8c379fcfb7e7a3cdcd5389a424d8cecdb1a9b4e,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005639386973373932,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.995641 -avalanche_c,1inch LOP,2,2022-01-18,0x17648dc902706d6d6e169087fdd0d5d9ed9c0a13a568ec8a48051f0b1ba5c908,1,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,5,0xc7198437980c041c805a1edcba50c1ce5db95118,4.992058 -avalanche_c,1inch LOP,2 RFQ,2022-01-24,0xb2b5c36e970b5b7bcdc90cfe4f62200c2f3f30cbdbfc05dbaea5d1539ad6280c,1,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.02,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,47.776 -avalanche_c,1inch LOP,3,2022-11-30,0x7f208a0a570fb7276214dc4db47080a2aa90447fc7e5113ee3bda6cf694f7b0f,1,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,7.724e-05,0xc7198437980c041c805a1edcba50c1ce5db95118,0.001 -base,1inch LOP,3,2023-08-16,0x30231210e1afdc76c1cddd2576a52aa1ea98457297e62c902a7a5aa5bd7e9791,1,0x4200000000000000000000000000000000000006,0.001,0xeb466342c4d449bc9f53a865d5cb90586f405215,1.823264 -bnb,1inch LOP,1,2021-06-03,0x660036450cb8728a2ac5f2deb22bff8758af26aa099d4d0dbbae609093f47795,1,0x111111111117dc0aa78b770fa6a738034120c302,0.01,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.240829737963e-05 -bnb,1inch LOP,1 RFQ,2021-06-07,0x0205753c08d2642e2a12525ac0949d078a99e02ee87e559456245be24dc6803a,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,3.8,0x111111111117dc0aa78b770fa6a738034120c302,1 -bnb,1inch LOP,2,2021-12-06,0x9d7783360204258b9f2307f4ce4970f8de2a6d67db9b0b6215b9a0dcc39d0eff,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,2.1,0x111111111117dc0aa78b770fa6a738034120c302,0.5 -bnb,1inch LOP,2 RFQ,2021-11-10,0x582066cd36fe1535334a05de5203025a0abadb6d2fb07542dba06d79b9fcb121,1,0x55d398326f99059ff775485246999027b3197955,2e-14,0xe9e7cea3dedca5984780bafc599bd69add087d56,1e-14 -bnb,1inch LOP,3,2022-11-21,0x76952e9657a210fa51de9d0caf38cb66a4e594b8963790e9e282321b0608d560,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,1 -bnb,1inch LOP,3 RFQ,2023-04-26,0x25086a72ce6a3cf12f836808a97c05432dae39fe74947fa2b9d0129bb47cceea,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,188.91263865081478,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.09669320051055542 -ethereum,1inch LOP,1,2021-06-08,0x7430839c7a467a4946b2723bdb8d54d4bfeb72a54fbee988a184fc6ccee0c8fe,1,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005705137173652603 -ethereum,1inch LOP,1 RFQ,2021-06-24,0x17eedf52cd16e9a2a6cf7dcd0ea60f07b25d9b972564542b702cd86301270bc4,1,0x6b175474e89094c44da98b954eedeac495271d0f,1.23e-16,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.23e-16 -ethereum,1inch LOP,2,2021-12-09,0x72e2bd374bad0f3ba7844edb0ddabcd3bf2b0b04c082e9eafc2e1e705d6d111a,1,0x111111111117dc0aa78b770fa6a738034120c302,1,0x888888435fde8e7d4c54cab67f206e4199454c60,1.8550742510066875 -ethereum,1inch LOP,2 RFQ,2021-11-12,0x3069e869f54a593d282f6d72e78c16638555bbb460ce09376f3b969a49740eb9,1,0xdac17f958d2ee523a2206206994597c13d831ec7,100,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0217122261545476 -ethereum,1inch LOP,3,2022-11-15,0xd6f31e37e9a2bdf79f9e08a3a1aff7aa27b6f33fad8e34506930058f944944eb,1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000794199483325101,0x6b175474e89094c44da98b954eedeac495271d0f,1 -ethereum,1inch LOP,3 RFQ,2022-11-28,0x6daff653b30efeda718d49eb9b6e30b42298603dba0722bbb035f797ef8420bc,1,0x4d224452801aced8b2f0aebe155379bb5d594381,919.1542838365331,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3799.290434 -fantom,1inch LOP,2 RFQ,2022-04-12,0x23a0a583070aedd2ab9a8dd8984b431751469932d6423cedada0a550b25a266f,1,0x049d68029688eabf473097a2fc38ef61633a3c7a,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,16.89972442886853 -fantom,1inch LOP,3,2022-11-20,0x60219b7e2fea63be636203aa8feaeaae96edd76514aebe8042cd23204ac522e7,1,0x04068da6c83afcfa0e13ba15a6696662335d5b75,0.999842,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,1 -gnosis,1inch LOP,2,2022-01-17,0xb0bfe04bdc2a2492173d561b19bbba1ccb0fda47050e6c3b25244e133e1e6977,1,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,1.9896530579786145 -gnosis,1inch LOP,3,2022-11-25,0xd94d1559f1c5bf2647da93659003d2dfab158ead080b79837c5a28e9d9160c7b,1,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2 -optimism,1inch LOP,2,2022-08-09,0xdb2a1b694452ef009cf8899ad6e8bae2b18c84fc75e293a9508a5633bda26f79,1,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,1.3430288208555679 -optimism,1inch LOP,3,2022-11-25,0x7a40bb7f50e59c5e673afe94e8733494243acd0877d227a809aa9ba1c16ba33d,1,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1,0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc,12 -polygon,1inch LOP,1,2021-06-10,0x4ec29b58b188d26022191edd51af35f155b9edec5e79303fd78b3aef0400e8bb,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,8,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,2.6666666666666665 -polygon,1inch LOP,1 RFQ,2021-06-21,0x30e49b6e23145b5904bc1cd776a65ad2309e61e95c00c0b452cbf578e957b2aa,1,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,20,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.010257304255126252 -polygon,1inch LOP,2,2021-12-16,0x9f883ed622c357df0756ea6552c525b1fef3ccdd785772a0a27acb3e83b147a9,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.612715402673482,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.61342 -polygon,1inch LOP,2 RFQ,2022-04-08,0x7f4d4290f3b5fd42d8c148457aa0c5b0ae5ad6a52f538eb7d1f611a6551224a1,1,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,15,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,22.0248 -polygon,1inch LOP,3,2022-11-16,0x4367e740ccdaf64bb9300d64ce071c691ecc305c2f1ac5aff3f7ba3fe19f82c8,1,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0747847780830808,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,1inch LOP,3 RFQ,2022-11-24,0x5fc98b8f538e6258f554039c182aa9094b2d3f83293812ad86a8ec8ffe122092,1,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.02,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,0.01 -zksync,1inch LOP,3,2023-04-25,0xce890512f93dd7d2f1576214025a384a7e4d77d0696f7586b08aa7f2abbb3666,1,0x85d84c774cf8e9ff85342684b0e795df72a24908,473.99490916145186,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.021538506874320695 -zksync,1inch LOP,3 RFQ,2023-05-02,0x96a6f0a3b6dca895ae56ad55b14366f9ec0993409754caad26c0921598beebf8,1,0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4,42.322852,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.023143049624060132 -avalanche_c,uniswap,3,2023-11-11,0x3fd0df30055592268a66399a4d958ae6aaa957cab7442c0ecc60d7257a156261,7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,497.409883,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,34.17977416 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,14,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1379.142478 -avalanche_c,uniswap,3,2023-11-11,0x79cc2e2b8543ae7b5215f9f389069106061efc619fa23437b5662d81fac2d8dc,2,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,661.400762,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,46 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,16,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.6729956329,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643 -avalanche_c,uniswap,3,2023-11-11,0x41b6ec0e3ba96f6c72bab7954353152ba44904bd61232f91e824c9a74495b1e4,2,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,600.415091,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,41.78982883 -optimism,mummy_finance,1,2023-06-20,0xcb520a60a0eae0a5a7b9e5658345151a370ef9c236072db32d9b3212ee24a496,36,0x4200000000000000000000000000000000000042,793.6112352289659,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1048.751532 -optimism,mummy_finance,1,2023-06-30,0x671265ebe5dd61134633adf575ba80faec6be090271351ad79fed7c0f5468d50,65,0x4200000000000000000000000000000000000006,0.37616451992981625,0x4200000000000000000000000000000000000042,525.2047826760436 -optimism,mummy_finance,1,2023-06-09,0xd7cadb14f39a79bf0ca3ea0ebf9aa85caa1465da154010294ee502942a8de5d4,21,0x4200000000000000000000000000000000000006,1.530834771081591,0x4200000000000000000000000000000000000042,2097.160814236567 -optimism,hashflow,1,2023-04-13,0x0c2c4ed714220d38b0f93b13398e7bd7454120a07a1188095a740afc055e85dd,5,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,1.0942802244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.0945 -optimism,hashflow,1,2023-07-26,0xc5237e5f00c0f8059bf9d21edca6f541fdd3e11331e0204aa3792be7d71742f8,54,0x4200000000000000000000000000000000000006,0.22758095181286583,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,425.593457 -optimism,hashflow,1,2022-10-26,0xa4cc224376e71b43c83a9913f466986d2b51f0b0bd5e6102d2e93ade474991d8,1,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.999996,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1 -avalanche_c,trader_joe,2.1,2023-08-17,0x3eccbee27f56c671eccd2ad82fca3b0448053d8d978a2003025817529b33c47a,5,0xc7198437980c041c805a1edcba50c1ce5db95118,154.777492,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,154.714055 -avalanche_c,trader_joe,2.1,2023-08-17,0xd74525e25428aa4d32f129511ed8349516aeff791691277551663ad944fafeed,2,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,100.00000003864702,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1120.132837 -avalanche_c,trader_joe,2.1,2023-08-17,0xbacddb47282c250d7126995a0a32a77e2be8c98e69b85c7dd3ef9cdb295b5084,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,8.961454748219834,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,99.979979 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,14,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7427.555309,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,672.1804038165711 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,13,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,0.847235,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.07651931900157347 From 2948a9b0a6b225d333c7119b1fb2527b6090402b Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 18:00:53 -0400 Subject: [PATCH 30/63] move generic tests --- {tests => dex/tests}/generic/check_dex_aggregator_seed.sql | 0 {tests => dex/tests}/generic/check_dex_base_trades_seed.sql | 0 {tests => dex/tests}/generic/check_dex_info_relationship.sql | 0 {tests => dex/tests}/generic/check_dex_pools_seed.sql | 0 {tests => dex/tests}/generic/check_dex_seed.sql | 0 {tests => dex/tests}/generic/dex_trades_token_bought.sql | 0 .../tests/generic}/zeroex_ethereum_fills_deduped_test.sql | 0 .../ethereum => dex/tests/generic}/zeroex_ethereum_fills_test.sql | 0 .../ethereum => dex/tests/generic}/zeroex_ethereum_nft_test.sql | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename {tests => dex/tests}/generic/check_dex_aggregator_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_base_trades_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_info_relationship.sql (100%) rename {tests => dex/tests}/generic/check_dex_pools_seed.sql (100%) rename {tests => dex/tests}/generic/check_dex_seed.sql (100%) rename {tests => dex/tests}/generic/dex_trades_token_bought.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_fills_deduped_test.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_fills_test.sql (100%) rename {tests/generic/ethereum => dex/tests/generic}/zeroex_ethereum_nft_test.sql (100%) diff --git a/tests/generic/check_dex_aggregator_seed.sql b/dex/tests/generic/check_dex_aggregator_seed.sql similarity index 100% rename from tests/generic/check_dex_aggregator_seed.sql rename to dex/tests/generic/check_dex_aggregator_seed.sql diff --git a/tests/generic/check_dex_base_trades_seed.sql b/dex/tests/generic/check_dex_base_trades_seed.sql similarity index 100% rename from tests/generic/check_dex_base_trades_seed.sql rename to dex/tests/generic/check_dex_base_trades_seed.sql diff --git a/tests/generic/check_dex_info_relationship.sql b/dex/tests/generic/check_dex_info_relationship.sql similarity index 100% rename from tests/generic/check_dex_info_relationship.sql rename to dex/tests/generic/check_dex_info_relationship.sql diff --git a/tests/generic/check_dex_pools_seed.sql b/dex/tests/generic/check_dex_pools_seed.sql similarity index 100% rename from tests/generic/check_dex_pools_seed.sql rename to dex/tests/generic/check_dex_pools_seed.sql diff --git a/tests/generic/check_dex_seed.sql b/dex/tests/generic/check_dex_seed.sql similarity index 100% rename from tests/generic/check_dex_seed.sql rename to dex/tests/generic/check_dex_seed.sql diff --git a/tests/generic/dex_trades_token_bought.sql b/dex/tests/generic/dex_trades_token_bought.sql similarity index 100% rename from tests/generic/dex_trades_token_bought.sql rename to dex/tests/generic/dex_trades_token_bought.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_fills_deduped_test.sql b/dex/tests/generic/zeroex_ethereum_fills_deduped_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_fills_deduped_test.sql rename to dex/tests/generic/zeroex_ethereum_fills_deduped_test.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_fills_test.sql b/dex/tests/generic/zeroex_ethereum_fills_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_fills_test.sql rename to dex/tests/generic/zeroex_ethereum_fills_test.sql diff --git a/tests/generic/ethereum/zeroex_ethereum_nft_test.sql b/dex/tests/generic/zeroex_ethereum_nft_test.sql similarity index 100% rename from tests/generic/ethereum/zeroex_ethereum_nft_test.sql rename to dex/tests/generic/zeroex_ethereum_nft_test.sql From 6f578f62402a725a20eacb4dea5661f6d36afed0 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Wed, 12 Jun 2024 18:55:33 -0400 Subject: [PATCH 31/63] move project views, fix compile errors --- .../_projects}/aerodrome/aerodrome_trades.sql | 0 .../_projects}/airswap/airswap_trades.sql | 0 .../_projects}/apeswap/apeswap_trades.sql | 0 .../_projects}/arbswap/arbswap_trades.sql | 0 .../_projects}/babyswap/babyswap_trades.sql | 0 .../balancer/trades/arbitrum/_schema.yml | 0 .../arbitrum/balancer_arbitrum_trades.sql | 0 .../arbitrum/balancer_v2_arbitrum_trades.sql | 8 +- .../balancer/trades/avalanche_c/_schema.yml | 0 .../balancer_avalanche_c_trades.sql | 0 .../balancer_v2_avalanche_c_trades.sql | 8 +- .../balancer/trades/balancer_trades.sql | 0 .../balancer/trades/base/_schema.yml | 0 .../trades/base/balancer_base_trades.sql | 0 .../trades/base/balancer_v2_base_trades.sql | 8 +- .../balancer/trades/ethereum/_schema.yml | 0 .../ethereum/balancer_ethereum_trades.sql | 0 .../ethereum/balancer_v1_ethereum_trades.sql | 0 .../ethereum/balancer_v2_ethereum_trades.sql | 8 +- .../balancer/trades/gnosis/_schema.yml | 0 .../trades/gnosis/balancer_gnosis_trades.sql | 0 .../gnosis/balancer_v2_gnosis_trades.sql | 8 +- .../balancer/trades/optimism/_schema.yml | 0 .../optimism/balancer_optimism_trades.sql | 0 .../optimism/balancer_v2_optimism_trades.sql | 8 +- .../balancer/trades/polygon/_schema.yml | 0 .../polygon/balancer_polygon_trades.sql | 0 .../polygon/balancer_v2_polygon_trades.sql | 8 +- .../balancer/trades/zkevm/_schema.yml | 0 .../trades/zkevm/balancer_v2_zkevm_trades.sql | 8 +- .../trades/zkevm/balancer_zkevm_trades.sql | 0 .../_projects}/bancor/bancor_trades.sql | 0 .../beethoven_x/beethoven_x_trades.sql | 0 .../_projects}/biswap/biswap_trades.sql | 0 .../_projects}/camelot/camelot_trades.sql | 0 .../carbon_defi/carbon_defi_trades.sql | 0 .../_projects}/clipper/clipper_trades.sql | 0 .../_projects}/curvefi/curvefi_trades.sql | 0 .../_projects}/defiswap/defiswap_trades.sql | 0 .../_projects/dex_trades_views_schema.yml | 2 +- .../models/_projects}/dfx/dfx_trades.sql | 0 .../models/_projects}/dodo/dodo_trades.sql | 0 .../ellipsis_finance_trades.sql | 0 .../_projects}/equalizer/equalizer_trades.sql | 0 .../_projects}/fraxswap/fraxswap_trades.sql | 0 .../_projects}/glacier/glacier_trades.sql | 0 .../models/_projects}/gmx/gmx_trades.sql | 0 .../_projects}/hashflow/hashflow_trades.sql | 0 .../_projects}/honeyswap/honeyswap_trades.sql | 0 .../_projects}/integral/integral_trades.sql | 0 .../_projects}/iziswap/iziswap_trades.sql | 0 .../_projects}/kyberswap/kyberswap_trades.sql | 0 .../models/_projects}/mauve/mauve_trades.sql | 0 .../_projects}/maverick/maverick_trades.sql | 0 .../models/_projects}/mdex/mdex_trades.sql | 0 .../_projects}/mstable/mstable_trades.sql | 0 .../mummy_finance/mummy_finance_trades.sql | 0 .../_projects}/nomiswap/nomiswap_trades.sql | 0 .../onepunchswap/onepunchswap_trades.sql | 0 .../_projects}/openocean/openocean_trades.sql | 0 .../_projects}/openxswap/openxswap_trades.sql | 0 .../opx_finance/opx_finance_trades.sql | 0 .../pancakeswap/pancakeswap_trades.sql | 0 .../platypus_finance_trades.sql | 0 .../_projects}/quickswap/quickswap_trades.sql | 0 .../_projects}/rubicon/rubicon_trades.sql | 0 .../_projects}/shibaswap/shibaswap_trades.sql | 0 .../spartacus_exchange_trades.sql | 0 .../spiritswap/spiritswap_trades.sql | 0 .../spookyswap/spookyswap_trades.sql | 0 .../_projects}/sushiswap/sushiswap_trades.sql | 0 .../models/_projects}/swapr/swapr_trades.sql | 0 .../_projects}/synthetix/synthetix_trades.sql | 0 .../models/_projects}/thena/thena_trades.sql | 0 .../trader_joe/trader_joe_trades.sql | 0 .../_projects}/ubeswap/ubeswap_trades.sql | 0 .../_projects}/velodrome/velodrome_trades.sql | 0 .../_projects}/verse_dex/verse_dex_trades.sql | 0 .../wardenswap/wardenswap_trades.sql | 0 .../_projects}/wigoswap/wigoswap_trades.sql | 0 .../_projects}/wombat/wombat_trades.sql | 0 .../models/_projects}/woofi/woofi_trades.sql | 0 .../_projects}/xchange/xchange_trades.sql | 0 .../_projects}/zigzag/zigzag_trades.sql | 0 .../_projects}/zipswap/zipswap_trades.sql | 0 .../balancer/pools/optimism/_schema.yml | 3 +- .../ethereum/cow_protocol_ethereum_schema.yml | 167 +----------------- .../gnosis/cow_protocol_gnosis_schema.yml | 54 +----- .../balancer_v2/labels_balancer_v2_schema.yml | 9 + sources/_subprojects/spellbook/_sources.yml | 24 +++ 90 files changed, 70 insertions(+), 253 deletions(-) rename {models/_project => dex/models/_projects}/aerodrome/aerodrome_trades.sql (100%) rename {models/_project => dex/models/_projects}/airswap/airswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/apeswap/apeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/arbswap/arbswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/babyswap/babyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/balancer_arbitrum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/balancer_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/balancer_base_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/base/balancer_v2_base_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_ethereum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/balancer_gnosis_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/balancer_optimism_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/optimism/balancer_v2_optimism_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/balancer_polygon_trades.sql (100%) rename {models/_project => dex/models/_projects}/balancer/trades/polygon/balancer_v2_polygon_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/_schema.yml (100%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql (93%) rename {models/_project => dex/models/_projects}/balancer/trades/zkevm/balancer_zkevm_trades.sql (100%) rename {models/_project => dex/models/_projects}/bancor/bancor_trades.sql (100%) rename {models/_project => dex/models/_projects}/beethoven_x/beethoven_x_trades.sql (100%) rename {models/_project => dex/models/_projects}/biswap/biswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/camelot/camelot_trades.sql (100%) rename {models/_project => dex/models/_projects}/carbon_defi/carbon_defi_trades.sql (100%) rename {models/_project => dex/models/_projects}/clipper/clipper_trades.sql (100%) rename {models/_project => dex/models/_projects}/curvefi/curvefi_trades.sql (100%) rename {models/_project => dex/models/_projects}/defiswap/defiswap_trades.sql (100%) rename models/_project/_schema.yml => dex/models/_projects/dex_trades_views_schema.yml (99%) rename {models/_project => dex/models/_projects}/dfx/dfx_trades.sql (100%) rename {models/_project => dex/models/_projects}/dodo/dodo_trades.sql (100%) rename {models/_project => dex/models/_projects}/ellipsis_finance/ellipsis_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/equalizer/equalizer_trades.sql (100%) rename {models/_project => dex/models/_projects}/fraxswap/fraxswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/glacier/glacier_trades.sql (100%) rename {models/_project => dex/models/_projects}/gmx/gmx_trades.sql (100%) rename {models/_project => dex/models/_projects}/hashflow/hashflow_trades.sql (100%) rename {models/_project => dex/models/_projects}/honeyswap/honeyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/integral/integral_trades.sql (100%) rename {models/_project => dex/models/_projects}/iziswap/iziswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/kyberswap/kyberswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/mauve/mauve_trades.sql (100%) rename {models/_project => dex/models/_projects}/maverick/maverick_trades.sql (100%) rename {models/_project => dex/models/_projects}/mdex/mdex_trades.sql (100%) rename {models/_project => dex/models/_projects}/mstable/mstable_trades.sql (100%) rename {models/_project => dex/models/_projects}/mummy_finance/mummy_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/nomiswap/nomiswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/onepunchswap/onepunchswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/openocean/openocean_trades.sql (100%) rename {models/_project => dex/models/_projects}/openxswap/openxswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/opx_finance/opx_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/pancakeswap/pancakeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/platypus_finance/platypus_finance_trades.sql (100%) rename {models/_project => dex/models/_projects}/quickswap/quickswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/rubicon/rubicon_trades.sql (100%) rename {models/_project => dex/models/_projects}/shibaswap/shibaswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/spartacus_exchange/spartacus_exchange_trades.sql (100%) rename {models/_project => dex/models/_projects}/spiritswap/spiritswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/spookyswap/spookyswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/sushiswap/sushiswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/swapr/swapr_trades.sql (100%) rename {models/_project => dex/models/_projects}/synthetix/synthetix_trades.sql (100%) rename {models/_project => dex/models/_projects}/thena/thena_trades.sql (100%) rename {models/_project => dex/models/_projects}/trader_joe/trader_joe_trades.sql (100%) rename {models/_project => dex/models/_projects}/ubeswap/ubeswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/velodrome/velodrome_trades.sql (100%) rename {models/_project => dex/models/_projects}/verse_dex/verse_dex_trades.sql (100%) rename {models/_project => dex/models/_projects}/wardenswap/wardenswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/wigoswap/wigoswap_trades.sql (100%) rename {models/_project => dex/models/_projects}/wombat/wombat_trades.sql (100%) rename {models/_project => dex/models/_projects}/woofi/woofi_trades.sql (100%) rename {models/_project => dex/models/_projects}/xchange/xchange_trades.sql (100%) rename {models/_project => dex/models/_projects}/zigzag/zigzag_trades.sql (100%) rename {models/_project => dex/models/_projects}/zipswap/zipswap_trades.sql (100%) diff --git a/models/_project/aerodrome/aerodrome_trades.sql b/dex/models/_projects/aerodrome/aerodrome_trades.sql similarity index 100% rename from models/_project/aerodrome/aerodrome_trades.sql rename to dex/models/_projects/aerodrome/aerodrome_trades.sql diff --git a/models/_project/airswap/airswap_trades.sql b/dex/models/_projects/airswap/airswap_trades.sql similarity index 100% rename from models/_project/airswap/airswap_trades.sql rename to dex/models/_projects/airswap/airswap_trades.sql diff --git a/models/_project/apeswap/apeswap_trades.sql b/dex/models/_projects/apeswap/apeswap_trades.sql similarity index 100% rename from models/_project/apeswap/apeswap_trades.sql rename to dex/models/_projects/apeswap/apeswap_trades.sql diff --git a/models/_project/arbswap/arbswap_trades.sql b/dex/models/_projects/arbswap/arbswap_trades.sql similarity index 100% rename from models/_project/arbswap/arbswap_trades.sql rename to dex/models/_projects/arbswap/arbswap_trades.sql diff --git a/models/_project/babyswap/babyswap_trades.sql b/dex/models/_projects/babyswap/babyswap_trades.sql similarity index 100% rename from models/_project/babyswap/babyswap_trades.sql rename to dex/models/_projects/babyswap/babyswap_trades.sql diff --git a/models/_project/balancer/trades/arbitrum/_schema.yml b/dex/models/_projects/balancer/trades/arbitrum/_schema.yml similarity index 100% rename from models/_project/balancer/trades/arbitrum/_schema.yml rename to dex/models/_projects/balancer/trades/arbitrum/_schema.yml diff --git a/models/_project/balancer/trades/arbitrum/balancer_arbitrum_trades.sql b/dex/models/_projects/balancer/trades/arbitrum/balancer_arbitrum_trades.sql similarity index 100% rename from models/_project/balancer/trades/arbitrum/balancer_arbitrum_trades.sql rename to dex/models/_projects/balancer/trades/arbitrum/balancer_arbitrum_trades.sql diff --git a/models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql b/dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql similarity index 93% rename from models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql rename to dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql index 2baa6afd2b2..0aeeed435c5 100644 --- a/models/_project/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql +++ b/dex/models/_projects/balancer/trades/arbitrum/balancer_v2_arbitrum_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_arbitrum_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_arbitrum', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/avalanche_c/_schema.yml b/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml similarity index 100% rename from models/_project/balancer/trades/avalanche_c/_schema.yml rename to dex/models/_projects/balancer/trades/avalanche_c/_schema.yml diff --git a/models/_project/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql b/dex/models/_projects/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql similarity index 100% rename from models/_project/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql rename to dex/models/_projects/balancer/trades/avalanche_c/balancer_avalanche_c_trades.sql diff --git a/models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql b/dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql similarity index 93% rename from models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql rename to dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql index d1a0eb61af5..3de611ffa3e 100644 --- a/models/_project/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql +++ b/dex/models/_projects/balancer/trades/avalanche_c/balancer_v2_avalanche_c_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_avalanche_c_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_avalanche_c', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/balancer_trades.sql b/dex/models/_projects/balancer/trades/balancer_trades.sql similarity index 100% rename from models/_project/balancer/trades/balancer_trades.sql rename to dex/models/_projects/balancer/trades/balancer_trades.sql diff --git a/models/_project/balancer/trades/base/_schema.yml b/dex/models/_projects/balancer/trades/base/_schema.yml similarity index 100% rename from models/_project/balancer/trades/base/_schema.yml rename to dex/models/_projects/balancer/trades/base/_schema.yml diff --git a/models/_project/balancer/trades/base/balancer_base_trades.sql b/dex/models/_projects/balancer/trades/base/balancer_base_trades.sql similarity index 100% rename from models/_project/balancer/trades/base/balancer_base_trades.sql rename to dex/models/_projects/balancer/trades/base/balancer_base_trades.sql diff --git a/models/_project/balancer/trades/base/balancer_v2_base_trades.sql b/dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql similarity index 93% rename from models/_project/balancer/trades/base/balancer_v2_base_trades.sql rename to dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql index b94589a490a..78f9f0f482f 100644 --- a/models/_project/balancer/trades/base/balancer_v2_base_trades.sql +++ b/dex/models/_projects/balancer/trades/base/balancer_v2_base_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_base_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_base', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/ethereum/_schema.yml b/dex/models/_projects/balancer/trades/ethereum/_schema.yml similarity index 100% rename from models/_project/balancer/trades/ethereum/_schema.yml rename to dex/models/_projects/balancer/trades/ethereum/_schema.yml diff --git a/models/_project/balancer/trades/ethereum/balancer_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_ethereum_trades.sql similarity index 100% rename from models/_project/balancer/trades/ethereum/balancer_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_ethereum_trades.sql diff --git a/models/_project/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql similarity index 100% rename from models/_project/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_v1_ethereum_trades.sql diff --git a/models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql b/dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql similarity index 93% rename from models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql rename to dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql index dfb4c2439bf..1576a017b0f 100644 --- a/models/_project/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql +++ b/dex/models/_projects/balancer/trades/ethereum/balancer_v2_ethereum_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_ethereum_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_ethereum', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/gnosis/_schema.yml b/dex/models/_projects/balancer/trades/gnosis/_schema.yml similarity index 100% rename from models/_project/balancer/trades/gnosis/_schema.yml rename to dex/models/_projects/balancer/trades/gnosis/_schema.yml diff --git a/models/_project/balancer/trades/gnosis/balancer_gnosis_trades.sql b/dex/models/_projects/balancer/trades/gnosis/balancer_gnosis_trades.sql similarity index 100% rename from models/_project/balancer/trades/gnosis/balancer_gnosis_trades.sql rename to dex/models/_projects/balancer/trades/gnosis/balancer_gnosis_trades.sql diff --git a/models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql b/dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql similarity index 93% rename from models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql rename to dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql index 090b5b9e737..d9e629fe0df 100644 --- a/models/_project/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql +++ b/dex/models/_projects/balancer/trades/gnosis/balancer_v2_gnosis_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_gnosis_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_gnosis', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/optimism/_schema.yml b/dex/models/_projects/balancer/trades/optimism/_schema.yml similarity index 100% rename from models/_project/balancer/trades/optimism/_schema.yml rename to dex/models/_projects/balancer/trades/optimism/_schema.yml diff --git a/models/_project/balancer/trades/optimism/balancer_optimism_trades.sql b/dex/models/_projects/balancer/trades/optimism/balancer_optimism_trades.sql similarity index 100% rename from models/_project/balancer/trades/optimism/balancer_optimism_trades.sql rename to dex/models/_projects/balancer/trades/optimism/balancer_optimism_trades.sql diff --git a/models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql b/dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql similarity index 93% rename from models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql rename to dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql index b53e845ddd6..b04f7ea49bc 100644 --- a/models/_project/balancer/trades/optimism/balancer_v2_optimism_trades.sql +++ b/dex/models/_projects/balancer/trades/optimism/balancer_v2_optimism_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_optimism_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_optimism', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/polygon/_schema.yml b/dex/models/_projects/balancer/trades/polygon/_schema.yml similarity index 100% rename from models/_project/balancer/trades/polygon/_schema.yml rename to dex/models/_projects/balancer/trades/polygon/_schema.yml diff --git a/models/_project/balancer/trades/polygon/balancer_polygon_trades.sql b/dex/models/_projects/balancer/trades/polygon/balancer_polygon_trades.sql similarity index 100% rename from models/_project/balancer/trades/polygon/balancer_polygon_trades.sql rename to dex/models/_projects/balancer/trades/polygon/balancer_polygon_trades.sql diff --git a/models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql b/dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql similarity index 93% rename from models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql rename to dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql index 37b12105abe..5a5f19c028e 100644 --- a/models/_project/balancer/trades/polygon/balancer_v2_polygon_trades.sql +++ b/dex/models/_projects/balancer/trades/polygon/balancer_v2_polygon_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_polygon_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_polygon', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/zkevm/_schema.yml b/dex/models/_projects/balancer/trades/zkevm/_schema.yml similarity index 100% rename from models/_project/balancer/trades/zkevm/_schema.yml rename to dex/models/_projects/balancer/trades/zkevm/_schema.yml diff --git a/models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql b/dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql similarity index 93% rename from models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql rename to dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql index 36cc38e4a44..72103686ff8 100644 --- a/models/_project/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql +++ b/dex/models/_projects/balancer/trades/zkevm/balancer_v2_zkevm_trades.sql @@ -68,7 +68,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpa_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_bought_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -82,7 +82,7 @@ WITH dexs.block_time, MAX(bpt_prices.day) AS bpb_max_block_date FROM dexs - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpt_prices ON bpt_prices.contract_address = dexs.token_sold_address AND bpt_prices.day <= DATE_TRUNC('day', dexs.block_time) GROUP BY 1, 2, 3, 4, 5 @@ -132,13 +132,13 @@ FROM dexs ON bpa.block_number = dexs.block_number AND bpa.tx_hash = dexs.tx_hash AND bpa.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpa_bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpa_bpt_prices ON bpa_bpt_prices.contract_address = bpa.contract_address AND bpa_bpt_prices.day = bpa.bpa_max_block_date INNER JOIN bpb ON bpb.block_number = dexs.block_number AND bpb.tx_hash = dexs.tx_hash AND bpb.evt_index = dexs.evt_index - LEFT JOIN {{ ref('balancer_v2_zkevm_bpt_prices') }} bpb_bpt_prices + LEFT JOIN {{ source('balancer_v2_zkevm', 'bpt_prices') }} bpb_bpt_prices ON bpb_bpt_prices.contract_address = bpb.contract_address AND bpb_bpt_prices.day = bpb.bpb_max_block_date \ No newline at end of file diff --git a/models/_project/balancer/trades/zkevm/balancer_zkevm_trades.sql b/dex/models/_projects/balancer/trades/zkevm/balancer_zkevm_trades.sql similarity index 100% rename from models/_project/balancer/trades/zkevm/balancer_zkevm_trades.sql rename to dex/models/_projects/balancer/trades/zkevm/balancer_zkevm_trades.sql diff --git a/models/_project/bancor/bancor_trades.sql b/dex/models/_projects/bancor/bancor_trades.sql similarity index 100% rename from models/_project/bancor/bancor_trades.sql rename to dex/models/_projects/bancor/bancor_trades.sql diff --git a/models/_project/beethoven_x/beethoven_x_trades.sql b/dex/models/_projects/beethoven_x/beethoven_x_trades.sql similarity index 100% rename from models/_project/beethoven_x/beethoven_x_trades.sql rename to dex/models/_projects/beethoven_x/beethoven_x_trades.sql diff --git a/models/_project/biswap/biswap_trades.sql b/dex/models/_projects/biswap/biswap_trades.sql similarity index 100% rename from models/_project/biswap/biswap_trades.sql rename to dex/models/_projects/biswap/biswap_trades.sql diff --git a/models/_project/camelot/camelot_trades.sql b/dex/models/_projects/camelot/camelot_trades.sql similarity index 100% rename from models/_project/camelot/camelot_trades.sql rename to dex/models/_projects/camelot/camelot_trades.sql diff --git a/models/_project/carbon_defi/carbon_defi_trades.sql b/dex/models/_projects/carbon_defi/carbon_defi_trades.sql similarity index 100% rename from models/_project/carbon_defi/carbon_defi_trades.sql rename to dex/models/_projects/carbon_defi/carbon_defi_trades.sql diff --git a/models/_project/clipper/clipper_trades.sql b/dex/models/_projects/clipper/clipper_trades.sql similarity index 100% rename from models/_project/clipper/clipper_trades.sql rename to dex/models/_projects/clipper/clipper_trades.sql diff --git a/models/_project/curvefi/curvefi_trades.sql b/dex/models/_projects/curvefi/curvefi_trades.sql similarity index 100% rename from models/_project/curvefi/curvefi_trades.sql rename to dex/models/_projects/curvefi/curvefi_trades.sql diff --git a/models/_project/defiswap/defiswap_trades.sql b/dex/models/_projects/defiswap/defiswap_trades.sql similarity index 100% rename from models/_project/defiswap/defiswap_trades.sql rename to dex/models/_projects/defiswap/defiswap_trades.sql diff --git a/models/_project/_schema.yml b/dex/models/_projects/dex_trades_views_schema.yml similarity index 99% rename from models/_project/_schema.yml rename to dex/models/_projects/dex_trades_views_schema.yml index 00230ce31ee..8b969c29d8d 100644 --- a/models/_project/_schema.yml +++ b/dex/models/_projects/dex_trades_views_schema.yml @@ -1,6 +1,6 @@ version: 2 -models: +models: - name: aerodrome_trades - name: airswap_trades - name: apeswap_trades diff --git a/models/_project/dfx/dfx_trades.sql b/dex/models/_projects/dfx/dfx_trades.sql similarity index 100% rename from models/_project/dfx/dfx_trades.sql rename to dex/models/_projects/dfx/dfx_trades.sql diff --git a/models/_project/dodo/dodo_trades.sql b/dex/models/_projects/dodo/dodo_trades.sql similarity index 100% rename from models/_project/dodo/dodo_trades.sql rename to dex/models/_projects/dodo/dodo_trades.sql diff --git a/models/_project/ellipsis_finance/ellipsis_finance_trades.sql b/dex/models/_projects/ellipsis_finance/ellipsis_finance_trades.sql similarity index 100% rename from models/_project/ellipsis_finance/ellipsis_finance_trades.sql rename to dex/models/_projects/ellipsis_finance/ellipsis_finance_trades.sql diff --git a/models/_project/equalizer/equalizer_trades.sql b/dex/models/_projects/equalizer/equalizer_trades.sql similarity index 100% rename from models/_project/equalizer/equalizer_trades.sql rename to dex/models/_projects/equalizer/equalizer_trades.sql diff --git a/models/_project/fraxswap/fraxswap_trades.sql b/dex/models/_projects/fraxswap/fraxswap_trades.sql similarity index 100% rename from models/_project/fraxswap/fraxswap_trades.sql rename to dex/models/_projects/fraxswap/fraxswap_trades.sql diff --git a/models/_project/glacier/glacier_trades.sql b/dex/models/_projects/glacier/glacier_trades.sql similarity index 100% rename from models/_project/glacier/glacier_trades.sql rename to dex/models/_projects/glacier/glacier_trades.sql diff --git a/models/_project/gmx/gmx_trades.sql b/dex/models/_projects/gmx/gmx_trades.sql similarity index 100% rename from models/_project/gmx/gmx_trades.sql rename to dex/models/_projects/gmx/gmx_trades.sql diff --git a/models/_project/hashflow/hashflow_trades.sql b/dex/models/_projects/hashflow/hashflow_trades.sql similarity index 100% rename from models/_project/hashflow/hashflow_trades.sql rename to dex/models/_projects/hashflow/hashflow_trades.sql diff --git a/models/_project/honeyswap/honeyswap_trades.sql b/dex/models/_projects/honeyswap/honeyswap_trades.sql similarity index 100% rename from models/_project/honeyswap/honeyswap_trades.sql rename to dex/models/_projects/honeyswap/honeyswap_trades.sql diff --git a/models/_project/integral/integral_trades.sql b/dex/models/_projects/integral/integral_trades.sql similarity index 100% rename from models/_project/integral/integral_trades.sql rename to dex/models/_projects/integral/integral_trades.sql diff --git a/models/_project/iziswap/iziswap_trades.sql b/dex/models/_projects/iziswap/iziswap_trades.sql similarity index 100% rename from models/_project/iziswap/iziswap_trades.sql rename to dex/models/_projects/iziswap/iziswap_trades.sql diff --git a/models/_project/kyberswap/kyberswap_trades.sql b/dex/models/_projects/kyberswap/kyberswap_trades.sql similarity index 100% rename from models/_project/kyberswap/kyberswap_trades.sql rename to dex/models/_projects/kyberswap/kyberswap_trades.sql diff --git a/models/_project/mauve/mauve_trades.sql b/dex/models/_projects/mauve/mauve_trades.sql similarity index 100% rename from models/_project/mauve/mauve_trades.sql rename to dex/models/_projects/mauve/mauve_trades.sql diff --git a/models/_project/maverick/maverick_trades.sql b/dex/models/_projects/maverick/maverick_trades.sql similarity index 100% rename from models/_project/maverick/maverick_trades.sql rename to dex/models/_projects/maverick/maverick_trades.sql diff --git a/models/_project/mdex/mdex_trades.sql b/dex/models/_projects/mdex/mdex_trades.sql similarity index 100% rename from models/_project/mdex/mdex_trades.sql rename to dex/models/_projects/mdex/mdex_trades.sql diff --git a/models/_project/mstable/mstable_trades.sql b/dex/models/_projects/mstable/mstable_trades.sql similarity index 100% rename from models/_project/mstable/mstable_trades.sql rename to dex/models/_projects/mstable/mstable_trades.sql diff --git a/models/_project/mummy_finance/mummy_finance_trades.sql b/dex/models/_projects/mummy_finance/mummy_finance_trades.sql similarity index 100% rename from models/_project/mummy_finance/mummy_finance_trades.sql rename to dex/models/_projects/mummy_finance/mummy_finance_trades.sql diff --git a/models/_project/nomiswap/nomiswap_trades.sql b/dex/models/_projects/nomiswap/nomiswap_trades.sql similarity index 100% rename from models/_project/nomiswap/nomiswap_trades.sql rename to dex/models/_projects/nomiswap/nomiswap_trades.sql diff --git a/models/_project/onepunchswap/onepunchswap_trades.sql b/dex/models/_projects/onepunchswap/onepunchswap_trades.sql similarity index 100% rename from models/_project/onepunchswap/onepunchswap_trades.sql rename to dex/models/_projects/onepunchswap/onepunchswap_trades.sql diff --git a/models/_project/openocean/openocean_trades.sql b/dex/models/_projects/openocean/openocean_trades.sql similarity index 100% rename from models/_project/openocean/openocean_trades.sql rename to dex/models/_projects/openocean/openocean_trades.sql diff --git a/models/_project/openxswap/openxswap_trades.sql b/dex/models/_projects/openxswap/openxswap_trades.sql similarity index 100% rename from models/_project/openxswap/openxswap_trades.sql rename to dex/models/_projects/openxswap/openxswap_trades.sql diff --git a/models/_project/opx_finance/opx_finance_trades.sql b/dex/models/_projects/opx_finance/opx_finance_trades.sql similarity index 100% rename from models/_project/opx_finance/opx_finance_trades.sql rename to dex/models/_projects/opx_finance/opx_finance_trades.sql diff --git a/models/_project/pancakeswap/pancakeswap_trades.sql b/dex/models/_projects/pancakeswap/pancakeswap_trades.sql similarity index 100% rename from models/_project/pancakeswap/pancakeswap_trades.sql rename to dex/models/_projects/pancakeswap/pancakeswap_trades.sql diff --git a/models/_project/platypus_finance/platypus_finance_trades.sql b/dex/models/_projects/platypus_finance/platypus_finance_trades.sql similarity index 100% rename from models/_project/platypus_finance/platypus_finance_trades.sql rename to dex/models/_projects/platypus_finance/platypus_finance_trades.sql diff --git a/models/_project/quickswap/quickswap_trades.sql b/dex/models/_projects/quickswap/quickswap_trades.sql similarity index 100% rename from models/_project/quickswap/quickswap_trades.sql rename to dex/models/_projects/quickswap/quickswap_trades.sql diff --git a/models/_project/rubicon/rubicon_trades.sql b/dex/models/_projects/rubicon/rubicon_trades.sql similarity index 100% rename from models/_project/rubicon/rubicon_trades.sql rename to dex/models/_projects/rubicon/rubicon_trades.sql diff --git a/models/_project/shibaswap/shibaswap_trades.sql b/dex/models/_projects/shibaswap/shibaswap_trades.sql similarity index 100% rename from models/_project/shibaswap/shibaswap_trades.sql rename to dex/models/_projects/shibaswap/shibaswap_trades.sql diff --git a/models/_project/spartacus_exchange/spartacus_exchange_trades.sql b/dex/models/_projects/spartacus_exchange/spartacus_exchange_trades.sql similarity index 100% rename from models/_project/spartacus_exchange/spartacus_exchange_trades.sql rename to dex/models/_projects/spartacus_exchange/spartacus_exchange_trades.sql diff --git a/models/_project/spiritswap/spiritswap_trades.sql b/dex/models/_projects/spiritswap/spiritswap_trades.sql similarity index 100% rename from models/_project/spiritswap/spiritswap_trades.sql rename to dex/models/_projects/spiritswap/spiritswap_trades.sql diff --git a/models/_project/spookyswap/spookyswap_trades.sql b/dex/models/_projects/spookyswap/spookyswap_trades.sql similarity index 100% rename from models/_project/spookyswap/spookyswap_trades.sql rename to dex/models/_projects/spookyswap/spookyswap_trades.sql diff --git a/models/_project/sushiswap/sushiswap_trades.sql b/dex/models/_projects/sushiswap/sushiswap_trades.sql similarity index 100% rename from models/_project/sushiswap/sushiswap_trades.sql rename to dex/models/_projects/sushiswap/sushiswap_trades.sql diff --git a/models/_project/swapr/swapr_trades.sql b/dex/models/_projects/swapr/swapr_trades.sql similarity index 100% rename from models/_project/swapr/swapr_trades.sql rename to dex/models/_projects/swapr/swapr_trades.sql diff --git a/models/_project/synthetix/synthetix_trades.sql b/dex/models/_projects/synthetix/synthetix_trades.sql similarity index 100% rename from models/_project/synthetix/synthetix_trades.sql rename to dex/models/_projects/synthetix/synthetix_trades.sql diff --git a/models/_project/thena/thena_trades.sql b/dex/models/_projects/thena/thena_trades.sql similarity index 100% rename from models/_project/thena/thena_trades.sql rename to dex/models/_projects/thena/thena_trades.sql diff --git a/models/_project/trader_joe/trader_joe_trades.sql b/dex/models/_projects/trader_joe/trader_joe_trades.sql similarity index 100% rename from models/_project/trader_joe/trader_joe_trades.sql rename to dex/models/_projects/trader_joe/trader_joe_trades.sql diff --git a/models/_project/ubeswap/ubeswap_trades.sql b/dex/models/_projects/ubeswap/ubeswap_trades.sql similarity index 100% rename from models/_project/ubeswap/ubeswap_trades.sql rename to dex/models/_projects/ubeswap/ubeswap_trades.sql diff --git a/models/_project/velodrome/velodrome_trades.sql b/dex/models/_projects/velodrome/velodrome_trades.sql similarity index 100% rename from models/_project/velodrome/velodrome_trades.sql rename to dex/models/_projects/velodrome/velodrome_trades.sql diff --git a/models/_project/verse_dex/verse_dex_trades.sql b/dex/models/_projects/verse_dex/verse_dex_trades.sql similarity index 100% rename from models/_project/verse_dex/verse_dex_trades.sql rename to dex/models/_projects/verse_dex/verse_dex_trades.sql diff --git a/models/_project/wardenswap/wardenswap_trades.sql b/dex/models/_projects/wardenswap/wardenswap_trades.sql similarity index 100% rename from models/_project/wardenswap/wardenswap_trades.sql rename to dex/models/_projects/wardenswap/wardenswap_trades.sql diff --git a/models/_project/wigoswap/wigoswap_trades.sql b/dex/models/_projects/wigoswap/wigoswap_trades.sql similarity index 100% rename from models/_project/wigoswap/wigoswap_trades.sql rename to dex/models/_projects/wigoswap/wigoswap_trades.sql diff --git a/models/_project/wombat/wombat_trades.sql b/dex/models/_projects/wombat/wombat_trades.sql similarity index 100% rename from models/_project/wombat/wombat_trades.sql rename to dex/models/_projects/wombat/wombat_trades.sql diff --git a/models/_project/woofi/woofi_trades.sql b/dex/models/_projects/woofi/woofi_trades.sql similarity index 100% rename from models/_project/woofi/woofi_trades.sql rename to dex/models/_projects/woofi/woofi_trades.sql diff --git a/models/_project/xchange/xchange_trades.sql b/dex/models/_projects/xchange/xchange_trades.sql similarity index 100% rename from models/_project/xchange/xchange_trades.sql rename to dex/models/_projects/xchange/xchange_trades.sql diff --git a/models/_project/zigzag/zigzag_trades.sql b/dex/models/_projects/zigzag/zigzag_trades.sql similarity index 100% rename from models/_project/zigzag/zigzag_trades.sql rename to dex/models/_projects/zigzag/zigzag_trades.sql diff --git a/models/_project/zipswap/zipswap_trades.sql b/dex/models/_projects/zipswap/zipswap_trades.sql similarity index 100% rename from models/_project/zipswap/zipswap_trades.sql rename to dex/models/_projects/zipswap/zipswap_trades.sql diff --git a/models/_project/balancer/pools/optimism/_schema.yml b/models/_project/balancer/pools/optimism/_schema.yml index 249a0192c83..88a17c5195a 100644 --- a/models/_project/balancer/pools/optimism/_schema.yml +++ b/models/_project/balancer/pools/optimism/_schema.yml @@ -83,7 +83,8 @@ models: - &evt_block_number name: evt_block_number description: 'Event Block Number' - - *contract_address + - &contract_address + name: contract_address - &evt_tx_hash name: evt_tx_hash description: 'Transaction hash' diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml index 76dd468aacf..c0712beb0b5 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml @@ -10,19 +10,6 @@ models: tags: ['ethereum','cow_protocol','solver'] description: > CoW Protocol solvers list on Ethereum - columns: - - &address - name: address - description: "Solver's wallet address" - - &environment - name: environment - description: "Development environment" - - &name - name: name - description: "Solver's name" - - &active - name: active - description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." - name: cow_protocol_ethereum_batches meta: @@ -33,43 +20,6 @@ models: tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator', 'auction'] description: > CoW Protocol enriched batches table on Ethereum - columns: - - *block_date - - *block_number - - *block_time - - &num_trades - name: num_trades - description: Number of trades settled within the batch - - &dex_swaps - name: dex_swaps - description: Number of AMM interactions used to settle the batch (Null when unknown) - - &batch_value - name: batch_value - description: Total USD value of trades settled within the batch - - &solver_address - name: solver_address - description: Ethereum address of solver settled batch (equivalent to tx.from) - - *tx_hash - - &gas_price - name: gas_price - description: Gas price (in WEI) of transaction - - &gas_used - name: gas_used - description: Total/cumulative gas consumed (in WEI) to settle the batch - - &tx_cost_usd - name: tx_cost_usd - description: USD cost of batch execution (gas_price * gas_used) / 1e18 * ETH price - - &fee_value - name: Total USD valuation of fees collected from all trades within the batch - - &call_data_size - name: call_data_size - description: Size (in Kilobytes) of call data passed into the settle method. - - &unwraps - name: unwraps - description: Number of WETH unwraps performed within the settlement - - &token_approvals - name: token_approvals - description: Number of ERC20 token approvals made within the settlement - name: cow_protocol_ethereum_app_data meta: @@ -80,26 +30,6 @@ models: tags: ['ethereum','cow_protocol','app_data', "metadata"] description: > CoW Protocol App Data is JSON content stored on IPFS corresponding to order AppHash (cf. CoW Documentation https://docs.cow.fi/front-end/creating-app-ids). - columns: - - &app_hash - name: app_hash - description: Unique identifier of AppData published on-chain, used to fetch remaining content from IPFS. This can be recovered from call data provided to the Settlement Contracts `settle` method - - &app_code - name: app_code - description: App Code is an indicator of where the order came from - primarily intended to be used for integration partners - - *environment - - &order_class - name: order_class - description: Enum flag indicating if an order was a market or limit order (can be Null) - - &referrer - name: referrer - description: Ethereum address of referrer - used for tracking affiliate data (can be Null) - - &slippage_bips - name: slippage_bips - description: User's slippage tolerance configured through the interface. Used to compute trade execution price improvement (can be Null) - - &utm - name: utm - description: utm object associated with the app data (consisting of fields utmSource, utmContent and utmMedium) - name: cow_protocol_ethereum_order_rewards meta: @@ -111,22 +41,6 @@ models: description: > Order Rewards (or more appropriately named Order Meta) contains off-chain meta data relevant to the solver competition on the granularity level of orders. - columns: - - *tx_hash - - &solver - name: solver - description: "Address of the solver who settled the order (i.e. the from address of the corresponding transaction)" - - *block_number - - &cow_reward - name: cow_reward - description: "COW token reward distributed to solver for settling order" - - &surplus_fee - name: surplus_fee - description: "Fee taken from limit orders" - - *order_uid - - "e_solver - name: quote_solver - description: "Address of the solver who provided the winning quote for this order" - name: cow_protocol_ethereum_eth_flow_orders meta: @@ -140,30 +54,6 @@ models: through the ETHFlow contract (https://github.com/cowprotocol/ethflowcontract) sending native which then wraps the asset as an ERC20. The order is filled through this intermediary contract that uses ERC1271 signature verification to place the order on the user's behalf. - columns: - - *block_date - - *block_time - - *block_number - - *tx_hash - - *environment - - *valid_to - - "e_id - name: quote_id - description: Integer corresponding to the quote user was given in the interface. - - &sell_amount - name: sell_amount - description: sell amount as part of the signed user order - - *fee - - &buy_amount - name: buy_amount - description: buy amount as part of the signed user order - - *buy_token - - *receiver - - &sender - name: sender - description: sender of order placement transaction. Equivalent to "trader" - - *app_hash - - *order_uid - name: cow_protocol_ethereum_referrals meta: @@ -177,9 +67,6 @@ models: A referral is considered valid whenever a new trader comes and places their first order with referral address in the meta content. This table contains the relevant query to build the affiliate mapping. - columns: - - *trader - - *referrer - name: cow_protocol_ethereum_trade_slippage meta: @@ -197,25 +84,6 @@ models: combination_of_columns: - order_uid - block_number - columns: - - *order_uid - - *block_time - - *block_number - - &buy_quote - name: buy_quote - - &sell_quote - name: sell_quote - - &tolerance_bips - name: tolerance_bips - - &trade_usd_value - name: trade_usd_value - - *fill_proportion - - &amount_atoms - name: amount_atoms - - &amount_percentage - name: amount_percentage - - &amount_usd - name: amount_usd - name: cow_protocol_ethereum_airdrop_claims meta: @@ -231,37 +99,4 @@ models: combination_of_columns: - tx_hash - recipient - - evt_index - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - *block_time - - *block_number - - &project - name: project - description: "Project name" - - &airdrop_number - name: airdrop_number - description: "Airdrop identifier number" - - &recipient - name: recipient - description: "Airdrop recipient" - - &contract_address - name: contract_address - description: "Contract addressed used" - - *tx_hash - - name: amount_raw - description: "Raw amount of tokens" - - name: amount_original - description: "Original amount of tokens" - - name: amount_usd - description: "USD value of tokens" - - &token_address - name: token_address - description: "Token address" - - &token_symbol - name: token_symbol - description: "Token symbol" - - *evt_index - + - evt_index \ No newline at end of file diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml index fc89caaae7a..80d39a5c579 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_schema.yml @@ -10,19 +10,7 @@ models: tags: ['gnosis_chain','cow_protocol','solver'] description: > CoW Protocol solvers list on Gnosis Chain - columns: - - &address - name: address - description: "Solver's wallet address" - - &environment - name: environment - description: "Solver's environment" - - &name - name: name - description: "Solver's name" - - &active - name: active - description: "Solver's active status according to the events emitted by GPv2AllowListAuthentication. True if solver has been 'added' and not yet removed, False when the solver has been 'removed'." + - name: cow_protocol_gnosis_batches meta: blockchain: gnosis @@ -32,43 +20,3 @@ models: tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator', 'auction'] description: > CoW Protocol enriched batches table on Gnosis Chain - columns: - - *block_date - - *block_time - - &num_trades - name: num_trades - description: Number of trades settled within the batch - - &dex_swaps - name: dex_swaps - description: Number of AMM interactions used to settle the batch (estimated) - - &batch_value - name: batch_value - description: Total USD value of trades settled within the batch - - &solver_address - name: solver_address - description: Ethereum address of solver settled batch (equivalent to tx.from) - - name: tx_hash - description: "Transaction hash of trade" - tests: - - unique - - &gas_price - name: gas_price - description: Gas price (in WEI) of transaction - - &gas_used - name: gas_used - description: Total/cumulative gas consumed (in WEI) to settle the batch - - &tx_cost_usd - name: tx_cost_usd - description: USD cost of batch execution (gas_price * gas_used) / 1e18 * ETH price - - &fee_value - name: fee_value - description: Total USD valuation of fees collected from all trades within the batch - - &call_data_size - name: call_data_size - description: Size (in Kilobytes) of call data passed into the settle method. - - &unwraps - name: unwraps - description: Number of WETH unwraps performed within the settlement - - &token_approvals - name: token_approvals - description: Number of ERC20 token approvals made within the settlement diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index 0179f400257..e3ab1b6702c 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -25,9 +25,18 @@ models: - &address name: address description: 'Address of liquidity pool' + - &pool_address + name: pool_address + description: "Address of the pool to which a Gauge belongs" + - &child_gauge_address + name: child_gauge_address + description: "Address of the Child Gauge on L2s, NULL if on mainnet" - &name name: name description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + - &status + name: status + description: "Flag for whether a gauge is active or inactive" - &category name: category description: 'Label category' diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index a950a388c38..4edb03bd0d3 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -65,3 +65,27 @@ sources: tables: - name: fee_vaults - name: grants_funding + - name: balancer_v2_optimism + tables: + - name: trades + - name: balancer_v2_arbitrum + tables: + - name: trades + - name: balancer_v2_avalanche_c + tables: + - name: trades + - name: balancer_v2_base + tables: + - name: trades + - name: balancer_v2_ethereum + tables: + - name: trades + - name: balancer_v2_gnosis + tables: + - name: trades + - name: balancer_v2_polygon + tables: + - name: trades + - name: balancer_v2_zkevm + tables: + - name: trades From 65ef1e6db15a34cabb408ecd6e34c172ebf16056 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:36:55 -0400 Subject: [PATCH 32/63] move more pools --- .../models/_projects/arrakis/_schema.yml | 0 .../arrakis/arrakis_uniswap_pools.sql | 0 .../_projects/arrakis/optimism/_schema.yml | 0 .../arrakis_optimism_uniswap_pools.sql | 0 .../models/_projects/gamma/_schema.yml | 0 .../_projects}/gamma/gamma_uniswap_pools.sql | 0 .../_projects/gamma/optimism/_schema.yml | 0 .../optimism/gamma_optimism_uniswap_pools.sql | 0 dex/models/_projects/uniswap/_schema.yml | 29 ++++++++++++++ .../uniswap_liquidity_manager_pools.sql | 0 models/_project/uniswap/uniswap_schema.yml | 38 ------------------- 11 files changed, 29 insertions(+), 38 deletions(-) rename models/arrakis/arrakis_schema.yml => dex/models/_projects/arrakis/_schema.yml (100%) rename {models => dex/models/_projects}/arrakis/arrakis_uniswap_pools.sql (100%) rename models/arrakis/optimism/arrakis_optimism_schema.yml => dex/models/_projects/arrakis/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/arrakis/optimism/arrakis_optimism_uniswap_pools.sql (100%) rename models/gamma/gamma_schema.yml => dex/models/_projects/gamma/_schema.yml (100%) rename {models => dex/models/_projects}/gamma/gamma_uniswap_pools.sql (100%) rename models/gamma/optimism/gamma_optimism_schema.yml => dex/models/_projects/gamma/optimism/_schema.yml (100%) rename {models => dex/models/_projects}/gamma/optimism/gamma_optimism_uniswap_pools.sql (100%) rename {models/_project => dex/models/_projects}/uniswap/uniswap_liquidity_manager_pools.sql (100%) diff --git a/models/arrakis/arrakis_schema.yml b/dex/models/_projects/arrakis/_schema.yml similarity index 100% rename from models/arrakis/arrakis_schema.yml rename to dex/models/_projects/arrakis/_schema.yml diff --git a/models/arrakis/arrakis_uniswap_pools.sql b/dex/models/_projects/arrakis/arrakis_uniswap_pools.sql similarity index 100% rename from models/arrakis/arrakis_uniswap_pools.sql rename to dex/models/_projects/arrakis/arrakis_uniswap_pools.sql diff --git a/models/arrakis/optimism/arrakis_optimism_schema.yml b/dex/models/_projects/arrakis/optimism/_schema.yml similarity index 100% rename from models/arrakis/optimism/arrakis_optimism_schema.yml rename to dex/models/_projects/arrakis/optimism/_schema.yml diff --git a/models/arrakis/optimism/arrakis_optimism_uniswap_pools.sql b/dex/models/_projects/arrakis/optimism/arrakis_optimism_uniswap_pools.sql similarity index 100% rename from models/arrakis/optimism/arrakis_optimism_uniswap_pools.sql rename to dex/models/_projects/arrakis/optimism/arrakis_optimism_uniswap_pools.sql diff --git a/models/gamma/gamma_schema.yml b/dex/models/_projects/gamma/_schema.yml similarity index 100% rename from models/gamma/gamma_schema.yml rename to dex/models/_projects/gamma/_schema.yml diff --git a/models/gamma/gamma_uniswap_pools.sql b/dex/models/_projects/gamma/gamma_uniswap_pools.sql similarity index 100% rename from models/gamma/gamma_uniswap_pools.sql rename to dex/models/_projects/gamma/gamma_uniswap_pools.sql diff --git a/models/gamma/optimism/gamma_optimism_schema.yml b/dex/models/_projects/gamma/optimism/_schema.yml similarity index 100% rename from models/gamma/optimism/gamma_optimism_schema.yml rename to dex/models/_projects/gamma/optimism/_schema.yml diff --git a/models/gamma/optimism/gamma_optimism_uniswap_pools.sql b/dex/models/_projects/gamma/optimism/gamma_optimism_uniswap_pools.sql similarity index 100% rename from models/gamma/optimism/gamma_optimism_uniswap_pools.sql rename to dex/models/_projects/gamma/optimism/gamma_optimism_uniswap_pools.sql diff --git a/dex/models/_projects/uniswap/_schema.yml b/dex/models/_projects/uniswap/_schema.yml index 9b676eec81d..886e8438644 100644 --- a/dex/models/_projects/uniswap/_schema.yml +++ b/dex/models/_projects/uniswap/_schema.yml @@ -42,6 +42,35 @@ models: - name: contract_address description: "Contract address used to create the pool" + - name: uniswap_liquidity_manager_pools + meta: + blockchain: optimism + project: uniswap + contributors: msilb7 + config: + tags: ['optimism','uniswap','pools','liquidity managers'] + description: > + A table containing Uniswap mappings for known liquidity manager pools created. + columns: + - name: blockchain + description: 'Blockchain of the LP Token' + - name: dex_project_name + description: "DEX Project Name - This will be used for overall DEX LM incentives models" + - name: dex_project_version + description: "DEX Project Version - This will be used for overall DEX LM incentives models" + - name: project + description: 'Project Name of the LP Token' + - name: contract_address + description: 'Manager LP Token contract address' + - name: pool_contract + description: "Uniswap liquidity pool contract address" + - name: fee + description: "Swap fee of a Uniswap liquidity pool. Divide by 1e4 or power(10,4) to get the fee percentage" + - name: token0 + description: "Token0 contract address" + - name: token1 + description: "Token1 contract address" + - name: uniswap_arbitrum_pools meta: blockchain: arbitrum diff --git a/models/_project/uniswap/uniswap_liquidity_manager_pools.sql b/dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql similarity index 100% rename from models/_project/uniswap/uniswap_liquidity_manager_pools.sql rename to dex/models/_projects/uniswap/uniswap_liquidity_manager_pools.sql diff --git a/models/_project/uniswap/uniswap_schema.yml b/models/_project/uniswap/uniswap_schema.yml index a4a15a7134a..379f24a05d8 100644 --- a/models/_project/uniswap/uniswap_schema.yml +++ b/models/_project/uniswap/uniswap_schema.yml @@ -1,44 +1,6 @@ version: 2 models: - - name: uniswap_liquidity_manager_pools - meta: - blockchain: optimism - project: uniswap - contributors: msilb7 - config: - tags: ['optimism','uniswap','pools','liquidity managers'] - description: > - A table containing Uniswap mappings for known liquidity manager pools created. - columns: - - &blockchain_lm - name: blockchain - description: 'Blockchain of the LP Token' - - &dex_project_name - name: dex_project_name - description: "DEX Project Name - This will be used for overall DEX LM incentives models" - - &dex_project_version - name: dex_project_version - description: "DEX Project Version - This will be used for overall DEX LM incentives models" - - &project_lm - name: project - description: 'Project Name of the LP Token' - - &contract_address_lm - name: contract_address - description: 'Manager LP Token contract address' - - &pool_contract - name: pool_contract - description: "Uniswap liquidity pool contract address" - - &fee - name: fee - description: "Swap fee of a Uniswap liquidity pool. Divide by 1e4 or power(10,4) to get the fee percentage" - - &token0 - name: token0 - description: "Token0 contract address" - - &token1 - name: token1 - description: "Token1 contract address" - - name: uniswap_flashloans meta: blockchain: ethereum, bnb, arbitrum, optimism, polygon, celo From 819260485f9a60f10e0654f70e4abc317320a412 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:43:53 -0400 Subject: [PATCH 33/63] initiate dex sources file, update first ref to source --- .../balancer/balancer_liquidity_macro.sql | 2 +- .../balancer/balancer_protocol_fee_macro.sql | 2 +- ...r_token_balance_changes_daily_agg_macro.sql | 2 +- .../platforms/geodnet_polygon_revenue.sql | 2 +- .../alchemydao_ethereum_airdrop_claims.sql | 4 ++-- .../fantom/beethoven_x_fantom_protocol_fee.sql | 2 +- models/dao/balances/dao_balances.sql | 2 +- .../dao_transactions_arbitrum_erc20.sql | 2 +- .../arbitrum/dao_transactions_arbitrum_eth.sql | 2 +- .../base/dao_transactions_base_erc20.sql | 2 +- .../base/dao_transactions_base_eth.sql | 2 +- .../dao_transactions_ethereum_erc20.sql | 2 +- .../gnosis/dao_transactions_gnosis_erc20.sql | 2 +- .../polygon/dao_transactions_polygon_erc20.sql | 2 +- .../gearbox_ethereum_airdrop_claims.sql | 4 ++-- .../keep3r_network_token_prices.sql | 2 +- .../paraswap_ethereum_airdrop_claims.sql | 4 ++-- .../ethereum/safe_ethereum_airdrop_claims.sql | 4 ++-- .../thales_ethereum_airdrop_claims.sql | 4 ++-- .../value_defi_ethereum_airdrop_claims.sql | 4 ++-- .../velodrome_optimism_airdrop_claims.sql | 4 ++-- sources/_subprojects/dex/_sources.yml | 18 ++++++++++++++++++ 22 files changed, 46 insertions(+), 28 deletions(-) create mode 100644 sources/_subprojects/dex/_sources.yml diff --git a/macros/models/_project/balancer/balancer_liquidity_macro.sql b/macros/models/_project/balancer/balancer_liquidity_macro.sql index 5bb70f51e48..7b8655a3414 100644 --- a/macros/models/_project/balancer/balancer_liquidity_macro.sql +++ b/macros/models/_project/balancer/balancer_liquidity_macro.sql @@ -30,7 +30,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql index aa8328088fd..d74c3c352a2 100644 --- a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql +++ b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql @@ -35,7 +35,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql b/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql index 7500f5d7e82..27af2752d29 100644 --- a/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql +++ b/macros/models/_project/balancer/balancer_token_balance_changes_daily_agg_macro.sql @@ -24,7 +24,7 @@ WITH contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} {% if is_incremental() %} WHERE {{ incremental_predicate('hour') }} {% endif %} diff --git a/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql b/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql index 54039ad513c..7b4db3e07bf 100644 --- a/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql +++ b/models/_sector/depin/polygon/platforms/geodnet_polygon_revenue.sql @@ -51,7 +51,7 @@ WITH AVG(median_price) AS price, DATE_TRUNC('hour', hour) AS hour, DATE_TRUNC('day', hour) AS day - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'polygon' AND contract_address = 0xac0f66379a6d7801d7726d5a943356a172549adb diff --git a/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql b/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql index ab6b97c580d..b3c283afdd9 100644 --- a/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql +++ b/models/alchemydao/ethereum/alchemydao_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{alch_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'ALCH' AS token_symbol , t.evt_index FROM {{ source('alchemydao_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{alch_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-03-28' AND TIMESTAMP '2021-04-19' \ No newline at end of file diff --git a/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql b/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql index ac4f94d2a9f..a41f2474d8b 100644 --- a/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql +++ b/models/beethoven_x/fantom/beethoven_x_fantom_protocol_fee.sql @@ -37,7 +37,7 @@ WITH pool_labels AS ( contract_address AS token, approx_percentile(median_price, 0.5) AS price, sum(sample_size) AS sample_size - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} GROUP BY 1, 2 HAVING sum(sample_size) > 3 ), diff --git a/models/dao/balances/dao_balances.sql b/models/dao/balances/dao_balances.sql index b0e3cb81769..f8ec9cc8af9 100644 --- a/models/dao/balances/dao_balances.sql +++ b/models/dao/balances/dao_balances.sql @@ -107,7 +107,7 @@ LEFT JOIN AND e.blockchain = 'ethereum' AND e.symbol = 'WETH' LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.contract_address = db.asset_contract_address AND d.day = dp.hour AND dp.blockchain = db.blockchain diff --git a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql index 256c48ac13d..ac30ba0550a 100644 --- a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql +++ b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_erc20.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'arbitrum' diff --git a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql index 336a4293265..f74e60d078e 100644 --- a/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql +++ b/models/dao/transactions/arbitrum/dao_transactions_arbitrum_eth.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 AND dp.blockchain = 'arbitrum' diff --git a/models/dao/transactions/base/dao_transactions_base_erc20.sql b/models/dao/transactions/base/dao_transactions_base_erc20.sql index 6d2539d0ddd..a90cf4970f5 100644 --- a/models/dao/transactions/base/dao_transactions_base_erc20.sql +++ b/models/dao/transactions/base/dao_transactions_base_erc20.sql @@ -110,7 +110,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'base' diff --git a/models/dao/transactions/base/dao_transactions_base_eth.sql b/models/dao/transactions/base/dao_transactions_base_eth.sql index 09d9750ae22..1263f0646ce 100644 --- a/models/dao/transactions/base/dao_transactions_base_eth.sql +++ b/models/dao/transactions/base/dao_transactions_base_eth.sql @@ -158,7 +158,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 AND dp.blockchain = 'base' diff --git a/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql b/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql index 508565a4a15..e74f72321ae 100644 --- a/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql +++ b/models/dao/transactions/ethereum/dao_transactions_ethereum_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'ethereum' diff --git a/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql b/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql index ef19f91936e..09c767a191f 100644 --- a/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql +++ b/models/dao/transactions/gnosis/dao_transactions_gnosis_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'gnosis' diff --git a/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql b/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql index 58ab12a4b91..51a0fe6175e 100644 --- a/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql +++ b/models/dao/transactions/polygon/dao_transactions_polygon_erc20.sql @@ -108,7 +108,7 @@ LEFT JOIN AND p.minute >= date_trunc('day', now() - interval '7' Day) {% endif %} LEFT JOIN -{{ ref('dex_prices') }} dp +{{ source('dex', 'prices') }} dp ON dp.hour = date_trunc('hour', t.block_time) AND dp.contract_address = t.token AND dp.blockchain = 'polygon' diff --git a/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql b/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql index f89b73b04b5..b25454ee3e3 100644 --- a/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql +++ b/models/gearbox/ethereum/gearbox_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{gear_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'GEAR' AS token_symbol , t.evt_index FROM {{ source('gearbox_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{gear_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2022-04-05' AND TIMESTAMP '2022-07-22' \ No newline at end of file diff --git a/models/keep3r_network/keep3r_network_token_prices.sql b/models/keep3r_network/keep3r_network_token_prices.sql index 05a08b2b99c..34c79f3681f 100644 --- a/models/keep3r_network/keep3r_network_token_prices.sql +++ b/models/keep3r_network/keep3r_network_token_prices.sql @@ -37,7 +37,7 @@ dex_price as ( blockchain, date_trunc('day', hour) as day, avg(median_price) as price - FROM {{ ref('dex_prices') }} prc --on prc.contract_address = tkn.token_address and prc.blockchain = prc.blockchain + FROM {{ source('dex', 'prices') }} prc --on prc.contract_address = tkn.token_address and prc.blockchain = prc.blockchain where hour >= timestamp '2021-10-10' -- month of $K3PR Mint and contract_address in (select token_address from dex_tokens) diff --git a/models/paraswap/paraswap_ethereum_airdrop_claims.sql b/models/paraswap/paraswap_ethereum_airdrop_claims.sql index 2b79f196302..7339ca842d6 100644 --- a/models/paraswap/paraswap_ethereum_airdrop_claims.sql +++ b/models/paraswap/paraswap_ethereum_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{psp_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'ethereum' AS blockchain , 'PSP' AS token_symbol , t.evt_index FROM {{ source('erc20_ethereum', 'evt_transfer') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{psp_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/models/safe/ethereum/safe_ethereum_airdrop_claims.sql b/models/safe/ethereum/safe_ethereum_airdrop_claims.sql index cea0fad0d3b..8808f7f9cf2 100644 --- a/models/safe/ethereum/safe_ethereum_airdrop_claims.sql +++ b/models/safe/ethereum/safe_ethereum_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{safe_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'ethereum' AS blockchain , 'SAFE' AS token_symbol , t.evt_index FROM {{ source('erc20_ethereum', 'evt_transfer') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{safe_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/models/thales/ethereum/thales_ethereum_airdrop_claims.sql b/models/thales/ethereum/thales_ethereum_airdrop_claims.sql index 7c7c9e33e48..c9dd3152565 100644 --- a/models/thales/ethereum/thales_ethereum_airdrop_claims.sql +++ b/models/thales/ethereum/thales_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{thales_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'THALES' AS token_symbol , t.evt_index FROM {{ source('thales_ethereum', 'Airdrop_evt_Claim') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{thales_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-09-15' AND TIMESTAMP '2022-02-02' \ No newline at end of file diff --git a/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql b/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql index e3833083d99..181199ab47f 100644 --- a/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql +++ b/models/value_defi/ethereum/value_defi_ethereum_airdrop_claims.sql @@ -20,7 +20,7 @@ WITH more_prices AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'ethereum' AND contract_address= {{vusd_token_address}} ) @@ -44,7 +44,7 @@ SELECT 'ethereum' AS blockchain , 'vUSD' AS token_symbol , t.evt_index FROM {{ source('value_defi_ethereum', 'MerkleDistributor_evt_Claimed') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'ethereum' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'ethereum' AND pu.contract_address= {{vusd_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) WHERE t.evt_block_time BETWEEN TIMESTAMP '2021-01-19' AND TIMESTAMP '2021-09-26' \ No newline at end of file diff --git a/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql b/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql index ae9cfaea183..da7a001f4d4 100644 --- a/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql +++ b/models/velodrome/optimism/velodrome_optimism_airdrop_claims.sql @@ -22,7 +22,7 @@ WITH price_bounds AS ( , MAX(hour) AS max_hour , MIN_BY(median_price, hour) AS min_price , MAX_BY(median_price, hour) AS max_price - FROM {{ ref('dex_prices') }} + FROM {{ source('dex', 'prices') }} WHERE blockchain = 'optimism' AND contract_address= {{velo_token_address}} ) @@ -46,7 +46,7 @@ SELECT 'optimism' AS blockchain , 'VELO' AS token_symbol , t.evt_index FROM {{ source('velodrome_optimism', 'MerkleClaim_evt_Claim') }} t -LEFT JOIN {{ ref('dex_prices') }} pu ON pu.blockchain = 'optimism' +LEFT JOIN {{ source('dex', 'prices') }} pu ON pu.blockchain = 'optimism' AND pu.contract_address= {{velo_token_address}} AND pu.hour = date_trunc('hour', t.evt_block_time) {% if is_incremental() %} diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml new file mode 100644 index 00000000000..879b16eab2c --- /dev/null +++ b/sources/_subprojects/dex/_sources.yml @@ -0,0 +1,18 @@ +version: 2 + +sources: + - name: dex + description: "output models of the DEX sector (dbt subproject)" + tables: + - name: trades + - name: prices + - name: prices_latest + - name: pools + - name: addresses + - name: atomic_arbitrages + - name: sandwiches + - name: sandwiched + - name: info + - name: dex_aggregator + tables: + - name: trades \ No newline at end of file From 8e6c6c06a338cc4fe615cfa7f8a45f932a2a3420 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 14:45:49 -0400 Subject: [PATCH 34/63] cleanup subproject sources --- sources/_subprojects/dex/_sources.yml | 29 ++++++++++++++++++++- sources/_subprojects/spellbook/_sources.yml | 3 --- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 879b16eab2c..b0909867b79 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -15,4 +15,31 @@ sources: - name: info - name: dex_aggregator tables: - - name: trades \ No newline at end of file + - name: trades + - name: balancer_v2_optimism + tables: + - name: trades + - name: balancer_v2_arbitrum + tables: + - name: trades + - name: balancer_v2_avalanche_c + tables: + - name: trades + - name: balancer_v2_base + tables: + - name: trades + - name: balancer_v2_ethereum + tables: + - name: trades + - name: balancer_v2_gnosis + tables: + - name: trades + - name: balancer_v2_polygon + tables: + - name: trades + - name: balancer_v2_zkevm + tables: + - name: trades + - name: uniswap_v3_optimism + tables: + - name: ovm1_pool_mapping \ No newline at end of file diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 4edb03bd0d3..e9194013ff1 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -44,9 +44,6 @@ sources: - name: bridge_optimism tables: - name: standard_bridge_flows - - name: uniswap_v3_optimism - tables: - - name: ovm1_pool_mapping - name: op_optimism tables: - name: airdrop_1_claims From faeb98031becab06e471d6849f754f6bf73dcd6d Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:23:21 -0400 Subject: [PATCH 35/63] update dex aggregator to source --- ...w_protocol_tx_hash_labels_bluechip_investment_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_early_investment_ethereum.sql | 4 ++-- .../cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql | 2 +- ...tocol_tx_hash_labels_staking_token_investment_ethereum.sql | 2 +- ...w_protocol_tx_hash_labels_treasury_management_ethereum.sql | 2 +- .../ethereum/labels_arbitrage_traders_ethereum.sql | 2 +- .../dex_aggregator_traders/labels_dex_aggregator_traders.sql | 2 +- .../dex/persona/trader_platforms/labels_trader_platforms.sql | 2 +- .../average_trade_values/labels_average_trade_values.sql | 2 +- .../addresses/dex/usage/trader_age/labels_trader_age.sql | 2 +- .../trader_dex_diversity/labels_trader_dex_diversity.sql | 2 +- .../usage/trader_frequencies/labels_trader_frequencies.sql | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql index b12bc6ddb47..65658e8e288 100644 --- a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql @@ -22,7 +22,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select bluechip_address from bluechips) and token_sold_address not in (select bluechip_address from bluechips) diff --git a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql index 579a3fa63ac..90d1c2abb74 100644 --- a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql @@ -12,7 +12,7 @@ with min(block_date) as project_start from ( select token_bought_address, block_date - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' UNION ALL select token_bought_address, block_date @@ -29,7 +29,7 @@ with * from ( select tx_hash, evt_index, project, version, block_date, token_bought_address - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' UNION ALL select tx_hash, evt_index, project, version, block_date, token_bought_address diff --git a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql index 20cd6180d98..4036c55b538 100644 --- a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql @@ -29,7 +29,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) UNION ALL diff --git a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql index 1da41c55b8a..37bbae0d99f 100644 --- a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql index ffbf0ba3b48..2bd01150afe 100644 --- a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql index 9bb5e10bb21..c6ad902177f 100644 --- a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql @@ -11,7 +11,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql index 7b03a8e2fbe..caa6c9192e5 100644 --- a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql @@ -32,7 +32,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select staking_token_address from staking_tokens) UNION ALL diff --git a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql index 2db843bc30a..79d3a437a63 100644 --- a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql @@ -19,7 +19,7 @@ with * from ( select tx_hash, evt_index, project, version - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} where blockchain = 'ethereum' and taker in (select address from daos) UNION ALL diff --git a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql index 388ff5e8a42..a1ee2c7c64a 100644 --- a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql @@ -68,7 +68,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ ref('dex_aggregator_trades') }} --{{ref('dex_aggregator_trades')}} + FROM {{ source('dex_aggregator', 'trades') }} --{{ref('dex_aggregator_trades')}} ) t1 INNER JOIN ( diff --git a/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql b/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql index 47c2ccee1cf..c5b8ccbedbc 100644 --- a/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql +++ b/models/labels/addresses/dex/persona/dex_aggregator_traders/labels_dex_aggregator_traders.sql @@ -12,7 +12,7 @@ with dex_traders as ( select distinct taker as address, blockchain - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} ) select blockchain, diff --git a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql index af353c40a18..091586d1bcf 100644 --- a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql +++ b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql @@ -20,7 +20,7 @@ with trader_platforms as ( taker, project, block_time - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, diff --git a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql index bb7ef4799cc..dbf015bb768 100644 --- a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql +++ b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql @@ -17,7 +17,7 @@ with blockchain from ( select taker, blockchain, amount_usd - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select taker, blockchain, amount_usd from {{ ref('dex_trades') }} diff --git a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql index d294534930c..eab97fabf7e 100644 --- a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql +++ b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql @@ -15,7 +15,7 @@ with trader_age as ( taker as address from ( select blockchain, taker, block_date - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date from {{ ref('dex_trades') }} diff --git a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql index 284de74fc99..5b5f2efde8c 100644 --- a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql +++ b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql @@ -16,7 +16,7 @@ with count(distinct project) as dex_diversity, taker as address from (select blockchain, taker, project - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} union all select blockchain, taker, project from {{ ref('dex_trades') }}) diff --git a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql index 497037d4765..8875e3079cc 100644 --- a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql +++ b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql @@ -21,7 +21,7 @@ with end as trades_per_day from ( select blockchain, taker, block_date, tx_hash - from {{ ref('dex_aggregator_trades') }} + from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date, tx_hash from {{ ref('dex_trades') }} From 2fd45a6815a1dd17c23e81ba2dabd49f3e6de603 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:27:38 -0400 Subject: [PATCH 36/63] dex trades ref to source --- ...w_protocol_tx_hash_labels_bluechip_investment_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_early_investment_ethereum.sql | 4 ++-- .../cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql | 2 +- .../ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql | 2 +- .../cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql | 2 +- ...tocol_tx_hash_labels_staking_token_investment_ethereum.sql | 2 +- ...w_protocol_tx_hash_labels_treasury_management_ethereum.sql | 2 +- models/keep3r_network/keep3r_network_token_prices.sql | 4 ++-- .../op_chains/labels_op_chains_likely_bot_addresses.sql | 2 +- .../op_chains/labels_op_chains_likely_bot_contracts.sql | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql index 65658e8e288..672f596f107 100644 --- a/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/bluechip_investment/ethereum/cow_protocol_tx_hash_labels_bluechip_investment_ethereum.sql @@ -28,7 +28,7 @@ with and token_sold_address not in (select bluechip_address from bluechips) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select bluechip_address from bluechips) and token_sold_address not in (select bluechip_address from bluechips) diff --git a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql index 90d1c2abb74..64d9d6d66d2 100644 --- a/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/early_investment/ethereum/cow_protocol_tx_hash_labels_early_investment_ethereum.sql @@ -16,7 +16,7 @@ with where blockchain = 'ethereum' UNION ALL select token_bought_address, block_date - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' ) group by @@ -33,7 +33,7 @@ with where blockchain = 'ethereum' UNION ALL select tx_hash, evt_index, project, version, block_date, token_bought_address - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' ) t join project_starts p on t.token_bought_address = p.token_bought_address where diff --git a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql index 4036c55b538..146941f4b73 100644 --- a/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/harvest_yield/ethereum/cow_protocol_tx_hash_labels_harvest_yield_ethereum.sql @@ -34,7 +34,7 @@ with and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_sold_address in (select harvest_yield_token_address from harvest_yield_tokens) ) diff --git a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql index 37bbae0d99f..4e95074a5ce 100644 --- a/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/offramp/ethereum/cow_protocol_tx_hash_labels_offramp_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql index 2bd01150afe..4386df4889f 100644 --- a/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/onramp/ethereum/cow_protocol_tx_hash_labels_onramp_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address not in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql index c6ad902177f..1a10036443f 100644 --- a/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/stable_to_stable/ethereum/cow_protocol_tx_hash_labels_stable_to_stable_ethereum.sql @@ -17,7 +17,7 @@ with and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) and token_sold_address in (select contract_address from {{ source('tokens_ethereum', 'stablecoins') }}) diff --git a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql index caa6c9192e5..ed8af754027 100644 --- a/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/staking_token_investment/ethereum/cow_protocol_tx_hash_labels_staking_token_investment_ethereum.sql @@ -37,7 +37,7 @@ with and token_bought_address in (select staking_token_address from staking_tokens) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and token_bought_address in (select staking_token_address from staking_tokens) ) diff --git a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql index 79d3a437a63..999d9883439 100644 --- a/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql +++ b/models/cow_protocol/tx_hash_labels/treasury_management/ethereum/cow_protocol_tx_hash_labels_treasury_management_ethereum.sql @@ -24,7 +24,7 @@ with and taker in (select address from daos) UNION ALL select tx_hash, evt_index, project, version - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and taker in (select address from daos) ) diff --git a/models/keep3r_network/keep3r_network_token_prices.sql b/models/keep3r_network/keep3r_network_token_prices.sql index 34c79f3681f..8e9c7a08c08 100644 --- a/models/keep3r_network/keep3r_network_token_prices.sql +++ b/models/keep3r_network/keep3r_network_token_prices.sql @@ -55,7 +55,7 @@ dex_trade as ( blockchain, block_date as day, (amount_usd / token_sold_amount) as price - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where token_sold_address in (select token_address from dex_tokens) and block_date >= timestamp '2021-10-10' @@ -65,7 +65,7 @@ dex_trade as ( blockchain, block_date as day, (amount_usd / token_bought_amount) as price - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where token_bought_address in (select token_address from dex_tokens) and block_date >= timestamp '2021-10-10' diff --git a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql index 4ed7f9a141c..fd04a9ba21f 100644 --- a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql +++ b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_addresses.sql @@ -33,7 +33,7 @@ WITH sender_transfer_rates AS ( WHEN EXISTS (SELECT 1 FROM {{ source('nft_' + chain,'transfers') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_token_tfer_txs - , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('dex_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs + , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('dex', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('perpetual_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_perp_trade_txs , SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('nft', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_nft_trade_txs diff --git a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql index abc965152ee..0742a17972a 100644 --- a/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql +++ b/models/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bot_contracts.sql @@ -35,7 +35,7 @@ FROM ( WHEN EXISTS (SELECT 1 FROM {{ source('nft_' + chain,'transfers') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number ) THEN 1 ELSE 0 END) AS num_token_tfer_txs, - SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('dex_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs, + SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('dex', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_dex_trade_txs, SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ ref('perpetual_trades') }} r WHERE t.hash = r.tx_hash AND t.block_time = r.block_time AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_perp_trade_txs, SUM(CASE WHEN EXISTS (SELECT 1 FROM {{ source('nft', 'trades') }} r WHERE t.hash = r.tx_hash AND t.block_number = r.block_number AND r.block_month = DATE_TRUNC('month',r.block_time) AND blockchain = '{{chain}}') THEN 1 ELSE 0 END) AS num_nft_trade_txs, COUNT(*) AS num_txs, COUNT(DISTINCT "from") AS num_senders, COUNT(*)/COUNT(DISTINCT "from") AS txs_per_sender, From 16578b9f0a2ef42481ba7455bb1eda56f59021d7 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:30:23 -0400 Subject: [PATCH 37/63] cow protocol ref to source --- .../cow_protocol/ethereum/cow_protocol_ethereum_batches.sql | 2 +- .../ethereum/cow_protocol_ethereum_referrals.sql | 2 +- .../ethereum/cow_protocol_ethereum_trade_slippage.sql | 2 +- sources/_subprojects/dex/_sources.yml | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql index 9318c5d61fa..743499aea18 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_batches.sql @@ -54,7 +54,7 @@ batch_values as ( sum(usd_value) as batch_value, sum(fee_usd) as fee_value, price as eth_price - from {{ ref('cow_protocol_ethereum_trades') }} + from {{ source('cow_protocol_ethereum', 'trades') }} left outer join {{ source('prices', 'usd') }} as p on p.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 {% if is_incremental() %} diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql index 928ff6a299c..6af195f559a 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_referrals.sql @@ -23,7 +23,7 @@ referral_map as ( ROW_NUMBER() OVER(PARTITION BY trader ORDER BY block_time, evt_index) AS user_trade_index, trader, app_data - FROM {{ ref('cow_protocol_ethereum_trades') }} + FROM {{ source('cow_protocol_ethereum', 'trades') }} GROUP BY trader, block_time, app_data, evt_index ) ,user_first_trade as ( diff --git a/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql b/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql index 12637353537..4b3987a9bab 100644 --- a/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql +++ b/models/cow_protocol/ethereum/cow_protocol_ethereum_trade_slippage.sql @@ -31,7 +31,7 @@ select usd_value as trade_usd_value, slippage_bips as tolerance_bips from {{ref('cow_protocol_ethereum_app_data')}} as ad -inner join {{ ref('cow_protocol_ethereum_trades') }} as t on t.app_data = ad.app_hash +inner join {{ source('cow_protocol_ethereum', 'trades') }} as t on t.app_data = ad.app_hash where slippage_bips is not null ), diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index b0909867b79..ec4125af648 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -42,4 +42,7 @@ sources: - name: trades - name: uniswap_v3_optimism tables: - - name: ovm1_pool_mapping \ No newline at end of file + - name: ovm1_pool_mapping + - name: cow_protocol_ethereum + tables: + - name: trades \ No newline at end of file From 22b9b2b521d21d4313728f9bf43afddb765a4f4f Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:34:45 -0400 Subject: [PATCH 38/63] cow gnosis ref to source --- models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql | 2 +- sources/_subprojects/dex/_sources.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql b/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql index 6aaad8388cc..4654c7053ab 100644 --- a/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql +++ b/models/cow_protocol/gnosis/cow_protocol_gnosis_batches.sql @@ -53,7 +53,7 @@ batch_values as ( sum(usd_value) as batch_value, sum(fee_usd) as fee_value, price as eth_price - from {{ ref('cow_protocol_gnosis_trades') }} + from {{ source('cow_protocol_gnosis', 'trades') }} left outer join {{ source('prices', 'usd') }} as p on p.contract_address = 0xe91d153e0b41518a2ce8dd3d7944fa863463a97d {% if is_incremental() %} diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index ec4125af648..165c8423e30 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -44,5 +44,8 @@ sources: tables: - name: ovm1_pool_mapping - name: cow_protocol_ethereum + tables: + - name: trades + - name: cow_protocol_gnosis tables: - name: trades \ No newline at end of file From 64fff9f1a99158083cb7b8ce32b1e130bfefb87c Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:45:38 -0400 Subject: [PATCH 39/63] cleanup old uniswap models --- .../arbitrum/uniswap_arbitrum_schema.yml | 129 --------- .../arbitrum/uniswap_arbitrum_trades.sql | 45 ---- .../arbitrum/uniswap_v3_arbitrum_trades.sql | 111 -------- .../uniswap_avalanche_c_schema.yml | 96 ------- .../uniswap_avalanche_c_trades.sql | 44 ---- .../uniswap_v3_avalanche_c_trades.sql | 106 -------- .../uniswap/base/uniswap_base_schema.yml | 96 ------- .../uniswap/base/uniswap_base_trades.sql | 43 --- .../uniswap/base/uniswap_v3_base_trades.sql | 110 -------- .../uniswap/bnb/uniswap_bnb_schema.yml | 129 --------- .../uniswap/bnb/uniswap_bnb_trades.sql | 44 ---- .../uniswap/bnb/uniswap_v3_bnb_trades.sql | 111 -------- .../uniswap/celo/uniswap_celo_schema.yml | 142 +--------- .../uniswap/celo/uniswap_celo_trades.sql | 45 ---- .../uniswap/celo/uniswap_v3_celo_trades.sql | 109 -------- .../ethereum/uniswap_ethereum_schema.yml | 248 ++---------------- .../ethereum/uniswap_ethereum_trades.sql | 47 ---- .../ethereum/uniswap_v1_ethereum_trades.sql | 134 ---------- .../ethereum/uniswap_v2_ethereum_trades.sql | 116 -------- .../ethereum/uniswap_v3_ethereum_trades.sql | 111 -------- .../optimism/uniswap_optimism_schema.yml | 126 --------- .../optimism/uniswap_optimism_trades.sql | 45 ---- .../optimism/uniswap_v3_optimism_trades.sql | 111 -------- .../polygon/uniswap_polygon_schema.yml | 129 --------- .../polygon/uniswap_polygon_trades.sql | 45 ---- .../polygon/uniswap_v3_polygon_trades.sql | 111 -------- 26 files changed, 24 insertions(+), 2559 deletions(-) delete mode 100644 models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql delete mode 100644 models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql delete mode 100644 models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql delete mode 100644 models/_project/uniswap/base/uniswap_base_schema.yml delete mode 100644 models/_project/uniswap/base/uniswap_base_trades.sql delete mode 100644 models/_project/uniswap/base/uniswap_v3_base_trades.sql delete mode 100644 models/_project/uniswap/bnb/uniswap_bnb_trades.sql delete mode 100644 models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql delete mode 100644 models/_project/uniswap/celo/uniswap_celo_trades.sql delete mode 100644 models/_project/uniswap/celo/uniswap_v3_celo_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql delete mode 100644 models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql delete mode 100644 models/_project/uniswap/optimism/uniswap_optimism_trades.sql delete mode 100644 models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql delete mode 100644 models/_project/uniswap/polygon/uniswap_polygon_trades.sql delete mode 100644 models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql diff --git a/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml index 733b9070d98..e81e5710d3d 100644 --- a/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml +++ b/models/_project/uniswap/arbitrum/uniswap_arbitrum_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke, mtitus6 - config: - tags: ['arbitrum','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Arbitrum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: arbitrum - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_arbitrum_trades - meta: - blockchain: arbitrum - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke, mtitus6 - config: - tags: ['arbitrum','dex','trades', 'uniswap'] - description: > - Uniswap trades on Arbitrum across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_arbitrum_flashloans meta: blockchain: arbitrum diff --git a/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql deleted file mode 100644 index adfa8e14cac..00000000000 --- a/models/_project/uniswap/arbitrum/uniswap_arbitrum_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_arbitrum_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) diff --git a/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql b/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql deleted file mode 100644 index 48e18251c6f..00000000000 --- a/models/_project/uniswap/arbitrum/uniswap_v3_arbitrum_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_arbitrum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["arbitrum"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc","mtitus6"]\') }}' - ) -}} - -{% set project_start_date = '2021-06-01' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_arbitrum', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_arbitrum', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT DISTINCT - 'arbitrum' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('arbitrum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'arbitrum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'arbitrum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'arbitrum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'arbitrum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml deleted file mode 100644 index 947cc59a418..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: uniswap_v3_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: uniswap_v3 - contributors: phu - config: - tags: ['avalanche_c','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: avalanche_c - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql deleted file mode 100644 index 767f36bef15..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_avalanche_c_trades.sql +++ /dev/null @@ -1,44 +0,0 @@ -{{ config( - schema = 'uniswap_avalanche_c' - , alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_avalanche_c_models = [ -'uniswap_v3_avalanche_c_trades' -] %} - -SELECT * -FROM ( - {% for dex_model in uniswap_avalanche_c_models %} - SELECT - blockchain, - project, - version, - block_date, - block_month, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ ref(dex_model) }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql b/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql deleted file mode 100644 index d3b189d99f3..00000000000 --- a/models/_project/uniswap/avalanche_c/uniswap_v3_avalanche_c_trades.sql +++ /dev/null @@ -1,106 +0,0 @@ -{{ config( - schema = 'uniswap_v3_avalanche_c', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'] - ) -}} - -{% set project_start_date = '2023-06-21' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_avalanche_c', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_avalanche_c', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'avalanche_c' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,TRY_CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,cast(dexs.token_bought_amount_raw AS uint256) AS token_bought_amount_raw - ,cast(dexs.token_sold_amount_raw AS uint256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('avalanche_c', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'avalanche_c' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'avalanche_c' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_base_schema.yml b/models/_project/uniswap/base/uniswap_base_schema.yml deleted file mode 100644 index 8fa0b4a7979..00000000000 --- a/models/_project/uniswap/base/uniswap_base_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: uniswap_v3_base_trades - meta: - blockchain: base - sector: dex - project: uniswap_v3 - contributors: wuligy - config: - tags: ['base','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Base - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: base - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_base_trades.sql b/models/_project/uniswap/base/uniswap_base_trades.sql deleted file mode 100644 index 6390c817a7f..00000000000 --- a/models/_project/uniswap/base/uniswap_base_trades.sql +++ /dev/null @@ -1,43 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_base_models = [ -'uniswap_v3_base_trades' -] %} - -SELECT * -FROM ( - {% for dex_model in uniswap_base_models %} - SELECT - blockchain, - project, - version, - block_date, - block_month, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ ref(dex_model) }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/base/uniswap_v3_base_trades.sql b/models/_project/uniswap/base/uniswap_v3_base_trades.sql deleted file mode 100644 index e9f96ec9f4b..00000000000 --- a/models/_project/uniswap/base/uniswap_v3_base_trades.sql +++ /dev/null @@ -1,110 +0,0 @@ -{{ config( - schema = 'uniswap_v3_base', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["base"]\', - "project", - "uniswap_v3", - \'["wuligy"]\') }}' - ) -}} - -{% set project_start_date = '2023-07-16' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_base', 'UniswapV3Pool_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_base', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'base' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,TRY_CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,cast(dexs.token_bought_amount_raw AS uint256) AS token_bought_amount_raw - ,cast(dexs.token_sold_amount_raw AS uint256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('base', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'base' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'base' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'base' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'base' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/bnb/uniswap_bnb_schema.yml b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml index faccd0cecb0..768b8c47dc4 100644 --- a/models/_project/uniswap/bnb/uniswap_bnb_schema.yml +++ b/models/_project/uniswap/bnb/uniswap_bnb_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_bnb_trades - meta: - blockchain: bnb - sector: dex - project: uniswap_v3 - contributors: chrispearcx - config: - tags: ['bnb','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on BNB chain - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: bnb - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_date - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_bnb_trades - meta: - blockchain: bnb - sector: dex - project: uniswap - contributors: chrispearcx - config: - tags: ['bnb','dex','trades', 'uniswap'] - description: > - Uniswap trades on BNB chain across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_bnb_flashloans meta: blockchain: bnb diff --git a/models/_project/uniswap/bnb/uniswap_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_bnb_trades.sql deleted file mode 100644 index fd14d526849..00000000000 --- a/models/_project/uniswap/bnb/uniswap_bnb_trades.sql +++ /dev/null @@ -1,44 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_bnb_models = [ -ref('uniswap_v3_bnb_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_bnb_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql b/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql deleted file mode 100644 index 8c582789d1b..00000000000 --- a/models/_project/uniswap/bnb/uniswap_v3_bnb_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_bnb', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["bnb"]\', - "project", - "uniswap_v3", - \'["chrispearcx"]\') }}' - ) -}} - -{% set project_start_date = '2023-03-01' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_bnb', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_bnb', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'bnb' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('bnb', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'bnb' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'bnb' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'bnb' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'bnb' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/celo/uniswap_celo_schema.yml b/models/_project/uniswap/celo/uniswap_celo_schema.yml index b83c06e6676..0560a061054 100644 --- a/models/_project/uniswap/celo/uniswap_celo_schema.yml +++ b/models/_project/uniswap/celo/uniswap_celo_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_celo_trades - meta: - blockchain: celo - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke, tomfutago - config: - tags: ['celo','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Celo - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: celo - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_celo_trades - meta: - blockchain: celo - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke, tomfutago - config: - tags: ['celo','dex','trades', 'uniswap'] - description: > - Uniswap trades on Celo across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_celo_flashloans meta: blockchain: celo @@ -146,17 +17,18 @@ models: - tx_hash - evt_index columns: - - *blockchain - - *project - - *version - - *block_time + - name: blockchain + - name: project + - name: version + - name: block_time - name: block_number - name: amount - name: amount_usd - - *tx_hash - - *evt_index + - name: tx_hash + - name: evt_index - name: fee - name: currency_contract - name: currency_symbol - name: recipient - name: contract_address + - name: block_month diff --git a/models/_project/uniswap/celo/uniswap_celo_trades.sql b/models/_project/uniswap/celo/uniswap_celo_trades.sql deleted file mode 100644 index d0421add4b7..00000000000 --- a/models/_project/uniswap/celo/uniswap_celo_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_celo_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) diff --git a/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql b/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql deleted file mode 100644 index ec605b2f080..00000000000 --- a/models/_project/uniswap/celo/uniswap_v3_celo_trades.sql +++ /dev/null @@ -1,109 +0,0 @@ -{{ config( - schema = 'uniswap_v3_celo', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["celo"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc", "tomfutago"]\') }}' - ) -}} - -{% set project_start_date = '2022-07-07' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('uniswap_v3_celo', 'Pair_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_celo', 'UniswapV3Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT DISTINCT - 'celo' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('celo', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'celo' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'celo' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'celo' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'celo' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml index b4ee9281c39..27a5bd5cca3 100644 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_schema.yml @@ -1,231 +1,6 @@ version: 2 models: - - name: uniswap_v1_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v1 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v1','trades', 'uniswap','dex'] - description: > - Uniswap V1 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_v2_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v2 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v2','trades', 'uniswap','dex'] - description: > - Uniswap V2 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 2 - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - - name: uniswap_v3_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap_v3 - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on Ethereum - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: ethereum - project: uniswap - version: 3 - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - - name: uniswap_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: uniswap - contributors: jeff-dude, masquot, soispoke - config: - tags: ['ethereum','dex','trades', 'uniswap', 'jeff-dude'] - description: > - Uniswap trades on Ethereum across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_ethereum_votes meta: blockchain: ethereum @@ -243,7 +18,9 @@ models: description: "Version of the contract built and deployed by the DAO project" - name: block_time description: "UTC event block time of each DAO vote" - - *block_month + - &block_month + name: block_month + description: "UTC event block month of each DEX trade" - name: tx_hash description: "Unique transaction hash value tied to each vote on the DAO" - &dao_name @@ -350,12 +127,18 @@ models: - recipient - evt_index columns: - - *blockchain - - *block_time + - &blockchain + name: blockchain + description: "Blockchain which the DEX is deployed" + - &block_time + name: block_time + description: "UTC event block time of each DEX trade" - &block_number name: block_number description: "Block number of transaction" - - *project + - &project + name: project + description: "Project name of the DEX" - &airdrop_number name: airdrop_number description: "Airdrop identifier number" @@ -365,7 +148,9 @@ models: - &contract_address name: contract_address description: "Contract addressed used" - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction on the DEX" - name: amount_raw description: "Raw amount of tokens" - name: amount_original @@ -374,7 +159,8 @@ models: description: "USD value of tokens" - *token_address - *token_symbol - - *evt_index + - &evt_index + name: evt_index - name: uniswap_v3_ethereum_flashloans meta: diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql deleted file mode 100644 index 956d767aedc..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_trades.sql +++ /dev/null @@ -1,47 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v1_ethereum_trades') -,ref('uniswap_v2_ethereum_trades') -,ref('uniswap_v3_ethereum_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) - diff --git a/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql deleted file mode 100644 index fa79ab08f68..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v1_ethereum_trades.sql +++ /dev/null @@ -1,134 +0,0 @@ -{{ config( - schema = 'uniswap_v1_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v1", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2018-11-01' %} -{% set weth_address = '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' %} - -WITH dexs AS -( - -- Uniswap v1 TokenPurchase - SELECT - t.evt_block_time AS block_time - ,t.buyer AS taker - ,CAST(NULL as VARBINARY) as maker - ,t.tokens_bought AS token_bought_amount_raw - ,t.eth_sold AS token_sold_amount_raw - ,NULL AS amount_usd - ,f.token AS token_bought_address - ,{{weth_address}} AS token_sold_address --Using WETH for easier joining with USD price table - ,t.contract_address AS project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_ethereum', 'Exchange_evt_TokenPurchase') }} t - INNER JOIN {{ source('uniswap_ethereum', 'Factory_evt_NewExchange') }} f - ON f.exchange = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} - - UNION ALL - - -- Uniswap v1 EthPurchase - SELECT - t.evt_block_time AS block_time - ,t.buyer AS taker - ,CAST(NULL as VARBINARY) as maker - ,t.eth_bought AS token_bought_amount_raw - ,t.tokens_sold AS token_sold_amount_raw - ,NULL AS amount_usd - ,{{weth_address}} AS token_bought_address --Using WETH for easier joining with USD price table - ,f.token AS token_sold_address - ,t.contract_address AS project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_ethereum', 'Exchange_evt_EthPurchase') }} t - INNER JOIN {{ source('uniswap_ethereum', 'Factory_evt_NewExchange') }} f - ON f.exchange = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'1' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,dexs.token_bought_amount_raw AS token_bought_amount_raw - ,dexs.token_sold_amount_raw AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql deleted file mode 100644 index 0185107c796..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v2_ethereum_trades.sql +++ /dev/null @@ -1,116 +0,0 @@ -{{ config( - schema = 'uniswap_v2_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v2", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2020-05-05' %} -{% set weth_ubomb_wash_trading_pair = "0xed9c854cb02de75ce4c9bba992828d6cb7fd5c71" %} -{% set weth_weth_wash_trading_pair = "0xf9c1fa7d41bf44ade1dd08d37cc68f67ae75bf92" %} -{% set feg_eth_wash_trading_pair = "0x854373387e41371ac6e307a1f29603c6fa10d872" %} - -WITH dexs AS -( - -- Uniswap v2 - SELECT - t.evt_block_time AS block_time - ,t.to AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0Out = UINT256 '0' THEN amount1Out ELSE amount0Out END AS token_bought_amount_raw - ,CASE WHEN amount0In = UINT256 '0' OR amount1Out = UINT256 '0' THEN amount1In ELSE amount0In END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0Out = UINT256 '0' THEN f.token1 ELSE f.token0 END AS token_bought_address - ,CASE WHEN amount0In = UINT256 '0' OR amount1Out = UINT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v2_ethereum', 'Pair_evt_Swap') }} t - INNER JOIN {{ source('uniswap_v2_ethereum', 'Factory_evt_PairCreated') }} f - ON f.pair = t.contract_address - WHERE t.contract_address NOT IN ( - {{weth_ubomb_wash_trading_pair}}, - {{weth_weth_wash_trading_pair}}, - {{feg_eth_wash_trading_pair}}) - {% if is_incremental() %} - AND t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'2' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,dexs.token_bought_amount_raw AS token_bought_amount_raw - ,dexs.token_sold_amount_raw AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql b/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql deleted file mode 100644 index d8ebe425c2e..00000000000 --- a/models/_project/uniswap/ethereum/uniswap_v3_ethereum_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_ethereum', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} - -{% set project_start_date = '2021-05-04' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,f.fee - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_ethereum', 'Pair_evt_Swap') }} t - INNER JOIN {{ source('uniswap_v3_ethereum', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'ethereum' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.fee - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('ethereum', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'ethereum' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'ethereum' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'ethereum' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} diff --git a/models/_project/uniswap/optimism/uniswap_optimism_schema.yml b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml index b6a0ac198d8..9430771f4a9 100644 --- a/models/_project/uniswap/optimism/uniswap_optimism_schema.yml +++ b/models/_project/uniswap/optimism/uniswap_optimism_schema.yml @@ -1,132 +1,6 @@ version: 2 models: - - name: uniswap_v3_optimism_trades - meta: - blockchain: optimism - project: uniswap - contributors: 0xBoxer, jeff-dude - config: - tags: ['optimism','uniswap','dex'] - description: > - A table containing all trades of uniswap v3 on optimism - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: optimism - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - name: uniswap_optimism_trades - meta: - blockchain: optimism - project: uniswap - contributors: 0xBoxer, jeff-dude - config: - tags: ['optimism','uniswap','dex.trades'] - description: > - A table containing all trades of uniswap on optimism. future proof for more protocol version on this chain - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_optimism_flashloans meta: blockchain: optimism diff --git a/models/_project/uniswap/optimism/uniswap_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_optimism_trades.sql deleted file mode 100644 index 5672d94c4b3..00000000000 --- a/models/_project/uniswap/optimism/uniswap_optimism_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_models = [ -ref('uniswap_v3_optimism_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql b/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql deleted file mode 100644 index ef530f792c7..00000000000 --- a/models/_project/uniswap/optimism/uniswap_v3_optimism_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_optimism', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["optimism"]\', - "project", - "uniswap_v3", - \'["jeff-dude", "markusbkoch", "masquot", "milkyklim", "0xBoxer", "mewwts", "hagaetc"]\') }}' - ) -}} --- OVM 1 Launch 06-23-21 -{% set project_start_date = '2021-06-23' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - , t.evt_block_number - , t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_optimism', 'Pair_evt_Swap') }} t - INNER JOIN {{ ref('uniswap_optimism_pools') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'optimism' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN {{ source('optimism', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - AND tx.block_number = dexs.evt_block_number - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'optimism' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'optimism' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'optimism' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'optimism' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file diff --git a/models/_project/uniswap/polygon/uniswap_polygon_schema.yml b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml index 07a6d36e8aa..3986e172aac 100644 --- a/models/_project/uniswap/polygon/uniswap_polygon_schema.yml +++ b/models/_project/uniswap/polygon/uniswap_polygon_schema.yml @@ -1,135 +1,6 @@ version: 2 models: - - name: uniswap_v3_polygon_trades - meta: - blockchain: polygon - sector: dex - project: uniswap_v3 - contributors: Henrystats - config: - tags: ['polygon','uniswap_v3','trades', 'uniswap','dex'] - description: > - Uniswap V3 contract trades on polygon - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: polygon - project: uniswap - version: 3 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - description: "" - - - name: uniswap_polygon_trades - meta: - blockchain: polygon - sector: dex - project: uniswap - contributors: henrystats - config: - tags: ['polygon','dex','trades', 'uniswap'] - description: > - Uniswap trades on Polygon across all contracts and versions. This table will load dex trades downstream. - columns: - - *blockchain - - *project - - *version - - *block_month - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_pair - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *taker - - *maker - - *project_contract_address - - *tx_hash - - *tx_from - - *tx_to - - *evt_index - - name: uniswap_v3_polygon_flashloans meta: blockchain: polygon diff --git a/models/_project/uniswap/polygon/uniswap_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_polygon_trades.sql deleted file mode 100644 index c8aae59f359..00000000000 --- a/models/_project/uniswap/polygon/uniswap_polygon_trades.sql +++ /dev/null @@ -1,45 +0,0 @@ -{{ config( - alias = 'trades' - , tags = ['prod_exclude'] - ) -}} - -{% set uniswap_polygon_models = [ -ref('uniswap_v3_polygon_trades') -] %} - - -SELECT * -FROM ( - {% for dex_model in uniswap_polygon_models %} - SELECT - blockchain, - project, - version, - block_month, - block_date, - block_time, - token_bought_symbol, - token_sold_symbol, - token_pair, - token_bought_amount, - token_sold_amount, - token_bought_amount_raw, - token_sold_amount_raw, - amount_usd, - token_bought_address, - token_sold_address, - taker, - maker, - project_contract_address, - tx_hash, - tx_from, - tx_to, - - evt_index - FROM {{ dex_model }} - {% if not loop.last %} - UNION ALL - {% endif %} - {% endfor %} -) \ No newline at end of file diff --git a/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql b/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql deleted file mode 100644 index deb55266b4f..00000000000 --- a/models/_project/uniswap/polygon/uniswap_v3_polygon_trades.sql +++ /dev/null @@ -1,111 +0,0 @@ -{{ config( - schema = 'uniswap_v3_polygon', - alias = 'trades', - tags = ['prod_exclude'], - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'], - post_hook='{{ expose_spells(\'["polygon"]\', - "project", - "uniswap_v3", - \'["Henrystats"]\') }}' - ) -}} - -{% set project_start_date = '2021-12-20' %} - -WITH dexs AS -( - --Uniswap v3 - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL as VARBINARY) as maker - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END AS token_bought_amount_raw -- when amount0 is negative it means trader_a is buying token0 from the pool - ,CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END AS token_bought_address - ,CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - - ,t.evt_index - FROM - {{ source('uniswap_v3_polygon', 'UniswapV3Pool_evt_Swap') }} t - INNER JOIN - {{ source('uniswap_v3_polygon', 'Factory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - {% if is_incremental() %} - WHERE t.evt_block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -) -SELECT - 'polygon' AS blockchain - ,'uniswap' AS project - ,'3' AS version - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,CAST(date_trunc('DAY', dexs.block_time) AS date) AS block_date - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,dexs.token_bought_amount_raw / power(10, erc20a.decimals) AS token_bought_amount - ,dexs.token_sold_amount_raw / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(dexs.token_bought_amount_raw / power(10, p_bought.decimals)) * p_bought.price - ,(dexs.token_sold_amount_raw / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('polygon', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND tx.block_time >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'polygon' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'polygon' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'polygon' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_bought.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'polygon' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND p_sold.minute >= date_trunc('day', now() - interval '7' day) - {% endif %} \ No newline at end of file From 9a93ed91ca08703c8a47948293c3b5f659d8d6ca Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 15:58:41 -0400 Subject: [PATCH 40/63] balancer refs to sources --- .../models/_project/balancer/balancer_bpt_prices_macro.sql | 2 +- .../models/_project/balancer/balancer_bpt_supply_macro.sql | 2 +- .../models/_project/balancer/balancer_liquidity_macro.sql | 2 +- .../balancer/balancer_pool_token_supply_changes_macro.sql | 2 +- .../_project/balancer/balancer_protocol_fee_macro.sql | 2 +- .../balancer/balancer_token_balance_changes_macro.sql | 2 +- .../balancer/pools/balancer_pools_metrics_daily.sql | 2 +- models/labels/labels_addresses.sql | 2 +- sources/_subprojects/dex/_sources.yml | 6 ++++++ 9 files changed, 14 insertions(+), 8 deletions(-) diff --git a/macros/models/_project/balancer/balancer_bpt_prices_macro.sql b/macros/models/_project/balancer/balancer_bpt_prices_macro.sql index 088277e6b87..23d8f0cfc28 100644 --- a/macros/models/_project/balancer/balancer_bpt_prices_macro.sql +++ b/macros/models/_project/balancer/balancer_bpt_prices_macro.sql @@ -9,7 +9,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_bpt_supply_macro.sql b/macros/models/_project/balancer/balancer_bpt_supply_macro.sql index 1b1dab0a80a..9ccb707cd73 100644 --- a/macros/models/_project/balancer/balancer_bpt_supply_macro.sql +++ b/macros/models/_project/balancer/balancer_bpt_supply_macro.sql @@ -11,7 +11,7 @@ WITH pool_labels AS ( name, pool_type, ROW_NUMBER() OVER (PARTITION BY address ORDER BY MAX(updated_at) DESC) AS num - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' GROUP BY 1, 2, 3) WHERE num = 1 diff --git a/macros/models/_project/balancer/balancer_liquidity_macro.sql b/macros/models/_project/balancer/balancer_liquidity_macro.sql index 7b8655a3414..5eb9a247eba 100644 --- a/macros/models/_project/balancer/balancer_liquidity_macro.sql +++ b/macros/models/_project/balancer/balancer_liquidity_macro.sql @@ -9,7 +9,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql b/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql index 5b876cca011..a9a70e5369d 100644 --- a/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql +++ b/macros/models/_project/balancer/balancer_pool_token_supply_changes_macro.sql @@ -8,7 +8,7 @@ WITH pool_labels AS ( address, name, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql index d74c3c352a2..a5dafd0cd11 100644 --- a/macros/models/_project/balancer/balancer_protocol_fee_macro.sql +++ b/macros/models/_project/balancer/balancer_protocol_fee_macro.sql @@ -11,7 +11,7 @@ WITH pool_labels AS ( name, pool_type, ROW_NUMBER() OVER (PARTITION BY address ORDER BY MAX(updated_at) DESC) AS num - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' GROUP BY 1, 2, 3) WHERE num = 1 diff --git a/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql b/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql index b16c9bf038e..26feb0e2a10 100644 --- a/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql +++ b/macros/models/_project/balancer/balancer_token_balance_changes_macro.sql @@ -8,7 +8,7 @@ WITH pool_labels AS ( address AS pool_id, name AS pool_symbol, pool_type - FROM {{ ref('labels_balancer_v2_pools') }} + FROM {{ source('labels', 'balancer_v2_pools') }} WHERE blockchain = '{{blockchain}}' ), diff --git a/models/_project/balancer/pools/balancer_pools_metrics_daily.sql b/models/_project/balancer/pools/balancer_pools_metrics_daily.sql index 9b24ba57a27..02ec8eff4cf 100644 --- a/models/_project/balancer/pools/balancer_pools_metrics_daily.sql +++ b/models/_project/balancer/pools/balancer_pools_metrics_daily.sql @@ -22,7 +22,7 @@ trades AS( blockchain, project_contract_address, sum(amount_usd) AS swap_amount_usd - FROM {{ ref('balancer_trades') }} + FROM {{ source('balancer', 'trades') }} {% if is_incremental() %} WHERE {{incremental_predicate('block_date')}} {% endif %} diff --git a/models/labels/labels_addresses.sql b/models/labels/labels_addresses.sql index 1dbc1d0e38c..8f96302d3ea 100644 --- a/models/labels/labels_addresses.sql +++ b/models/labels/labels_addresses.sql @@ -13,7 +13,7 @@ {% set single_category_labels_models = [ ref('labels_aztec_v2_contracts_ethereum') , ref('labels_balancer_v1_pools') - , ref('labels_balancer_v2_pools') + , source('labels', 'balancer_v2_pools') , ref('labels_balancer_v2_gauges') , ref('labels_cex') , ref('labels_contracts') diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 165c8423e30..dace8b038e4 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -40,6 +40,12 @@ sources: - name: balancer_v2_zkevm tables: - name: trades + - name: balancer + tables: + - name: trades + - name: labels + tables: + - name: balancer_v2_pools - name: uniswap_v3_optimism tables: - name: ovm1_pool_mapping From f45bb8b41cd70977ef173f0e2d3c05682d06c531 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:25:40 -0400 Subject: [PATCH 41/63] fix compile errors, more refs to sources --- .../celo/uniswap_v3_celo_flashloans.sql | 19 ++++++++++--------- .../uniswap_ethereum_airdrop_claims.sql | 2 +- .../_project/uniswap/uniswap_flashloans.sql | 2 +- .../camelot_arbitrum_pair_fee_rates.sql | 2 +- .../arbitrum/gyroscope_arbitrum_trades.sql | 2 +- .../ethereum/gyroscope_ethereum_trades.sql | 2 +- .../optimism/gyroscope_optimism_trades.sql | 2 +- .../polygon/gyroscope_polygon_trades.sql | 2 +- .../immortalx/celo/immortalx_celo_schema.yml | 4 ---- .../labels_balancer_v2_gauges_arbitrum.sql | 6 +++--- .../labels_balancer_v2_gauges_avalanche_c.sql | 2 +- .../labels_balancer_v2_gauges_base.sql | 2 +- .../labels_balancer_v2_gauges_ethereum.sql | 4 ++-- .../labels_balancer_v2_gauges_gnosis.sql | 2 +- .../labels_balancer_v2_gauges_optimism.sql | 6 +++--- .../labels_balancer_v2_gauges_polygon.sql | 6 +++--- .../labels_balancer_v2_gauges_zkevm.sql | 2 +- .../labels_arbitrage_traders_ethereum.sql | 8 ++++---- .../persona/dex_pools/labels_dex_pools.sql | 2 +- .../dex_traders/labels_dex_traders.sql | 4 ++-- .../op_dex_traders/labels_op_dex_traders.sql | 2 +- .../labels_sandwich_attackers_ethereum.sql | 4 ++-- .../labels_smart_dex_traders_ethereum.sql | 6 +++--- .../labels_trader_platforms.sql | 2 +- .../labels_average_trade_values.sql | 2 +- .../usage/trader_age/labels_trader_age.sql | 2 +- .../labels_trader_dex_diversity.sql | 2 +- .../labels_trader_frequencies.sql | 2 +- .../usage/trader_kyt/labels_trader_kyt.sql | 6 +++--- sources/_subprojects/dex/_sources.yml | 8 ++++++++ 30 files changed, 61 insertions(+), 56 deletions(-) diff --git a/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql index 647c52468ec..b3e73a5b29d 100644 --- a/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql +++ b/models/_project/uniswap/celo/uniswap_v3_celo_flashloans.sql @@ -1,13 +1,14 @@ {{ config( - alias = 'flashloans' - , materialized = 'incremental' - , file_format = 'delta' - , incremental_strategy = 'merge' - , unique_key = ['tx_hash', 'evt_index'] - , post_hook = '{{ expose_spells(\'["celo"]\', - "project", - "uniswap_v3", - \'["hildobby", "tomfutago"]\') }}' + schema = 'uniswap_v3_celo' + , alias = 'flashloans' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , post_hook = '{{ expose_spells(\'["celo"]\', + "project", + "uniswap_v3", + \'["hildobby", "tomfutago"]\') }}' ) }} diff --git a/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql index 41b6a24fb07..525592ad039 100644 --- a/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql +++ b/models/_project/uniswap/ethereum/uniswap_ethereum_airdrop_claims.sql @@ -1,6 +1,6 @@ {{ config( - + schema = 'uniswap_ethereum', alias = 'airdrop_claims', materialized = 'incremental', file_format = 'delta', diff --git a/models/_project/uniswap/uniswap_flashloans.sql b/models/_project/uniswap/uniswap_flashloans.sql index a75933e5608..e8001c6f8a7 100644 --- a/models/_project/uniswap/uniswap_flashloans.sql +++ b/models/_project/uniswap/uniswap_flashloans.sql @@ -1,5 +1,5 @@ {{ config( - + schema = 'uniswap', alias = 'flashloans', post_hook='{{ expose_spells(\'["ethereum","arbitrum", "optimism", "polygon", "bnb"]\', "project", diff --git a/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql b/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql index a0d7e828857..8589838004b 100644 --- a/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql +++ b/models/camelot/arbitrum/camelot_arbitrum_pair_fee_rates.sql @@ -101,7 +101,7 @@ with camelot_pair_trades_by_minute as ( select distinct date_trunc('minute', block_time) as minute, project_contract_address as pair - from {{ ref("dex_trades") }} + from {{ source('dex', 'trades') }} where blockchain = '{{blockchain}}' and project = 'camelot' {% if not is_incremental() %} diff --git a/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql b/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql index 6401af4cd74..7b9c608cbb0 100644 --- a/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql +++ b/models/gyroscope/arbitrum/gyroscope_arbitrum_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_arbitrum_trades') }} x +FROM {{ source('balancer_v2_arbitrum', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql b/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql index 95a8ae0ab37..f944c841899 100644 --- a/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql +++ b/models/gyroscope/ethereum/gyroscope_ethereum_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_ethereum_trades') }} x +FROM {{ source('balancer_v2_ethereum', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/optimism/gyroscope_optimism_trades.sql b/models/gyroscope/optimism/gyroscope_optimism_trades.sql index a2e724127cc..b8acf2a259c 100644 --- a/models/gyroscope/optimism/gyroscope_optimism_trades.sql +++ b/models/gyroscope/optimism/gyroscope_optimism_trades.sql @@ -46,7 +46,7 @@ SELECT tx_from, tx_to, evt_index -FROM {{ ref('balancer_v2_optimism_trades') }} x +FROM {{ source('balancer_v2_optimism', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/gyroscope/polygon/gyroscope_polygon_trades.sql b/models/gyroscope/polygon/gyroscope_polygon_trades.sql index e84740ecf08..375fff1fa4f 100644 --- a/models/gyroscope/polygon/gyroscope_polygon_trades.sql +++ b/models/gyroscope/polygon/gyroscope_polygon_trades.sql @@ -46,7 +46,7 @@ with E_CLPs AS ( tx_from, tx_to, evt_index - FROM {{ ref('balancer_v2_polygon_trades') }} x + FROM {{ source('balancer_v2_polygon', 'trades') }} x inner join E_CLPs y on x.block_time >= y.min_block_time and x.project_contract_address = y.pool diff --git a/models/immortalx/celo/immortalx_celo_schema.yml b/models/immortalx/celo/immortalx_celo_schema.yml index eb06e801af8..fb3b520ba51 100644 --- a/models/immortalx/celo/immortalx_celo_schema.yml +++ b/models/immortalx/celo/immortalx_celo_schema.yml @@ -60,10 +60,6 @@ models: - &project name: project description: "The underlying protocol/project where the swap took place" - tests: - - relationships: - to: ref('dex_info') - field: project - &version name: version description: "The version of the protocol/project" diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql index 1fd767faeae..9319de28db5 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_arbitrum.sql @@ -23,7 +23,7 @@ SELECT distinct FROM {{ source('balancer_ethereum', 'ArbitrumRootGaugeFactory_evt_ArbitrumRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_v2_arbitrum', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool WHERE pools.name IS NOT NULL UNION ALL @@ -45,7 +45,7 @@ FROM {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_v2_arbitrum', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = streamer.pool WHERE pools.name IS NOT NULL), child_gauges AS( @@ -64,7 +64,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedArbitrumRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_arbitrum', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_arbitrum') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_arbitrum') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql index 0530e49c4b2..080d9e04325 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_avalanche_c.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'AvalancheRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_avalanche_c', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_avalanche_c') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_avalanche_c') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql index add55152846..f93f6b89499 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_base.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'BaseRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_base', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_base') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_base') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql index 2c59d996e2f..aad04be36e5 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_ethereum.sql @@ -22,7 +22,7 @@ SELECT 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'LiquidityGaugeFactory_evt_GaugeCreated') }} gauge - LEFT JOIN {{ ref('labels_balancer_v2_pools_ethereum') }} pools ON pools.address = gauge.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_ethereum') }} pools ON pools.address = gauge.pool UNION ALL @@ -42,7 +42,7 @@ SELECT FROM {{ source('balancer_ethereum', 'CappedLiquidityGaugeFactory_evt_GaugeCreated') }} evt INNER JOIN {{ source('balancer_ethereum', 'CappedLiquidityGaugeFactory_call_create') }} call ON call.call_tx_hash = evt.evt_tx_hash - LEFT JOIN {{ ref('labels_balancer_v2_pools_ethereum') }} pools ON pools.address = call.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_ethereum') }} pools ON pools.address = call.pool UNION ALL diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql index 9d2555952b8..800e03f266d 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_gnosis.sql @@ -22,7 +22,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'GnosisRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_gnosis', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_gnosis') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_gnosis') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql index 2ea1ad0facf..774f14f2c17 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_optimism.sql @@ -23,7 +23,7 @@ SELECT FROM {{ source('balancer_ethereum', 'OptimismRootGaugeFactory_evt_OptimismRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_optimism', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool UNION ALL @@ -44,7 +44,7 @@ FROM {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_optimism', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = streamer.pool), child_gauges AS( SELECT distinct @@ -62,7 +62,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedOptimismRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_optimism', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_optimism') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_optimism') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql index bc6fe7dfbf6..bca23a0c63a 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_polygon.sql @@ -23,7 +23,7 @@ SELECT FROM {{ source('balancer_ethereum', 'PolygonRootGaugeFactory_evt_PolygonRootGaugeCreated') }} gauge LEFT JOIN {{ source('balancer_polygon', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON gauge.recipient = streamer.streamer - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool UNION ALL @@ -44,7 +44,7 @@ FROM {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_evt_GaugeCreated') }} gauge INNER JOIN {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_call_create') }} call ON call.call_tx_hash = gauge.evt_tx_hash LEFT JOIN {{ source('balancer_polygon', 'ChildChainLiquidityGaugeFactory_evt_RewardsOnlyGaugeCreated') }} streamer ON streamer.streamer = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = streamer.pool), child_gauges AS( SELECT distinct @@ -62,7 +62,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'CappedPolygonRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_polygon', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_polygon') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_polygon') }} pools ON pools.address = child.pool), gauges AS( SELECT * FROM reward_gauges diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql index 81c415e8478..1e1b946e5ae 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_gauges_zkevm.sql @@ -21,7 +21,7 @@ SELECT distinct 'identifier' AS label_type FROM {{ source('balancer_ethereum', 'PolygonZkEVMRootGaugeFactory_call_create') }} call LEFT JOIN {{ source('balancer_zkevm', 'ChildChainGaugeFactory_call_create') }} child ON child.output_0 = call.recipient - LEFT JOIN {{ ref('labels_balancer_v2_pools_zkevm') }} pools ON pools.address = child.pool), + LEFT JOIN {{ source('labels', 'balancer_v2_pools_zkevm') }} pools ON pools.address = child.pool), controller AS( --to allow filtering for active gauges only SELECT diff --git a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql index a1ee2c7c64a..724a35600e2 100644 --- a/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/arbitrage_traders/ethereum/labels_arbitrage_traders_ethereum.sql @@ -58,7 +58,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_trades')}} + FROM {{ source('dex', 'trades') }} UNION ALL @@ -68,7 +68,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ source('dex_aggregator', 'trades') }} --{{ref('dex_aggregator_trades')}} + FROM {{ source('dex_aggregator', 'trades') }} --{{ source('dex', 'trades') }} ) t1 INNER JOIN ( @@ -78,7 +78,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_trades')}} + FROM {{ source('dex', 'trades') }} UNION ALL SELECT taker, tx_hash, @@ -86,7 +86,7 @@ with token_sold_address, token_bought_address, evt_index - FROM {{ref('dex_aggregator_trades')}} + FROM {{ source('dex', 'trades') }} ) t2 ON t1.tx_hash = t2.tx_hash WHERE t1.blockchain = 'ethereum' diff --git a/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql b/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql index 3b2af76cba0..bd94d99c9b3 100644 --- a/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql +++ b/models/labels/addresses/dex/persona/dex_pools/labels_dex_pools.sql @@ -19,4 +19,4 @@ SELECT blockchain , now() AS updated_at , 'dex_pools' AS model_name , 'persona' AS label_type -FROM {{ ref('dex_pools') }} \ No newline at end of file +FROM {{ source('dex', 'pools') }} \ No newline at end of file diff --git a/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql b/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql index daee195d8a7..6fb71d27fe5 100644 --- a/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql +++ b/models/labels/addresses/dex/persona/dex_traders/labels_dex_traders.sql @@ -14,11 +14,11 @@ with SELECT address, blockchain FROM ( select taker as address, blockchain - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} GROUP BY taker, blockchain --distinct UNION ALL select tx_from as address, blockchain - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} GROUP BY tx_from, blockchain --distinct ) uni GROUP BY address, blockchain--distinct diff --git a/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql b/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql index 384db9bbfea..9c33323ddde 100644 --- a/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql +++ b/models/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders.sql @@ -4,7 +4,7 @@ WITH dex_trades_count AS (SELECT taker, COUNT(taker) AS trades_count -FROM {{ ref('dex_trades') }} +FROM {{ source('dex', 'trades') }} WHERE blockchain = 'optimism' GROUP BY taker ), diff --git a/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql b/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql index 14020175084..e1c2f3d9587 100644 --- a/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql +++ b/models/labels/addresses/dex/persona/sandwich_attackers/ethereum/labels_sandwich_attackers_ethereum.sql @@ -4,8 +4,8 @@ with eth_sandwich_attackers as ( select distinct buy.tx_to as address - from {{ ref('dex_trades') }} buy - inner join {{ ref('dex_trades') }} sell + from {{ source('dex', 'trades') }} buy + inner join {{ source('dex', 'trades') }} sell on sell.block_time = buy.block_time and sell.tx_hash != buy.tx_hash and buy."tx_from" = sell."tx_from" diff --git a/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql b/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql index d9787ba47e9..4bbbc2e7eea 100644 --- a/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql +++ b/models/labels/addresses/dex/persona/smart_dex_traders/ethereum/labels_smart_dex_traders_ethereum.sql @@ -75,7 +75,7 @@ swappers as ( token_sold_address, taker, tx_hash - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_date > now() - interval '60' day @@ -189,7 +189,7 @@ swappers as ( taker, amount_usd / token_bought_amount as cost_basis, project as venue - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_time > now() - interval '60' day @@ -219,7 +219,7 @@ swappers as ( taker, amount_usd / token_sold_amount as cost_basis, project as venue - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where blockchain = 'ethereum' and block_time > now() - interval '60' day diff --git a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql index 091586d1bcf..5f70668a7d2 100644 --- a/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql +++ b/models/labels/addresses/dex/persona/trader_platforms/labels_trader_platforms.sql @@ -26,7 +26,7 @@ with trader_platforms as ( taker, project, block_time - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, project, blockchain order by first_trade diff --git a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql index dbf015bb768..566547b6167 100644 --- a/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql +++ b/models/labels/addresses/dex/usage/average_trade_values/labels_average_trade_values.sql @@ -20,7 +20,7 @@ with from {{ source('dex_aggregator', 'trades') }} UNION ALL select taker, blockchain, amount_usd - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql index eab97fabf7e..d1113de13ed 100644 --- a/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql +++ b/models/labels/addresses/dex/usage/trader_age/labels_trader_age.sql @@ -18,7 +18,7 @@ with trader_age as ( from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql index 5b5f2efde8c..1fd81228595 100644 --- a/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql +++ b/models/labels/addresses/dex/usage/trader_dex_diversity/labels_trader_dex_diversity.sql @@ -19,7 +19,7 @@ with from {{ source('dex_aggregator', 'trades') }} union all select blockchain, taker, project - from {{ ref('dex_trades') }}) + from {{ source('dex', 'trades') }}) group by taker, blockchain ) diff --git a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql index 8875e3079cc..84cffa9c5fc 100644 --- a/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql +++ b/models/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies.sql @@ -24,7 +24,7 @@ with from {{ source('dex_aggregator', 'trades') }} UNION ALL select blockchain, taker, block_date, tx_hash - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} ) group by taker, blockchain -- That have at least more than 1 trade diff --git a/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql b/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql index cc26e10fe82..3d43371ccd1 100644 --- a/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql +++ b/models/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt.sql @@ -164,7 +164,7 @@ from (select t1."from", date_trunc('month', t1.block_time) AS month, count(*) AS when sum(amount_usd) >= cast(100000 AS double) and sum(amount_usd) < cast(500000 AS double) then 'Shark trader' when sum(amount_usd) >= cast(500000 AS double) then 'Whale trader' end AS trader_type - from {{ ref('dex_trades') }} + from {{ source('dex', 'trades') }} where block_time > now() - interval '30' day group by 1 having sum(amount_usd) > cast (10000 AS double) @@ -184,8 +184,8 @@ from (select t1."from", date_trunc('month', t1.block_time) AS month, count(*) AS date_trunc('month', t1.block_time) AS month, sum(t1.amount_usd) AS monthly_trade_amount, ROW_NUMBER() OVER (PARTITION BY t1.tx_from ORDER BY sum(t1.amount_usd) DESC) AS rn - FROM {{ ref('dex_trades') }} t1 - join (select distinct tx_from from {{ ref('dex_trades') }} where block_time > now() - interval '3' month ) t3 + FROM {{ source('dex', 'trades') }} t1 + join (select distinct tx_from from {{ source('dex', 'trades') }} where block_time > now() - interval '3' month ) t3 on t3.tx_from = t1.tx_from left join active_traders t2 on t1.tx_from = t2.tx_from where t1.block_time >= now() - interval '1' year diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index dace8b038e4..6a89d8d1a6f 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -46,6 +46,14 @@ sources: - name: labels tables: - name: balancer_v2_pools + - name: balancer_v2_pools_arbitrum + - name: balancer_v2_pools_avalanche_c + - name: balancer_v2_pools_base + - name: balancer_v2_pools_ethereum + - name: balancer_v2_pools_gnosis + - name: balancer_v2_pools_optimism + - name: balancer_v2_pools_polygon + - name: balancer_v2_pools_zkevm - name: uniswap_v3_optimism tables: - name: ovm1_pool_mapping From fd3a9c5dbf40d0f3e409451a69d5125a200eae5e Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:28:48 -0400 Subject: [PATCH 42/63] cleanup project file --- dbt_project.yml | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 55e4fbe55db..3921b1e6534 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -200,11 +200,6 @@ models: arbitrum: +schema: aragon_arbitrum - spiritswap: - +schema: spiritswap - fantom: - +schema: spiritswap_fantom - jarvis_network: +schema: jarvis_network polygon: @@ -277,15 +272,6 @@ models: ethereum: +schema: fiat_dao_ethereum - curvefi: - +schema: curvefi - ethereum: - +schema: curvefi_ethereum - optimism: - +schema: curvefi_optimism - fantom: - +schema: curvefi_fantom - cow_protocol: +schema: cow_protocol ethereum: @@ -315,21 +301,6 @@ models: avalanche_c: +schema: yield_yak_avalanche_c - kyberswap: - +schema: kyberswap - avalanche_c: - +schema: kyberswap_avalanche_c - optimism: - +schema: kyberswap_optimism - ethereum: - +schema: kyberswap_ethereum - arbitrum: - +schema: kyberswap_arbitrum - bnb: - +schema: kyberswap_bnb - polygon: - +schema: kyberswap_polygon - hashflow: +schema: hashflow ethereum: @@ -520,11 +491,6 @@ models: polygon: +schema: rocifi_polygon - oneinch: - +schema: oneinch - ethereum: - +schema: oneinch_ethereum - pooltogether: +schema: pooltogether ethereum: @@ -579,15 +545,6 @@ models: base: +schema: layerzero_base - bebop: - +schema: bebop - ethereum: - +schema: bebop_ethereum - polygon: - +schema: bebop_polygon - arbitrum: - +schema: bebop_arbitrum - tokemak: +schema: tokemak ethereum: From 48b706897b9ae7d6210900ad7b6b85543f83e375 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:37:06 -0400 Subject: [PATCH 43/63] cleanup old dex models --- .../ethereum/hashflow_ethereum_raw_trades.sql | 425 ------------------ .../ethereum/hashflow_ethereum_schema.yml | 157 +------ .../ethereum/hashflow_ethereum_trades.sql | 80 ---- models/pharaoh/pharaoh_avalanche_c_schema.yml | 96 ---- models/pharaoh/pharaoh_avalanche_c_trades.sql | 122 ----- 5 files changed, 15 insertions(+), 865 deletions(-) delete mode 100644 models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql delete mode 100644 models/hashflow/ethereum/hashflow_ethereum_trades.sql delete mode 100644 models/pharaoh/pharaoh_avalanche_c_schema.yml delete mode 100644 models/pharaoh/pharaoh_avalanche_c_trades.sql diff --git a/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql b/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql deleted file mode 100644 index e625e68194b..00000000000 --- a/models/hashflow/ethereum/hashflow_ethereum_raw_trades.sql +++ /dev/null @@ -1,425 +0,0 @@ -{{ config( - tags=[ 'prod_exclude'], - alias = 'raw_trades', - partition_by = ['block_date'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'composite_index', 'tx_hash'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "hashflow", - \'["justabi", "jeff-dude"]\') }}' - ) -}} - -{# -## model not yet migrated to dunesql syntax and excluded in prod on both engines due to complexity -## needs refactoring to read from decoded tables - #} - -{% set project_start_date = '2021-04-28' %} - -with ethereum_traces as ( - select * - from {{ source('ethereum', 'traces') }} - where `to` in ('0x455a3b3be6e7c8843f2b03a1ca22a5a5727ef5c4','0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', - '0x2405cb057a9baf85daa11ce9832baed839b6871c','0x043389f397ad72619d05946f5f35426a7ace6613', - '0xa18607ca4a3804cc3cd5730eafefcc47a7641643', '0x6ad3dac99c9a4a480748c566ce7b3503506e3d71') - and block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -ethereum_transactions as ( - select * - from {{ source('ethereum', 'transactions') }} - where block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -prices_usd as ( - select * - from {{ source('prices', 'usd') }} - where `minute` >= '{{ project_start_date }}' - and blockchain = 'ethereum' - {% if is_incremental() %} - and `minute` >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -erc20_tokens as ( - select * - from {{ source('tokens', 'erc20') }} - where blockchain = 'ethereum' -), - -hashflow_pool_evt_trade as ( - select * - from {{ source('hashflow_ethereum', 'pool_evt_trade') }} - where evt_block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and evt_block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -{% if not is_incremental() %} -ethereum_logs as ( - select * - from {{ source('ethereum', 'logs') }} - where block_time >= '{{ project_start_date }}' - and block_number <= 13974528 -- block of last trade of all legacy routers -), - -new_router as ( - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - cast(get_json_object(quote,'$.flag') as string) as source, - t.call_block_time as block_time, - t.call_tx_hash as tx_hash, - t.call_success as fill_status, - 'tradeSingleHop' as method_id, - t.contract_address as router_contract, - ('0x' || substring(get_json_object(quote,'$.pool') from 3)) as pool, - tx.from as trader, - ('0x' || substring(get_json_object(quote,'$.quoteToken') from 3)) as maker_token, - ('0x' || substring(get_json_object(quote,'$.baseToken') from 3)) as taker_token, - case when get_json_object(quote,'$.quoteToken') = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when get_json_object(quote,'$.baseToken') = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.evt_tx_hash is not null then l.`quoteTokenAmount`/power(10, mp.decimals) - else cast(get_json_object(quote,'$.maxQuoteTokenAmount') as float)/power(10,mp.decimals) end as maker_token_amount, - case when l.evt_tx_hash is not null then l.`baseTokenAmount`/power(10, tp.decimals) - else cast(get_json_object(quote,'$.maxBaseTokenAmount') as float)/power(10,tp.decimals) end as taker_token_amount, - case when l.evt_tx_hash is not null - then coalesce( - l.`baseTokenAmount`/power(10, tp.decimals) * tp.price, - `quoteTokenAmount`/power(10, mp.decimals) * mp.price) - else coalesce( - cast(get_json_object(quote,'$.maxBaseTokenAmount') as float)/power(10, tp.decimals) * tp.price, - cast(get_json_object(quote,'$.maxQuoteTokenAmount') as float)/power(10, mp.decimals) * mp.price) end as amount_usd - from {{ source('hashflow_ethereum', 'router_call_tradesinglehop') }} t - inner join ethereum_transactions tx on tx.hash = t.call_tx_hash - left join hashflow_pool_evt_trade l on l.txid = ('0x' || substring(get_json_object(quote,'$.txid') from 3)) - left join prices_usd tp on tp.minute = date_trunc('minute', t.call_block_time) - and tp.contract_address = - case when get_json_object(quote,'$.baseToken') = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' - else ('0x' || substring(get_json_object(quote,'$.baseToken') from 3)) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.call_block_time) - and mp.contract_address = - case when get_json_object(quote,'$.quoteToken') = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' - else ('0x' || substring(get_json_object(quote,'$.quoteToken') from 3)) end -), - -event_decoding_router as ( - select - tx_hash, - index as evt_index, - substring(`data`, 13, 20) as trader, - substring(`data`, 33, 32) as tx_id, - substring(`data`, 109, 20) as maker_token, - substring(`data`, 77, 20) as taker_token, - cast(conv(substring(`data`, 173, 20), 16, 10) as decimal) as maker_token_amount, - cast(conv(substring(`data`, 141, 20), 16, 10) as decimal) as taker_token_amount - from ethereum_logs - where topic1 ='0x8cf3dec1929508e5677d7db003124e74802bfba7250a572205a9986d86ca9f1e' -- trade0() - - union all - - select - tx_hash, - index as evt_index, - substring(`data`, 45, 20) as trader, - substring(`data`, 65, 32) as tx_id, - substring(`data`, 141, 20) as maker_token, - substring(`data`, 109, 20) as taker_token, - cast(conv(substring(`data`, 205, 20), 16, 10) as decimal) as maker_token_amount, - cast(conv(substring(`data`, 173, 20), 16, 10) as decimal) as taker_token_amount - from ethereum_logs l - where topic1 ='0xb709ddcc6550418e9b89df1f4938071eeaa3f6376309904c77e15d46b16066f5' -- trade() -), - -legacy_router_w_integration as ( - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - substring(input, 324, 1) as source, - t.block_time, - t.tx_hash, - t.error is null as fill_status, - substring(t.input, 1, 4) as method_id, - t.to as router_contract, - substring(t.input, 17, 20) as pool, - tx.from as trader, -- adjusted to use tx sender due to integration, was substring(t.input, 49, 20) as trader, - maker_token, - taker_token, - case when substring(input, 113, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when substring(input, 81, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.tx_hash is not null then maker_token_amount/power(10,mp.decimals) end as maker_token_amount, - case when l.tx_hash is not null then taker_token_amount/power(10,tp.decimals) end as taker_token_amount, - case when l.tx_hash is not null then - coalesce( - taker_token_amount/power(10, tp.decimals) * tp.price, - maker_token_amount/power(10, mp.decimals) * mp.price) end as amount_usd - from ethereum_traces t - inner join ethereum_transactions tx on tx.hash = t.tx_hash - left join event_decoding_router l on l.tx_id = substring(t.input, 325, 32) -- join on tx_id 1:1, no dup - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) - and tp.contract_address = - case when substring(input, 81, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 81, 20) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) - and mp.contract_address = - case when substring(input, 113, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 113, 20) end - where -- cast(trace_address as string) = '{}' --top level call -- removed this because of 1inch integration - t.to in ('0xa18607ca4a3804cc3cd5730eafefcc47a7641643') - and substring(input, 1, 4) in ('0xba93c39c') -- swap - and t.block_number <= 13803909 -- block of last trade of this legacy router - - union all - - select - cast(coalesce(l.evt_index, -1) as int) as composite_index, - substring(input, 484, 1) as source, - t.block_time, - t.tx_hash, - t.error is null as fill_status, - 'tradeSingleHop' as method_id, - t.to as router_contract, - substring(t.input, 49, 20) as pool, --mm - tx.from as trader, - maker_token, - taker_token, - case when substring(input, 209, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when substring(input, 177, 20) = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - case when l.tx_hash is not null then maker_token_amount/power(10,mp.decimals) end as maker_token_amount, - case when l.tx_hash is not null then taker_token_amount/power(10,tp.decimals) end as taker_token_amount, - case when l.tx_hash is not null then - coalesce( - taker_token_amount/power(10, tp.decimals) * tp.price, - maker_token_amount/power(10, mp.decimals) * mp.price) end as amount_usd - from ethereum_traces t - inner join ethereum_transactions tx on tx.hash = t.tx_hash - left join event_decoding_router l on l.tx_id = substring(t.input, 485, 32) - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) - and tp.contract_address = - case when substring(input, 177, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 177, 20) end - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) - and mp.contract_address = - case when substring(input, 209, 20) = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else substring(input, 209, 20) end - where t.to in ('0x6ad3dac99c9a4a480748c566ce7b3503506e3d71') - and substring(input, 1, 4) in ('0xf0910b2b') -- trade single hop - AND t.block_number <= 13974528 -- block of last trade of this legacy router -), -{% endif %} - -legacy_routers as ( - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, --mm - substring(input, 49, 20) as trader, - case when substring(input, 1, 4) = '0xc7f6b19d' then substring(input, 81, 20) - else '0x0000000000000000000000000000000000000000' end as maker_token, - case when substring(input, 1, 4) = '0xc7f6b19d' then '0x0000000000000000000000000000000000000000' - else substring(input, 81, 20) end as taker_token, --eth - case when substring(input, 1, 4) = '0xc7f6b19d' then e.symbol - else 'ETH' end as maker_symbol, - case when substring(input, 1, 4) = '0xc7f6b19d' then 'ETH' - else e.symbol end as taker_symbol, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, e.decimals) - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 end as maker_token_amount, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 - else cast(conv(substring(input, 113, 20), 16, 10) as decimal)/power(10,e.decimals) end as taker_token_amount, - case when substring(input, 1, 4) = '0xc7f6b19d' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 * price - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 * price end as amount_usd - from ethereum_traces t - left join prices_usd p on minute = date_trunc('minute', t.block_time) - left join erc20_tokens e on e.contract_address = substring(input, 81, 20) - where cast(trace_address as string) = '{}' --top level call - and `to` in ('0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', '0x2405cb057a9baf85daa11ce9832baed839b6871c') - and substring(input, 1, 4) in ('0x9ec7605b', -- token to eth - '0xc7f6b19d') -- eth to token - and p.symbol = 'WETH' - - union all - - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, - substring(input, 49, 20) as trader, - substring(input, 113, 20) as maker_token, - substring(input, 81, 20) as taker_token, - mp.symbol as maker_symbol, - tp.symbol as taker_symbol, - cast(conv(substring(input, 177, 20), 16, 10) as decimal)/power(10, mp.decimals) as maker_token_amount, - cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, tp.decimals) as taker_token_amount, - coalesce( - cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10, tp.decimals) * tp.price, - cast(conv(substring(input, 177, 20), 16, 10) as decimal)/power(10, mp.decimals) * mp.price) as amount_usd - from ethereum_traces t - left join prices_usd tp on tp.minute = date_trunc('minute', t.block_time) and tp.contract_address = substring(input, 81, 20) - left join prices_usd mp on mp.minute = date_trunc('minute', t.block_time) and mp.contract_address = substring(input, 113, 20) - where cast(trace_address as string) = '{}' - and `to` in ('0x455a3B3Be6e7C8843f2b03A1cA22A5a5727ef5C4','0x9d4fc735e1a596420d24a266b7b5402fe4ec153c', '0x2405cb057a9baf85daa11ce9832baed839b6871c','0x043389f397ad72619d05946f5f35426a7ace6613') - and substring(input, 1, 4) in ('0x064f0410','0x4d0246ad') -- token to token - - union all - - select - t.block_time, - t.tx_hash, - error is null as fill_status, - substring(input, 1, 4) as method_id, - `to` as router_contract, - substring(input, 17, 20) as pool, - substring(input, 49, 20) as trader, - case when substring(input, 1, 4) = '0xe43d9733' then substring(input, 81, 20) - else '0x0000000000000000000000000000000000000000' end as maker_token, - case when substring(input, 1, 4) = '0xe43d9733' then '0x0000000000000000000000000000000000000000' - else substring(input, 81, 20) end as taker_token, --eth - case when substring(input, 1, 4) = '0xe43d9733' then e.symbol - else 'ETH' end as maker_symbol, - case when substring(input, 1, 4) = '0xe43d9733' then 'ETH' - else e.symbol end as taker_symbol, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 145, 20), 16, 10) as decimal)/power(10,e.decimals) - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 end as maker_token_amount, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 - else cast(conv(substring(input, 113, 20), 16, 10) as decimal)/power(10,e.decimals) end as taker_token_amount, - case when substring(input, 1, 4) = '0xe43d9733' - then cast(conv(substring(input, 113, 20), 16, 10) as decimal)/1e18 * price - else cast(conv(substring(input, 145, 20), 16, 10) as decimal)/1e18 * price end as amount_usd - from ethereum_traces t - left join prices_usd p on minute = date_trunc('minute', t.block_time) - left join erc20_tokens e on e.contract_address = substring(input, 81, 20) - where cast(trace_address as string) = '{}' - and `to` in ('0x455a3B3Be6e7C8843f2b03A1cA22A5a5727ef5C4','0x043389f397ad72619d05946f5f35426a7ace6613') - and substring(input, 1, 4) in ('0xd0529c02', -- token to eth - '0xe43d9733') -- eth to token - and p.symbol = 'WETH' -), - -new_pool as ( - -- subquery for including new pools created on 2022-04-09 - -- same trade event abi, effectively only from table hashflow.pool_evt_trade since 2022-04-09 - select - l.evt_index as composite_index, - null as source, -- no join on call for this batch, refer to metabase for source info - tx.block_time as block_time, - tx.hash as tx_hash, - true as fill_status, -- without call we are only logging successful fills - null as method_id, -- without call we don't have function call info - tx.to as router_contract, -- taking top level contract called in tx as router, not necessarily HF contract - l.pool as pool, - tx.from as trader, - l.`quoteToken` as maker_token, - l.`baseToken` as taker_token, - case when l.`quoteToken` = '0x0000000000000000000000000000000000000000' then 'ETH' - else mp.symbol end as maker_symbol, - case when l.`baseToken` = '0x0000000000000000000000000000000000000000' then 'ETH' - else tp.symbol end as taker_symbol, - l.`quoteTokenAmount`/power(10, mp.decimals) as maker_token_amount, - l.`baseTokenAmount`/power(10, tp.decimals) as taker_token_amount, - coalesce( - l.`baseTokenAmount`/power(10, tp.decimals) * tp.price, - l.`quoteTokenAmount`/power(10, mp.decimals) * mp.price) as amount_usd - from hashflow_pool_evt_trade l - inner join ethereum_transactions tx on tx.hash = l.evt_tx_hash - left join prices_usd tp on tp.minute = date_trunc('minute', tx.block_time) - and tp.contract_address = - case when l.`baseToken` = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else l.`baseToken` end - left join prices_usd mp on mp.minute = date_trunc('minute', tx.block_time) - and mp.contract_address = - case when l.`quoteToken` = '0x0000000000000000000000000000000000000000' - then '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' else l.`quoteToken` end - WHERE l.evt_block_time > '2022-04-08' -- necessary filter to only include new trades -), - - -{% if not is_incremental() %} - -dedupe_new_router as ( -- since new_router and new_pool have overlapping trades, we remove them from new_router here - select new_router.* - from new_router - left join new_pool - on new_router.block_time = new_pool.block_time - and new_router.composite_index = new_pool.composite_index - and new_router.tx_hash = new_pool.tx_hash - where new_pool.tx_hash is null - -), - -{% endif %} - -all_trades as ( - select - -1 as composite_index, - -- was decoding from trace, no log_index, only single swap exist so works as PK - '0x00' as source, - -- all from native front end, no integration yet - * - from legacy_routers - - union all - - select * from new_pool - - {% if not is_incremental() %} - - union all - - select * from legacy_router_w_integration - - union all - - select * from dedupe_new_router - - {% endif %} -) - -select - try_cast(date_trunc('day', block_time) AS date) AS block_date, - block_time, - composite_index, - fill_status, - maker_symbol, - maker_token, - maker_token_amount, - method_id, - pool, - router_contract, - source, - taker_symbol, - taker_token, - taker_token_amount, - trader, - tx_hash, - amount_usd -from all_trades -where fill_status is true -; \ No newline at end of file diff --git a/models/hashflow/ethereum/hashflow_ethereum_schema.yml b/models/hashflow/ethereum/hashflow_ethereum_schema.yml index db64949f510..0669b549de8 100644 --- a/models/hashflow/ethereum/hashflow_ethereum_schema.yml +++ b/models/hashflow/ethereum/hashflow_ethereum_schema.yml @@ -1,19 +1,21 @@ version: 2 models: - - name: hashflow_ethereum_raw_trades + - name: hashflow_ethereum_crosschain_trades meta: blockchain: ethereum + sector: dex project: hashflow - contributors: justabi + contributors: BroderickBonelli config: - tags: ['ethereum', 'hashflow', 'trades'] - description: "Hashflow contract trades on Ethereum - decoded" + tags: ['ethereum','hashflow','trades','dex','BroderickBonelli'] + description: > + Table of Hashflow cross chain trades on ethereum. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date - - composite_index + - source_chain - tx_hash columns: - &block_date @@ -22,96 +24,12 @@ models: - &block_time name: block_time description: "UTC event block time of each trade" - - &composite_index - name: composite_index - description: "Ethereum log index or Hashflow trade event index if exists, else -1 (-1 means decoded from traces)" - - &fill_status - name: fill_status - description: "Boolean, was the trade successful" - - &maker_symbol - name: maker_symbol - description: "Token symbol for token bought in the transaction" - - &maker_token - name: maker_token - description: "Token contract address pair for token bought in the transaction" - - &maker_token_amount - name: maker_token_amount - description: "Value of the token bought at time of execution" - - &method_id - name: method_id - description: "Method of trade - tbc" - - &pool - name: pool - description: "Contract address of the pool" - - &router_contract - name: router_contract - description: "Taking top level contract called in tx as router, not necessarily HF contract" - - &source - name: source - description: "" - - &taker_symbol - name: taker_symbol - description: "Token symbol for token sold in the transaction" - - &taker_token - name: taker_token - description: "Token contract address pair for token sold in the transaction" - - &taker_token_amount - name: taker_token_amount - description: "Value of the token sold at time of execution" - - &trader - name: trader - description: "Address of trader who sold a token" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - - name: hashflow_ethereum_trades - meta: - blockchain: ethereum - sector: dex - project: hashflow - contributors: justabi - config: - tags: ['ethereum', 'hashflow', 'trades', 'dex'] - description: "Hashflow contract trades on Ethereum - formatted for dex.trades" - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - trace_address - - check_dex_seed: - blockchain: ethereum - project: hashflow - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - *block_date - - *block_time - &token_bought_symbol name: token_bought_symbol description: "Token symbol for token bought in the transaction" - &token_sold_symbol name: token_sold_symbol description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - &token_bought_amount name: token_bought_amount description: "Value of the token bought at time of execution in the original currency" @@ -124,66 +42,21 @@ models: - &token_sold_amount_raw name: token_sold_amount_raw description: "Raw value of the token sold at time of execution in the original currency" - - *amount_usd + - &amount_usd + name: amount_usd + description: "USD value of the trade at time of execution" - &token_bought_address name: token_bought_address description: "Contract address of the token bought" - &token_sold_address name: token_sold_address description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker + - &trader + name: trader description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - *tx_hash - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &trace_address - name: trace_address - description: "" - - &evt_index - name: evt_index - description: "" - - - name: hashflow_ethereum_crosschain_trades - meta: - blockchain: ethereum - sector: dex - project: hashflow - contributors: BroderickBonelli - config: - tags: ['ethereum','hashflow','trades','dex','BroderickBonelli'] - description: > - Table of Hashflow cross chain trades on ethereum. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - source_chain - - tx_hash - columns: - - *block_date - - *block_time - - *token_bought_symbol - - *token_sold_symbol - - *token_bought_amount - - *token_sold_amount - - *token_bought_amount_raw - - *token_sold_amount_raw - - *amount_usd - - *token_bought_address - - *token_sold_address - - *trader - - *tx_hash + - &tx_hash + name: tx_hash + description: "Unique transaction hash value tied to each transaction" - &source_chain name: source_chain description: "Chain where the trade originated." diff --git a/models/hashflow/ethereum/hashflow_ethereum_trades.sql b/models/hashflow/ethereum/hashflow_ethereum_trades.sql deleted file mode 100644 index 9ad03e725e6..00000000000 --- a/models/hashflow/ethereum/hashflow_ethereum_trades.sql +++ /dev/null @@ -1,80 +0,0 @@ -{{ config( - tags=[ 'prod_exclude'], - alias = 'trades', - partition_by = ['block_date'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index', 'trace_address'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "hashflow", - \'["justabi", "jeff-dude"]\') }}' - ) -}} - -{# -## model not yet migrated to dunesql syntax and excluded in prod on both engines due to complexity -## needs refactoring to read from decoded tables - #} - -{% set project_start_date = '2021-04-28' %} - -with hashflow_trades as ( - select * - from {{ ref('hashflow_ethereum_raw_trades') }} - where fill_status is true -- successful trade - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -ethereum_transactions as ( - select * - from {{ source('ethereum', 'transactions') }} - where block_time >= '{{ project_start_date }}' - {% if is_incremental() %} - and block_time >= date_trunc('day', now() - interval '10 days') - {% endif %} -), - -erc20_tokens as ( - select * - from {{ source('tokens', 'erc20') }} - where blockchain = 'ethereum' -) - -select - 'ethereum' AS blockchain, - 'hashflow' as project, - '1' as version, - block_date, - hashflow_trades.block_time, - hashflow_trades.maker_symbol as token_bought_symbol, - hashflow_trades.taker_symbol as token_sold_symbol, - case when lower(hashflow_trades.maker_symbol) > lower(hashflow_trades.taker_symbol) - then concat(hashflow_trades.taker_symbol, '-', hashflow_trades.maker_symbol) - else concat(hashflow_trades.maker_symbol, '-', hashflow_trades.taker_symbol) end as token_pair, - hashflow_trades.maker_token_amount as token_bought_amount, - hashflow_trades.taker_token_amount as token_sold_amount, - CAST(hashflow_trades.maker_token_amount * power(10, erc20a.decimals) AS DECIMAL(38,0)) as token_bought_amount_raw, - CAST(hashflow_trades.taker_token_amount * power(10, erc20b.decimals) AS DECIMAL(38,0)) as token_sold_amount_raw, - hashflow_trades.amount_usd, - hashflow_trades.maker_token as token_bought_address, - hashflow_trades.taker_token as token_sold_address, - hashflow_trades.trader as taker, - hashflow_trades.pool as maker, - hashflow_trades.router_contract as project_contract_address, - hashflow_trades.tx_hash, - tx.from as tx_from, - tx.to as tx_to, - '' as trace_address, - case when hashflow_trades.composite_index <> -1 then hashflow_trades.composite_index end as evt_index -from hashflow_trades -inner join ethereum_transactions tx - on hashflow_trades.tx_hash = tx.hash -left join erc20_tokens erc20a - on erc20a.contract_address = hashflow_trades.maker_token -left join erc20_tokens erc20b - on erc20b.contract_address = hashflow_trades.taker_token -; \ No newline at end of file diff --git a/models/pharaoh/pharaoh_avalanche_c_schema.yml b/models/pharaoh/pharaoh_avalanche_c_schema.yml deleted file mode 100644 index 38aa30ab7b0..00000000000 --- a/models/pharaoh/pharaoh_avalanche_c_schema.yml +++ /dev/null @@ -1,96 +0,0 @@ -version: 2 - -models: - - name: pharaoh_avalanche_c_trades - meta: - blockchain: avalanche_c - sector: dex - project: pharaoh - contributors: discochuck, hosuke - config: - tags: ['avalanche_c','pharaoh','trades','dex'] - description: > - pharaoh v2 contract trades on avalanche_c - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - blockchain - - project - - version - - tx_hash - - evt_index - - check_dex_seed: - blockchain: avalanche_c - project: pharaoh - version: 1 - columns: - - &blockchain - name: blockchain - description: "Blockchain which the DEX is deployed" - - &project - name: project - description: "Project name of the DEX" - - &version - name: version - description: "Version of the contract built and deployed by the DEX project" - - &block_month - name: block_month - description: "UTC event block month of each DEX trade" - - &block_date - name: block_date - description: "UTC event block date of each DEX trade" - - &block_time - name: block_time - description: "UTC event block time of each DEX trade" - - &token_bought_symbol - name: token_bought_symbol - description: "Token symbol for token bought in the transaction" - - &token_sold_symbol - name: token_sold_symbol - description: "Token symbol for token sold in the transaction" - - &token_pair - name: token_pair - description: "Token symbol pair for each token involved in the transaction" - - &token_bought_amount - name: token_bought_amount - description: "Value of the token bought at time of execution in the original currency" - - &token_sold_amount - name: token_sold_amount - description: "Value of the token sold at time of execution in the original currency" - - &token_bought_amount_raw - name: token_bought_amount_raw - description: "Raw value of the token bought at time of execution in the original currency" - - &token_sold_amount_raw - name: token_sold_amount_raw - description: "Raw value of the token sold at time of execution in the original currency" - - &amount_usd - name: amount_usd - description: "USD value of the trade at time of execution" - - &token_bought_address - name: token_bought_address - description: "Contract address of the token bought" - - &token_sold_address - name: token_sold_address - description: "Contract address of the token sold" - - &taker - name: taker - description: "Address of trader who purchased a token" - - &maker - name: maker - description: "Address of trader who sold a token" - - &project_contract_address - name: project_contract_address - description: "Project contract address which executed the trade on the blockchain" - - &tx_hash - name: tx_hash - description: "Unique transaction hash value tied to each transaction on the DEX" - - &tx_from - name: tx_from - description: "Address which initiated the transaction" - - &tx_to - name: tx_to - description: "Address which received the transaction" - - &evt_index - name: evt_index - diff --git a/models/pharaoh/pharaoh_avalanche_c_trades.sql b/models/pharaoh/pharaoh_avalanche_c_trades.sql deleted file mode 100644 index efd2e37ed2b..00000000000 --- a/models/pharaoh/pharaoh_avalanche_c_trades.sql +++ /dev/null @@ -1,122 +0,0 @@ -{{ config( - schema = 'pharaoh_avalanche_c' - , alias = 'trades' - , partition_by = ['block_month'] - , materialized = 'incremental' - , file_format = 'delta' - , incremental_strategy = 'merge' - , unique_key = ['block_date', 'blockchain', 'project', 'version', 'tx_hash', 'evt_index'] - ) -}} - -{% set project_start_date = '2023-12-10' %} - -WITH dexs AS -( - SELECT - t.evt_block_time AS block_time - ,t.recipient AS taker - ,CAST(NULL AS VARBINARY) AS maker - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN abs(amount0) ELSE abs(amount1) END - ELSE router.amountOut - END AS token_bought_amount_raw - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN abs(amount1) ELSE abs(amount0) END - ELSE router.inputAmount - END AS token_sold_amount_raw - ,NULL AS amount_usd - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN f.token0 ELSE f.token1 END - ELSE router.outputToken - END AS token_bought_address - ,CASE - WHEN router.evt_tx_hash IS NULL - THEN CASE WHEN amount0 < INT256 '0' THEN f.token1 ELSE f.token0 END - ELSE router.inputToken - END AS token_sold_address - ,t.contract_address as project_contract_address - ,t.evt_tx_hash AS tx_hash - ,t.evt_index - FROM - {{ source('pharaoh_avalanche_c', 'ClPool_evt_Swap') }} t - INNER JOIN - {{ source('pharaoh_avalanche_c', 'ClPoolFactory_evt_PoolCreated') }} f - ON f.pool = t.contract_address - LEFT JOIN {{ source('odos_v2_avalanche_c', 'OdosRouterV2_evt_Swap') }} AS router - ON t.evt_tx_hash = router.evt_tx_hash - AND t.evt_index + 2 = router.evt_index - {% if is_incremental() %} - WHERE {{ incremental_predicate('t.evt_block_time') }} - {% endif %} -) -SELECT - 'avalanche_c' AS blockchain - ,'pharaoh' AS project - ,'1' AS version - ,CAST(date_trunc('day', dexs.block_time) AS date) AS block_date - ,CAST(date_trunc('month', dexs.block_time) AS date) AS block_month - ,dexs.block_time - ,erc20a.symbol AS token_bought_symbol - ,erc20b.symbol AS token_sold_symbol - ,case - when lower(erc20a.symbol) > lower(erc20b.symbol) then concat(erc20b.symbol, '-', erc20a.symbol) - else concat(erc20a.symbol, '-', erc20b.symbol) - end as token_pair - ,CAST(dexs.token_bought_amount_raw AS UINT256) / power(10, erc20a.decimals) AS token_bought_amount - ,CAST(dexs.token_sold_amount_raw AS UINT256) / power(10, erc20b.decimals) AS token_sold_amount - ,CAST(dexs.token_bought_amount_raw AS UINT256) AS token_bought_amount_raw - ,CAST(dexs.token_sold_amount_raw AS UINT256) AS token_sold_amount_raw - ,coalesce( - dexs.amount_usd - ,(CAST(dexs.token_bought_amount_raw AS UINT256) / power(10, p_bought.decimals)) * p_bought.price - ,(CAST(dexs.token_sold_amount_raw AS UINT256) / power(10, p_sold.decimals)) * p_sold.price - ) AS amount_usd - ,dexs.token_bought_address - ,dexs.token_sold_address - ,coalesce(dexs.taker, tx."from") AS taker -- subqueries rely on this COALESCE to avoid redundant joins with the transactions table - ,dexs.maker - ,dexs.project_contract_address - ,dexs.tx_hash - ,tx."from" AS tx_from - ,tx.to AS tx_to - ,dexs.evt_index -FROM dexs -INNER JOIN - {{ source('avalanche_c', 'transactions') }} tx - ON tx.hash = dexs.tx_hash - {% if not is_incremental() %} - AND tx.block_time >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('tx.block_time') }} - {% endif %} -LEFT JOIN {{ source('tokens', 'erc20') }} erc20a - ON erc20a.contract_address = dexs.token_bought_address - AND erc20a.blockchain = 'avalanche_c' -LEFT JOIN {{ source('tokens', 'erc20') }} erc20b - ON erc20b.contract_address = dexs.token_sold_address - AND erc20b.blockchain = 'avalanche_c' -LEFT JOIN {{ source('prices', 'usd') }} p_bought - ON p_bought.minute = date_trunc('minute', dexs.block_time) - AND p_bought.contract_address = dexs.token_bought_address - AND p_bought.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_bought.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('p_bought.minute') }} - {% endif %} -LEFT JOIN {{ source('prices', 'usd') }} p_sold - ON p_sold.minute = date_trunc('minute', dexs.block_time) - AND p_sold.contract_address = dexs.token_sold_address - AND p_sold.blockchain = 'avalanche_c' - {% if not is_incremental() %} - AND p_sold.minute >= TIMESTAMP '{{project_start_date}}' - {% endif %} - {% if is_incremental() %} - AND {{ incremental_predicate('p_sold.minute') }} - {% endif %} From 13edadc7ff8b95997c53d7ef7dcbf7d25a4872f2 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Thu, 13 Jun 2024 16:47:10 -0400 Subject: [PATCH 44/63] move more dependencies for balancer --- .../_projects/balancer/labels/_schema.yml | 76 +++++++++++++++---- .../labels}/labels_balancer_v1_pools.sql | 2 +- .../labels_balancer_v1_pools_ethereum.sql | 2 +- .../balancer_v1/labels_balancer_v1_schema.yml | 68 ----------------- sources/_subprojects/spellbook/_sources.yml | 10 +++ 5 files changed, 73 insertions(+), 85 deletions(-) rename {models/labels/addresses/__single_category_labels__/balancer_v1 => dex/models/_projects/balancer/labels}/labels_balancer_v1_pools.sql (92%) rename {models/labels/addresses/__single_category_labels__/balancer_v1 => dex/models/_projects/balancer/labels}/labels_balancer_v1_pools_ethereum.sql (99%) delete mode 100644 models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml diff --git a/dex/models/_projects/balancer/labels/_schema.yml b/dex/models/_projects/balancer/labels/_schema.yml index 8ca394c9946..5307014bab0 100644 --- a/dex/models/_projects/balancer/labels/_schema.yml +++ b/dex/models/_projects/balancer/labels/_schema.yml @@ -1,45 +1,41 @@ version: 2 models: - - name: labels_balancer_v2_pools_ethereum + - name: labels_balancer_v1_pools_ethereum meta: blockchain: ethereum sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi + project: balancer_v1 + contributors: balancerlabs config: tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Ethereum. ' + description: "Balancer V1 liquidity pools created on Ethereum. " tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address - - name - - category - - model_name - - blockchain columns: - &blockchain name: blockchain - description: 'Blockchain' + description: "Blockchain" - &address name: address - description: 'Address of liquidity pool' + description: "Address of liquidity pool" - &name name: name - description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + description: "Label name of pool containg the token symbols and their respective weights (if applicable)" - &category name: category - description: 'Label category' + description: "Label category" - &contributor name: contributor - description: 'Wizard(s) contributing to labels' + description: "Wizard(s) contributing to labels" - &source name: source - description: 'How were labels generated (could be static or query)' + description: "How were labels generated (could be static or query)" - &created_at name: created_at - description: 'When were labels created' + description: "When were labels created" - &updated_at name: updated_at description: "When were labels updated for the last time" @@ -50,6 +46,56 @@ models: name: label_type description: "Type of label (see labels overall readme)" + - name: labels_balancer_v1_pools + meta: + blockchain: ethereum + sector: labels + project: balancer_v1 + contributors: balancerlabs + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: "Balancer V1 liquidity pools created across blockchains." + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + + - name: labels_balancer_v2_pools_ethereum + meta: + blockchain: ethereum + sector: labels + project: balancer_v2 + contributors: balancerlabs, viniabussafi + config: + tags: ['labels', 'ethereum', 'balancer', 'pools'] + description: 'Balancer V2 liquidity pools created on Ethereum. ' + tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - address + - name + - category + - model_name + - blockchain + columns: + - *blockchain + - *address + - *name + - *category + - *contributor + - *source + - *created_at + - *updated_at + - *model_name + - *label_type + - name: labels_balancer_v2_pools_polygon meta: blockchain: polygon diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql similarity index 92% rename from models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql index 900c48cc9dd..3fac8ed84c1 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools.sql @@ -1,5 +1,5 @@ {{config( - + schema = 'labels', alias = 'labels_balancer_v1_pools', post_hook='{{ expose_spells(\'["ethereum"]\', "sector", diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql similarity index 99% rename from models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql index c47b919ff85..ebb10b016b7 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_pools_ethereum.sql +++ b/dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql @@ -1,5 +1,5 @@ {{config( - + schema = 'labels', alias = 'balancer_v1_pools_ethereum', materialized = 'incremental', file_format = 'delta', diff --git a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml deleted file mode 100644 index b28b49766d1..00000000000 --- a/models/labels/addresses/__single_category_labels__/balancer_v1/labels_balancer_v1_schema.yml +++ /dev/null @@ -1,68 +0,0 @@ -version: 2 - -models: - - name: labels_balancer_v1_pools_ethereum - meta: - blockchain: ethereum - sector: labels - project: balancer_v1 - contributors: balancerlabs - config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: "Balancer V1 liquidity pools created on Ethereum. " - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - &blockchain - name: blockchain - description: "Blockchain" - - &address - name: address - description: "Address of liquidity pool" - - &name - name: name - description: "Label name of pool containg the token symbols and their respective weights (if applicable)" - - &category - name: category - description: "Label category" - - &contributor - name: contributor - description: "Wizard(s) contributing to labels" - - &source - name: source - description: "How were labels generated (could be static or query)" - - &created_at - name: created_at - description: "When were labels created" - - &updated_at - name: updated_at - description: "When were labels updated for the last time" - - &model_name - name: model_name - description: "Name of the label model sourced from" - - &label_type - name: label_type - description: "Type of label (see labels overall readme)" - - - name: labels_balancer_v1_pools - meta: - blockchain: ethereum - sector: labels - project: balancer_v1 - contributors: balancerlabs - config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: "Balancer V1 liquidity pools created across blockchains." - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type \ No newline at end of file diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index e9194013ff1..7882364c86d 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -68,21 +68,31 @@ sources: - name: balancer_v2_arbitrum tables: - name: trades + - name: bpt_prices - name: balancer_v2_avalanche_c tables: - name: trades + - name: bpt_prices - name: balancer_v2_base tables: - name: trades + - name: bpt_prices - name: balancer_v2_ethereum tables: - name: trades + - name: bpt_prices - name: balancer_v2_gnosis tables: - name: trades + - name: bpt_prices - name: balancer_v2_polygon tables: - name: trades + - name: bpt_prices - name: balancer_v2_zkevm tables: - name: trades + - name: bpt_prices + - name: balancer + tables: + - name: bpt_prices From 9f5d5656f27792f9b4cc88f14089a13303f3c792 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:10:10 +0200 Subject: [PATCH 45/63] Fix sources post rebase --- sources/_subprojects/spellbook/_sources.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/sources/_subprojects/spellbook/_sources.yml b/sources/_subprojects/spellbook/_sources.yml index 7882364c86d..a85bd429f07 100644 --- a/sources/_subprojects/spellbook/_sources.yml +++ b/sources/_subprojects/spellbook/_sources.yml @@ -62,36 +62,29 @@ sources: tables: - name: fee_vaults - name: grants_funding - - name: balancer_v2_optimism - tables: - - name: trades - name: balancer_v2_arbitrum tables: - - name: trades - name: bpt_prices - name: balancer_v2_avalanche_c tables: - - name: trades - name: bpt_prices - name: balancer_v2_base tables: - - name: trades - name: bpt_prices - name: balancer_v2_ethereum tables: - - name: trades - name: bpt_prices - name: balancer_v2_gnosis tables: - - name: trades + - name: bpt_prices + - name: balancer_v2_optimism + tables: - name: bpt_prices - name: balancer_v2_polygon tables: - - name: trades - name: bpt_prices - name: balancer_v2_zkevm tables: - - name: trades - name: bpt_prices - name: balancer tables: From 26d4f2e78917e49828a68382252a3f35951e7c53 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:18:54 +0200 Subject: [PATCH 46/63] Fix tests for cow --- .../ethereum/cow_protocol_ethereum_assert_batches.sql | 0 .../ethereum/cow_protocol_ethereum_assert_solvers.sql | 0 .../cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename {dex/tests => tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql (100%) rename {dex/tests => tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql (100%) rename {dex/tests => tests}/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql (100%) diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql b/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql similarity index 100% rename from dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql rename to tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql b/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql similarity index 100% rename from dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql rename to tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql diff --git a/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql b/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql similarity index 100% rename from dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql rename to tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql From d25ebd316d3ad0a397caa93e76de6f0af3d8936b Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:19:08 +0200 Subject: [PATCH 47/63] Fix schema post rebase --- .../balancer_v2/labels_balancer_v2_schema.yml | 261 +----------------- 1 file changed, 6 insertions(+), 255 deletions(-) diff --git a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index e3ab1b6702c..11a5544f507 100644 --- a/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/models/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -1,23 +1,15 @@ version: 2 models: - - name: labels_balancer_v2_pools_ethereum + - name: labels_balancer_v2_gauges meta: - blockchain: ethereum + blockchain: ethereum, polygon, optimism, arbitrum, avalanche_c, base, gnosis, zkevm sector: labels project: balancer_v2 - contributors: balancerlabs, viniabussafi + contributors: jacektrocinski, viniabussafi config: - tags: ['labels', 'ethereum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Ethereum. ' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - - name - - category - - model_name - - blockchain + tags: ['labels', 'ethereum', 'polygon', 'optimism', 'arbitrum', 'avalanche_c', 'base', 'gnosis', 'zkevm', 'gauges'] + description: 'Balancer v2 gauge labels.' columns: - &blockchain name: blockchain @@ -32,8 +24,7 @@ models: name: child_gauge_address description: "Address of the Child Gauge on L2s, NULL if on mainnet" - &name - name: name - description: 'Label name of pool containg the token symbols and their respective weights (if applicable)' + name: name - &status name: status description: "Flag for whether a gauge is active or inactive" @@ -59,246 +50,6 @@ models: name: label_type description: "Type of label (see labels overall readme)" - - name: labels_balancer_v2_pools_polygon - meta: - blockchain: polygon - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'polygon', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_gnosis - meta: - blockchain: gnosis - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'gnosis', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Gnosis.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_avalanche_c - meta: - blockchain: avalanche_c - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'avalanche_c', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Avalanche Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_base - meta: - blockchain: base - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'base', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Base Chain.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_arbitrum - meta: - blockchain: arbitrum - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'arbitrum', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Arbitrum.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_optimism - meta: - blockchain: optimism - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'optimism', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Optimism.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_pools_zkevm - meta: - blockchain: zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: ['labels', 'zkevm', 'balancer', 'pools'] - description: 'Balancer V2 liquidity pools created on Polygon zkevm.' - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - address - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - - name: labels_balancer_v2_pools - meta: - blockchain: ethereum, polygon, arbitrum, optimism, gnosis, base, avalanche_c, zkevm - sector: labels - project: balancer_v2 - contributors: balancerlabs, viniabussafi - config: - tags: - [ - 'labels', - 'ethereum', - 'polygon', - 'arbitrum', - 'optimism', - 'avalanche_c', - 'base', - 'gnosis', - 'zkevm', - 'balancer', - 'pools', - ] - description: 'Balancer V2 liquidity pools created across blockchains.' - columns: - - *blockchain - - *address - - *name - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - - name: labels_balancer_v2_gauges - meta: - blockchain: ethereum, polygon, optimism, arbitrum, avalanche_c, base, gnosis, zkevm - sector: labels - project: balancer_v2 - contributors: jacektrocinski, viniabussafi - config: - tags: ['labels', 'ethereum', 'polygon', 'optimism', 'arbitrum', 'avalanche_c', 'base', 'gnosis', 'zkevm', 'gauges'] - description: 'Balancer v2 gauge labels.' - columns: - - *blockchain - - *address - - &pool_address - name: pool_address - description: "Address of the pool to which a Gauge belongs" - - &child_gauge_address - name: child_gauge_address - description: "Address of the Child Gauge on L2s, NULL if on mainnet" - - *name - - &status - name: status - description: "Flag for whether a gauge is active or inactive" - - *category - - *contributor - - *source - - *created_at - - *updated_at - - *model_name - - *label_type - - name: labels_balancer_v2_gauges_ethereum meta: blockchain: ethereum From b303d5fc04a33f5da9c685c5c5f50569e7084b9c Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:30:04 +0200 Subject: [PATCH 48/63] Fix dbt_project post rebase --- dbt_project.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 3921b1e6534..fd0c179ce0d 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -86,23 +86,6 @@ models: bitcoin: +schema: cex_bitcoin - uniswap: - +schema: uniswap - arbitrum: - +schema: uniswap_arbitrum - ethereum: - +schema: uniswap_ethereum - optimism: - +schema: uniswap_optimism - polygon: - +schema: uniswap_polygon - bnb: - +schema: uniswap_bnb - base: - +schema: uniswap_base - celo: - +schema: uniswap_celo - balances: +schema: balances ethereum: @@ -180,13 +163,6 @@ models: base: +schema: safe_base - lifi: - +schema: lifi - fantom: - +schema: lifi_fantom - optimism: - +schema: lifi_optimism - aragon: +schema: aragon ethereum: From 679b98890ceb47318a172b5a59f78612af5570f8 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:30:20 +0200 Subject: [PATCH 49/63] Switch to source --- .../liquidity/ethereum/balancer_v1_ethereum_liquidity.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/_project/balancer/liquidity/ethereum/balancer_v1_ethereum_liquidity.sql b/models/_project/balancer/liquidity/ethereum/balancer_v1_ethereum_liquidity.sql index b433278b8db..1c331972d84 100644 --- a/models/_project/balancer/liquidity/ethereum/balancer_v1_ethereum_liquidity.sql +++ b/models/_project/balancer/liquidity/ethereum/balancer_v1_ethereum_liquidity.sql @@ -11,7 +11,7 @@ WITH pool_labels AS ( SELECT address, name - FROM {{ ref('labels_balancer_v1_pools_ethereum') }} + FROM {{ source('labels', 'balancer_v1_pools_ethereum') }} ), prices AS ( From 5c7cc404a8c559324cc130d4d3ae0bf4b9152e34 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:30:27 +0200 Subject: [PATCH 50/63] Switch to source --- models/labels/labels_addresses.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/labels/labels_addresses.sql b/models/labels/labels_addresses.sql index 8f96302d3ea..867e72279f8 100644 --- a/models/labels/labels_addresses.sql +++ b/models/labels/labels_addresses.sql @@ -1,5 +1,5 @@ {{ config( - + alias = 'addresses', materialized = 'table', file_format = 'delta', @@ -12,7 +12,7 @@ -- single category labels (no subsets), needs label_type and model_name added still. {% set single_category_labels_models = [ ref('labels_aztec_v2_contracts_ethereum') - , ref('labels_balancer_v1_pools') + , source('labels', 'balancer_v1_pools') , source('labels', 'balancer_v2_pools') , ref('labels_balancer_v2_gauges') , ref('labels_cex') From 3233b00dbe658f8119ccf3dc13c9aa241639b45f Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:30:31 +0200 Subject: [PATCH 51/63] Add sources --- sources/_subprojects/dex/_sources.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 6a89d8d1a6f..52abd2f17d0 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -45,6 +45,8 @@ sources: - name: trades - name: labels tables: + - name: balancer_v1_pools_ethereum + - name: balancer_v1_pools - name: balancer_v2_pools - name: balancer_v2_pools_arbitrum - name: balancer_v2_pools_avalanche_c From fb9153dcba4561a2099b263b32e4ecb78562ed8d Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 14:42:50 +0200 Subject: [PATCH 52/63] Move test --- .../ethereum/cow_protocol_ethereum_assert_slippage.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {dex/tests => tests}/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql (100%) diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql b/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql similarity index 100% rename from dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql rename to tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql From 0360114e6cb8ca630efa2a38a3deca4116923824 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 15:01:25 +0200 Subject: [PATCH 53/63] Move back tests --- .../ethereum/cow_protocol_ethereum_assert_trades.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql diff --git a/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql b/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql new file mode 100644 index 00000000000..46caec69133 --- /dev/null +++ b/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql @@ -0,0 +1,5 @@ +-- Try it out here: https://dune.com/queries/1398185 +select evt_tx_hash +from {{ source('gnosis_protocol_v2_ethereum', 'GPv2Settlement_evt_Trade') }} +where evt_tx_hash not in (select tx_hash from {{ ref('cow_protocol_ethereum_batches')}}) +and evt_block_time < date(now()) - interval '1' day \ No newline at end of file From ba9088f0921d87a59ef1b1207387ac245ea6be5c Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 16:00:17 +0200 Subject: [PATCH 54/63] Remove --- .../ethereum/cow_protocol_ethereum_assert_trades.sql | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql deleted file mode 100644 index 46caec69133..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql +++ /dev/null @@ -1,5 +0,0 @@ --- Try it out here: https://dune.com/queries/1398185 -select evt_tx_hash -from {{ source('gnosis_protocol_v2_ethereum', 'GPv2Settlement_evt_Trade') }} -where evt_tx_hash not in (select tx_hash from {{ ref('cow_protocol_ethereum_batches')}}) -and evt_block_time < date(now()) - interval '1' day \ No newline at end of file From ebdafc3eb383ecaa5ff33f5d30daebd2d28f9ed8 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 16:02:18 +0200 Subject: [PATCH 55/63] Fix sources --- models/labels/labels_addresses.sql | 4 ++-- sources/_subprojects/dex/_sources.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models/labels/labels_addresses.sql b/models/labels/labels_addresses.sql index 867e72279f8..d300ef4afab 100644 --- a/models/labels/labels_addresses.sql +++ b/models/labels/labels_addresses.sql @@ -12,8 +12,8 @@ -- single category labels (no subsets), needs label_type and model_name added still. {% set single_category_labels_models = [ ref('labels_aztec_v2_contracts_ethereum') - , source('labels', 'balancer_v1_pools') - , source('labels', 'balancer_v2_pools') + , source('labels', 'labels_balancer_v1_pools') + , source('labels', 'labels_balancer_v2_pools') , ref('labels_balancer_v2_gauges') , ref('labels_cex') , ref('labels_contracts') diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 52abd2f17d0..30cf46d149e 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -46,8 +46,8 @@ sources: - name: labels tables: - name: balancer_v1_pools_ethereum - - name: balancer_v1_pools - - name: balancer_v2_pools + - name: labels_balancer_v1_pools + - name: labels_balancer_v2_pools - name: balancer_v2_pools_arbitrum - name: balancer_v2_pools_avalanche_c - name: balancer_v2_pools_base From 14f0992d297629fe01e63cfe840dda76f745a485 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 16:12:20 +0200 Subject: [PATCH 56/63] Fix --- sources/_subprojects/dex/_sources.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/_subprojects/dex/_sources.yml b/sources/_subprojects/dex/_sources.yml index 30cf46d149e..270dc948654 100644 --- a/sources/_subprojects/dex/_sources.yml +++ b/sources/_subprojects/dex/_sources.yml @@ -47,7 +47,7 @@ sources: tables: - name: balancer_v1_pools_ethereum - name: labels_balancer_v1_pools - - name: labels_balancer_v2_pools + - name: balancer_v2_pools - name: balancer_v2_pools_arbitrum - name: balancer_v2_pools_avalanche_c - name: balancer_v2_pools_base From 5b74deb5fd549d62a19eba010914704507b1a96e Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 16:18:59 +0200 Subject: [PATCH 57/63] Fix source --- models/labels/labels_addresses.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/labels/labels_addresses.sql b/models/labels/labels_addresses.sql index d300ef4afab..e0afc67d250 100644 --- a/models/labels/labels_addresses.sql +++ b/models/labels/labels_addresses.sql @@ -13,7 +13,7 @@ {% set single_category_labels_models = [ ref('labels_aztec_v2_contracts_ethereum') , source('labels', 'labels_balancer_v1_pools') - , source('labels', 'labels_balancer_v2_pools') + , source('labels', 'balancer_v2_pools') , ref('labels_balancer_v2_gauges') , ref('labels_cex') , ref('labels_contracts') From 13224bbe0000b9f2afa6eb21c85163ac751aa811 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Fri, 14 Jun 2024 16:47:15 +0200 Subject: [PATCH 58/63] Add missing seeds --- tests/trades/_schema.yml | 12 + tests/trades/dex_trades.csv | 541 ++++++++++++++++++++++++++++++++++++ 2 files changed, 553 insertions(+) create mode 100644 tests/trades/_schema.yml create mode 100644 tests/trades/dex_trades.csv diff --git a/tests/trades/_schema.yml b/tests/trades/_schema.yml new file mode 100644 index 00000000000..5542398b7a4 --- /dev/null +++ b/tests/trades/_schema.yml @@ -0,0 +1,12 @@ +version: 2 + +seeds: + - name: dex_trades_seed + config: + column_types: + tx_hash: varbinary + token_bought_address: varbinary + token_sold_address: varbinary + token_bought_amount: double + token_sold_amount: double + block_date: timestamp diff --git a/tests/trades/dex_trades.csv b/tests/trades/dex_trades.csv new file mode 100644 index 00000000000..1ad1878fbb3 --- /dev/null +++ b/tests/trades/dex_trades.csv @@ -0,0 +1,541 @@ +blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_bought_amount,token_sold_address,token_sold_amount +avalanche_c,pharaoh,1,2023-12-27,0xba5d58703f53313a5d46bc2f14043735580123c66817558adfee943fe5fb5e49,19,0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7,50008753,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,50000000 +ethereum,kyberswap,elastic_2,2023-01-09,0xa6d744fdbe93ed48ad6d8d3d3b86715e7a5bab9d95a970b56f9a40cbde38fc5a,413,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,10.3359399189,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,18256.893542 +ethereum,maverick,1,2023-03-10,0x0da5b35106718de658279fc109cc593cf5d81de829e77a6cea01566f3bf7def6,130,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15035.242634,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,14628.522982718923 +ethereum,uniswap,1,2022-08-10,0xc5d051f200779582390fe36838263f346e3f9c13731f6d186f12bd72e1223501,164,0x6b175474e89094c44da98b954eedeac495271d0f,114.525972456783,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.062801179402571 +ethereum,uniswap,1,2022-08-10,0x6a6aaf4e55c3f7a070b1b2bb955c8a072bd7f3a00db898bb6ad9c35ff1d0bd36,58,0x23b608675a2b2fb1890d3abbd85c5775c51691d5,0.00485937701376674,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0941477783366224 +ethereum,uniswap,1,2022-08-10,0x73e6503108c7774fad6f297303553153bb074d7a8abea64e67c23025dbd9cdd1,259,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1604.708387,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.9605157 +ethereum,uniswap,1,2022-08-10,0x085c1de4ae885aced9e145292fe1e7619ad707df91db2a47046e6394f0a2ab14,39,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.45503069565416,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2500 +ethereum,uniswap,1,2022-08-09,0xcb3958bb94b8d1d8ba8960e4c76e90f4f60446311f9ad595f7768077084f41b3,126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.205795017804108,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,0.325960741989667 +ethereum,uniswap,1,2022-08-10,0x0995c3e2ae836c9d1c2648c9bbbdc06710294c933faed35a7cf5fe84295324c6,274,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00130012577707246,0x3d1ba9be9f66b8ee101911bc36d3fb562eac2244,3418.726 +ethereum,uniswap,2,2022-08-14,0x906bf116aa38282ea12a0a55fccdd9684d4904c0ddb5bff8c1a6e4e1bf791eb2,17,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,300.357175,0x6b175474e89094c44da98b954eedeac495271d0f,301.348892417344 +ethereum,uniswap,2,2022-08-14,0x644857941ede03358cbb28793d925e374184d07faa62cba22b1ca974035c06ee,161,0x6b175474e89094c44da98b954eedeac495271d0f,149.606421160013,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150 +ethereum,uniswap,2,2022-08-14,0x51b191c8c620b1dc5867f1c0e1c3b2c4acb20009a7e29a8540c0ed94f678c350,194,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,1980.88020260497,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.13345856353334 +ethereum,uniswap,2,2022-08-14,0x77bdb8bff66248595b99851084a3a921db653ba2fb2a775ac7f0614cf4bddab5,23,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.13666561702156,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,683.8 +ethereum,uniswap,2,2022-08-14,0xb00a6f017198bbbcc4d2d390326cec87301e08880e1e1e0d6877b28b906a61d5,33,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.9695767307707,0x6b175474e89094c44da98b954eedeac495271d0f,15531.4453730142 +ethereum,uniswap,3,2022-09-28,0x021a4ea590baee1e6bec5ecdb3b03cb67a4efaac67ac764f97ac3b152fe1ad10,8,0xae78736cd615f374d3085123a210448e74fc6393,0.490796462724159,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.510288592522475 +ethereum,uniswap,3,2022-09-28,0x566b4dd208a3af70b3b80e9352e35f263db73ec29ed6e6385f719773b98d19ce,239,0x3845badade8e6dff049820680d1f14bd3903a5d0,15.6789364011265,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 +ethereum,uniswap,3,2022-09-28,0xdcaf9394fddb84afbf971045661d7e96ed2d01a743ea913abceb20cf4c13452e,2,0xdac17f958d2ee523a2206206994597c13d831ec7,18410.19214,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,13.7977443609023 +ethereum,uniswap,3,2022-09-28,0x4bda429e77bdd899139e00628c8fee2e119db6098745cba00e11efeeb1a99bd2,84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,10747.932591,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,8.06043203550863 +ethereum,uniswap,3,2022-09-28,0x7a98cdef70a5518538457c807d90e69340d709d2a2a87699a869db8be7a66d8f,112,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,46942.648238,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,35.2 +optimism,uniswap,3,2022-09-30,0xf55b5c5ec3bf016046a173f484fe972e32fdcba467d7f9e736aa24c72ba77f77,7,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,100.981029315346,0x7f5c764cbc14f9669b88837ca1490cca17c31607,101 +optimism,uniswap,3,2022-09-30,0x1eb5e4679743665b626af08e0e1cb571982d851e4d9a26ca84763ab4e97b2413,10,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,5.38359932389085,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5.384615 +optimism,uniswap,3,2022-09-30,0x14d51305de3c0224f1474e895d8a75c3f6f31c050a8384fb56352b9ce23dfde5,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,60.46196,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,60.456251 +ethereum,airswap,swap_erc20_v4,2023-05-23,0xd36c783cd53d3bf612ec74f6f41c1044ca99f45dd16673e9152093df6089e2b5,293,0x6b175474e89094c44da98b954eedeac495271d0f,9.18792133,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005 +ethereum,airswap,swap_erc20_v4,2023-05-23,0xcdb69602e9ecf42a2e0375eeaef525f825c06d4d83943f69dfb2aca882c54308,272,0xd533a949740bb3306d119cc777fa900ba034cd52,3381.61805,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2977.71 +ethereum,airswap,swap_v3,2022-08-19,0x00399b5f2fc5535efd528b03f76a871766e5f2d2869799281b3064cd02de14fe,308,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,825.220907,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4863593 +ethereum,airswap,swap_v3,2022-08-25,0x0000e369cb6a2d5908c26d736d0012a3136603f2020acfe8bfd86af4790c8590,213,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.357272738807249,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,600 +ethereum,airswap,swap,2022-09-29,0x30219b51b252348303f297778374024b4afcd6023d522b4442d2304b8f0c154d,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,102122.5869,0xe34c023c0ea9899a8f8e9381437a604908e8b719,103441.57 +ethereum,airswap,swap,2022-09-27,0x1daef042310db224f72cb4c922e1a4ccfa2cbbba8f2757dec38651e95933c6f7,32,0x72b886d09c117654ab7da13a14d603001de0b777,253905.87392903,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,30500 +ethereum,airswap,light,2022-05-25,0x02881571864ff927f2c1e3a65e88ac2cdb63bcc8b075b3b5cac1fabdbff8719a,287,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3901.628058,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.98514 +ethereum,airswap,light,2022-05-31,0x041c1b58767f3428419d4c3e767e4dda0490d5aa2459902955f9bca530739bc8,175,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.02477942922041,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2000 +ethereum,airswap,light_v0,2021-03-19,0xc418c91e3ac55dd29d4471f12fd5d425df952d2bbe70d5f7157f6a15c49b4c6f,272,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.11323417,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3816.26867 +ethereum,airswap,light_v0,2021-03-19,0xc204cbd09767db2c912a7185dcda818b267bc6119a6ba7fc9a16d5ebca654068,109,0xdac17f958d2ee523a2206206994597c13d831ec7,909.704519,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4985 +ethereum,curve,Regular,2022-09-03,0x0fc5910c411bdbbf1827fa278c22b3351892e8931e7c3db02e817bc052a489fc,11,0xdac17f958d2ee523a2206206994597c13d831ec7,45324225240,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.929896609E+019 +ethereum,curve,Regular,2022-09-04,0x4ca41e0f0700f357111aaae66a85b0def53b00a6ca02145e6e6ec00775621df5,537,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,7.93070096583753E+022,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,7.78328E+022 +ethereum,curve,Factory V1 Meta,2022-09-23,0x182e11e393388ea9365b1e566bfc66754bbdfb7f83344f6e1e4f05cde97ea66b,11,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,4.29398385988372E+020,0xa693b19d2931d498c5b318df961919bb4aee87a5,10259457322 +ethereum,curve,Factory V1 Plain,2022-09-19,0xe31b85292938984c61b4a9d8d2eb781f20bfa22c068a380a67fce94ef8ec450c,60,0xd533a949740bb3306d119cc777fa900ba034cd52,7.42474512665705E+020,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,7.74567425737246E+020 +ethereum,curve,Factory V2,2022-09-03,0x02fe546401dd52e07528532ed1ac4ed1d4f525118836f71a4014282fb6a06839,4,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,5.13561732187354E+022,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,33333000000 +ethereum,clipper,1,2021-07-14,0x8d246ba8ec0775e6b7cff03010b858e22a9295d24b7fd08a8f705bbd3d333dab,301,0xdac17f958d2ee523a2206206994597c13d831ec7,165.266255,0x0000000000000000000000000000000000000000,0.082849 +ethereum,clipper,2,2022-08-05,0xdae0599fd4db92ae4ba8c69bb8f0955c8d6e33bef1b5dd91f7b42aff95d1bffb,90,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00905195942930063 +ethereum,clipper,3,2022-10-05,0x2a85b64c9b39ad26cd62b72c984fb31c6c53e2eab317d79a34787a10d9883942,222,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.110806219109147 +ethereum,sushiswap,1,2021-09-15,0x7074892627f2bccfbf394ec8760cade1d3d672289b46fbc7c5e590db31c16c95,3,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,3017.55093634511,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,11.7781782389008 +ethereum,sushiswap,1,2021-11-22,0x3d68c5df7a7a82ad679592d00eced1461447b487d1c54d89f0fa46ddc21bac84,7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.46565784374643,0xd291e7a03283640fdc51b121ac401383a46cc623,1121.3436686981 +ethereum,sushiswap,1,2021-11-27,0x0de46956f3fbdf6c9613f087f063daf62b7be67aeb8f092704d98feb1d2a0911,8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.309451321421892,0xf422b6f41a14fb74b21cb95a8d82971a3b527117,16109.3510951687 +ethereum,sushiswap,1,2021-08-01,0x901305aef9025df025b948065b89dd2f6350c09d9cd4eb957b3b69d4a487b1eb,8,0x25f8087ead173b73d6e8b84329989a8eea16cf73,3588.33361827192,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.18922607574853 +ethereum,swapr,1,2022-09-03,0xc58ae666672615f121747458b336004b5bac48823a6135163d3b23afeab4d632,333,0x6b175474e89094c44da98b954eedeac495271d0f,68.407407578415861544,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0441670997926941 +ethereum,swapr,1,2022-05-04,0x53f3c3e596923e6c74988dffb69b52fe90d5bc191237dd87bd926de934b2f310,181,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.278764086245774,0x6b175474e89094c44da98b954eedeac495271d0f,781.537753648362 +ethereum,defiswap,1,2020-09-10,0xe1fa03eaadc2050042d0a70799776d4788a22732ba4914c80644629cd6312e65,196,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0.03502,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0001 +ethereum,defiswap,1,2022-02-03,0x6f280443c97a4f5f75d041ae8c378af7bd88aeb9df893019aac2e8f13f7c04ed,48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,852.379306321183,0xc00e94cb662c3520282e6f5717214004a7f26888,3674.21052715029 +ethereum,dfx,0.5,2022-10-14,0x8e51157eb06f0dcd4a546db83a8c4419ea6438e8d5f049c9a7ac71c6a03ca179,604,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,101.003244,0x2c537e5624e4af88a7ae4060c022609376c8d0eb,1891.282964 +ethereum,dfx,0.5,2022-10-13,0xa655e13b90fdfb4e590422308ebd51c45e4c213c466c2c765e307207936b6375,19,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,39601.170618,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,38720 +arbitrum,zigzag,1,2022-10-16,0x65149408bc88fdf9b690269f7e57dcaf8d5577af412ccd3b6d8cb13a9e5c11f8,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,266374900,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,266363162 +arbitrum,zigzag,1,2022-10-26,0xc36027e8ccac981439cae6471824c08fad2831a94d18245052f60ec68e95fd1e,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,214452952992,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,1060036291 +arbitrum,zigzag,1,2022-10-01,0x0a18966c178428cdedcec56823ceea18cd25b30f3da0051185af6633ace725b7,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,114719722544,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,86485492800931211274 +bnb,pancake,2,2022-10-02,0x621c3436f07ab0c7228b50618195a1d9c19c62268d51f556fe3e9595c21cb2c6,140,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,4.128690371495819498,0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82,0.9182291278576036 +bnb,pancake,2,2022-10-06,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,46,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,29.176228605313702756,0xaef0d72a118ce24fee3cd1d43d383897d05b4e99,266659.423741634885391646 +ethereum,dodo,1,2020-09-01,0x784afe0cd29926a86e15390c6d894eccfd3fcfd3d170cbb69a1a9aeb9f98e5af,72,0xc00e94cb662c3520282e6f5717214004a7f26888,24.88,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,6557.285496 +ethereum,dodo,1,2021-01-30,0x616b4f09c34a3e598b00373a961e1daa4c2decc7a5315192f2927a68e767a4d6,100,0xc00e94cb662c3520282e6f5717214004a7f26888,22.84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,7017.918 +ethereum,dodo,2_dvm,2022-11-01,0xd22f88ac18cec7940d5d238140e8cd70e1fb77f01524e92cdba9002831405e53,48,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,823.892847,0x4bdcb66b968060d9390c1d12bd29734496205581,15050.127244362413 +ethereum,dodo,2_dsp,2022-11-01,0x217a50ce8c056b6f240ca0fee82a7aea76fde5845238717d4d2fe36a1d885fe3,18,0x6b175474e89094c44da98b954eedeac495271d0f,16786.79842759679,0xdac17f958d2ee523a2206206994597c13d831ec7,16789.191028 +bnb,dodo,1,2022-01-02,0x520b133f33a11da463ef652c2204e89056384f3755aa17ed3bd8692a708e2daf,9,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,15000,0xe9e7cea3dedca5984780bafc599bd69add087d56,14999.373075377125 +bnb,dodo,1,2021-12-08,0x5a3656a980ff18ea51639ec55b909e06c05447296ad41234cce2a6504e7e3cd1,555,0xe9e7cea3dedca5984780bafc599bd69add087d56,6499.127981081047,0x55d398326f99059ff775485246999027b3197955,6493.88249982855 +bnb,dodo,2_dvm,2022-10-27,0x1b313c2256a8fe451949711d34dfadf49b33e6e49fa95564394c764f1fa10a96,138,0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623,16153.846153846154,0xb5102cee1528ce2c760893034a4603663495fd72,804.7505008944851 +bnb,dodo,2_dsp,2022-01-28,0x0adbde9ea212758528e872e94cd4056e77aae00d64a270df9cd10adef1a43883,185,0x2c30b4cb4b3001afa5b8c43c5a7ca548067562a0,282.61385074773614,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,282.357407285385 +bnb,dodo,2_dpp,2022-12-18,0x5425c84608187bfd827a076b30760402987276fdcc5168b4b9cce30ac531752b,15,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.4460644851563125,0xe9e7cea3dedca5984780bafc599bd69add087d56,350.17016117475544 +bnb,dodo,2_dpp,2022-12-18,0x8a13bf64a7c9b5db044f3771b6a654e822c37434f55d1e41d8b5a7808221835b,40,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.8608918052876906,0x55d398326f99059ff775485246999027b3197955,451.18801668480404 +arbitrum,dodo,1,2023-01-07,0x9ed6106825fc5d53665ee6376f3501b4b54a554c19290afc4d51e06ff8bbb6ce,16,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,50.014816,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,50 +arbitrum,dodo,1,2023-01-07,0xd6415725b7c78e43935708dad578870363486a806d38ef8a0e9a8f6ab4cfe475,14,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,101.859893,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,101.809143 +arbitrum,dodo,2_dvm,2023-10-09,0x8c4a3f95cd30e91aca5ec95cab93543af728256c299110b14a29438e79f62e72,15,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.108417,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.002622797526025669 +arbitrum,dodo,2_dsp,2023-01-07,0x75bf7f2fbb62b1d543e1e8b3e3641f85fffcdedeb4e3eeaedd0fc9461563be79,12,0x641441c631e2f909700d2f41fd87f0aa6a6b4edb,1211.1861381535175,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1211.102662 +arbitrum,dodo,2_dpp,2023-02-23,0x55c6277132f498dbaf7ad4df56380f0838f14121491b4b2954d7af42f3024cc0,23,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.2164701922659768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,360.422629 +optimism,dodo,2_dvm,2022-08-18,0x64557e632ccb92997101e6fe03d93b926f54488d82fa3c1a1ff28f32e2ccdef6,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.491844,0x4200000000000000000000000000000000000006,0.000338547426391858 +ethereum,bancor,1,2021-07-19,0x00c78e18b2ff2f7da30364f421d7b32e026523d64d37617a8c5acfa94f8850a1,235,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,306.394926082191,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.45 +ethereum,bancor,1,2022-01-01,0xe3a7a76069d1109e9d4d13236ee746ce1cf5dbf9dcf430fde8b257f19a98162e,196,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,1991.31923775975,0xb056c38f6b7dc4064367403e26424cd2c60655e1,10000 +ethereum,bancor,1,2022-08-10,0xc470cc109b2fd341d5e155ef0a5b270d31e46320fec423616bfbf8e08bde1d89,87,0x4a220e6096b25eadb88358cb44068a3248254675,4.21008338989588,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,879.148341427923 +ethereum,carbon_defi,1,2023-04-24,0xd4d6be5f2e8475ff67c7f718edfdb8b1de9bef225e7f82f8b3867f07da3d6032,396,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,60.764468,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.032 +ethereum,carbon_defi,1,2023-06-10,0x11646f9854a79d49fc4f8005fb542b6afd6ac2ae3b444a89ca3a57b6e325f8a1,214,0x6b175474e89094c44da98b954eedeac495271d0f,18803.048784261206,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10.553764 +ethereum,carbon_defi,1,2023-07-04,0x28b9ffba580de047e5b3025e28b6dc6e9b4a0091dc7e90e87a3b9df1a72e1fee,424,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,731.6246907423406,0x48fb253446873234f2febbf9bdeaa72d9d387f94,1402.8429106481624 +ethereum,hashflow,1,2022-10-11,0x32cf4a6b5cc8f98c1e581c4c645c4e8a5509b524798789d9ba4d32e169c367f5,16,0xdac17f958d2ee523a2206206994597c13d831ec7,17911.421153,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,22400 +ethereum,hashflow,1,2022-10-11,0xe4e4a36fba54da2aae2fd17bd783d448636f2a439f5ee8c65a6bd6b1a0015812,60,0x0000000000000000000000000000000000000000,1.3681194955173488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1744.214319 +ethereum,mstable,feederpool,2021-05-05,0x44d84fd2602b8cc6c8872f7c1ec1354b7265a8dde35c3099310298322f948ce8,393,0x4fabb145d64652a948d72533023f6e7a623c7c53,207366.593542953125079686,0x6b175474e89094c44da98b954eedeac495271d0f,207343.38432717659586164 +ethereum,mstable,feederpool,2021-07-12,0x40a185a0e023931c764c9e0c367494ec0491ac1c83c104e52c0f80ec5eecf227,39,0x6b175474e89094c44da98b954eedeac495271d0f,14152.444151925737407389,0x4fabb145d64652a948d72533023f6e7a623c7c53,14170.8094 +ethereum,mstable,masset,2022-08-11,0x251247062570a31c65605c5c022d0b6375c0e0a7f78ff846ed0194e6eb89d75f,48,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,1.48620013,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,1.49136326 +ethereum,mstable,masset,2022-11-10,0x2a25f982c167701bb14fedab38e36db11b80e0df84415224a9b9358810abe5e9,20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,97891.598255842626470327,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,98029.682483 +avalanche_c,sushiswap,1,2022-02-25,0x82fd5a6540dce85d1e21f32f1c3caed449899345ef111576a17c2954fe0effc6,33,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,1379.137017,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1373.864622043913288097 +avalanche_c,sushiswap,1,2022-05-12,0x73e34eb697701cff1cd6f045855584d6cc7a8e7923d8e2f494a0ffba034500c8,116,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.210377021755772039,0x50b7545627a5162f82a992c33b87adc75187b218,0.0002241 +gnosis,sushiswap,1,2021-11-08,0x5071403049381a8e0a9b1859d933a4367ac95db0549597d615f11d8d6989766b,103,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,138.845996,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,138.937452952743346786 +gnosis,sushiswap,1,2022-06-28,0x73b7fc9d26042dc2552a014c6a8e138dedaabb3150721f538404a109f5efd031,9,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,4.529829473199357637,0xe2e73a1c69ecf83f464efce6a5be353a37ca09b2,0.650820213174998578 +arbitrum,sushiswap,1,2023-01-10,0xafa7fc216c42ebc38df30ee06c935d34454603b51c8f30110b09ba0c96a5cf2b,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.988441,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,2 +arbitrum,sushiswap,1,2023-01-10,0x6ae9f8365f8e9ce4b6fa5e957558f798eb79552370533b525d2cfcc49ac895d6,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.003433,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0000026 +arbitrum,sushiswap,1,2023-01-09,0x98032f79d4f04087984d9a29bf0cda82b2ab80afaf7c53172a9886d5cad4a66e,12,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.892222,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0006764 +avalanche_c,fraxswap,1,2022-07-16,0xa3b0a0511b2454fc1120234bee1c8d55b389fd18aeef5c7facf901ebbeb22347,11,0x214db107654ff987ad859f34125307783fc8e387,200.0,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1094.4001103042203 +avalanche_c,fraxswap,1,2022-08-19,0x92ffa2b7400b5ce9f50561358c9704a93b4c60133a2cd12b22393cdcf0cf4d5f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1026.1252914116867,0x214db107654ff987ad859f34125307783fc8e387,167.62804286355896 +avalanche_c,fraxswap,1,2022-07-13,0xf57b7cfe775b4f21f74ed2c08d56eaceb84a1e9191f3c7d5097128b08ab7444b,9,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,500.0,0x214db107654ff987ad859f34125307783fc8e387,103.83628889808516 +avalanche_c,fraxswap,1,2022-10-15,0xe29a3bc86f7903618c9716037437256d8cb3bd37368f356e19c825d505b21616,4,0x214db107654ff987ad859f34125307783fc8e387,167.2033272898448,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0 +avalanche_c,fraxswap,1,2022-09-05,0xc0d3943d0fb158b7fa111a20ae64e81044161e6a1cabf819f64252980f81af3f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1330.6397885530023,0x214db107654ff987ad859f34125307783fc8e387,215.93386151058667 +avalanche_c,fraxswap,1,2022-06-16,0x17cc2def9d5869f604789dc0593af77b68fc6b51dd98e0dacf9f50d744d5d534,86,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,228.50208340351497 +avalanche_c,fraxswap,1,2022-06-16,0xc7973b9adc9c15c4b536ac3682344420b8e8e541e801e0f451a52f685a10d002,65,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,229.28068237184743 +avalanche_c,fraxswap,1,2022-09-05,0x608542c07700429cf096204f91a193341e40ae4059b7940d7eb5ad9f051836b8,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1052.0376768716717,0x214db107654ff987ad859f34125307783fc8e387,169.6623770097244 +avalanche_c,hashflow,1,2022-09-23,0xb64cabc1fc83f1922a9bf1c315a6bf7e81530dc33b68be78871e61329884078a,25,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1003.182468,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,57.71187672458048 +avalanche_c,hashflow,1,2022-08-29,0x3b837a7861992717ee9843e7b46bf414255eb77583f4eb5409d2945ee0295597,38,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,11.276858734485854208,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,200 +avalanche_c,hashflow,1,2023-01-12,0xab0c51f0fc13c3bd30194e0fabf1827fd9ae164ffc2ca8aab83c0443a2e63abd,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,431.856634,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,432.07267 +avalanche_c,curve,2,2022-11-03,0x5fac517fbfdd744ff858c15babc0998cbc7c2d0c4aa064f60bd17b2a3a53d670,17,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,24396.061353,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,24408.524998416038829515 +avalanche_c,curve,2,2022-06-04,0x36158219ea84887d26aa64deb11ca2ccc3e1576e5464b044edbd446aa277beda,20,0xc7198437980c041c805a1edcba50c1ce5db95118,149.228657,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,149.167743 +avalanche_c,curve,2,2022-11-02,0xcd7a6bd17655e6d54bc4a21927082f27b1f499c9b791bad783084c19b95ce4e1,168,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,647.498626,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,647.585569 +avalanche_c,platypus_finance,1,2022-05-01,0xc9cf002b6422ef0a617284537683372c66b92e84e0b28fde8a0cc04a4eef519e,23,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,4994.308573,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,4994.787342 +avalanche_c,platypus_finance,1,2022-05-03,0x75dc4b71defb76d9888aabbd8771e8b38ee48fb41d43cc3ecae6fb73b3911c84,20,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,21009.805223,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,21012.319756 +avalanche_c,platypus_finance,1,2022-05-03,0x93bd89cf8a4d602d5cbc32446e5fb4bf9ed170f5ac72c2dc23294c8f5e1a8a05,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1199719.208427,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1200000.0 +avalanche_c,platypus_finance,1,2022-05-04,0x306818d93ecd131c5e5e40a2293150db9484555d539a45e0512cc28a7041ebfb,45,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,220.0206736954061,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,220.0 +avalanche_c,platypus_finance,1,2022-05-04,0x9e982c5f221d878d5c30291f3b1af3bb4896a0d15ecc305ff4d4e63936ed191e,64,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,728.2722352237333,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,728.227031 +avalanche_c,platypus_finance,1,2022-05-05,0xd1d05ff16c664884875cf17ded334008fe1005b15103460c76a8979a791d3cc1,13,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,148967.354389,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,149000.0 +avalanche_c,platypus_finance,1,2022-05-05,0x138e58cdee3bd8ccb09bfaaffe340f84c29688d4a239dab4b94d12e49434d5a9,82,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,783.164086,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,783.2365264361647 +avalanche_c,platypus_finance,1,2022-05-06,0x48596630bee61338ac47f100539d58fd783215ceb624d888249818b9c7eade5f,59,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,741.001182,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,741.1522427698851 +avalanche_c,platypus_finance,1,2022-05-07,0x2954327b19870057c067530f4f951014163795afe991f5cd2657649ab8151a88,74,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1034.338934536323,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1034.310287 +avalanche_c,platypus_finance,1,2022-05-07,0x9ac609a5cf6084d4152e835fcf790f45dbdb363bda79afc62ac3dfc5235eea7d,17,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,121.298967,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,121.300365 +avalanche_c,platypus_finance,1,2022-05-07,0x2a3a710fa23fe85c0153a701167ac8265327e08c4e527e9de3d0727099934f48,8,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,2069.426263,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,2069.863443 +avalanche_c,platypus_finance,1,2022-05-09,0xa268e678b9167e2afbff624d6c473e1de4e69e00bbbf15cff30fec754965161e,80,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,504890.913495,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,505000.0 +avalanche_c,platypus_finance,1,2022-05-09,0x2747e96f2e6198cbaad9a34257faae3d1282401ec89c4d8e2b8980830417f7e4,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,23608.565879,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,23614.60193014132 +avalanche_c,platypus_finance,1,2022-05-09,0x4587aca823136fd6dbe9ecf9a992074062c49d13ee38fc65a7f547e5647c40d6,34,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,340.040453,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,340.06469425688414 +avalanche_c,platypus_finance,1,2022-05-09,0x916f2f560b3c13f31aa4139608b067e00ad042bd3bdb197a683e68d77c80aab0,12,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,25017.262697,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,25023.099847 +avalanche_c,platypus_finance,1,2022-05-09,0xd1e3319eb5ab9cae929d2a18e79facb10309f84a8e38073596df084745c2f2f1,113,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,289498.193117,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,289560.3059171445 +avalanche_c,platypus_finance,1,2022-05-09,0x7fa1daa95f0c034752cb3719b62e7ae3d372945db163bda78e26cdc3a18192c3,6,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7500.368177,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,7500.0 +avalanche_c,platypus_finance,1,2022-05-09,0x363e3d084f738cb84cc809ca6ec9738bc23ceb606ca13148fe210b0bb098115b,22,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,78918.176151,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,78938.0 +avalanche_c,platypus_finance,1,2022-05-09,0x70aa1e9d8f0698b0b4b118b5296d67a3fb15f380a8ca105ba3c433655ae93aa6,28,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,44548.677919,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,44561.0 +avalanche_c,platypus_finance,1,2022-05-10,0x1bbe2f7773c059f500de2cd6acdee778d04b8c8185d4c69bb20db835feda9b76,24,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1505.784684,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1506.0280424835855 +arbitrum,gmx,1,2022-11-14,0x4c4f46a92fba43bfcb232568d7a31b4af63e91ab332b36549f2cc8929057bf11,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.20892017,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,259 +arbitrum,gmx,1,2022-11-15,0xe8c98bea3bf37ebb632c2f59e8e8db88f06456c12a1a9b1f6217f896820928b8,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0023785668,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,3 +avalanche_c,gmx,1,2022-11-14,0x4fee39a37c1adab2e185876f06395fe3a0ed53d2d2d10e82ef7b40dbdb70714e,16,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,562.108981,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.46443571715597298 +avalanche_c,gmx,1,2022-11-15,0x834202fb166e9cd8056bb1b7109c3a63e636244b5306080b3405d0321c0731c4,11,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,260.988536,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,20 +polygon,uniswap,3,2022-11-14,0x065d1410e74a0f973feb1b2b81030c4e48787fc9e540700d6018dfb5f96bfcf0,2,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,240.508119698835042944,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,219.13821 +polygon,uniswap,3,2022-11-14,0x17e206610661e39deac15979717f6658035a531aa66c78ffcdc6e8d02a4dd4a9,60,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,230.890774,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.0140068 +polygon,uniswap,3,2022-11-05,0x2f2f34207e9b8b521e87e40aaf452c0ddb57c580b5174a615cc286366efca79d,33,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1005.454808280348265291,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1212.644735 +polygon,dodo,1,2023-01-07,0xa4d5eb370faea67353f0a86d7942acc80ac927fdc3c058487436fb322ac7b7d1,183,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,46.625415,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,46.644294 +polygon,dodo,1,2023-01-07,0x1aba3621500f42af37f31950137b0776485ae1530a958fc05a68c39f414280c2,115,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,891.937912,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,892.289088 +polygon,dodo,2_dvm,2023-01-07,0x828df8835147ed71b60e504127e409ffeb3bf7495dfec75a712c117f07d28f56,405,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.00005737,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.2059550547960038 +polygon,dodo,2_dpp,2023-01-07,0x76f9dbda9492d12478525d27fce7963152bb9c5f3f7dafc2c5e9a8effd03f2d8,39,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,750,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,933.2716544242052 +avalanche_c,woofi,1,2022-11-08,0xae581cf151eacf9877f628e722514674f3f13b19abcce4e82808a2350526134a,25,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,33.765119660094401667,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,565.826462 +avalanche_c,woofi,1,2022-05-10,0x4ab2a9385bda8de7df444e6f342c12dd70ad6300fdf3a351d80f46e119a7811c,122,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,126322.419554,0x50b7545627a5162f82a992c33b87adc75187b218,4.00000076 +avalanche_c,woofi,1,2022-07-28,0xa1bcc8d3ec39c8694c2be30f5489091fe1bfe8ffd570841e55e00bef6ee3359c,6,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,0.197657,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.008699999999999999 +avalanche_c,woofi,1,2022-09-07,0xf48e0d36d6a51f82edecb408b20c1aa275fddc71f18d4118e734e3116c19d359,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2.714758315778573433,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,49.97 +bnb,woofi,1,2021-12-21,0xf3d0410543a546cf714ecbbe97caf9b6dc89f0caf627a44dc3b24eb8717b8c56,66,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,1.572913555840424953,0x55d398326f99059ff775485246999027b3197955,75491.688052189872040799 +bnb,woofi,1,2021-12-17,0xec25e2af89961b2ca54b69312a2cee1f545786e96d5287dec9fd12b2aba8df63,37,0x55d398326f99059ff775485246999027b3197955,12083.822061807061265726,0x2170ed0880ac9a755fd29b2688956bd959f933f8,3.097519332673643182 +bnb,woofi,2,2022-08-21,0x37420ded51ff96116d39301b4e4e75f3c713423b94319eb4fe3f29e31d3bd6cb,83,0x55d398326f99059ff775485246999027b3197955,14.977390055532270669,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050325032466406425 +bnb,iziswap,1,2022-11-21,0x07e7b79ed2e7958c7744accc12ce8c732d82c6d62ce586365d276a72ecca8ba4,97,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.91980872085136,0x55d398326f99059ff775485246999027b3197955,1000.0 +bnb,iziswap,1,2022-11-21,0x8c1e8cb4f4766ef9a775f040c576dd88a3a6993c8754c35f1e6faf4e1aa65718,197,0x55d398326f99059ff775485246999027b3197955,1016.3951483032495,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 +bnb,iziswap,1,2022-11-21,0x57bbc0040e8db0bdf9dd38b1e888dfc124159a4ef4c0368426f89238db23d8de,264,0x55d398326f99059ff775485246999027b3197955,1019.5850870781412,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 +bnb,fraxswap,1,2022-11-19,0x36f1b32a8115300906f74d3ddf2051d62a226045611a251d84a8a32395ead967,439,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,0.251513613449462899,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.001 +bnb,fraxswap,1,2022-10-26,0xe09dd465622225d25f5555214eb8e8e6e74d4a4fa5f6ac51b35f520150011f24,50,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,4.663005228579123357,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018388924302368166 +ethereum,fraxswap,1,2022-07-25,0x36ea8f58b542aed8c3f35ce396da15054e04a522efb25281c8ed0080a081083a,200,0x853d955acef822db058eb8505911ed77f175b99e,6321.896197119067345439,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,1000 +ethereum,fraxswap,1,2022-08-21,0x39714256ccf47a89e297b726e8de9eec9446949a224d5e2215fd4dc87c0c8969,406,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,2000.000000000000121322,0x853d955acef822db058eb8505911ed77f175b99e,13014.187897251069443882 +polygon,fraxswap,1,2022-11-01,0xda324654d84c5f9b67f6947575878eb25f8789153151295d08ee2738847a0750,135,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,0.008797854552852608,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.01 +polygon,fraxswap,1,2022-11-01,0x9f4b2967cd1cc64490f2765b6d95c70f8d6df37eaa7f2b441e141b2a41f7a793,188,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.987969423771805753,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,1.759300000000000086 +bnb,biswap,1,2022-11-22,0x66a602998a3585037eb498c103b009a4face2faf93ea57dfb1a44d1fa4a06dad,163,0xe9e7cea3dedca5984780bafc599bd69add087d56,33.830622552179025128,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2128.2655 +bnb,biswap,1,2022-11-22,0x9050a1e2f7aa392e39195b5b22382d595e94104b72699655b198c498f82bbfe6,153,0xe9e7cea3dedca5984780bafc599bd69add087d56,26.146488901376957832,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,1643.319 +bnb,biswap,1,2022-11-22,0xe2efd633720bd29322da7e39857e98b3c9904a1c55f9b3995441160983e06296,119,0xe9e7cea3dedca5984780bafc599bd69add087d56,43.898605549510836795,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2756.0281 +bnb,biswap,1,2022-11-22,0x0b9ba3ee4a0b3f4db2baba70be527f5a50aea77423cd921106ec9f0ac8dcf169,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018248512111984361,0xe9e7cea3dedca5984780bafc599bd69add087d56,4.837104443141354752 +bnb,biswap,1,2022-11-22,0xaf03946d9b98e5d6e841bb50555208801e48d773a8dfdf1ecc203d943c27c603,350,0x2170ed0880ac9a755fd29b2688956bd959f933f8,6.247796965743473757,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.43849 +bnb,nomiswap,1,2022-12-01,0x3b8f8370f2535fb7cd8b68a63d7bdb722cb5452b79a231122a9f5dd246be6657,295,0xe9e7cea3dedca5984780bafc599bd69add087d56,3.4406837272665105,0x60322971a672b81bcce5947706d22c19daecf6fb,8.610658726450525 +bnb,nomiswap,1,2022-12-01,0x2cb3567eada4e2f6350c44a7765516d381641db036cc664e3a64d15b303ac7ad,2503,0x60322971a672b81bcce5947706d22c19daecf6fb,85.62389404482691,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.191528536984286 +bnb,nomiswap,1,2022-11-30,0x9e3dfbd555adc7bd60844ca970bf6fd8ca6a24981b0c05925660f0f5ee8b4a5e,655,0x60322971a672b81bcce5947706d22c19daecf6fb,90.47037459371727,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.79453094032464 +bnb,nomiswap,1,2022-11-30,0xe504096106135022b0d0917e863c8255cc5f8777bcaa70ee38f342be6f74c56d,338,0x60322971a672b81bcce5947706d22c19daecf6fb,103.77456768715207,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.45117236156748 +bnb,nomiswap,1,2022-12-02,0xad22e5ec3486fe0b950510bb500c37baf27f4f50bf5f0fbd6c4ccfc777e2ad15,249,0xe9e7cea3dedca5984780bafc599bd69add087d56,44.399389252049524,0x60322971a672b81bcce5947706d22c19daecf6fb,114.46999990155486 +bnb,babyswap,1,2022-11-22,0x0f4e9d9f303d6d87cd95d85f2dbe48f3cc8e7e8240952e4bd485ef0f81503617,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050410279081245794,0x55d398326f99059ff775485246999027b3197955,13.346254023941418542 +bnb,babyswap,1,2022-11-22,0x6ba016ab36bd67d7459b4fbaead32e82a57a8930564355d3bfbd3ec7f876d559,244,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004192030247987002,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,40.39956 +bnb,babyswap,1,2022-11-22,0x0e6d9777fc533bc403df3ebe1b82b5399870f1301e45c90427b9664438efcc31,353,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,1738.090365320173641069,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.18104693184 +bnb,babyswap,1,2022-11-30,0x279dfbce106e55f05a20331ed088e1fd2e1ff68c05ab089cca473f3dbbaef9fe,283,0x55d398326f99059ff775485246999027b3197955,1654.599686417120624489,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,60085.854 +avalanche_c,trader_joe,1,2022-11-08,0x1f90838d916d2edf881ba53d8abfe5b557ff2a8d23d7ed692cc0687a71a9cd53,15,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,342510510,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,21741961515422881640 +avalanche_c,trader_joe,1,2022-11-09,0x82cd2992be090d073b82406e3f3882c43eeb4ac7e7ce26839290c6e028b2ac3b,130,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,30093631,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2354558311510002477 +optimism,velodrome,1,2022-12-02,0x8c4641cbf23a94be095e73660510f7e265d76601b414ea6f838f651609741c87,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,338.699889,0x4200000000000000000000000000000000000042,311 +optimism,velodrome,1,2022-12-02,0x52e9f5710d07923e189104e31b1c98f569a9fa038b41b67043e9b991fcf7a95f,5,0x7f5c764cbc14f9669b88837ca1490cca17c31607,896.242313,0x4200000000000000000000000000000000000042,823.875076815262 +bnb,mdex,1,2022-12-01,0xcd3cb070ee7f3524bbe091d15cc228676301ba87c8f11101293dd704c7442aa3,633,0xe9e7cea3dedca5984780bafc599bd69add087d56,41.22399442847115,0xa7f552078dcc247c2684336020c03648500c6d9f,1149.6338751257592 +bnb,mdex,1,2022-12-01,0x5558ee58a68414ca812e6861e4f1743fd4670669ab67bdd6cfde72f2185bf098,169,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050624007144351967,0xe9e7cea3dedca5984780bafc599bd69add087d56,15.035196244738406 +bnb,mdex,1,2022-12-01,0xfdd41f1fbd608530bd96c19fdfc713d861ec483d9c71976df981a4f61fd28140,376,0x55d398326f99059ff775485246999027b3197955,3.854107292216319,0x3ee2200efb3400fabb9aacf31297cbdd1d435d47,12.23 +bnb,mdex,1,2022-12-01,0x7d8f360ee960583133bbde85314d0257703feabf7a87518e5dc7b3a83de5c001,436,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1,0x55d398326f99059ff775485246999027b3197955,29.673387128124077 +bnb,mdex,1,2022-12-01,0xc2e17fc3812f583f5cd2ac1622939828181600b4a65bc1a30449050e3955522c,341,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.60004338983994,0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd,5.179156079954205 +bnb,ellipsis_finance,1,2022-06-12,0x264e4b912aa4d9a5338fc3803687229fd8fd6fb3cdc3008c97060d10a959f62a,437,0x1075bea848451a13fd6f696b5d0fda52743e6439,2.291714623466671663,0x2170ed0880ac9a755fd29b2688956bd959f933f8,2 +bnb,ellipsis_finance,1,2022-11-10,0x9c962e3862c0912117ad770035c492a2a4bca4e72f38baa12165853f85960992,458,0xe9e7cea3dedca5984780bafc599bd69add087d56,78.965818265473976219,0x7c869b5a294b1314e985283d01c702b62224a05f,78.401313456087213685 +bnb,ellipsis_finance,1,2022-05-22,0x85e68cfc48c650f4d7cfb9ce98b09c89e0952b3f7b7b2111ead705a72bd4cb38,349,0xe9e7cea3dedca5984780bafc599bd69add087d56,299.616793572788036088,0xdcecf0664c33321ceca2effce701e710a2d28a3f,314.194676267749213306 +bnb,wombat,1,2022-10-27,0xb228abac355fbc699ab0b134f48a495929069310aa32132ca5cdb679a81b6128,111,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,173.56579848904872,0xe9e7cea3dedca5984780bafc599bd69add087d56,173.79087768722817 +bnb,wombat,1,2022-10-27,0x7a6f269ba6a5826e1ac578ec0bb3272429912ab38a8e2533706415cad6cf0634,128,0x1bdd3cf7f79cfb8edbb955f20ad99211551ba275,0.001925010584091731,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.002 +bnb,wombat,1,2022-10-27,0x478de9749640e880e80485550c62a63072fa946c791f3cf00b60e417c34cb4dd,138,0xe9e7cea3dedca5984780bafc599bd69add087d56,100.08972348327656,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,100.1 +bnb,hashflow,1,2022-10-10,0xf7ae714fd7b9c2c5a6f5d1cda6f17b90c3a8585e1d3a2c8efa14826b15f9b9b7,19,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.784257887632644608,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,762 +bnb,hashflow,1,2022-10-10,0x7add80a388efcf38752d98b48a63844b6c3f45a4df9305268180bd8c2cc6d4b0,207,0xe9e7cea3dedca5984780bafc599bd69add087d56,110.063488,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.4 +bnb,hashflow,1,2023-01-14,0x082830ea432a172e3bab91f690c27830e3fe812aa0cd6613fd62f91be7586fc1,137,0xb3999f658c0391d94a37f7ff328f3fec942bcadc,2.73,0x44ec807ce2f4a6f2737a92e985f318d035883e47,2.73 +bnb,apeswap,1,2022-12-01,0xe4a7e72a504a6a295a75d3f264d0c94b441e89c813b9526f94f660f547c5c835,714,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00120638837141382,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.36 +bnb,apeswap,1,2022-12-01,0x23340f2b63579368aeec4765d4dcda837ea706755e9de56f9ee240877d73d5fe,31,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.003268023598876883,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.9757957073529867 +bnb,apeswap,1,2022-12-01,0xec62c204ea228732d789965d8cbadf18282c0d8fa172623bef62a440ad119827,218,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.013379338141206242,0x55d398326f99059ff775485246999027b3197955,4 +bnb,apeswap,1,2022-12-01,0x293589cdd2503ed9c667d7dd22ddbb65aaaf66490b197c47cb479a4dd84ef023,335,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01336201242131474,0xe9e7cea3dedca5984780bafc599bd69add087d56,4 +bnb,apeswap,1,2022-12-01,0x8a751f20be9f46c85fa9ed18490f9da5c7907b5fa5ffa93b2aec182778f24cda,442,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.7425522170245182,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.005817836045524239 +polygon,apeswap,1,2022-11-22,0x2f15cd0b477cc45c55924b7aa461a516e2b2f369a3806b55042e3c0e5b0877da,157,0x46d502fac9aea7c5bc7b13c8ec9d02378c33d36f,2248,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,57.048500720012677391 +polygon,apeswap,1,2022-11-22,0x3d56ef902984864931d8feb5f1e91cf896e2d1d535a4ada3968942f2f1c500fa,10,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,699.067345412356780819,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.530171159999668219 +polygon,apeswap,1,2022-11-22,0x740f53bcc15bb3a96c1435003e837677f8bc8f0d94d0c3ff6c33f45443cb746b,134,0xc004e2318722ea2b15499d6375905d75ee5390b8,22416.52442997,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21 +polygon,apeswap,1,2022-11-22,0x194d468d6c62a717806b5ee4b71131e9f834d724cbd4309a525fac5d9a320f64,185,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.99267586734214204,0x5d47baba0d66083c52009271faf3f50dcc01023c,12.616273336186259757 +polygon,apeswap,1,2022-11-22,0xe1d484c6453e2f701a0b246764d4c6dac27d99588b4df3ba6caee50f72f21429,290,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,33,0xc004e2318722ea2b15499d6375905d75ee5390b8,35313.94136592 +fantom,curve,2,2023-01-26,0x2c82d58a52e773e79abe81c8f04ab506f9ddded1b17d7f87ff40861a10681e4b,27,0x04068da6c83afcfa0e13ba15a6696662335d5b75,194.438488,0xdc301622e621166bd8e82f2ca0a26c13ad0be355,191.5377712986513 +fantom,curve,2,2023-01-26,0x7e20e5a8d85bf205cfe3dd7cb6a6668c82707f0ab7f7581a5d78dffbe1dac8ee,10,0x04068da6c83afcfa0e13ba15a6696662335d5b75,93.168043,0xfb98b335551a418cd0737375a2ea0ded62ea213b,93.91500221736457 +fantom,spookyswap,1,2023-01-22,0x0d8a71bb5d5d881dae96a62603d51aed6029fcb1f400eb90afd33fdacbd1b3fb,3,0x049d68029688eabf473097a2fc38ef61633a3c7a,94.447206,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,248.3197518 +fantom,spookyswap,1,2023-01-22,0xc408dfc2a9be6f97e60b89fa8c5711e796e73c55c62f74d22ad9ae54667b6565,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,590,0x049d68029688eabf473097a2fc38ef61633a3c7a,225.486545 +optimism,beethoven_x,2,2023-01-22,0x3be1a0fb7f1ef890351fe4a575a095e6e996625e01af1e4b43893d00ac35bbb6,1,0x4200000000000000000000000000000000000042,56.0439404452666,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.261625 +optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,508,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,0.000034701468348079,0x4200000000000000000000000000000000000042,0.000111535848130678 +optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,512,0x4200000000000000000000000000000000000042,1.38960477071438,0x4200000000000000000000000000000000000006,0.00195330326074912 +optimism,beethoven_x,2,2023-01-21,0xbc0015bacc88ed681b13ee19ef14c3ec74184cb8fe4e96128313f2ab797c283e,8,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0716016140629488,0x4200000000000000000000000000000000000006,0.0789256223359575 +optimism,beethoven_x,2,2023-01-22,0x0d0042f1f3726a6958ef3a491482e734d559cf07ed24d1e19b65541d893fe75d,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,96.65967,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0539912808878705 +optimism,rubicon,1,2023-01-23,0x9b881a99a4d952ce35e69e938aeb6fa433e9b6aa609338a6451d61231fadd565,106,0x4200000000000000000000000000000000000006,0.0687643728672874,0x7f5c764cbc14f9669b88837ca1490cca17c31607,112.189533 +optimism,rubicon,1,2023-01-24,0x0808ab44a5ba3c04cd3411216feb1cf7f6d2408f6173ae0d2c533f1ee9ec7317,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.997583,0x4200000000000000000000000000000000000042,5.01949758830531 +optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.817783,0x4200000000000000000000000000000000000042,4.02459708671438 +optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,15,0x4200000000000000000000000000000000000006,0.00538901884526646,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.816901 +optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,22,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,8.670616,0x4200000000000000000000000000000000000006,0.00538847955865886 +fantom,sushiswap,1,2023-01-20,0xed537c0e7ebd3d654bd8e5cf8ceec84a4fdc0483eee59802c890d0fcfcf1060c,166,0x321162cd933e2be498cd2267a90534a804051b11,0.00756091,0x74b23882a30290451a17c44f4f05243b6b58c76d,0.1022693 +fantom,sushiswap,1,2023-01-20,0xd0e069b94d62579995037ae2180a1e88811012383cfc0927092680f87e0ed2d3,29,0x049d68029688eabf473097a2fc38ef61633a3c7a,70.205678,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,230 +arbitrum,arbswap,1,2022-12-17,0x0e24e2a7c61821707441ac12f8e8d4ce38ff829f94b86a70ede3cfd9af52511a,19,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.001234459141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.458842 +arbitrum,arbswap,1,2022-12-17,0x3390d9871240fc2a540dc5d0dec18cbcc6991c936330c5fbe7513c6a0a990ec0,5,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,19.230924,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,18.86197078 +arbitrum,arbswap,1,2022-12-18,0xea091ea1def1416b81a3903b1c266bd53cb137f8c52d9fab883811440ac9e474,4,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01899934141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,23.112426 +arbitrum,balancer,2,2022-10-25,0x8cc9955e4368d88ef78a0c6dc8505da3e7272446e70947126286780daa454f84,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,430.19906,0x6694340fc020c5e6b96567843da2df01b2ce1eb6,900 +ethereum,balancer,1,2020-08-02,0xac80f41cdfc018bfdc6d37f881fe3def377aa9fd3d0b794c3d7e7ee1e6501ce4,99,0x6b175474e89094c44da98b954eedeac495271d0f,25.34746680728174,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0658152885716226 +ethereum,balancer,2,2022-05-06,0xb6bba47d296682416f32fb4264cfe3fe2994284183081beafc8c36cc1e76b1f2,3,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.755554997108105,0xba100000625a3754423978a60c9317c58a424e3d,758.7236799507402 +gnosis,balancer,2,2023-01-20,0x70a7380d73bd8dc96aa2a2ec338f6a660df54e797bab507b5ee04c27e6433844,20,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2.811201702694398,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,2.811563 +optimism,balancer,2,2023-01-14,0xbcd5b16b59067a5c9dc98fe5fcf0c2ec8b0554249bdb54db423d805d2e20265c,33,0x4200000000000000000000000000000000000006,0.020434661575615593,0x7f5c764cbc14f9669b88837ca1490cca17c31607,31.094857 +polygon,balancer,2,2022-02-05,0x24685d2daebdf4ade873366e33863e0c9b349e974270d786fc773cf5bc8554ec,254,0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39,6.60916362154873,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.03965 +fantom,spartacus_exchange,1,2023-01-23,0x6768ad671c7da39ee9d75b37ad58b77c72982aa7bf21d1dfb030fa7546ad58d9,13,0x04068da6c83afcfa0e13ba15a6696662335d5b75,13273.768685,0x049d68029688eabf473097a2fc38ef61633a3c7a,13276.71125 +fantom,spartacus_exchange,1,2023-01-22,0xc0a1b20ead30eb1f7c730afcf9399945ce84b5bcdcb9dabf3bcfa3411499d1b5,6,0x04068da6c83afcfa0e13ba15a6696662335d5b75,25.332101,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,67 +fantom,equalizer,1,2023-01-22,0xca3fce464272fae479cc0056caa15e882e3fde396a5da883871ba9b8ff1fbbf3,43,0x5cc61a78f164885776aa610fb0fe1257df78e59b,129.98998930892284,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1.049684 +fantom,equalizer,1,2023-01-22,0xf72faa8d02ad82c498e2bef2eafa3071d4e531b8245be1defc963f314ab96a24,48,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.017632,0x04068da6c83afcfa0e13ba15a6696662335d5b75,9.019453 +fantom,wigoswap,1,2023-01-22,0xecaff2b9aeedca150c05e79e27474e25a2c40722ae2b70b3b90be163f2a9f8b9,15,0x04068da6c83afcfa0e13ba15a6696662335d5b75,87.454047,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,220 +fantom,wigoswap,1,2023-01-22,0x3a5eaeb4b331a05e24406c955f2ee89c0da7b37365b6049de224aa08d9b4e38b,17,0x1e4f97b9f9f913c46f1632781732927b9019c68b,33.77612953779118,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,96.8125 +fantom,spiritswap,1,2023-01-23,0x2d2c2b842b1a0118bbfb931715b21ee17d3ae0a0128e6402b3cfa4645e3a69c4,57,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,48.501746184182,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,19.985 +fantom,spiritswap,1,2023-01-23,0xf02b0492697aa787cac842b91a47a4f5582386822e7a493dbf278718175ccfbd,4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,282.525324,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,700 +optimism,synthetix,1,2023-01-29,0x8ae97667b2e098ab76d6fc3e89a62fca7a736894fba7a740a3636f9c64cc8077,7,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,20,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,33025.1881585549 +optimism,synthetix,1,2023-01-30,0x81f4b75e257aae89b5ac2a79764260131f9db2ff4551cc837e3f758df444e12e,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,67.814135331492,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.04161141 +optimism,synthetix,1,2023-01-30,0x26fdd3b38051f353979603153113ba2600290e6e9a4455c4f32a933b52c2e91d,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.154574875193123,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.0001 +optimism,synthetix,1,2023-01-30,0xe32cc68ee496955f2aee625067b304cea1f066ac5f23cb864ddc1466636e5cff,7,0xfbc4198702e81ae77c06d58f81b629bdf36f0a71,0.128596335180203,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.1396 +optimism,synthetix,1,2023-01-30,0x298ec0451a7380c6c5f470414248c896ac473996ecd5cc1b2abfcc542770b536,7,0xc5db22719a06418028a40a9b5e9a7c02959d0d08,437.636404718796,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,3080.5826 +optimism,curve,1,2022-12-02,0x80b901d362d34109fc5ab3d2501390a9a0e54e69388e5eea84469ce77a3b9302,9,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,73.0574092246244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,72.2707437014961 +optimism,curve,1,2022-12-01,0x9b98ca1a43c0b4c7709285f8e591a605905dc35e8f52234410628de6ebf1d365,42,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.034302,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1.03049060456676 +optimism,curve,1,2023-01-31,0x77fadc1a0ea6ab065fc3190a24f4f67ff35f22dc824f003cf0656d79089669c4,25,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.435843637716131,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.429232709933431 +optimism,curve,1,2023-01-30,0xa0b8591ffcbc148432fd3c603616dce7877f6097d93716d726ef6dae9a6bcd8f,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0218734943841243,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0215416887092783 +optimism,curve,1,2023-01-30,0xfca84e35c36c4d6fe0f40eac69c229e9bf4fa3a12f7b8267ae9609aff58a65af,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,45.648713,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,45.6283342082489 +optimism,curve,1,2023-01-30,0x76780eb40844a0fc1cbaa16a30d8098d55bec4d774cfee1a7baed9c8dd4f6a92,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0799001414721287,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0786881443367727 +optimism,curve,1,2023-01-30,0x72f451639593a62c0ec916d20de947b11d15f2ae5075452ddf08d68f77b54e87,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0998759919306217,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0983609378552637 +optimism,curve,1,2023-01-31,0xa70d826c5b3b5afbe9585e15f1e58c75cbcc1359784d48de48b9d025270985d9,70,0x7f5c764cbc14f9669b88837ca1490cca17c31607,32.037157,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,32.036492 +optimism,curve,1,2023-01-31,0x2a4ff09a9d921f631e4e14a61fc6f7fd7997691ed40acac415c0988fe93f9f96,39,0x7f5c764cbc14f9669b88837ca1490cca17c31607,16.006302,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,16.006705 +optimism,curve,1,2023-01-30,0xf14d489c5cb44772b1082e7589781fac60d0f559fa2999844b2cbb782d434443,75,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.00233,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,8.00249590591778 +optimism,curve,1,2023-01-30,0x2615836b17d0b9a467f187a84c497233ee3a815a0ad341d70b63e28d2c6c98df,159,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.283656,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,128.286430267516 +optimism,curve,1,2023-01-30,0x4569f2998b9f00eea1c372d82a36fa32b7aa7ca9fba7378bf63756614e2733e9,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,255.877053,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,255.914112076597 +optimism,zipswap,1,2022-04-06,0xbdad190b91443e3b18e07e213b2b8ebc2725e188571f0f43eb8962d8f885c932,3,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3867.857072,0x4200000000000000000000000000000000000006,1.15 +optimism,zipswap,1,2022-02-05,0x111251020222b3efbd71693d4d5ef3f3e3ff9598f023152877f47ad87f2b60b8,5,0x4200000000000000000000000000000000000006,1.44270162397699,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,4293.85850577198 +optimism,zipswap,1,2022-02-12,0x25b8b0f3465265e895c92353e967bd934d86ae6a0ce9a5a7bf45d967868a1582,9,0x4200000000000000000000000000000000000006,1.00158875384491,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2961.21850646285 +optimism,zipswap,1,2022-03-06,0xbc6ec237edd3883acd524defb5f1d8635df3610eb195828b4679b3dc9e6e6b0e,4,0x4200000000000000000000000000000000000006,1.89814384488954,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4924.180007 +optimism,zipswap,1,2022-03-01,0xb285876c166ca5a4614c28cb838a1067cf12b8a0f5217fe1021427f7d4571548,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5587.487912,0x4200000000000000000000000000000000000006,1.9 +avalanche_c,trader_joe,2,2023-02-17,0x51c5b4dabbcedf31ab4379eeb163dd8a72db4ed827655e6c4019a84d59e45c0b,55,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477 +avalanche_c,trader_joe,2,2023-02-17,0x582496cdacfa83cbb32bdc9e6a7a0baecb31e43ca798728500e783b95c2b6673,14,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868 +polygon,quickswap,3,2023-02-17,0x8d1bffc369ccde33fff07cb5edaf58bdc4a63217e5e234d8fe1f3908779610ae,105,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,200,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,293.856899 +polygon,quickswap,3,2023-02-17,0x5761ecf943d9ccdec872484d42d45c28f72b3a3760c6da97b573c8a7e2e38af4,192,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,147.193696,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 +polygon,quickswap,2,2022-10-17,0x89588a0facfd37f5e6787bab1a534d4ceb94b0c630a177397150cd580151f2e0,179,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,13.420646,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,13.425263636998267 +polygon,quickswap,2,2022-10-14,0x7fb5168d79b8a249784a62e266d4d805e98ae81af2b69c54dc23060ce4ceaae9,216,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,494.340474,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.37290529608348755 +polygon,quickswap,2,2022-06-25,0xe9da7260f20bbb8b5d135c217c073758b5474e2973ac9540b4ee919d0219650b,288,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,183.901282,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,300 +fantom,beethoven_x,1,2023-02-01,0xb353ea3753bd43f79452a99a5f0b4ba79848eb535406006b2a325e2610cc20c7,10,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,10.79068245,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,10.9191819 +fantom,beethoven_x,1,2023-02-01,0x406e3b0bfa2b7289eb7a9c37a87f55d1c1f7b5dc1c90cf638ccf6bc06b73f4f0,43,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,154.8200719,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,156.6637268 +fantom,beethoven_x,1,2023-02-01,0x9ed054600393f6ddfd5e9e271ceacc419ea1ea5c5069032f3bccf6e0bbd1057c,9,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,4.419601846,0x04068da6c83afcfa0e13ba15a6696662335d5b75,4.417833 +fantom,beethoven_x,1,2023-02-01,0x3ad542dcee62446ad4cea36a4606c1dfecdc654d83113509ca43c958737b97b9,44,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,1999.4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1042.833542 +fantom,beethoven_x,1,2023-02-01,0xf73a2c4c02eb03d263d39f5b640229bb9b23f8242a5389b37a5c8aedc428b17e,56,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,84.55916959,0xc5e2b037d30a390e62180970b3aa4e91868764cd,550.564336 +ethereum,pancakeswap,2,2023-01-12,0x176632fa77a3e328cf904f814888f77ee97c57cde0a014d1dedcab92accfc959,247,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1936898575,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,274.694256 +ethereum,pancakeswap,2,2023-01-09,0xc1f7f412ac0636e914b2e55e21ddbb79f313be2d7ca4c5e084db223787c52441,325,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,39.768234,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.03053786191 +ethereum,pancakeswap,2,2022-12-01,0x70cb37c8e8a566b850d1475606b3c4b64adf51cca9bb9e32645344b93c99c8f9,17,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.607205635,0xdac17f958d2ee523a2206206994597c13d831ec7,9627.386202 +ethereum,pancakeswap,2,2022-12-13,0x0ba7e4e4a630729028258782ac77f81444de749ffe9fbc526295c29979a9cca1,49,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.479851125,0xdac17f958d2ee523a2206206994597c13d831ec7,1948.798982 +ethereum,pancakeswap,2,2022-12-13,0xc66b844b06fdfcc8376915467463328e5bd189335f03249670473a247e38741a,300,0xdac17f958d2ee523a2206206994597c13d831ec7,187.010126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1401299988 +arbitrum,integral,size,2022-07-14,0x16f35abbffc8b50bc985d2db02abeaf337e16de587b85eb3c834b70bf6e9cfc7,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01900877891605384,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,21.123742 +arbitrum,integral,size,2022-10-23,0xb705d45124099b8e98e9dd7205392dbda8a34d40e3ad47a875239cf38c9a81fe,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000653038267454768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.855361 +arbitrum,integral,size,2022-10-29,0x769e31ebc00639ce2a44b9885070473d619ed35ddcdbcff789852067457e2785,4,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.03,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000018904849893185 +arbitrum,integral,size,2022-11-10,0x3d18f064963df7166dd579e65c775b4d4e8260923041e4393615fc032977a9a4,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.642262,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0005 +arbitrum,integral,size,2023-01-27,0xbf780d189520cb325350d3c94423f1a46c42387f765f35c4dcca7e1e8bdff06e,10,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0012454151038722 +arbitrum,integral,size,2023-03-05,0x8bda9d3016f4e7768181325032442549348c251f2e161852bce177b00143c2ed,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00291816855303509,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.579709 +ethereum,integral,size,2022-03-21,0xae7bb04cb102287ca2b832010121bd8fdac1396359a428f50ce992a5c6ebc212,153,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005070744820370721,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,14.77512 +ethereum,integral,size,2022-07-03,0x5534f8443a6a08c6c279e5fbaaaa39ffe5a698de2be8240827dc732320585761,244,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.24908715433948347,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,265.219513 +ethereum,integral,size,2023-01-06,0x822561900aada258035a1645eb34c866b9d02638ada3fd9f5dc4739d18d680c1,80,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,89483.765933,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,72 +ethereum,integral,size,2023-01-30,0xe51df574230b4e1002606a3cd73d511e85003e19413c6d1db52f3d6b788935a0,158,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,126.18176269960297,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,199977.007606 +ethereum,integral,size,2023-02-14,0x7c01d8115c86b110ed4673068feed8febe7d26115d56779161c0d5c1e2a01ae3,170,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,45.174995872186976,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,69953.020039 +ethereum,integral,size,2023-03-05,0x93a28f10be5e758a9ac05722595c8a2d8c5900a107ad097e47027eeea57ebe61,91,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,43.29894547565704,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,68000 +optimism,sushiswap,trident-cpp,2023-02-25,0x556acdec157c9c7beaecbd3013a988e5ed13e4d4293231274bd0055687b6d3fe,19,0x4200000000000000000000000000000000000042,1.2359258546421,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.834014 +optimism,sushiswap,trident-cpp,2023-02-25,0x49135f081d16041793f3f4c52c91085382c9a8cc2e7bfd6b4d90306ff624f954,22,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.318854,0x4200000000000000000000000000000000000042,4.48285194988426 +optimism,sushiswap,trident-cpp,2023-02-25,0xfec6e552c846e1a321fe73dffd923ba15312066d0b91b3dd1d7d7d169a86e789,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.791866,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1.839893 +optimism,sushiswap,trident-sp,2022-10-10,0x83c508e618dc0994dfbb7cdc027e5959fab51038dce9d561c75179e09f86f47e,17,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,7.60726339281,0x7f5c764cbc14f9669b88837ca1490cca17c31607,7.749999 +optimism,sushiswap,trident-sp,2022-10-04,0x62e0ddfab23a326c20b192d2532493ab8457a2ae8eddcc935bf467d88d6fe745,17,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,3.999622063709,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4.000001 +bnb,pancakeswap,mmpool,2023-03-03,0x42b4dcf040808d2a22928744c0a78aaf9873b30b027a638ae93b1983295cf0fc,306,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.944209657,0x55d398326f99059ff775485246999027b3197955,2012.077814 +bnb,pancakeswap,mmpool,2023-03-03,0x653194cae17a57e6b1ceddb9e7fcd917435094460772c16d9bf0a97b60a4b9b2,94,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3451386066,0x55d398326f99059ff775485246999027b3197955,100 +bnb,pancakeswap,mmpool,2023-03-03,0x590e143ba81d3aca84b3e84391f7943af2aedbbb3fb600eea4b455cc974c519a,390,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3394153334,0x55d398326f99059ff775485246999027b3197955,98.37106848 +bnb,pancakeswap,mmpool,2023-03-03,0x0d9e5f3bb655fdab7281e376d5baba55867a8f16bfe53f2c6dfa8e88885b5570,255,0x55d398326f99059ff775485246999027b3197955,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.5188477066 +bnb,pancakeswap,mmpool,2023-03-03,0x077b09506b8b3cf5fa5737ff1b5f865f5cb846eca7325abe08092b043f9f6fcd,107,0xe9e7cea3dedca5984780bafc599bd69add087d56,53,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.183167344 +ethereum,pancakeswap,mmpool,2023-03-09,0x4a4e3ed3c8048ae97d776d90a8e6c7a20036aefb98846dd5158a01dd29b0996d,231,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,71.119581,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0462709406 +ethereum,pancakeswap,mmpool,2023-03-09,0x19cc99f99a1c638bf5a45711a50f3c185cedd9ad4e1cbda231895c6d0f365abf,277,0xdac17f958d2ee523a2206206994597c13d831ec7,1283.292428,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.8356205947 +ethereum,pancakeswap,mmpool,2023-03-09,0x7d97ffaff69d26a44b1f0347675fe839cb72c886b46e94becec16a381a6e6c8e,349,0x4fabb145d64652a948d72533023f6e7a623c7c53,38.18645876,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02489566923 +ethereum,pancakeswap,mmpool,2023-03-09,0xe8fceccb966aa76d8b847f0b067f987b233313699d53a8dfd95f3e4869b9c621,500,0x4fabb145d64652a948d72533023f6e7a623c7c53,39.47962744,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02571453404 +ethereum,pancakeswap,mmpool,2023-03-09,0x06e1b3740c4a4d8fa60f7ddf6defb706f1ec64c563b697f0695647921b2b8c89,288,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1535.457365,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1 +bnb,pancakeswap,stableswap,2022-09-30,0xc8e562b51d15bc7dcc461f0d8f674c368cb17d5b338c825fc2021da4e070635d,42,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,44.96591897,0xe9e7cea3dedca5984780bafc599bd69add087d56,45 +bnb,pancakeswap,stableswap,2023-02-23,0x926a9463e8b1c94b267f8996c0aa3d25f0650b16d84cdf22c5c8cbd175b35a92,95,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,29.52590913,0xe9e7cea3dedca5984780bafc599bd69add087d56,29.53001786 +bnb,pancakeswap,stableswap,2023-02-23,0x2748ee8746f8ef3188f256312489cf877f819725c7b8526eabd2588437bced33,318,0xe9e7cea3dedca5984780bafc599bd69add087d56,17.00035523,0x55d398326f99059ff775485246999027b3197955,17 +bnb,pancakeswap,stableswap,2023-02-23,0xac4971ca3d750e40957720b9ed7d312de71868da236c5775f6cee8dc6a14bf30,226,0x55d398326f99059ff775485246999027b3197955,1000.607238,0xe9e7cea3dedca5984780bafc599bd69add087d56,1000.83 +bnb,pancakeswap,stableswap,2023-02-23,0xe71f7a8812df06a0b36b88a2746d1d48ad39bb5bcb61c23572aeea04df96cc50,181,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,2499.859114,0x55d398326f99059ff775485246999027b3197955,2500 +arbitrum,clipper,1,2022-12-15,0x4e8b282691842b546869ff2ffb6e33e515d609bced31527bc049f92e6e00c831,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.490002,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,5.49 +arbitrum,clipper,1,2022-12-15,0x3c63866b0a50ef829cf1431b90116fad82e44823228dfa57a6fb43eda552304b,2,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.474675,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0083 +arbitrum,clipper,1,2023-02-15,0x52f3a5f2a8217e8bba343841bd379c076cfa06c1279d64ee43f891fc4aaedebc,3,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,114.4518751,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,114.56 +arbitrum,clipper,1,2022-12-17,0x283d63748d6390489926c305d148468c5308c75e58ea120fb0329a345b9c9447,22,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.04963966456,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,58.644399 +arbitrum,clipper,1,2023-02-15,0x967ac0e5c10a6d27df334f4a33a35c25a3cbf58e7ee48d6a58b97467a16496cc,58,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.1052072797,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.00736108 +optimism,curve,1,2022-11-12,0xcea94039dcf9ce75c6081f0ed26fc3f6b9193036f901372b002edc67f960a711,9,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.001012,0x2e3d870790dc77a83dd1d18184acc7439a53f475,0.00101798869624305 +optimism,curve,1,2022-05-20,0xf0a56683a1f5c98f734da37362976c19ced781ea2ca1168c203d605593689308,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,112.531495,0x7f5c764cbc14f9669b88837ca1490cca17c31607,106.894737 +optimism,curve,1,2022-05-16,0x1daf9b0e5b53bbb0cf2cc82fc56ea4b03e4b04642326c4c34ee5034edcc419a0,5,0x2e3d870790dc77a83dd1d18184acc7439a53f475,2028.06638964748,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,2002.456704 +optimism,curve,1,2022-05-11,0x9e35d672d4202923c30f0e65eeaae4b7e922600b2715dacde56a98cef3903062,5,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1002.93221,0x2e3d870790dc77a83dd1d18184acc7439a53f475,1001.2474503025 +optimism,curve,1,2022-05-14,0xa3178cf9778f11a12c896e7967a38ab72b2ca043e2f569dc56e7fe58de6d7995,3,0x2e3d870790dc77a83dd1d18184acc7439a53f475,6057.51457069822,0xfb21b70922b9f6e3c6274bcd6cb1aa8a0fe20b80,30000 +ethereum,verse_dex,1,2023-04-04,0x18c614748464c21582bcd495cc7b733b79c229f704175c1148ce38586315979a,152,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00955734414316444,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,16661.729412 +ethereum,verse_dex,1,2023-04-04,0x8ff523946a9fc2f8fde8d15bab4987afaf68ac5af60112dfde75d784ee833a7c,324,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,1.7744202052689952,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000001 +ethereum,clipper,4,2023-04-06,0x3772f0915d742bc2d40fec51d5be6c0f92e511290fea9212d45561ebae61f7f7,156,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,4134.968625,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.175 +ethereum,clipper,4,2023-04-06,0x844d2221065c96722aeb29ff2a412042c41515ce86bede33615e29357fb76d10,118,0xdac17f958d2ee523a2206206994597c13d831ec7,18956.433604,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10 +ethereum,clipper,4,2023-03-30,0x4e4aa9d5238083c16fab7077782dfafd928cd9fc5fe1946230345a6c06393c29,168,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,6.766262249310329856,0xdac17f958d2ee523a2206206994597c13d831ec7,12000 +ethereum,pancakeswap,3,2023-04-02,0x3a0097fcc23266394c9ec6e5cf1dd667e60717b1f92fbc76a5e5e2aa50a430ba,84,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.001637811713,0xdac17f958d2ee523a2206206994597c13d831ec7,3 +ethereum,pancakeswap,3,2023-04-01,0x942d7e8064aa1925e484ad9e38b25b0eea8620aa2b85a42a47b957bcdc5df18b,175,0xdac17f958d2ee523a2206206994597c13d831ec7,0.980006,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1 +bnb,pancakeswap,3,2023-04-02,0x34e2f3b9224779e88f114b4c4a65f1480e9caa66ff85921f9c3bba825ef51f63,266,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.000003526055978,0x55d398326f99059ff775485246999027b3197955,0.1 +bnb,pancakeswap,3,2023-04-02,0x54ce217448356994969038a892c0e7b5613ae237305a8191a95ff0d034321c52,174,0x55d398326f99059ff775485246999027b3197955,0.1933971381,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.1934275369 +bnb,pancakeswap,3,2023-04-02,0x570f6d65a9f3046b184feb4efea90de552b31e6b06c1a04baf645636a3389ca1,265,0x55d398326f99059ff775485246999027b3197955,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.002954374 +ethereum,kyberswap,elastic,2023-03-18,0x294c98fc947bf25331849d24ecc6dda039c293aa36b5046c88a8e677b1621d78,94,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,25060.144,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,12.515483515 +ethereum,kyberswap,elastic,2023-03-15,0x672f52ebebab645191403cfecb43dbb512100552e669288f4fc81174f9bdf587,104,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15081.44,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,8.03308903 +ethereum,kyberswap,elastic,2023-01-09,0xa508a934395ab577132be907912b0d70c1493730696db951fc39e9b4506b9a96,37,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,5.222238778,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,4.767894198 +bnb,onepunchswap,quick,2023-03-03,0xa74ad784d8b0f673cb7ebe659f46d136a6d4a58bbd6386f3c4cc8a3adb064bdd,273,0x55d398326f99059ff775485246999027b3197955,1099.16920747,0xe9e7cea3dedca5984780bafc599bd69add087d56,1100 +bnb,onepunchswap,normal,2023-01-12,0xa723fca3a321586a38c738a1bc221a4e9bf4f5e7732660ae6ffc9d64024ec92d,448,0x55d398326f99059ff775485246999027b3197955,21.499975900000003,0xe9e7cea3dedca5984780bafc599bd69add087d56,22 +arbitrum,kyberswap,elastic,2023-04-11,0xdf4e944f86454b662499e8326333dce6af1c18f9663d1289c89b5d49a18d5e9f,5,0x912ce59144191c1204e64559fe8253a0e49e6548,579.3333333,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.370589731 +arbitrum,kyberswap,elastic,2023-03-11,0xbfd464a0d559cceebbdd20c42ee8a1054de12c936396adbec4bafad9eba60faa,13,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2468.999762,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,1.723592528 +arbitrum,kyberswap,elastic,2023-03-26,0x070e704ea6da35b05c97e2a2f9ccf01136f9bdf6d411da31206a837d373e58ca,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0029,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.145281 +bnb,sushiswap,1,2021-11-01,0xc66fb80242b7c788c2896b3dc8c611203771be9474d18f85cb2032d594de327c,830,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.07525109648,0x049d68029688eabf473097a2fc38ef61633a3c7a,43.351292 +bnb,sushiswap,1,2021-11-01,0xffc3e47949b600ee61d7b3b7b57da6137ed4c55652da396d02ff3ece60bfdd9b,591,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01789196956,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.541071 +polygon,sushiswap,1,2021-06-16,0xc625dc2c5e923afd8469e9e03233d37eab64d627a4e6f221c8b63efcf276523c,179,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.1131447356,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,191.734491 +polygon,sushiswap,1,2021-06-16,0xa727f3165a6e7533cbeecfbe67e4072f8b9a0eec486a4c9976b25b902a1bd6f0,310,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0008197673253,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.388941988 +arbitrum,arbswap,1,2023-04-20,0x33634f26b1e30f11e9e838aff4d9b80aba590b7e606cd098aaf44dff750453f0,26,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,393.359856,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,393.622497 +arbitrum,arbswap,1,2023-04-20,0x7067cf03ac33918acdfdc6e92baa72116fe9fcf8f80a66f50eadb1622b045749,24,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,301.67528,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,301.87521 +arbitrum,arbswap,1,2023-04-20,0x3f0b0b0a16ade0cde73012628a814ee1115191648bd0d194e85a75c8f9f74267,20,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1225.214854,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1226.048896 +avalanche_c,glacier,2,2023-04-22,0x8e5b51477a54c3de4e5850c09f33958ca357baa676bb7342389030bc4ba3e901,5,0x3712871408a829c5cd4e86da1f4ce727efcd28f6,63.768883740248004859,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.1 +avalanche_c,glacier,3,2023-10-11,0x1751558603dd0b89deff0e55ada181d3491079ef14e47ec44e8441be9958d386,51,0x152b9d0FdC40C096757F570A51E494bd4b943E50,0.00003735,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,1 +bnb,thena,1,2023-01-13,0x5e9dbda2365611fd1a32b5b674aa082008194192ce42764e9ba7cb68e81a770f,205,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2832796564,0xf307910a4c7bbc79691fd374889b36d8531b08e3,3794.420108 +bnb,thena,1,2023-03-20,0xce4925f4437a57ca2c81eaa2d9ffe98d3f057e7814517f06011c61706038ec57,54,0x3e0a7c7db7bb21bda290a80c9811de6d47781671,106017.0695,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2878260858 +bnb,thena,1,2023-01-13,0x9ac1353991d2f9b54d9bbe5bf410f572ca49b2cd55f9b21129d2c34d044869d2,70,0xe9e7cea3dedca5984780bafc599bd69add087d56,248.3024372,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.85 +bnb,thena,1,2023-01-11,0x9bef538535e92fcceeaa0d0e53671a96f99b7f4caf3e5571bce376b376ba1792,86,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.02782935491,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.0001 +bnb,thena,1,2023-01-15,0x19c3e71f0813076f8c101040e915ebf57e518b12a34299ba9d901092ce023b47,93,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.300626579,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.656329907 +bnb,thena,fusion,2023-04-25,0xbb4c30455d3d5e8b69d11dfcfa3bf1bcb77822d9f1d34726cba5a6d09e1e9fa2,409,0x55d398326f99059ff775485246999027b3197955,7009.844541,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,7010.638184 +bnb,thena,fusion,2023-04-21,0xc7fc3cd4454421a2f37db49d965be5ab236419988cce54245da9fa38e301a7b7,64,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.82962897,0x55d398326f99059ff775485246999027b3197955,1553.83144 +bnb,thena,fusion,2023-04-22,0xbce3f03c353621d410f8bb396b157c644a03153699cf2821f6fd042225a37044,87,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.491571503,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.504299198 +bnb,thena,fusion,2023-04-23,0x436ade4d35952187e4a045cfbe9495839b1bcf8b26448f3b67dbbdd54636c831,293,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.27418968,0xad29abb318791d579433d831ed122afeaf29dcfe,971.5572125 +bnb,thena,fusion,2023-04-23,0xc0dda2219f7daa1866b234f324dae21abeebae534e5a63378d3c90b039c5ae71,98,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,7.677802518,0x55d398326f99059ff775485246999027b3197955,2535.952589 +bnb,trader_joe,2,2023-03-22,0xac02d1ccbda4a91fd1536f651b8fb4e5f007c2946895b5b79f75172b7d8ffa65,89,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.272454476,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.4238820505 +bnb,trader_joe,2,2023-03-29,0x13ec4185ea44e8bfc20f697d78cdc143857a4b4e5bb4c38912ffa0a6816b8c34,101,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03494438202,0x55d398326f99059ff775485246999027b3197955,10.94292897 +bnb,trader_joe,2,2023-03-30,0x2def8747ff99350ff0aa9fcbfa71a863ad597f430a99ae8a625263f101be0b8a,67,0xf7de7e8a6bd59ed41a4b5fe50278b3b7f31384df,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2773595262 +bnb,trader_joe,2,2023-03-30,0xf0fbd4b3c90627a03e4d5711ba46cc8d34a9b98e7a9e66d956df655107a0744e,152,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.0003537724251,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03171060155 +bnb,trader_joe,2,2023-03-18,0x8a0fb41570066245da48355ec6d29a08d6a7a16078e55992444f0f0e81268d58,310,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00499 +polygon,clipper,coves1,2022-06-03,0x93e44bb7e6ddf344eed6b2b4c5515e3c05b2e446ec31af6872cc682718b060a6,163,0x172370d5cd63279efa6d502dab29171933a610af,0.123367431088796876,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.002702 +polygon,clipper,coves1,2022-06-05,0x3c054758e23b93515785e9c2700043d354d880340e390a7b8b8a98a8b8b2bfe3,159,0x0621d647cecbfb64b79e44302c1933cb4f27054d,90.847377705661993975,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.039663 +polygon,clipper,coves1,2023-03-04,0xa58ec465b5e28a212f86083c0dfeecb154f24f40104445a7990c5c576230e0c3,443,0x6bfce69d1df30fd2b2c8e478edec9daa643ae3b8,5.099499802721257244,0x482bc619ee7662759cdc0685b4e78f464da39c73,713.373882 +arbitrum,clipper,coves1,2022-12-06,0xa0a47ca5f454a5c9d001d03de6563fe0e2a48e16c8723d3c0a26088a7f940f41,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,0.158964119815058764,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.01 +arbitrum,clipper,coves1,2022-12-09,0xc1b08d81333f584ac973dd872bbc77f1d008e772451d7de74a154b57de7f883f,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,15.114099040607641726,0x75c9bc761d88f70156daf83aa010e84680baf131,1815.668906918918325545 +arbitrum,clipper,coves1,2023-03-20,0x2931dbddc1a0871c8ab04e51da506c576e799c0bfdc8a4e779a0dae75c5dfcc3,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,3.119357483899408340,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.553 +polygon,clipper,1,2022-01-26,0x555c31d37b6b77de5edbbaa623761737a33a5b71441d1f909eb8557ab9d7a166,205,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,133.833762,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.051695 +polygon,clipper,1,2022-01-26,0xd41d3a78cf89308068ff7f8e7019c85ad52d9ca67e39df15421d29328075e5ee,106,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.5,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.296711840114860928 +polygon,clipper,1,2022-01-27,0x756a078124017590745a408ed1e73b6fe5c2b2b6173d58ec5a00f5ef335d5b16,681,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,644.744585586146541568,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1027.15 +polygon,clipper,2,2023-05-05,0xb435e13ddd117c716da7a545cee52c0044d13e426ad828a2320f452e28e6af85,133,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21.938739,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,22 +polygon,clipper,2,2023-05-02,0x3a421f0ecb82952458147c5e36a74b3a76b3a19b73b8f12876cba549abe05c89,33,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.89233926939564864,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,1646.45 +polygon,clipper,2,2023-04-30,0xc0d794026723e06e8ed27ac51deea4c6721349cfed72c7adae93a4e25e4bd9cf,103,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,9.9588119216496128,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,10.03 +optimism,clipper,1,2022-02-12,0xd22ecf018e5f53662e338637030fc9b421ca9eb2d0bb8780f82153c3081ad0ce,2,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.980299461242894336,0x4200000000000000000000000000000000000006,0.001 +optimism,clipper,1,2022-02-14,0x76bceae919aa817fd3bfb14752bdf6cc2a9fc2103e95b16e32bdd495751644a0,2,0x4200000000000000000000000000000000000006,0.001993505781816838,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,6 +optimism,clipper,1,2022-06-19,0xdffb84123a6e954f391a44d1a3c045097cdbb9cc8a2d74c29d92fbe84b7a3b91,3,0x4200000000000000000000000000000000000006,0.025954788650449416,0x7f5c764cbc14f9669b88837ca1490cca17c31607,27 +optimism,clipper,2,2023-01-07,0xa9ebe982d106fda99c19deb174e8f4c3ab5cfd86f3a59bd733e6be2a9cc4fce2,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2.95,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.95 +optimism,clipper,2,2023-04-28,0x9858f1003e8e35dfa563531e4af26303fbb4d3e04ef8e56b0e601cf012fb365e,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,174.913443,0x4200000000000000000000000000000000000006,0.092345 +optimism,clipper,2,2023-05-08,0x0a79d12a8a315b8f3bc098e137b9984f64e4f74b8593d15fe7238f0913eae25a,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,100.800922,0x7f5c764cbc14f9669b88837ca1490cca17c31607,100.89 +optimism,clipper,coves1,2022-12-13,0x201e546c8871abf6220934093065e1aac8fab88320f6815cad4e78273e07626b,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.618159001037606673,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,21.3 +optimism,clipper,coves1,2023-03-17,0xdce9dc4b6817b3038e339b0db046d35e602a830023808dad953146f14ea1e076,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.246568672972728249,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.489492 +optimism,clipper,coves1,2023-01-08,0xeaa79d87de38e9f0a5ee5b0ab948dd998a342348f11a35ab63a726054d31b472,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,3.085208524632291028,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,107.717588 +arbitrum,camelot,1,2023-02-10,0x03bad3b7a62d5dcde805ebcf1441e6966fdf66f4d03fabc040955e953b26e8e9,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.09033515213962749,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,249.5412320381824 +arbitrum,camelot,1,2023-02-06,0x04fd14aa1471a9561a66fd804a5c995ec211aa7e96bbcbeb48801efdbdb236d6,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.22457814589748834,0x088cd8f5ef3652623c22d48b1605dcfe860cd704, +arbitrum,camelot,1,2023-02-16,0x0aba2b8e2046b670abd3046e28e55e5fb521b6271d2ec8fb72c54df1f5977079,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.707795125477355,0x51318b7d00db7acc4026c88c3952b66278b6a67f,1759.9819725646116 +arbitrum,camelot,1,2023-02-08,0x317879e802e220cd2b910c2b477406506eff5ef62894344adc9f7e26fa3589e0,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,466.224209,0xba42a714bc9c16be6a1ce5eb66ab4deb3904862a, +arbitrum,camelot,1,2023-02-20,0x2d820ba0c8ee0b2b3dfbe1002520bfd952fd65e6f52217722fdd83ed44b982cb,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.18770390514247653,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,225 +ethereum,xchange,1,2023-06-05,0x46da856ff5390f122260b3ddeff8c84e6471d715722bcec69410859a9dd7a9ce,26,0x70008f18fc58928dce982b0a69c2c21ff80dca54,6177.083844891557065659,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.25809555 +ethereum,xchange,1,2023-06-04,0xb9cf9af8c09ee4b01f7998e4d09b5732e3d59db577453d8f649c3368a5be4723,3,0x7102dc82ef61bfb0410b1b1bf8ea74575bf0a105,16740.414870869491102082,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,349.842891200744390656 +ethereum,xchange,1,2023-06-04,0xdca9e79f3d41644b579994c0e62f73e8741605b85bb9a80fcc6d173180fd891c,26,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,264.386114548212846651,0x7103ebdbf1f89be2d53eff9b3cf996c9e775c105,16740.857191421503408067 +ethereum,xchange,1,2023-06-12,0xf71d8fd364e2402eb11ba7bfbd9b59336e2b075571c1523d119f74a11a1986e3,170,0x117546d1467d80c6bde13910412c724383260cf9,345579.7727468311529198,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 +ethereum,xchange,1,2023-06-12,0x7da422240ab88976df8c9694114daf8b8cfc335e1f851a8c175bca99e5e4cdcd,200,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.134508790612232095,0x117546d1467d80c6bde13910412c724383260cf9,477750.8030874053723140 +ethereum,xchange,1,2023-06-12,0x4eba2bbed2a473a3a6b2fbfc1d784940b5157afc285c35aff1200e491ea1346a,115,0xdbc7945c5403c589ec39a9aa8c5af234c706f6a2,14049529527.028758241707276441,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 +arbitrum,rubicon,1,2023-06-22,0xd8360d1c435e78ccb4dd69a09a86fcae9cbfd03be22880f375bc63f945f86105,9,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000001,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.045454 +bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,116,0x55d398326f99059ff775485246999027b3197955,616.3450112,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.4932 +bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,112,0x55d398326f99059ff775485246999027b3197955,80.43094329,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3252 +bnb,maverick,1,2023-07-11,0xdcabb7f0bf4e3b5dd66cd5920bdac9aff12525bbf19cd6ff1fdaa580c13c91d2,284,0x55d398326f99059ff775485246999027b3197955,39.15345608,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.15791026 +bnb,maverick,1,2023-07-11,0x39e0ca81018ce7c7af3988d7c07b711bd0c388285f53b0d00a215e1aa5da2f33,239,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.007728228509,0x55d398326f99059ff775485246999027b3197955,1.919414559 +bnb,maverick,1,2023-07-11,0x840ba933291c56edf365f610145a3daaddca924d05cdbb854406bfd9e1456c5c,490,0x55d398326f99059ff775485246999027b3197955,0.09150513578,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00037 +bnb,biswap,3,2023-07-04,0xf1e982bbc994157eb9166ff1dd38007563be61732e4d9cf68c9054c06172d914,388,0x55d398326f99059ff775485246999027b3197955,347.9115816,0x965f527d9159dce6288a2219db51fc6eef120dd1,3393.698051 +bnb,biswap,3,2023-07-04,0x374992d7f8a643561b0e2e81fba3476bed551ff56923cdb7249a6ed55f0048f9,62,0x55d398326f99059ff775485246999027b3197955,4250.697313,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,17.322 +bnb,biswap,3,2023-07-04,0x48f8c54608537fd65159b1ddd29816ecb8898d24d8db5d499081dc6d54ff970b,203,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.749781574,0x55d398326f99059ff775485246999027b3197955,918 +bnb,biswap,3,2023-07-04,0xc7eafa7888604093d5519a2781a11ccfc13a3886ff527a2d7994ab149736bc38,111,0x55d398326f99059ff775485246999027b3197955,432.8623893,0x965f527d9159dce6288a2219db51fc6eef120dd1,4211.332437 +bnb,biswap,3,2023-07-04,0x72d5dac9c7a76ac8a22f187904b7426b558679e7e67bf57d445c2843e76b7ce9,353,0x55d398326f99059ff775485246999027b3197955,2067.243048,0x965f527d9159dce6288a2219db51fc6eef120dd1,20000 +arbitrum,clipper,2,2023-08-18,0x1768f47e4c444d7c0ddd57a3443e7d33fac05e50f3fdd2df90ff2668ceec3b84,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.511516502316425216,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.03255 +arbitrum,clipper,2,2023-08-18,0x90e3be5cdf42ec6b3a73ec3d05223eab42838ac30ad5cc74289f794af6b577f2,21,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.846399351080674428,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1414.806453 +arbitrum,clipper,2,2023-08-18,0x6b111ae4d162a9edc797aed817bb7c63c6dc822d1779cb81fa5b059ace8d4d9f,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.10982751402043816,0xaf88d065e77c8cc2239327c5edb3a432268e5831,183.36 +bnb,trader_joe,2.1,2023-07-28,0xb33ad6a6e11af49bab308fdee266792b9f2076ddc0ddda7a67f914a2f16b8556,414,0x55d398326f99059ff775485246999027b3197955,43.56323804,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1813504168 +bnb,trader_joe,2.1,2023-07-28,0xd46f2e27a78eba9f1be4c977d455e6149a5378ff00c09ca688ecbc758a074d46,137,0x55d398326f99059ff775485246999027b3197955,79.36140925,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3298806352 +bnb,trader_joe,2.1,2023-07-28,0x83a45610d0c433efd31036beae942c56f622a8199e06af63504665aa77db5877,213,0x55d398326f99059ff775485246999027b3197955,84.52649753,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3513502969 +bnb,trader_joe,2.1,2023-07-27,0xb82b8d676b6c1ee79634ca1c1cb581061c81c63f028145b67b299ea66d7bb236,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01662917245,0x55d398326f99059ff775485246999027b3197955,3.9994 +bnb,trader_joe,2.1,2023-07-27,0x34e262e0bc312d589c71f35e75bcf77ae849804f46fdb18bec9b32a8b80e48d0,886,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004132442613,0x55d398326f99059ff775485246999027b3197955,0.99985 +arbitrum,pancakeswap,3,2023-08-10,0x5717320a6ee550e52766121090ee54b07b3709f4f0711cc92eebc0ef98254f83,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,11,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005948697782 +arbitrum,pancakeswap,2,2023-08-10,0x827d5b1184f9a6f635ef1a0a114a3c00f9a9ee365270c7650d780fb915803878,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.500654,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0002455680987 +arbitrum,pancakeswap,2,2023-08-10,0x83a33922c2a82f94f34cae0d4db5d5870f96591c1a934966f683f4cdc9b16874,5,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2627488973,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001916379656 +arbitrum,pancakeswap,2,2023-08-10,0xc3e422ff2d453e0f4e4e28a99ceb4ec86b63d7bd3326f79ca7e93c499c74337a,4,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2425571142,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00014 +arbitrum,pancakeswap,2,2023-08-10,0x1958fe5d2b768dff806749c4d029be07fd5a0e182d4de5e2328b84dbfac8520d,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.239277,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001 +arbitrum,pancakeswap,2,2023-08-10,0xb9cda996210e763e0edaa5489a276e96f4db35161b15b95407f95cfd4a8e2c79,10,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.221946,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001257329137 +base,uniswap,3,2023-08-12,0xc04be42e9fe8cfcbaa9aebab27c9b527b692473f89a7f8c0df6f09c8f5573cbc,10,0x8544fe9d190fd7ec52860abbf45088e81ee24a8c,,0x4200000000000000000000000000000000000006, +base,uniswap,3,2023-08-18,0x43c43e6b8316986ab3c14123c0e297e3f47891d1f17d16760cdd9e04be53d967,48,0x4200000000000000000000000000000000000006,,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, +base,sushiswap,1,2023-08-11,0x9a0de02d064c2093c18eb1fcf221c5d2f8ddbb959f152a50953ff7305d7487d3,33,0x4200000000000000000000000000000000000006,,0xeb466342c4d449bc9f53a865d5cb90586f405215, +gnosis,honeyswap,2,2023-08-21,0xe0945f4c866da125593006178aebc47ad709977fa1cef3267f2f393998096208,5,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,56.58785072313919,0x9c58bacc331c9aa871afd802db6379a98e80cedb,0.5544256540774396 +gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,34,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7,0x3a97704a1b25f08aa230ae53b352e2e72ef52843,0.000001006924689829 +gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,37,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000026616366730299,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7 +gnosis,honeyswap,2,2023-08-21,0x47b8a32f6fb1c87166640072a6e882be5751c9cf32bbb5bfbc0c6283b135d5c3,45,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000003449911839519,0x524b969793a64a602342d89bc2789d43a016b13a,0.000124343025949923 +gnosis,honeyswap,2,2023-08-21,0xe9a4089db84306526abfab3fd1410a6b55104753b7a2cee09353ca4754bbfff6,9,0xe68856eb29b2fb39699286cca7f10f90ce8ae9de,0.003243743285956065,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.00001 +celo,uniswap,3,2023-07-26,0xb4c714f5f3ada0aab91354ea4f98b81d3f22b99a44bd1120064804375baaf0f1,39,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000000128752079,0x471EcE3750Da237f93B8E339c536989b8978a438,0.0000001651 +celo,uniswap,3,2023-07-24,0xfd97ff672aabdbd57b3ff7f51ec91b3170e946e5c6a93f4486c33b6a8619fac8,22,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000013520104342,0x471EcE3750Da237f93B8E339c536989b8978a438,0.00001732 +celo,uniswap,3,2023-09-01,0xa97e020130d49ce315764b2508064d6ff039f2448f2061bd6ba974179d09303f,12,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.000018520277777,0x471EcE3750Da237f93B8E339c536989b8978a438,0.000046 +celo,uniswap,3,2023-09-03,0x1450d020ee268a70b1794e0bb248604cf30b2f7510c6065e93cd4adaae20cf85,32,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.027461717078225,0x471EcE3750Da237f93B8E339c536989b8978a438,0.07 +celo,uniswap,3,2022-07-08,0x481633031a8e6c30fb13d788ff16bfe294adbc71c0cf7ae291a7798935eb789d,41,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,2.948959733277387,0x765DE816845861e75A25fCA122bb6898B8B1282a,3 +base,aerodrome,1,2023-08-29,0x7d759da49295695ec7cade65a7f8abbdf83d6f639efa03ad73533f46f387375e,21,0x9e53e88dcff56d3062510a745952dec4cefdff9e,949750.9264,0x4200000000000000000000000000000000000006,0.2 +base,aerodrome,1,2023-08-29,0x3c00dfe0b735b6c7f3dd302e41cdb5bc32fa64ce98b958ea2a99e9b868f24976,8,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,16.521567,0x4200000000000000000000000000000000000006,0.01 +base,aerodrome,1,2023-08-29,0x644579f1f66b20b7aacddc4300ea746963ef3c68c37b32d14c7a9f59a92d2151,17,0x9e53e88dcff56d3062510a745952dec4cefdff9e,1.59E+06,0x4200000000000000000000000000000000000006,0.3 +base,aerodrome,1,2023-08-29,0x552ae20fd4164aa9ef2a37616510c7dd54333733578a4af20074e81dc14af8ce,143,0x4200000000000000000000000000000000000006,0.06062542,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,100 +base,aerodrome,1,2023-08-29,0x8e6c892e94a991f843932a8b9af962f448d06c25addca4c608eef800aaf2ab70,16,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,170.841539,0x4200000000000000000000000000000000000006,0.1 +base,pancakeswap,3,2023-08-31,0x5c4a3562d59f1f93dc0957c343e76b35b6e950fe7ad5fbdf076cc22c8da8174e,28,0x4200000000000000000000000000000000000006,0.003720470707,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,6.343995 +base,pancakeswap,3,2023-08-31,0xea7b7bd6c573297654b851fe15360dcd00adb93fdfbff8a9a92335321afe9abf,4,0x4200000000000000000000000000000000000006,0.005807826327,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,9.580012 +base,pancakeswap,3,2023-09-01,0x6d95168e601891640fa88da905543ef7a462558b78ca18bf99db90eb1abc110f,26,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.41335,0x4200000000000000000000000000000000000006,0.0002522152926 +base,pancakeswap,3,2023-09-01,0x640b78e9b17af09de2fc40078be4b4f21b2972f88a9072d7efa409f12bfd5250,452,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2.937885,0x4200000000000000000000000000000000000006,0.001785943443 +base,pancakeswap,3,2023-09-01,0xbc5078838d0be6b2f8622cf083f5d4c9730d4ee634c187ed0c0a6433d134a50e,21,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,10,0x4200000000000000000000000000000000000006,0.006102659752 +base,pancakeswap,2,2023-08-31,0x9a02a20dca2bf9e479728cedbaa40aba6cbff9a0bb39d74acbe697d8f448e0a1,7,0x4200000000000000000000000000000000000006,0.004908297163,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,522.2112531 +base,pancakeswap,2,2023-08-31,0xc3dbd8776badacf03df41d3b465ec8ea39fe3eabd955d3a617f9f389a16dcceb,32,0x4200000000000000000000000000000000000006,0.002061983011,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,236.8625742 +base,pancakeswap,2,2023-09-02,0xdc89e32ecf7ae2bec89917684fc4bfdd67810fd57a5233b08f99c72d82296613,11,0x4200000000000000000000000000000000000006,0.0009771073402,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,1.547626 +base,pancakeswap,2,2023-09-03,0x242eae02b5a66da57e2c3262ef4bac617cfb32b4a040b22bb2cdc516df520de6,5,0x4200000000000000000000000000000000000006,0.0005003577617,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.818416 +base,pancakeswap,2,2023-09-03,0x4bcf24191cfadc78f8d99c300c82fe203814e136cf0c3a628a889c3c0dfcd0b4,4,0x4200000000000000000000000000000000000006,0.0004002484217,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.653942 +celo,mento,1,2023-07-17,0x5da85d08a4baa9c78510bad37fc0cf9ef2045db2aa46e988a0dd82bb8212b2f4,100,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,20.956079931951415,0x471ece3750da237f93b8e339c536989b8978a438,40.605169743968546 +celo,mento,1,2023-07-12,0x3e4cdec526c199a166cf6cb20153c1497e8a644a0a41f1e697e895b9165548e8,20,0x471ece3750da237f93b8e339c536989b8978a438,800.0054,0x765de816845861e75a25fca122bb6898b8b1282a,395.59555761415027 +celo,mento,1,2023-07-09,0x2dd4a8ded11dc1c72ecc777ad46dac15c0d43d8a39c9ba3f27ce14e4484ed79e,9,0x765de816845861e75a25fca122bb6898b8b1282a,96.17799572228877,0x471ece3750da237f93b8e339c536989b8978a438,187.82965109563872 +celo,mento,1,2023-07-13,0x2f7be9a913a12c73eb45713140e4d3952153e90d3e81c26fbdd29726e164fee8,26,0x471ece3750da237f93b8e339c536989b8978a438,6.975571396935835,0x765de816845861e75a25fca122bb6898b8b1282a,3.3358208614857126 +celo,mento,1,2023-07-22,0xa1e3eb8c0b08d483915ddcb2921593cdf8e1a1eaf8ec2679bc5fe9fcbf179e6a,4,0xe8537a3d056da446677b9e9d6c5db704eaab4787,607.0101626243413,0x471ece3750da237f93b8e339c536989b8978a438,256 +celo,mento,2,2023-06-21,0xb91f34e839f46eb834105bab4b66eabe0bf47dd155fc30160da75a452a32d096,83,0x765de816845861e75a25fca122bb6898b8b1282a,445.2967749304183,0x471ece3750da237f93b8e339c536989b8978a438,1030 +celo,mento,2,2023-06-30,0xfd0f315871c06f18b2c6b0debc2a518d199aafae7b83d25567fd68e6dae811e7,106,0x471ece3750da237f93b8e339c536989b8978a438,100.38789463130256,0xe8537a3d056da446677b9e9d6c5db704eaab4787,210.92554896017592 +celo,mento,2,2023-06-21,0x534776eb975e06ff6d31674d397851105049c5dd35962a8f50b505ad45a9bede,133,0xeb466342c4d449bc9f53a865d5cb90586f405215,490.058081,0x765de816845861e75a25fca122bb6898b8b1282a,490.15611234048663 +celo,mento,2,2023-06-10,0x2ca1f551c2d7444069a391bcba4b203d675e68d09db37bbbee90350e55c4c34b,66,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,291.95751633951255,0x471ece3750da237f93b8e339c536989b8978a438,788.89 +celo,mento,2,2023-06-22,0x5e7703f4b32df24f6c5c3539028e09f37bdbd174b00d6da565ecc1c54ba4f39d,58,0x471ece3750da237f93b8e339c536989b8978a438,189.2299185313668,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,76.73486063607002 +base,dodo,2_dpp,2023-08-24,0x8d284b3f21f9fae6bfffa14d0396c735b986accea585fe845d8e34b1e130d349,30,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.08111752951130441,0x4200000000000000000000000000000000000006,135.73585 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,46,0xa8d0e6799ff3fd19c6459bf02689ae09c4d78ba7,4.139726896e-09,0x471ece3750da237f93b8e339c536989b8978a438,1e-08 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,85,0x471ece3750da237f93b8e339c536989b8978a438,0.011131926416824384,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.004629938972936026 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,57,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859808034948372,0x64defa3544c695db8c535d289d843a189aa26b98,0.00031599070221135 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,65,0x98587fa3fe8ae28ace515281c1fec1e992a7f214,0.002284075177457273,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859901297288047 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,79,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.00342165606916204,0x918146359264c492bd6934071c6bd31c854edbc3,0.003661695659348901 +celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,71,0x918146359264c492bd6934071c6bd31c854edbc3,0.001781202060105895,0x918146359264c492bd6934071c6bd31c854edbc3,2.2958504411753e-05 +optimism,opx_finance,1,2023-09-14,0x2fc2351426e105434af65e0e2f1faa992c7285748e5938133bf03f99aa64a4d0,9,0x7f5c764cbc14f9669b88837ca1490cca17c31607,385.924225,0x4200000000000000000000000000000000000006,0.239356245490566881 +optimism,opx_finance,1,2022-11-04,0x66e3aba1a244fe17e3ff45be045c1318a8957e150e811bc19ecfad0f203b6de0,11,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.936762,0x4200000000000000000000000000000000000006,0.0068 +optimism,opx_finance,1,2023-02-03,0x6c81ff042560bb6583a1646ff37ad07cd4e96594381235c50d836966a544d354,8,0x7f5c764cbc14f9669b88837ca1490cca17c31607,14.070861,0x4200000000000000000000000000000000000042,5 +celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,29,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468,0x471ece3750da237f93b8e339c536989b8978a438,35.37827374653412 +celo,sushiswap,1,2023-09-15,0xd932e433b0f672f29af0490b5304361095ea3ce2096f824c495dfae5bf72e026,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.008584151286614612,0x471ece3750da237f93b8e339c536989b8978a438,31.755965948104855 +celo,sushiswap,1,2023-09-15,0x157447e41e81e05ba65c69caac7d56200f371a977ee5c841dfeec683317b98fb,38,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.015146900389257045,0x765de816845861e75a25fca122bb6898b8b1282a,23.8728179530718 +celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.03129519531871116,0x471ece3750da237f93b8e339c536989b8978a438,114.90811086228412 +celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,23,0x765de816845861e75a25fca122bb6898b8b1282a,15.255434965463113,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468 +celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,26,0x765de816845861e75a25fca122bb6898b8b1282a,49.42283255941517,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.031295195318706094 +arbitrum,trader_joe,2.1,2023-09-27,0xa0c3a8baeb889f57962e1f90f02878c52bc2703923ea44d6c32b54ac85a182fa,4,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1000.850315,0xaf88d065e77c8cc2239327c5edb3a432268e5831,999.9975 +arbitrum,trader_joe,2,2023-02-25,0x0089a8b75a142474502974fa9a69d69bf007d7fcd760df9e78e1e38cdc63a8bd,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.119172119245068251,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,748.500000000000004917 +ethereum,mauve,1,2023-09-14,0x9287ef89d064846c961ae2102b32cf1327bc5b26bde1ae0f9c884f6dec6b73e9,485,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.05361889288401018,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0.05 +ethereum,mauve,1,2023-09-13,0x7f71f44e295edd95a55425e96e8a05e5059908f2cabbe53497b7657037ac6c31,102,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.007446710798914315 +ethereum,mauve,1,2023-09-14,0xcc62f06a8c9b4351ebb510d178fc68fe946bba1cd05244db92de76fd62a824b7,200,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,16.83761,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 +ethereum,mauve,1,2023-09-14,0x94993dbf07f4ef0bf38a15a303182a3dbd0ef4525f09c4be0f2babbb5be2e2aa,236,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,1758.083836,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1850 +optimism,openxswap,1,2023-02-24,0xaed44713142d008b7771dbd844dc04996fdf84d2a759b18000fbbd1cedda9ee2,7,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,2234.6467852361957,0x4200000000000000000000000000000000000006,0.30264897056 +optimism,openxswap,1,2023-02-24,0x2ab499560940eec712e662231d9a0dc39199c592ee4f651cfc5fe26ae60ded20,13,0x4200000000000000000000000000000000000006,1.0286444738988605,0x4200000000000000000000000000000000000042,544.7762488522358 +optimism,openxswap,1,2023-04-15,0x4083325e7db95f35ef9e425ee7cf550ca7504af92355f214af8071d70659a9df,8,0x4200000000000000000000000000000000000006,0.004769354772713511,0x7f5c764cbc14f9669b88837ca1490cca17c31607,9.994 +arbitrum,camelot,3,2023-10-15,0x939231c21d47605a86fce8536da3cfb556a7ca4334e3f1963a23006633597f03,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01 +arbitrum,camelot,3,2023-10-15,0xe12624f375d78828270cf0b84757b6c1e3fd2a8efddb3c25cac301fe5bfb71ae,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.168 +arbitrum,camelot,3,2023-10-15,0x810b6259d2171ca029a3ddb86dfbf682a9306443424082198afe63050fc699a9,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.02553995037289231,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee, +optimism,wardenswap,2,2022-09-21,0x2c44ca40b62d3154a01796de00696cba3a3247ab5124ddd263165cf4b470fc4c,43,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,529.0905775854186,0x4200000000000000000000000000000000000006,0.4280560649800964 +optimism,wardenswap,2,2022-07-27,0xd025c68690340c035e9b9b5e3d53435c2f301a3f9e6a7bdceb7cb9a82bf28174,20,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,16.093947010513283,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,270 +optimism,wardenswap,2,2022-06-26,0x2084856c984f51a9a9bd377bfbc6ce78be410cc8c9b2836282b83b1dc2b2d677,16,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1393.326394,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1397.048637 +optimism,openocean,2,2023-09-04,0x1c2bc7857ce9acd8d6b018eea4b2e2affbda61e56916161b4348ef0603ff7935,23,0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6,82.11154686585886,0x7f5c764cbc14f9669b88837ca1490cca17c31607,500.376315 +optimism,openocean,2,2023-06-30,0x4a823ca5c73264723a1326c9d3dedd0f1b2bbbc446e7f2c71ac5c998234b8ca2,9,0x1db2466d9f5e10d7090e7152b68d62703a2245f0,14.714535262567255,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2 +optimism,openocean,2,2022-08-03,0x13875f629d4c608d034411333bf0f0095fb6ac41c219163ed8d359805a63fa05,25,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,11.319842,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.265711412351504 +celo,curve,1,2023-10-17,0x4cef035b424859b5d61b1da3c2f03febd83f03083c764fa1af860bf4e26d28b3,16,0x37f750b7cc259a2f741af45294f6a16572cf5cad,118810.850166,0x765de816845861e75a25fca122bb6898b8b1282a,118999.79999999999 +celo,curve,1,2023-10-15,0x0a524624a533492b91c1204004589225f697d37bf63af60fde884b226e8b1f26,14,0x37f750b7cc259a2f741af45294f6a16572cf5cad,10.329967,0x765de816845861e75a25fca122bb6898b8b1282a,10.34099704814135 +celo,curve,1,2023-10-16,0xba430c475c9ee7e8bd17c760f6a7833b0779781092033de73ca1bf3f7e86e7f8,43,0x37f750b7cc259a2f741af45294f6a16572cf5cad,5.189966,0x765de816845861e75a25fca122bb6898b8b1282a,5.197918504908161 +celo,curve,1,2023-10-15,0x28500eb8fe60219ee750bbea028e4ace3259aae1f350727c97311be3ac579dd4,13,0x37f750b7cc259a2f741af45294f6a16572cf5cad,432.240793,0x765de816845861e75a25fca122bb6898b8b1282a,432.6936029057536 +optimism,openocean,2,2023-05-30,0xc97e676905d6d2763fa55ac9aac6d6d85f6597901cf34711d6b65981b0cb0f75,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.193448,0x4200000000000000000000000000000000000006,0.00167453389173889 +optimism,openocean,2,2023-11-07,0xde2d7e6f02cfce8eb8a1bb752ce956cfcf81b7bf8380490bcdfeab9694b4e5ad,15,0x8700daec35af8ff88c16bdf0418774cb3d7599b4,2.9738578135579843,0x4200000000000000000000000000000000000006,0.003958725899153863 +optimism,openocean,2,2023-07-31,0x92188637370c0bf3595ae4bef248db90f43167483320fc9b21adb016cfb84e76,81,0x8b21e9b7daf2c4325bf3d18c1beb79a347fe902a,1438.894027919516,0x4200000000000000000000000000000000000042,14.86875 +base,maverick,1,2023-10-24,0xf76389f7730beb6a51a3e1881b0a9139fe8ec07d8403061fd52d5aaf1357ad00,12,0x50c5725949a6f0c72e6c4a641f24049a917db0cb,2955.014794642196128309,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2954.059434 +optimism,woofi,1,2023-06-21,0x2e968976942bbbd2a843a1b3d2b8c344f4f0b705d6e8d1d3742078b6fab28b10,38,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.628553,0x4200000000000000000000000000000000000006,0.0009 +optimism,woofi,1,2023-07-30,0x58b21db3dc2a145b8c844471310eebdc85fdf3ec8820d4a6ea526bc1f735aec0,15,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.102243,0x4200000000000000000000000000000000000042,0.06525080616397874 +optimism,woofi,1,2023-06-07,0x203dbe62e1896dc9892dae69e7c4dbdc7c491d775923fb44a094c45b916a9946,12,0x4200000000000000000000000000000000000042,8.853725019194362,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.180901 +zksync,maverick,1,2023-10-23,0xbe2700aac1174728513863a4f42d37aa9ac7a7d73389fa00a5abcfbd3570d5a6,4,0x2039bb4116B4EFc145Ec4f0e2eA75012D6C0f181,1.723727835619188444,0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4,1.7232 +arbitrum,1inch LOP,1,2021-09-24,0xfaebdcb7948f7141d05709373681b0e04c0672051b072db49268066c5ed146b6,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.308879 +arbitrum,1inch LOP,2,2021-12-10,0x1c7b1db733029cdfefa5d33372061dcf392e6ddd668774306f7e80c6057d9631,1,0x0e15258734300290a651fdbae8deb039a8e7a2fa,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.63023 +arbitrum,1inch LOP,3,2022-11-25,0x5c8b58d7b37384216431a6fd41f424f1a750b4cb28c0a891d313454590cb1046,1,0xbfa641051ba0a0ad1b0acf549a89536a0d76472e,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1 +arbitrum,1inch LOP,3 RFQ,2023-04-26,0x51b8f0aeaa4944927bf2c1c4c8c379fcfb7e7a3cdcd5389a424d8cecdb1a9b4e,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005639386973373932,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.995641 +avalanche_c,1inch LOP,2,2022-01-18,0x17648dc902706d6d6e169087fdd0d5d9ed9c0a13a568ec8a48051f0b1ba5c908,1,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,5,0xc7198437980c041c805a1edcba50c1ce5db95118,4.992058 +avalanche_c,1inch LOP,2 RFQ,2022-01-24,0xb2b5c36e970b5b7bcdc90cfe4f62200c2f3f30cbdbfc05dbaea5d1539ad6280c,1,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.02,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,47.776 +avalanche_c,1inch LOP,3,2022-11-30,0x7f208a0a570fb7276214dc4db47080a2aa90447fc7e5113ee3bda6cf694f7b0f,1,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,7.724e-05,0xc7198437980c041c805a1edcba50c1ce5db95118,0.001 +base,1inch LOP,3,2023-08-16,0x30231210e1afdc76c1cddd2576a52aa1ea98457297e62c902a7a5aa5bd7e9791,1,0x4200000000000000000000000000000000000006,0.001,0xeb466342c4d449bc9f53a865d5cb90586f405215,1.823264 +bnb,1inch LOP,1,2021-06-03,0x660036450cb8728a2ac5f2deb22bff8758af26aa099d4d0dbbae609093f47795,1,0x111111111117dc0aa78b770fa6a738034120c302,0.01,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.240829737963e-05 +bnb,1inch LOP,1 RFQ,2021-06-07,0x0205753c08d2642e2a12525ac0949d078a99e02ee87e559456245be24dc6803a,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,3.8,0x111111111117dc0aa78b770fa6a738034120c302,1 +bnb,1inch LOP,2,2021-12-06,0x9d7783360204258b9f2307f4ce4970f8de2a6d67db9b0b6215b9a0dcc39d0eff,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,2.1,0x111111111117dc0aa78b770fa6a738034120c302,0.5 +bnb,1inch LOP,2 RFQ,2021-11-10,0x582066cd36fe1535334a05de5203025a0abadb6d2fb07542dba06d79b9fcb121,1,0x55d398326f99059ff775485246999027b3197955,2e-14,0xe9e7cea3dedca5984780bafc599bd69add087d56,1e-14 +bnb,1inch LOP,3,2022-11-21,0x76952e9657a210fa51de9d0caf38cb66a4e594b8963790e9e282321b0608d560,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,1 +bnb,1inch LOP,3 RFQ,2023-04-26,0x25086a72ce6a3cf12f836808a97c05432dae39fe74947fa2b9d0129bb47cceea,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,188.91263865081478,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.09669320051055542 +ethereum,1inch LOP,1,2021-06-08,0x7430839c7a467a4946b2723bdb8d54d4bfeb72a54fbee988a184fc6ccee0c8fe,1,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005705137173652603 +ethereum,1inch LOP,1 RFQ,2021-06-24,0x17eedf52cd16e9a2a6cf7dcd0ea60f07b25d9b972564542b702cd86301270bc4,1,0x6b175474e89094c44da98b954eedeac495271d0f,1.23e-16,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.23e-16 +ethereum,1inch LOP,2,2021-12-09,0x72e2bd374bad0f3ba7844edb0ddabcd3bf2b0b04c082e9eafc2e1e705d6d111a,1,0x111111111117dc0aa78b770fa6a738034120c302,1,0x888888435fde8e7d4c54cab67f206e4199454c60,1.8550742510066875 +ethereum,1inch LOP,2 RFQ,2021-11-12,0x3069e869f54a593d282f6d72e78c16638555bbb460ce09376f3b969a49740eb9,1,0xdac17f958d2ee523a2206206994597c13d831ec7,100,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0217122261545476 +ethereum,1inch LOP,3,2022-11-15,0xd6f31e37e9a2bdf79f9e08a3a1aff7aa27b6f33fad8e34506930058f944944eb,1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000794199483325101,0x6b175474e89094c44da98b954eedeac495271d0f,1 +ethereum,1inch LOP,3 RFQ,2022-11-28,0x6daff653b30efeda718d49eb9b6e30b42298603dba0722bbb035f797ef8420bc,1,0x4d224452801aced8b2f0aebe155379bb5d594381,919.1542838365331,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3799.290434 +fantom,1inch LOP,2 RFQ,2022-04-12,0x23a0a583070aedd2ab9a8dd8984b431751469932d6423cedada0a550b25a266f,1,0x049d68029688eabf473097a2fc38ef61633a3c7a,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,16.89972442886853 +fantom,1inch LOP,3,2022-11-20,0x60219b7e2fea63be636203aa8feaeaae96edd76514aebe8042cd23204ac522e7,1,0x04068da6c83afcfa0e13ba15a6696662335d5b75,0.999842,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,1 +gnosis,1inch LOP,2,2022-01-17,0xb0bfe04bdc2a2492173d561b19bbba1ccb0fda47050e6c3b25244e133e1e6977,1,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,1.9896530579786145 +gnosis,1inch LOP,3,2022-11-25,0xd94d1559f1c5bf2647da93659003d2dfab158ead080b79837c5a28e9d9160c7b,1,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2 +optimism,1inch LOP,2,2022-08-09,0xdb2a1b694452ef009cf8899ad6e8bae2b18c84fc75e293a9508a5633bda26f79,1,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,1.3430288208555679 +optimism,1inch LOP,3,2022-11-25,0x7a40bb7f50e59c5e673afe94e8733494243acd0877d227a809aa9ba1c16ba33d,1,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1,0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc,12 +polygon,1inch LOP,1,2021-06-10,0x4ec29b58b188d26022191edd51af35f155b9edec5e79303fd78b3aef0400e8bb,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,8,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,2.6666666666666665 +polygon,1inch LOP,1 RFQ,2021-06-21,0x30e49b6e23145b5904bc1cd776a65ad2309e61e95c00c0b452cbf578e957b2aa,1,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,20,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.010257304255126252 +polygon,1inch LOP,2,2021-12-16,0x9f883ed622c357df0756ea6552c525b1fef3ccdd785772a0a27acb3e83b147a9,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.612715402673482,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.61342 +polygon,1inch LOP,2 RFQ,2022-04-08,0x7f4d4290f3b5fd42d8c148457aa0c5b0ae5ad6a52f538eb7d1f611a6551224a1,1,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,15,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,22.0248 +polygon,1inch LOP,3,2022-11-16,0x4367e740ccdaf64bb9300d64ce071c691ecc305c2f1ac5aff3f7ba3fe19f82c8,1,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0747847780830808,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 +polygon,1inch LOP,3 RFQ,2022-11-24,0x5fc98b8f538e6258f554039c182aa9094b2d3f83293812ad86a8ec8ffe122092,1,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.02,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,0.01 +zksync,1inch LOP,3,2023-04-25,0xce890512f93dd7d2f1576214025a384a7e4d77d0696f7586b08aa7f2abbb3666,1,0x85d84c774cf8e9ff85342684b0e795df72a24908,473.99490916145186,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.021538506874320695 +zksync,1inch LOP,3 RFQ,2023-05-02,0x96a6f0a3b6dca895ae56ad55b14366f9ec0993409754caad26c0921598beebf8,1,0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4,42.322852,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.023143049624060132 +avalanche_c,uniswap,3,2023-11-11,0x3fd0df30055592268a66399a4d958ae6aaa957cab7442c0ecc60d7257a156261,7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,497.409883,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,34.17977416 +avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,14,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1379.142478 +avalanche_c,uniswap,3,2023-11-11,0x79cc2e2b8543ae7b5215f9f389069106061efc619fa23437b5662d81fac2d8dc,2,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,661.400762,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,46 +avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,16,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.6729956329,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643 +avalanche_c,uniswap,3,2023-11-11,0x41b6ec0e3ba96f6c72bab7954353152ba44904bd61232f91e824c9a74495b1e4,2,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,600.415091,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,41.78982883 +optimism,mummy_finance,1,2023-06-20,0xcb520a60a0eae0a5a7b9e5658345151a370ef9c236072db32d9b3212ee24a496,36,0x4200000000000000000000000000000000000042,793.6112352289659,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1048.751532 +optimism,mummy_finance,1,2023-06-30,0x671265ebe5dd61134633adf575ba80faec6be090271351ad79fed7c0f5468d50,65,0x4200000000000000000000000000000000000006,0.37616451992981625,0x4200000000000000000000000000000000000042,525.2047826760436 +optimism,mummy_finance,1,2023-06-09,0xd7cadb14f39a79bf0ca3ea0ebf9aa85caa1465da154010294ee502942a8de5d4,21,0x4200000000000000000000000000000000000006,1.530834771081591,0x4200000000000000000000000000000000000042,2097.160814236567 +optimism,hashflow,1,2023-04-13,0x0c2c4ed714220d38b0f93b13398e7bd7454120a07a1188095a740afc055e85dd,5,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,1.0942802244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.0945 +optimism,hashflow,1,2023-07-26,0xc5237e5f00c0f8059bf9d21edca6f541fdd3e11331e0204aa3792be7d71742f8,54,0x4200000000000000000000000000000000000006,0.22758095181286583,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,425.593457 +optimism,hashflow,1,2022-10-26,0xa4cc224376e71b43c83a9913f466986d2b51f0b0bd5e6102d2e93ade474991d8,1,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.999996,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1 +avalanche_c,trader_joe,2.1,2023-08-17,0x3eccbee27f56c671eccd2ad82fca3b0448053d8d978a2003025817529b33c47a,5,0xc7198437980c041c805a1edcba50c1ce5db95118,154.777492,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,154.714055 +avalanche_c,trader_joe,2.1,2023-08-17,0xd74525e25428aa4d32f129511ed8349516aeff791691277551663ad944fafeed,2,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,100.00000003864702,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1120.132837 +avalanche_c,trader_joe,2.1,2023-08-17,0xbacddb47282c250d7126995a0a32a77e2be8c98e69b85c7dd3ef9cdb295b5084,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,8.961454748219834,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,99.979979 +avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,14,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7427.555309,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,672.1804038165711 +avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,13,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,0.847235,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.07651931900157347 From 95cc93bbeb337a014d28b4432b5ca0e4349b9701 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Fri, 14 Jun 2024 12:07:27 -0400 Subject: [PATCH 59/63] clean up tests --- .../balancer/trades/arbitrum/_schema.yml | 4 - .../balancer/trades/avalanche_c/_schema.yml | 4 - .../balancer/trades/base/_schema.yml | 4 - .../balancer/trades/ethereum/_schema.yml | 4 - .../balancer/trades/gnosis/_schema.yml | 4 - .../balancer/trades/optimism/_schema.yml | 4 - .../balancer/trades/polygon/_schema.yml | 4 - .../balancer/trades/zkevm/_schema.yml | 4 - .../cow_protocol_ethereum_assert_batches.sql | 16 - ...ow_protocol_ethereum_assert_order_type.sql | 37 -- ..._protocol_ethereum_assert_partial_fill.sql | 37 -- .../cow_protocol_ethereum_assert_slippage.sql | 17 - .../cow_protocol_ethereum_assert_solvers.sql | 21 - .../cow_protocol_ethereum_assert_trades.sql | 5 - .../cow_protocol_gnosis_assert_solvers.sql | 20 - dex/tests/generic/check_dex_seed.sql | 12 - dex/tests/generic/dex_trades_token_bought.sql | 24 - tests/trades/_schema.yml | 12 - tests/trades/dex_trades.csv | 541 ------------------ 19 files changed, 774 deletions(-) delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql delete mode 100644 dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql delete mode 100644 dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql delete mode 100644 dex/tests/generic/check_dex_seed.sql delete mode 100644 dex/tests/generic/dex_trades_token_bought.sql delete mode 100644 tests/trades/_schema.yml delete mode 100644 tests/trades/dex_trades.csv diff --git a/dex/models/_projects/balancer/trades/arbitrum/_schema.yml b/dex/models/_projects/balancer/trades/arbitrum/_schema.yml index 09ef97905b8..1f6eb04efb1 100644 --- a/dex/models/_projects/balancer/trades/arbitrum/_schema.yml +++ b/dex/models/_projects/balancer/trades/arbitrum/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: arbitrum - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml b/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml index 86aca24b807..6036c557ff2 100644 --- a/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml +++ b/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: avalanche_c - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/base/_schema.yml b/dex/models/_projects/balancer/trades/base/_schema.yml index 4a0bd85156f..ccd587803b5 100644 --- a/dex/models/_projects/balancer/trades/base/_schema.yml +++ b/dex/models/_projects/balancer/trades/base/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: base - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/ethereum/_schema.yml b/dex/models/_projects/balancer/trades/ethereum/_schema.yml index 42d29d7e17d..48f04166bfe 100644 --- a/dex/models/_projects/balancer/trades/ethereum/_schema.yml +++ b/dex/models/_projects/balancer/trades/ethereum/_schema.yml @@ -111,10 +111,6 @@ models: - block_time - tx_hash - evt_index - - check_dex_seed: - blockchain: ethereum - project: balancer - version: 1 columns: - *blockchain - *project diff --git a/dex/models/_projects/balancer/trades/gnosis/_schema.yml b/dex/models/_projects/balancer/trades/gnosis/_schema.yml index ae5ae4065a2..9c61182b8cd 100644 --- a/dex/models/_projects/balancer/trades/gnosis/_schema.yml +++ b/dex/models/_projects/balancer/trades/gnosis/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: gnosis - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/optimism/_schema.yml b/dex/models/_projects/balancer/trades/optimism/_schema.yml index 481a7f9073b..326de06e009 100644 --- a/dex/models/_projects/balancer/trades/optimism/_schema.yml +++ b/dex/models/_projects/balancer/trades/optimism/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: optimism - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/polygon/_schema.yml b/dex/models/_projects/balancer/trades/polygon/_schema.yml index c0dfa6ac51b..7691a4f0cc4 100644 --- a/dex/models/_projects/balancer/trades/polygon/_schema.yml +++ b/dex/models/_projects/balancer/trades/polygon/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: polygon - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/models/_projects/balancer/trades/zkevm/_schema.yml b/dex/models/_projects/balancer/trades/zkevm/_schema.yml index 80f42ffe980..a4c86cbc3a6 100644 --- a/dex/models/_projects/balancer/trades/zkevm/_schema.yml +++ b/dex/models/_projects/balancer/trades/zkevm/_schema.yml @@ -19,10 +19,6 @@ models: - version - tx_hash - evt_index - - check_dex_seed: - blockchain: zkevm - project: balancer - version: 2 columns: - &blockchain name: blockchain diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql deleted file mode 100644 index 068fa7eabff..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_batches.sql +++ /dev/null @@ -1,16 +0,0 @@ --- Try it out here: https://dune.com/queries/1389623 -with batches_with_trades as ( - select - s.evt_tx_hash, - s.evt_block_time - from {{ source('gnosis_protocol_v2_ethereum','GPv2Settlement_evt_Trade') }} t - inner join {{ source('gnosis_protocol_v2_ethereum','GPv2Settlement_evt_Settlement') }} s - on s.evt_tx_hash = t.evt_tx_hash - group by s.evt_tx_hash, s.evt_block_time -) - -select evt_tx_hash from batches_with_trades -where evt_tx_hash not in (select tx_hash from {{ ref('cow_protocol_ethereum_batches' )}}) --- The reference table is only refreshed once in a while, --- so we impose a time constraint on this test. -and evt_block_time < date(now()) - interval '1' day diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql deleted file mode 100644 index 2efb50fece3..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_order_type.sql +++ /dev/null @@ -1,37 +0,0 @@ --- Given a list of solvers, when we look at the active solvers, then we should see only 1 per each env and name -WITH unit_test1 AS -( - SELECT - * - FROM - {{ ref('cow_protocol_ethereum_trades') }} - WHERE - order_uid = 0xc47c770fe431a2cd5fda46c84b0cdd2dbbdfb2f487e65dec444d07e7a92cffff64b07802fb794c8e7519589e85ebf67da10c9f0d640ada76 - and order_type != 'BUY' -), - - unit_test2 AS -( - SELECT - * - FROM - {{ ref('cow_protocol_ethereum_trades') }} - WHERE - order_uid = 0xb431b648f44c8c988c417044ecdbfecf9785e177be12f600de467989284842ef40a50cf069e992aa4536211b23f286ef88752187ffffffff - and order_type != 'SELL' -) - -SELECT - * -FROM - ( - SELECT - * - FROM - unit_test1 - UNION - SELECT - * - FROM - unit_test2 - ) \ No newline at end of file diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql deleted file mode 100644 index 50c0740013f..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_partial_fill.sql +++ /dev/null @@ -1,37 +0,0 @@ --- Given a list of trades, when we look at their partial_fill, based on the type of the trade we expect partial_fill to behave differently -WITH unit_test1 AS -( - SELECT - * - FROM - {{ ref('cow_protocol_ethereum_trades') }} - WHERE - order_uid = 0xaa1568c867c991bd462bcb6ee5939e4e01144d4e9e29bb74c2fa8d50b3afc92c519b70055af55a007110b4ff99b0ea33071c720a64289604 - and partial_fill != true -), - - unit_test2 AS -( - SELECT - * - FROM - {{ ref('cow_protocol_ethereum_trades') }} - WHERE - order_uid = 0xb431b648f44c8c988c417044ecdbfecf9785e177be12f600de467989284842ef40a50cf069e992aa4536211b23f286ef88752187ffffffff - and partial_fill != false -) - -SELECT - * -FROM - ( - SELECT - * - FROM - unit_test1 - UNION - SELECT - * - FROM - unit_test2 - ) \ No newline at end of file diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql deleted file mode 100644 index 653eb598e92..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_slippage.sql +++ /dev/null @@ -1,17 +0,0 @@ -WITH test_1 AS -( - SELECT * FROM {{ ref('cow_protocol_ethereum_trade_slippage') }} - WHERE order_uid = 0x514a80473dc24034a1983ec831603f2f100ad7defd1578b077c637f73f3b92ecffab14b181409170378471b13ff2bff5be012c646434b605 - AND block_number = 16975171 - AND ( - abs(amount_percentage) > 3.3 - OR - abs(amount_atoms) > 10471539 - OR - abs(amount_usd) > 10.5 - ) -) - -SELECT * FROM ( - SELECT * FROM test_1 -) \ No newline at end of file diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql deleted file mode 100644 index 8f841595ad2..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_solvers.sql +++ /dev/null @@ -1,21 +0,0 @@ --- Test Query: https://dune.com/queries/2718501 --- Given a list of solvers, when we look at the active solvers, then we should see only 1 per each env and name -WITH unit_test1 - AS (SELECT COUNT(address) as cnt - FROM {{ ref('cow_protocol_ethereum_solvers' )}} - WHERE active = true - AND environment != 'new' -- There are times when there can be multiple (new, uncatalogued) solvers. - GROUP BY environment, name - HAVING COUNT(address) > 1), --- Given a list of solvers, , then we should never see a solver who's both true and false for active - unit_test2 - AS (SELECT count(address) as cnt - FROM {{ ref('cow_protocol_ethereum_solvers' )}} - GROUP BY address, environment, name - HAVING COUNT(address) > 1) -SELECT * -FROM (SELECT * - FROM unit_test1 - UNION - SELECT * - FROM unit_test2) \ No newline at end of file diff --git a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql b/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql deleted file mode 100644 index 46caec69133..00000000000 --- a/dex/tests/cow_protocol/ethereum/cow_protocol_ethereum_assert_trades.sql +++ /dev/null @@ -1,5 +0,0 @@ --- Try it out here: https://dune.com/queries/1398185 -select evt_tx_hash -from {{ source('gnosis_protocol_v2_ethereum', 'GPv2Settlement_evt_Trade') }} -where evt_tx_hash not in (select tx_hash from {{ ref('cow_protocol_ethereum_batches')}}) -and evt_block_time < date(now()) - interval '1' day \ No newline at end of file diff --git a/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql b/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql deleted file mode 100644 index d1673869e20..00000000000 --- a/dex/tests/cow_protocol/gnosis/cow_protocol_gnosis_assert_solvers.sql +++ /dev/null @@ -1,20 +0,0 @@ --- Given a list of solvers, when we look at the active solvers, then we should see only 1 per each env and name -WITH unit_test1 - AS (SELECT COUNT(address) as cnt - FROM {{ ref('cow_protocol_gnosis_solvers' )}} - WHERE active = true - AND environment != 'new' - GROUP BY environment, name - HAVING COUNT(address) > 1), --- Given a list of solvers, then we should never see a solver who's both true and false for active - unit_test2 - AS (SELECT count(address) as cnt - FROM {{ ref('cow_protocol_gnosis_solvers' )}} - GROUP BY address, environment, name - HAVING COUNT(address) > 1) -SELECT * -FROM (SELECT * - FROM unit_test1 - UNION - SELECT * - FROM unit_test2) \ No newline at end of file diff --git a/dex/tests/generic/check_dex_seed.sql b/dex/tests/generic/check_dex_seed.sql deleted file mode 100644 index 82e0ae65e5e..00000000000 --- a/dex/tests/generic/check_dex_seed.sql +++ /dev/null @@ -1,12 +0,0 @@ --- this tests checks a dex trades model for every row in a seed file. --- actual implementation in macros/test-helpers/check_seed.sql -{% test check_dex_seed(model, blockchain=None, project=None, version=None) %} - - {%- set seed_file = ref('dex_trades_seed') -%} - {%- set seed_check_columns = ['token_bought_address','token_sold_address'] -%} - {%- set seed_matching_columns = ['block_date','blockchain','project','version','tx_hash','evt_index'] -%} - {%- set filter = {'blockchain':blockchain, 'project':project, 'version':version} -%} - - {{ check_seed_macro(model,seed_file,seed_matching_columns,seed_check_columns,filter) }} - -{% endtest %} diff --git a/dex/tests/generic/dex_trades_token_bought.sql b/dex/tests/generic/dex_trades_token_bought.sql deleted file mode 100644 index b2fc4ec8020..00000000000 --- a/dex/tests/generic/dex_trades_token_bought.sql +++ /dev/null @@ -1,24 +0,0 @@ -{% test dex_trades_token_bought(model, column_name, dex_trades_seed) %} - - with unit_test as - ( - select - case - when lower(m.{{ column_name }}) = lower(seed.{{ column_name }}) - then True - else False - end as token_bought_test - from {{ model }} m - inner join {{ dex_trades_seed }} seed - on m.tx_hash = seed.tx_hash - and m.evt_index = seed.evt_index - and m.block_date = seed.block_date - and m.blockchain = seed.blockchain - and m.project = seed.project - and m.version = seed.version - ) - select * - from unit_test - where token_bought_test = False - -{% endtest %} diff --git a/tests/trades/_schema.yml b/tests/trades/_schema.yml deleted file mode 100644 index 5542398b7a4..00000000000 --- a/tests/trades/_schema.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 - -seeds: - - name: dex_trades_seed - config: - column_types: - tx_hash: varbinary - token_bought_address: varbinary - token_sold_address: varbinary - token_bought_amount: double - token_sold_amount: double - block_date: timestamp diff --git a/tests/trades/dex_trades.csv b/tests/trades/dex_trades.csv deleted file mode 100644 index 1ad1878fbb3..00000000000 --- a/tests/trades/dex_trades.csv +++ /dev/null @@ -1,541 +0,0 @@ -blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_bought_amount,token_sold_address,token_sold_amount -avalanche_c,pharaoh,1,2023-12-27,0xba5d58703f53313a5d46bc2f14043735580123c66817558adfee943fe5fb5e49,19,0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7,50008753,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,50000000 -ethereum,kyberswap,elastic_2,2023-01-09,0xa6d744fdbe93ed48ad6d8d3d3b86715e7a5bab9d95a970b56f9a40cbde38fc5a,413,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,10.3359399189,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,18256.893542 -ethereum,maverick,1,2023-03-10,0x0da5b35106718de658279fc109cc593cf5d81de829e77a6cea01566f3bf7def6,130,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15035.242634,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,14628.522982718923 -ethereum,uniswap,1,2022-08-10,0xc5d051f200779582390fe36838263f346e3f9c13731f6d186f12bd72e1223501,164,0x6b175474e89094c44da98b954eedeac495271d0f,114.525972456783,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.062801179402571 -ethereum,uniswap,1,2022-08-10,0x6a6aaf4e55c3f7a070b1b2bb955c8a072bd7f3a00db898bb6ad9c35ff1d0bd36,58,0x23b608675a2b2fb1890d3abbd85c5775c51691d5,0.00485937701376674,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0941477783366224 -ethereum,uniswap,1,2022-08-10,0x73e6503108c7774fad6f297303553153bb074d7a8abea64e67c23025dbd9cdd1,259,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1604.708387,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.9605157 -ethereum,uniswap,1,2022-08-10,0x085c1de4ae885aced9e145292fe1e7619ad707df91db2a47046e6394f0a2ab14,39,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.45503069565416,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2500 -ethereum,uniswap,1,2022-08-09,0xcb3958bb94b8d1d8ba8960e4c76e90f4f60446311f9ad595f7768077084f41b3,126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.205795017804108,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2,0.325960741989667 -ethereum,uniswap,1,2022-08-10,0x0995c3e2ae836c9d1c2648c9bbbdc06710294c933faed35a7cf5fe84295324c6,274,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00130012577707246,0x3d1ba9be9f66b8ee101911bc36d3fb562eac2244,3418.726 -ethereum,uniswap,2,2022-08-14,0x906bf116aa38282ea12a0a55fccdd9684d4904c0ddb5bff8c1a6e4e1bf791eb2,17,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,300.357175,0x6b175474e89094c44da98b954eedeac495271d0f,301.348892417344 -ethereum,uniswap,2,2022-08-14,0x644857941ede03358cbb28793d925e374184d07faa62cba22b1ca974035c06ee,161,0x6b175474e89094c44da98b954eedeac495271d0f,149.606421160013,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150 -ethereum,uniswap,2,2022-08-14,0x51b191c8c620b1dc5867f1c0e1c3b2c4acb20009a7e29a8540c0ed94f678c350,194,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,1980.88020260497,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.13345856353334 -ethereum,uniswap,2,2022-08-14,0x77bdb8bff66248595b99851084a3a921db653ba2fb2a775ac7f0614cf4bddab5,23,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.13666561702156,0x1f9840a85d5af5bf1d1762f925bdaddc4201f984,683.8 -ethereum,uniswap,2,2022-08-14,0xb00a6f017198bbbcc4d2d390326cec87301e08880e1e1e0d6877b28b906a61d5,33,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.9695767307707,0x6b175474e89094c44da98b954eedeac495271d0f,15531.4453730142 -ethereum,uniswap,3,2022-09-28,0x021a4ea590baee1e6bec5ecdb3b03cb67a4efaac67ac764f97ac3b152fe1ad10,8,0xae78736cd615f374d3085123a210448e74fc6393,0.490796462724159,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.510288592522475 -ethereum,uniswap,3,2022-09-28,0x566b4dd208a3af70b3b80e9352e35f263db73ec29ed6e6385f719773b98d19ce,239,0x3845badade8e6dff049820680d1f14bd3903a5d0,15.6789364011265,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,uniswap,3,2022-09-28,0xdcaf9394fddb84afbf971045661d7e96ed2d01a743ea913abceb20cf4c13452e,2,0xdac17f958d2ee523a2206206994597c13d831ec7,18410.19214,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,13.7977443609023 -ethereum,uniswap,3,2022-09-28,0x4bda429e77bdd899139e00628c8fee2e119db6098745cba00e11efeeb1a99bd2,84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,10747.932591,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,8.06043203550863 -ethereum,uniswap,3,2022-09-28,0x7a98cdef70a5518538457c807d90e69340d709d2a2a87699a869db8be7a66d8f,112,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,46942.648238,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,35.2 -optimism,uniswap,3,2022-09-30,0xf55b5c5ec3bf016046a173f484fe972e32fdcba467d7f9e736aa24c72ba77f77,7,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,100.981029315346,0x7f5c764cbc14f9669b88837ca1490cca17c31607,101 -optimism,uniswap,3,2022-09-30,0x1eb5e4679743665b626af08e0e1cb571982d851e4d9a26ca84763ab4e97b2413,10,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,5.38359932389085,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5.384615 -optimism,uniswap,3,2022-09-30,0x14d51305de3c0224f1474e895d8a75c3f6f31c050a8384fb56352b9ce23dfde5,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,60.46196,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,60.456251 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xd36c783cd53d3bf612ec74f6f41c1044ca99f45dd16673e9152093df6089e2b5,293,0x6b175474e89094c44da98b954eedeac495271d0f,9.18792133,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005 -ethereum,airswap,swap_erc20_v4,2023-05-23,0xcdb69602e9ecf42a2e0375eeaef525f825c06d4d83943f69dfb2aca882c54308,272,0xd533a949740bb3306d119cc777fa900ba034cd52,3381.61805,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2977.71 -ethereum,airswap,swap_v3,2022-08-19,0x00399b5f2fc5535efd528b03f76a871766e5f2d2869799281b3064cd02de14fe,308,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,825.220907,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4863593 -ethereum,airswap,swap_v3,2022-08-25,0x0000e369cb6a2d5908c26d736d0012a3136603f2020acfe8bfd86af4790c8590,213,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.357272738807249,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,600 -ethereum,airswap,swap,2022-09-29,0x30219b51b252348303f297778374024b4afcd6023d522b4442d2304b8f0c154d,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,102122.5869,0xe34c023c0ea9899a8f8e9381437a604908e8b719,103441.57 -ethereum,airswap,swap,2022-09-27,0x1daef042310db224f72cb4c922e1a4ccfa2cbbba8f2757dec38651e95933c6f7,32,0x72b886d09c117654ab7da13a14d603001de0b777,253905.87392903,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,30500 -ethereum,airswap,light,2022-05-25,0x02881571864ff927f2c1e3a65e88ac2cdb63bcc8b075b3b5cac1fabdbff8719a,287,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3901.628058,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.98514 -ethereum,airswap,light,2022-05-31,0x041c1b58767f3428419d4c3e767e4dda0490d5aa2459902955f9bca530739bc8,175,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.02477942922041,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,2000 -ethereum,airswap,light_v0,2021-03-19,0xc418c91e3ac55dd29d4471f12fd5d425df952d2bbe70d5f7157f6a15c49b4c6f,272,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.11323417,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3816.26867 -ethereum,airswap,light_v0,2021-03-19,0xc204cbd09767db2c912a7185dcda818b267bc6119a6ba7fc9a16d5ebca654068,109,0xdac17f958d2ee523a2206206994597c13d831ec7,909.704519,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.4985 -ethereum,curve,Regular,2022-09-03,0x0fc5910c411bdbbf1827fa278c22b3351892e8931e7c3db02e817bc052a489fc,11,0xdac17f958d2ee523a2206206994597c13d831ec7,45324225240,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.929896609E+019 -ethereum,curve,Regular,2022-09-04,0x4ca41e0f0700f357111aaae66a85b0def53b00a6ca02145e6e6ec00775621df5,537,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,7.93070096583753E+022,0x5f98805a4e8be255a32880fdec7f6728c6568ba0,7.78328E+022 -ethereum,curve,Factory V1 Meta,2022-09-23,0x182e11e393388ea9365b1e566bfc66754bbdfb7f83344f6e1e4f05cde97ea66b,11,0x6c3f90f043a72fa612cbac8115ee7e52bde6e490,4.29398385988372E+020,0xa693b19d2931d498c5b318df961919bb4aee87a5,10259457322 -ethereum,curve,Factory V1 Plain,2022-09-19,0xe31b85292938984c61b4a9d8d2eb781f20bfa22c068a380a67fce94ef8ec450c,60,0xd533a949740bb3306d119cc777fa900ba034cd52,7.42474512665705E+020,0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7,7.74567425737246E+020 -ethereum,curve,Factory V2,2022-09-03,0x02fe546401dd52e07528532ed1ac4ed1d4f525118836f71a4014282fb6a06839,4,0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6,5.13561732187354E+022,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,33333000000 -ethereum,clipper,1,2021-07-14,0x8d246ba8ec0775e6b7cff03010b858e22a9295d24b7fd08a8f705bbd3d333dab,301,0xdac17f958d2ee523a2206206994597c13d831ec7,165.266255,0x0000000000000000000000000000000000000000,0.082849 -ethereum,clipper,2,2022-08-05,0xdae0599fd4db92ae4ba8c69bb8f0955c8d6e33bef1b5dd91f7b42aff95d1bffb,90,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00905195942930063 -ethereum,clipper,3,2022-10-05,0x2a85b64c9b39ad26cd62b72c984fb31c6c53e2eab317d79a34787a10d9883942,222,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,150,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.110806219109147 -ethereum,sushiswap,1,2021-09-15,0x7074892627f2bccfbf394ec8760cade1d3d672289b46fbc7c5e590db31c16c95,3,0x6b3595068778dd592e39a122f4f5a5cf09c90fe2,3017.55093634511,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,11.7781782389008 -ethereum,sushiswap,1,2021-11-22,0x3d68c5df7a7a82ad679592d00eced1461447b487d1c54d89f0fa46ddc21bac84,7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,9.46565784374643,0xd291e7a03283640fdc51b121ac401383a46cc623,1121.3436686981 -ethereum,sushiswap,1,2021-11-27,0x0de46956f3fbdf6c9613f087f063daf62b7be67aeb8f092704d98feb1d2a0911,8,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.309451321421892,0xf422b6f41a14fb74b21cb95a8d82971a3b527117,16109.3510951687 -ethereum,sushiswap,1,2021-08-01,0x901305aef9025df025b948065b89dd2f6350c09d9cd4eb957b3b69d4a487b1eb,8,0x25f8087ead173b73d6e8b84329989a8eea16cf73,3588.33361827192,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.18922607574853 -ethereum,swapr,1,2022-09-03,0xc58ae666672615f121747458b336004b5bac48823a6135163d3b23afeab4d632,333,0x6b175474e89094c44da98b954eedeac495271d0f,68.407407578415861544,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0441670997926941 -ethereum,swapr,1,2022-05-04,0x53f3c3e596923e6c74988dffb69b52fe90d5bc191237dd87bd926de934b2f310,181,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.278764086245774,0x6b175474e89094c44da98b954eedeac495271d0f,781.537753648362 -ethereum,defiswap,1,2020-09-10,0xe1fa03eaadc2050042d0a70799776d4788a22732ba4914c80644629cd6312e65,196,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0.03502,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0001 -ethereum,defiswap,1,2022-02-03,0x6f280443c97a4f5f75d041ae8c378af7bd88aeb9df893019aac2e8f13f7c04ed,48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,852.379306321183,0xc00e94cb662c3520282e6f5717214004a7f26888,3674.21052715029 -ethereum,dfx,0.5,2022-10-14,0x8e51157eb06f0dcd4a546db83a8c4419ea6438e8d5f049c9a7ac71c6a03ca179,604,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,101.003244,0x2c537e5624e4af88a7ae4060c022609376c8d0eb,1891.282964 -ethereum,dfx,0.5,2022-10-13,0xa655e13b90fdfb4e590422308ebd51c45e4c213c466c2c765e307207936b6375,19,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,39601.170618,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,38720 -arbitrum,zigzag,1,2022-10-16,0x65149408bc88fdf9b690269f7e57dcaf8d5577af412ccd3b6d8cb13a9e5c11f8,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,266374900,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,266363162 -arbitrum,zigzag,1,2022-10-26,0xc36027e8ccac981439cae6471824c08fad2831a94d18245052f60ec68e95fd1e,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,214452952992,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,1060036291 -arbitrum,zigzag,1,2022-10-01,0x0a18966c178428cdedcec56823ceea18cd25b30f3da0051185af6633ace725b7,1,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,114719722544,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,86485492800931211274 -bnb,pancake,2,2022-10-02,0x621c3436f07ab0c7228b50618195a1d9c19c62268d51f556fe3e9595c21cb2c6,140,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,4.128690371495819498,0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82,0.9182291278576036 -bnb,pancake,2,2022-10-06,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,46,0x60655c0da9953df69117f9b0d3ff1872a50c97657ace896b365b5781f96d97cf,29.176228605313702756,0xaef0d72a118ce24fee3cd1d43d383897d05b4e99,266659.423741634885391646 -ethereum,dodo,1,2020-09-01,0x784afe0cd29926a86e15390c6d894eccfd3fcfd3d170cbb69a1a9aeb9f98e5af,72,0xc00e94cb662c3520282e6f5717214004a7f26888,24.88,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,6557.285496 -ethereum,dodo,1,2021-01-30,0x616b4f09c34a3e598b00373a961e1daa4c2decc7a5315192f2927a68e767a4d6,100,0xc00e94cb662c3520282e6f5717214004a7f26888,22.84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,7017.918 -ethereum,dodo,2_dvm,2022-11-01,0xd22f88ac18cec7940d5d238140e8cd70e1fb77f01524e92cdba9002831405e53,48,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,823.892847,0x4bdcb66b968060d9390c1d12bd29734496205581,15050.127244362413 -ethereum,dodo,2_dsp,2022-11-01,0x217a50ce8c056b6f240ca0fee82a7aea76fde5845238717d4d2fe36a1d885fe3,18,0x6b175474e89094c44da98b954eedeac495271d0f,16786.79842759679,0xdac17f958d2ee523a2206206994597c13d831ec7,16789.191028 -bnb,dodo,1,2022-01-02,0x520b133f33a11da463ef652c2204e89056384f3755aa17ed3bd8692a708e2daf,9,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,15000,0xe9e7cea3dedca5984780bafc599bd69add087d56,14999.373075377125 -bnb,dodo,1,2021-12-08,0x5a3656a980ff18ea51639ec55b909e06c05447296ad41234cce2a6504e7e3cd1,555,0xe9e7cea3dedca5984780bafc599bd69add087d56,6499.127981081047,0x55d398326f99059ff775485246999027b3197955,6493.88249982855 -bnb,dodo,2_dvm,2022-10-27,0x1b313c2256a8fe451949711d34dfadf49b33e6e49fa95564394c764f1fa10a96,138,0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623,16153.846153846154,0xb5102cee1528ce2c760893034a4603663495fd72,804.7505008944851 -bnb,dodo,2_dsp,2022-01-28,0x0adbde9ea212758528e872e94cd4056e77aae00d64a270df9cd10adef1a43883,185,0x2c30b4cb4b3001afa5b8c43c5a7ca548067562a0,282.61385074773614,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,282.357407285385 -bnb,dodo,2_dpp,2022-12-18,0x5425c84608187bfd827a076b30760402987276fdcc5168b4b9cce30ac531752b,15,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.4460644851563125,0xe9e7cea3dedca5984780bafc599bd69add087d56,350.17016117475544 -bnb,dodo,2_dpp,2022-12-18,0x8a13bf64a7c9b5db044f3771b6a654e822c37434f55d1e41d8b5a7808221835b,40,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.8608918052876906,0x55d398326f99059ff775485246999027b3197955,451.18801668480404 -arbitrum,dodo,1,2023-01-07,0x9ed6106825fc5d53665ee6376f3501b4b54a554c19290afc4d51e06ff8bbb6ce,16,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,50.014816,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,50 -arbitrum,dodo,1,2023-01-07,0xd6415725b7c78e43935708dad578870363486a806d38ef8a0e9a8f6ab4cfe475,14,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,101.859893,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,101.809143 -arbitrum,dodo,2_dvm,2023-10-09,0x8c4a3f95cd30e91aca5ec95cab93543af728256c299110b14a29438e79f62e72,15,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.108417,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.002622797526025669 -arbitrum,dodo,2_dsp,2023-01-07,0x75bf7f2fbb62b1d543e1e8b3e3641f85fffcdedeb4e3eeaedd0fc9461563be79,12,0x641441c631e2f909700d2f41fd87f0aa6a6b4edb,1211.1861381535175,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1211.102662 -arbitrum,dodo,2_dpp,2023-02-23,0x55c6277132f498dbaf7ad4df56380f0838f14121491b4b2954d7af42f3024cc0,23,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.2164701922659768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,360.422629 -optimism,dodo,2_dvm,2022-08-18,0x64557e632ccb92997101e6fe03d93b926f54488d82fa3c1a1ff28f32e2ccdef6,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.491844,0x4200000000000000000000000000000000000006,0.000338547426391858 -ethereum,bancor,1,2021-07-19,0x00c78e18b2ff2f7da30364f421d7b32e026523d64d37617a8c5acfa94f8850a1,235,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,306.394926082191,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.45 -ethereum,bancor,1,2022-01-01,0xe3a7a76069d1109e9d4d13236ee746ce1cf5dbf9dcf430fde8b257f19a98162e,196,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,1991.31923775975,0xb056c38f6b7dc4064367403e26424cd2c60655e1,10000 -ethereum,bancor,1,2022-08-10,0xc470cc109b2fd341d5e155ef0a5b270d31e46320fec423616bfbf8e08bde1d89,87,0x4a220e6096b25eadb88358cb44068a3248254675,4.21008338989588,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,879.148341427923 -ethereum,carbon_defi,1,2023-04-24,0xd4d6be5f2e8475ff67c7f718edfdb8b1de9bef225e7f82f8b3867f07da3d6032,396,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,60.764468,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.032 -ethereum,carbon_defi,1,2023-06-10,0x11646f9854a79d49fc4f8005fb542b6afd6ac2ae3b444a89ca3a57b6e325f8a1,214,0x6b175474e89094c44da98b954eedeac495271d0f,18803.048784261206,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10.553764 -ethereum,carbon_defi,1,2023-07-04,0x28b9ffba580de047e5b3025e28b6dc6e9b4a0091dc7e90e87a3b9df1a72e1fee,424,0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c,731.6246907423406,0x48fb253446873234f2febbf9bdeaa72d9d387f94,1402.8429106481624 -ethereum,hashflow,1,2022-10-11,0x32cf4a6b5cc8f98c1e581c4c645c4e8a5509b524798789d9ba4d32e169c367f5,16,0xdac17f958d2ee523a2206206994597c13d831ec7,17911.421153,0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0,22400 -ethereum,hashflow,1,2022-10-11,0xe4e4a36fba54da2aae2fd17bd783d448636f2a439f5ee8c65a6bd6b1a0015812,60,0x0000000000000000000000000000000000000000,1.3681194955173488,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1744.214319 -ethereum,mstable,feederpool,2021-05-05,0x44d84fd2602b8cc6c8872f7c1ec1354b7265a8dde35c3099310298322f948ce8,393,0x4fabb145d64652a948d72533023f6e7a623c7c53,207366.593542953125079686,0x6b175474e89094c44da98b954eedeac495271d0f,207343.38432717659586164 -ethereum,mstable,feederpool,2021-07-12,0x40a185a0e023931c764c9e0c367494ec0491ac1c83c104e52c0f80ec5eecf227,39,0x6b175474e89094c44da98b954eedeac495271d0f,14152.444151925737407389,0x4fabb145d64652a948d72533023f6e7a623c7c53,14170.8094 -ethereum,mstable,masset,2022-08-11,0x251247062570a31c65605c5c022d0b6375c0e0a7f78ff846ed0194e6eb89d75f,48,0xeb4c2781e4eba804ce9a9803c67d0893436bb27d,1.48620013,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,1.49136326 -ethereum,mstable,masset,2022-11-10,0x2a25f982c167701bb14fedab38e36db11b80e0df84415224a9b9358810abe5e9,20,0x57ab1ec28d129707052df4df418d58a2d46d5f51,97891.598255842626470327,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,98029.682483 -avalanche_c,sushiswap,1,2022-02-25,0x82fd5a6540dce85d1e21f32f1c3caed449899345ef111576a17c2954fe0effc6,33,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,1379.137017,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1373.864622043913288097 -avalanche_c,sushiswap,1,2022-05-12,0x73e34eb697701cff1cd6f045855584d6cc7a8e7923d8e2f494a0ffba034500c8,116,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.210377021755772039,0x50b7545627a5162f82a992c33b87adc75187b218,0.0002241 -gnosis,sushiswap,1,2021-11-08,0x5071403049381a8e0a9b1859d933a4367ac95db0549597d615f11d8d6989766b,103,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,138.845996,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,138.937452952743346786 -gnosis,sushiswap,1,2022-06-28,0x73b7fc9d26042dc2552a014c6a8e138dedaabb3150721f538404a109f5efd031,9,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,4.529829473199357637,0xe2e73a1c69ecf83f464efce6a5be353a37ca09b2,0.650820213174998578 -arbitrum,sushiswap,1,2023-01-10,0xafa7fc216c42ebc38df30ee06c935d34454603b51c8f30110b09ba0c96a5cf2b,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.988441,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,2 -arbitrum,sushiswap,1,2023-01-10,0x6ae9f8365f8e9ce4b6fa5e957558f798eb79552370533b525d2cfcc49ac895d6,7,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.003433,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0000026 -arbitrum,sushiswap,1,2023-01-09,0x98032f79d4f04087984d9a29bf0cda82b2ab80afaf7c53172a9886d5cad4a66e,12,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.892222,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0006764 -avalanche_c,fraxswap,1,2022-07-16,0xa3b0a0511b2454fc1120234bee1c8d55b389fd18aeef5c7facf901ebbeb22347,11,0x214db107654ff987ad859f34125307783fc8e387,200.0,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1094.4001103042203 -avalanche_c,fraxswap,1,2022-08-19,0x92ffa2b7400b5ce9f50561358c9704a93b4c60133a2cd12b22393cdcf0cf4d5f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1026.1252914116867,0x214db107654ff987ad859f34125307783fc8e387,167.62804286355896 -avalanche_c,fraxswap,1,2022-07-13,0xf57b7cfe775b4f21f74ed2c08d56eaceb84a1e9191f3c7d5097128b08ab7444b,9,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,500.0,0x214db107654ff987ad859f34125307783fc8e387,103.83628889808516 -avalanche_c,fraxswap,1,2022-10-15,0xe29a3bc86f7903618c9716037437256d8cb3bd37368f356e19c825d505b21616,4,0x214db107654ff987ad859f34125307783fc8e387,167.2033272898448,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0 -avalanche_c,fraxswap,1,2022-09-05,0xc0d3943d0fb158b7fa111a20ae64e81044161e6a1cabf819f64252980f81af3f,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1330.6397885530023,0x214db107654ff987ad859f34125307783fc8e387,215.93386151058667 -avalanche_c,fraxswap,1,2022-06-16,0x17cc2def9d5869f604789dc0593af77b68fc6b51dd98e0dacf9f50d744d5d534,86,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,228.50208340351497 -avalanche_c,fraxswap,1,2022-06-16,0xc7973b9adc9c15c4b536ac3682344420b8e8e541e801e0f451a52f685a10d002,65,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1000.0,0x214db107654ff987ad859f34125307783fc8e387,229.28068237184743 -avalanche_c,fraxswap,1,2022-09-05,0x608542c07700429cf096204f91a193341e40ae4059b7940d7eb5ad9f051836b8,4,0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64,1052.0376768716717,0x214db107654ff987ad859f34125307783fc8e387,169.6623770097244 -avalanche_c,hashflow,1,2022-09-23,0xb64cabc1fc83f1922a9bf1c315a6bf7e81530dc33b68be78871e61329884078a,25,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1003.182468,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,57.71187672458048 -avalanche_c,hashflow,1,2022-08-29,0x3b837a7861992717ee9843e7b46bf414255eb77583f4eb5409d2945ee0295597,38,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,11.276858734485854208,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,200 -avalanche_c,hashflow,1,2023-01-12,0xab0c51f0fc13c3bd30194e0fabf1827fd9ae164ffc2ca8aab83c0443a2e63abd,3,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,431.856634,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,432.07267 -avalanche_c,curve,2,2022-11-03,0x5fac517fbfdd744ff858c15babc0998cbc7c2d0c4aa064f60bd17b2a3a53d670,17,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,24396.061353,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,24408.524998416038829515 -avalanche_c,curve,2,2022-06-04,0x36158219ea84887d26aa64deb11ca2ccc3e1576e5464b044edbd446aa277beda,20,0xc7198437980c041c805a1edcba50c1ce5db95118,149.228657,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,149.167743 -avalanche_c,curve,2,2022-11-02,0xcd7a6bd17655e6d54bc4a21927082f27b1f499c9b791bad783084c19b95ce4e1,168,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,647.498626,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,647.585569 -avalanche_c,platypus_finance,1,2022-05-01,0xc9cf002b6422ef0a617284537683372c66b92e84e0b28fde8a0cc04a4eef519e,23,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,4994.308573,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,4994.787342 -avalanche_c,platypus_finance,1,2022-05-03,0x75dc4b71defb76d9888aabbd8771e8b38ee48fb41d43cc3ecae6fb73b3911c84,20,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,21009.805223,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,21012.319756 -avalanche_c,platypus_finance,1,2022-05-03,0x93bd89cf8a4d602d5cbc32446e5fb4bf9ed170f5ac72c2dc23294c8f5e1a8a05,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1199719.208427,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1200000.0 -avalanche_c,platypus_finance,1,2022-05-04,0x306818d93ecd131c5e5e40a2293150db9484555d539a45e0512cc28a7041ebfb,45,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,220.0206736954061,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,220.0 -avalanche_c,platypus_finance,1,2022-05-04,0x9e982c5f221d878d5c30291f3b1af3bb4896a0d15ecc305ff4d4e63936ed191e,64,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,728.2722352237333,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,728.227031 -avalanche_c,platypus_finance,1,2022-05-05,0xd1d05ff16c664884875cf17ded334008fe1005b15103460c76a8979a791d3cc1,13,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,148967.354389,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,149000.0 -avalanche_c,platypus_finance,1,2022-05-05,0x138e58cdee3bd8ccb09bfaaffe340f84c29688d4a239dab4b94d12e49434d5a9,82,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,783.164086,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,783.2365264361647 -avalanche_c,platypus_finance,1,2022-05-06,0x48596630bee61338ac47f100539d58fd783215ceb624d888249818b9c7eade5f,59,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,741.001182,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,741.1522427698851 -avalanche_c,platypus_finance,1,2022-05-07,0x2954327b19870057c067530f4f951014163795afe991f5cd2657649ab8151a88,74,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1034.338934536323,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1034.310287 -avalanche_c,platypus_finance,1,2022-05-07,0x9ac609a5cf6084d4152e835fcf790f45dbdb363bda79afc62ac3dfc5235eea7d,17,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,121.298967,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,121.300365 -avalanche_c,platypus_finance,1,2022-05-07,0x2a3a710fa23fe85c0153a701167ac8265327e08c4e527e9de3d0727099934f48,8,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,2069.426263,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,2069.863443 -avalanche_c,platypus_finance,1,2022-05-09,0xa268e678b9167e2afbff624d6c473e1de4e69e00bbbf15cff30fec754965161e,80,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,504890.913495,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,505000.0 -avalanche_c,platypus_finance,1,2022-05-09,0x2747e96f2e6198cbaad9a34257faae3d1282401ec89c4d8e2b8980830417f7e4,26,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,23608.565879,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,23614.60193014132 -avalanche_c,platypus_finance,1,2022-05-09,0x4587aca823136fd6dbe9ecf9a992074062c49d13ee38fc65a7f547e5647c40d6,34,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,340.040453,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,340.06469425688414 -avalanche_c,platypus_finance,1,2022-05-09,0x916f2f560b3c13f31aa4139608b067e00ad042bd3bdb197a683e68d77c80aab0,12,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,25017.262697,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,25023.099847 -avalanche_c,platypus_finance,1,2022-05-09,0xd1e3319eb5ab9cae929d2a18e79facb10309f84a8e38073596df084745c2f2f1,113,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,289498.193117,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,289560.3059171445 -avalanche_c,platypus_finance,1,2022-05-09,0x7fa1daa95f0c034752cb3719b62e7ae3d372945db163bda78e26cdc3a18192c3,6,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7500.368177,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,7500.0 -avalanche_c,platypus_finance,1,2022-05-09,0x363e3d084f738cb84cc809ca6ec9738bc23ceb606ca13148fe210b0bb098115b,22,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,78918.176151,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,78938.0 -avalanche_c,platypus_finance,1,2022-05-09,0x70aa1e9d8f0698b0b4b118b5296d67a3fb15f380a8ca105ba3c433655ae93aa6,28,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,44548.677919,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,44561.0 -avalanche_c,platypus_finance,1,2022-05-10,0x1bbe2f7773c059f500de2cd6acdee778d04b8c8185d4c69bb20db835feda9b76,24,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1505.784684,0xd586e7f844cea2f87f50152665bcbc2c279d8d70,1506.0280424835855 -arbitrum,gmx,1,2022-11-14,0x4c4f46a92fba43bfcb232568d7a31b4af63e91ab332b36549f2cc8929057bf11,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.20892017,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,259 -arbitrum,gmx,1,2022-11-15,0xe8c98bea3bf37ebb632c2f59e8e8db88f06456c12a1a9b1f6217f896820928b8,10,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0023785668,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,3 -avalanche_c,gmx,1,2022-11-14,0x4fee39a37c1adab2e185876f06395fe3a0ed53d2d2d10e82ef7b40dbdb70714e,16,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,562.108981,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.46443571715597298 -avalanche_c,gmx,1,2022-11-15,0x834202fb166e9cd8056bb1b7109c3a63e636244b5306080b3405d0321c0731c4,11,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,260.988536,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,20 -polygon,uniswap,3,2022-11-14,0x065d1410e74a0f973feb1b2b81030c4e48787fc9e540700d6018dfb5f96bfcf0,2,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,240.508119698835042944,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,219.13821 -polygon,uniswap,3,2022-11-14,0x17e206610661e39deac15979717f6658035a531aa66c78ffcdc6e8d02a4dd4a9,60,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,230.890774,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.0140068 -polygon,uniswap,3,2022-11-05,0x2f2f34207e9b8b521e87e40aaf452c0ddb57c580b5174a615cc286366efca79d,33,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1005.454808280348265291,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1212.644735 -polygon,dodo,1,2023-01-07,0xa4d5eb370faea67353f0a86d7942acc80ac927fdc3c058487436fb322ac7b7d1,183,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,46.625415,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,46.644294 -polygon,dodo,1,2023-01-07,0x1aba3621500f42af37f31950137b0776485ae1530a958fc05a68c39f414280c2,115,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,891.937912,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,892.289088 -polygon,dodo,2_dvm,2023-01-07,0x828df8835147ed71b60e504127e409ffeb3bf7495dfec75a712c117f07d28f56,405,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,0.00005737,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.2059550547960038 -polygon,dodo,2_dpp,2023-01-07,0x76f9dbda9492d12478525d27fce7963152bb9c5f3f7dafc2c5e9a8effd03f2d8,39,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,750,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,933.2716544242052 -avalanche_c,woofi,1,2022-11-08,0xae581cf151eacf9877f628e722514674f3f13b19abcce4e82808a2350526134a,25,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,33.765119660094401667,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,565.826462 -avalanche_c,woofi,1,2022-05-10,0x4ab2a9385bda8de7df444e6f342c12dd70ad6300fdf3a351d80f46e119a7811c,122,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,126322.419554,0x50b7545627a5162f82a992c33b87adc75187b218,4.00000076 -avalanche_c,woofi,1,2022-07-28,0xa1bcc8d3ec39c8694c2be30f5489091fe1bfe8ffd570841e55e00bef6ee3359c,6,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,0.197657,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.008699999999999999 -avalanche_c,woofi,1,2022-09-07,0xf48e0d36d6a51f82edecb408b20c1aa275fddc71f18d4118e734e3116c19d359,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2.714758315778573433,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,49.97 -bnb,woofi,1,2021-12-21,0xf3d0410543a546cf714ecbbe97caf9b6dc89f0caf627a44dc3b24eb8717b8c56,66,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,1.572913555840424953,0x55d398326f99059ff775485246999027b3197955,75491.688052189872040799 -bnb,woofi,1,2021-12-17,0xec25e2af89961b2ca54b69312a2cee1f545786e96d5287dec9fd12b2aba8df63,37,0x55d398326f99059ff775485246999027b3197955,12083.822061807061265726,0x2170ed0880ac9a755fd29b2688956bd959f933f8,3.097519332673643182 -bnb,woofi,2,2022-08-21,0x37420ded51ff96116d39301b4e4e75f3c713423b94319eb4fe3f29e31d3bd6cb,83,0x55d398326f99059ff775485246999027b3197955,14.977390055532270669,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050325032466406425 -bnb,iziswap,1,2022-11-21,0x07e7b79ed2e7958c7744accc12ce8c732d82c6d62ce586365d276a72ecca8ba4,97,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.91980872085136,0x55d398326f99059ff775485246999027b3197955,1000.0 -bnb,iziswap,1,2022-11-21,0x8c1e8cb4f4766ef9a775f040c576dd88a3a6993c8754c35f1e6faf4e1aa65718,197,0x55d398326f99059ff775485246999027b3197955,1016.3951483032495,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,iziswap,1,2022-11-21,0x57bbc0040e8db0bdf9dd38b1e888dfc124159a4ef4c0368426f89238db23d8de,264,0x55d398326f99059ff775485246999027b3197955,1019.5850870781412,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.0 -bnb,fraxswap,1,2022-11-19,0x36f1b32a8115300906f74d3ddf2051d62a226045611a251d84a8a32395ead967,439,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,0.251513613449462899,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.001 -bnb,fraxswap,1,2022-10-26,0xe09dd465622225d25f5555214eb8e8e6e74d4a4fa5f6ac51b35f520150011f24,50,0x90c97f71e18723b0cf0dfa30ee176ab653e89f40,4.663005228579123357,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018388924302368166 -ethereum,fraxswap,1,2022-07-25,0x36ea8f58b542aed8c3f35ce396da15054e04a522efb25281c8ed0080a081083a,200,0x853d955acef822db058eb8505911ed77f175b99e,6321.896197119067345439,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,1000 -ethereum,fraxswap,1,2022-08-21,0x39714256ccf47a89e297b726e8de9eec9446949a224d5e2215fd4dc87c0c8969,406,0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0,2000.000000000000121322,0x853d955acef822db058eb8505911ed77f175b99e,13014.187897251069443882 -polygon,fraxswap,1,2022-11-01,0xda324654d84c5f9b67f6947575878eb25f8789153151295d08ee2738847a0750,135,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,0.008797854552852608,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.01 -polygon,fraxswap,1,2022-11-01,0x9f4b2967cd1cc64490f2765b6d95c70f8d6df37eaa7f2b441e141b2a41f7a793,188,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.987969423771805753,0x45c32fa6df82ead1e2ef74d17b76547eddfaff89,1.759300000000000086 -bnb,biswap,1,2022-11-22,0x66a602998a3585037eb498c103b009a4face2faf93ea57dfb1a44d1fa4a06dad,163,0xe9e7cea3dedca5984780bafc599bd69add087d56,33.830622552179025128,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2128.2655 -bnb,biswap,1,2022-11-22,0x9050a1e2f7aa392e39195b5b22382d595e94104b72699655b198c498f82bbfe6,153,0xe9e7cea3dedca5984780bafc599bd69add087d56,26.146488901376957832,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,1643.319 -bnb,biswap,1,2022-11-22,0xe2efd633720bd29322da7e39857e98b3c9904a1c55f9b3995441160983e06296,119,0xe9e7cea3dedca5984780bafc599bd69add087d56,43.898605549510836795,0x563ca064e41f3b5d80adeecfe49ab375fd7afbef,2756.0281 -bnb,biswap,1,2022-11-22,0x0b9ba3ee4a0b3f4db2baba70be527f5a50aea77423cd921106ec9f0ac8dcf169,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.018248512111984361,0xe9e7cea3dedca5984780bafc599bd69add087d56,4.837104443141354752 -bnb,biswap,1,2022-11-22,0xaf03946d9b98e5d6e841bb50555208801e48d773a8dfdf1ecc203d943c27c603,350,0x2170ed0880ac9a755fd29b2688956bd959f933f8,6.247796965743473757,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.43849 -bnb,nomiswap,1,2022-12-01,0x3b8f8370f2535fb7cd8b68a63d7bdb722cb5452b79a231122a9f5dd246be6657,295,0xe9e7cea3dedca5984780bafc599bd69add087d56,3.4406837272665105,0x60322971a672b81bcce5947706d22c19daecf6fb,8.610658726450525 -bnb,nomiswap,1,2022-12-01,0x2cb3567eada4e2f6350c44a7765516d381641db036cc664e3a64d15b303ac7ad,2503,0x60322971a672b81bcce5947706d22c19daecf6fb,85.62389404482691,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.191528536984286 -bnb,nomiswap,1,2022-11-30,0x9e3dfbd555adc7bd60844ca970bf6fd8ca6a24981b0c05925660f0f5ee8b4a5e,655,0x60322971a672b81bcce5947706d22c19daecf6fb,90.47037459371727,0xe9e7cea3dedca5984780bafc599bd69add087d56,34.79453094032464 -bnb,nomiswap,1,2022-11-30,0xe504096106135022b0d0917e863c8255cc5f8777bcaa70ee38f342be6f74c56d,338,0x60322971a672b81bcce5947706d22c19daecf6fb,103.77456768715207,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.45117236156748 -bnb,nomiswap,1,2022-12-02,0xad22e5ec3486fe0b950510bb500c37baf27f4f50bf5f0fbd6c4ccfc777e2ad15,249,0xe9e7cea3dedca5984780bafc599bd69add087d56,44.399389252049524,0x60322971a672b81bcce5947706d22c19daecf6fb,114.46999990155486 -bnb,babyswap,1,2022-11-22,0x0f4e9d9f303d6d87cd95d85f2dbe48f3cc8e7e8240952e4bd485ef0f81503617,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050410279081245794,0x55d398326f99059ff775485246999027b3197955,13.346254023941418542 -bnb,babyswap,1,2022-11-22,0x6ba016ab36bd67d7459b4fbaead32e82a57a8930564355d3bfbd3ec7f876d559,244,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004192030247987002,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,40.39956 -bnb,babyswap,1,2022-11-22,0x0e6d9777fc533bc403df3ebe1b82b5399870f1301e45c90427b9664438efcc31,353,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,1738.090365320173641069,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.18104693184 -bnb,babyswap,1,2022-11-30,0x279dfbce106e55f05a20331ed088e1fd2e1ff68c05ab089cca473f3dbbaef9fe,283,0x55d398326f99059ff775485246999027b3197955,1654.599686417120624489,0x53e562b9b7e5e94b81f10e96ee70ad06df3d2657,60085.854 -avalanche_c,trader_joe,1,2022-11-08,0x1f90838d916d2edf881ba53d8abfe5b557ff2a8d23d7ed692cc0687a71a9cd53,15,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,342510510,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,21741961515422881640 -avalanche_c,trader_joe,1,2022-11-09,0x82cd2992be090d073b82406e3f3882c43eeb4ac7e7ce26839290c6e028b2ac3b,130,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,30093631,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,2354558311510002477 -optimism,velodrome,1,2022-12-02,0x8c4641cbf23a94be095e73660510f7e265d76601b414ea6f838f651609741c87,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,338.699889,0x4200000000000000000000000000000000000042,311 -optimism,velodrome,1,2022-12-02,0x52e9f5710d07923e189104e31b1c98f569a9fa038b41b67043e9b991fcf7a95f,5,0x7f5c764cbc14f9669b88837ca1490cca17c31607,896.242313,0x4200000000000000000000000000000000000042,823.875076815262 -bnb,mdex,1,2022-12-01,0xcd3cb070ee7f3524bbe091d15cc228676301ba87c8f11101293dd704c7442aa3,633,0xe9e7cea3dedca5984780bafc599bd69add087d56,41.22399442847115,0xa7f552078dcc247c2684336020c03648500c6d9f,1149.6338751257592 -bnb,mdex,1,2022-12-01,0x5558ee58a68414ca812e6861e4f1743fd4670669ab67bdd6cfde72f2185bf098,169,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.050624007144351967,0xe9e7cea3dedca5984780bafc599bd69add087d56,15.035196244738406 -bnb,mdex,1,2022-12-01,0xfdd41f1fbd608530bd96c19fdfc713d861ec483d9c71976df981a4f61fd28140,376,0x55d398326f99059ff775485246999027b3197955,3.854107292216319,0x3ee2200efb3400fabb9aacf31297cbdd1d435d47,12.23 -bnb,mdex,1,2022-12-01,0x7d8f360ee960583133bbde85314d0257703feabf7a87518e5dc7b3a83de5c001,436,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1,0x55d398326f99059ff775485246999027b3197955,29.673387128124077 -bnb,mdex,1,2022-12-01,0xc2e17fc3812f583f5cd2ac1622939828181600b4a65bc1a30449050e3955522c,341,0xe9e7cea3dedca5984780bafc599bd69add087d56,39.60004338983994,0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd,5.179156079954205 -bnb,ellipsis_finance,1,2022-06-12,0x264e4b912aa4d9a5338fc3803687229fd8fd6fb3cdc3008c97060d10a959f62a,437,0x1075bea848451a13fd6f696b5d0fda52743e6439,2.291714623466671663,0x2170ed0880ac9a755fd29b2688956bd959f933f8,2 -bnb,ellipsis_finance,1,2022-11-10,0x9c962e3862c0912117ad770035c492a2a4bca4e72f38baa12165853f85960992,458,0xe9e7cea3dedca5984780bafc599bd69add087d56,78.965818265473976219,0x7c869b5a294b1314e985283d01c702b62224a05f,78.401313456087213685 -bnb,ellipsis_finance,1,2022-05-22,0x85e68cfc48c650f4d7cfb9ce98b09c89e0952b3f7b7b2111ead705a72bd4cb38,349,0xe9e7cea3dedca5984780bafc599bd69add087d56,299.616793572788036088,0xdcecf0664c33321ceca2effce701e710a2d28a3f,314.194676267749213306 -bnb,wombat,1,2022-10-27,0xb228abac355fbc699ab0b134f48a495929069310aa32132ca5cdb679a81b6128,111,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,173.56579848904872,0xe9e7cea3dedca5984780bafc599bd69add087d56,173.79087768722817 -bnb,wombat,1,2022-10-27,0x7a6f269ba6a5826e1ac578ec0bb3272429912ab38a8e2533706415cad6cf0634,128,0x1bdd3cf7f79cfb8edbb955f20ad99211551ba275,0.001925010584091731,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.002 -bnb,wombat,1,2022-10-27,0x478de9749640e880e80485550c62a63072fa946c791f3cf00b60e417c34cb4dd,138,0xe9e7cea3dedca5984780bafc599bd69add087d56,100.08972348327656,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,100.1 -bnb,hashflow,1,2022-10-10,0xf7ae714fd7b9c2c5a6f5d1cda6f17b90c3a8585e1d3a2c8efa14826b15f9b9b7,19,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.784257887632644608,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,762 -bnb,hashflow,1,2022-10-10,0x7add80a388efcf38752d98b48a63844b6c3f45a4df9305268180bd8c2cc6d4b0,207,0xe9e7cea3dedca5984780bafc599bd69add087d56,110.063488,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.4 -bnb,hashflow,1,2023-01-14,0x082830ea432a172e3bab91f690c27830e3fe812aa0cd6613fd62f91be7586fc1,137,0xb3999f658c0391d94a37f7ff328f3fec942bcadc,2.73,0x44ec807ce2f4a6f2737a92e985f318d035883e47,2.73 -bnb,apeswap,1,2022-12-01,0xe4a7e72a504a6a295a75d3f264d0c94b441e89c813b9526f94f660f547c5c835,714,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00120638837141382,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.36 -bnb,apeswap,1,2022-12-01,0x23340f2b63579368aeec4765d4dcda837ea706755e9de56f9ee240877d73d5fe,31,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.003268023598876883,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.9757957073529867 -bnb,apeswap,1,2022-12-01,0xec62c204ea228732d789965d8cbadf18282c0d8fa172623bef62a440ad119827,218,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.013379338141206242,0x55d398326f99059ff775485246999027b3197955,4 -bnb,apeswap,1,2022-12-01,0x293589cdd2503ed9c667d7dd22ddbb65aaaf66490b197c47cb479a4dd84ef023,335,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01336201242131474,0xe9e7cea3dedca5984780bafc599bd69add087d56,4 -bnb,apeswap,1,2022-12-01,0x8a751f20be9f46c85fa9ed18490f9da5c7907b5fa5ffa93b2aec182778f24cda,442,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.7425522170245182,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.005817836045524239 -polygon,apeswap,1,2022-11-22,0x2f15cd0b477cc45c55924b7aa461a516e2b2f369a3806b55042e3c0e5b0877da,157,0x46d502fac9aea7c5bc7b13c8ec9d02378c33d36f,2248,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,57.048500720012677391 -polygon,apeswap,1,2022-11-22,0x3d56ef902984864931d8feb5f1e91cf896e2d1d535a4ada3968942f2f1c500fa,10,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,699.067345412356780819,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.530171159999668219 -polygon,apeswap,1,2022-11-22,0x740f53bcc15bb3a96c1435003e837677f8bc8f0d94d0c3ff6c33f45443cb746b,134,0xc004e2318722ea2b15499d6375905d75ee5390b8,22416.52442997,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21 -polygon,apeswap,1,2022-11-22,0x194d468d6c62a717806b5ee4b71131e9f834d724cbd4309a525fac5d9a320f64,185,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.99267586734214204,0x5d47baba0d66083c52009271faf3f50dcc01023c,12.616273336186259757 -polygon,apeswap,1,2022-11-22,0xe1d484c6453e2f701a0b246764d4c6dac27d99588b4df3ba6caee50f72f21429,290,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,33,0xc004e2318722ea2b15499d6375905d75ee5390b8,35313.94136592 -fantom,curve,2,2023-01-26,0x2c82d58a52e773e79abe81c8f04ab506f9ddded1b17d7f87ff40861a10681e4b,27,0x04068da6c83afcfa0e13ba15a6696662335d5b75,194.438488,0xdc301622e621166bd8e82f2ca0a26c13ad0be355,191.5377712986513 -fantom,curve,2,2023-01-26,0x7e20e5a8d85bf205cfe3dd7cb6a6668c82707f0ab7f7581a5d78dffbe1dac8ee,10,0x04068da6c83afcfa0e13ba15a6696662335d5b75,93.168043,0xfb98b335551a418cd0737375a2ea0ded62ea213b,93.91500221736457 -fantom,spookyswap,1,2023-01-22,0x0d8a71bb5d5d881dae96a62603d51aed6029fcb1f400eb90afd33fdacbd1b3fb,3,0x049d68029688eabf473097a2fc38ef61633a3c7a,94.447206,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,248.3197518 -fantom,spookyswap,1,2023-01-22,0xc408dfc2a9be6f97e60b89fa8c5711e796e73c55c62f74d22ad9ae54667b6565,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,590,0x049d68029688eabf473097a2fc38ef61633a3c7a,225.486545 -optimism,beethoven_x,2,2023-01-22,0x3be1a0fb7f1ef890351fe4a575a095e6e996625e01af1e4b43893d00ac35bbb6,1,0x4200000000000000000000000000000000000042,56.0439404452666,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.261625 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,508,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,0.000034701468348079,0x4200000000000000000000000000000000000042,0.000111535848130678 -optimism,beethoven_x,2,2023-01-22,0x6a660bbea15d3fb2c13c37ec0f6268ead9a3b0370344085751665c8981eaf167,512,0x4200000000000000000000000000000000000042,1.38960477071438,0x4200000000000000000000000000000000000006,0.00195330326074912 -optimism,beethoven_x,2,2023-01-21,0xbc0015bacc88ed681b13ee19ef14c3ec74184cb8fe4e96128313f2ab797c283e,8,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0716016140629488,0x4200000000000000000000000000000000000006,0.0789256223359575 -optimism,beethoven_x,2,2023-01-22,0x0d0042f1f3726a6958ef3a491482e734d559cf07ed24d1e19b65541d893fe75d,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,96.65967,0x1f32b1c2345538c0c6f582fcb022739c4a194ebb,0.0539912808878705 -optimism,rubicon,1,2023-01-23,0x9b881a99a4d952ce35e69e938aeb6fa433e9b6aa609338a6451d61231fadd565,106,0x4200000000000000000000000000000000000006,0.0687643728672874,0x7f5c764cbc14f9669b88837ca1490cca17c31607,112.189533 -optimism,rubicon,1,2023-01-24,0x0808ab44a5ba3c04cd3411216feb1cf7f6d2408f6173ae0d2c533f1ee9ec7317,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.997583,0x4200000000000000000000000000000000000042,5.01949758830531 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.817783,0x4200000000000000000000000000000000000042,4.02459708671438 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,15,0x4200000000000000000000000000000000000006,0.00538901884526646,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.816901 -optimism,rubicon,1,2023-01-24,0x888942e2eba202731c2bdf4fa1b3bddd03870d3064106bf478b9a0950f3f51c3,22,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,8.670616,0x4200000000000000000000000000000000000006,0.00538847955865886 -fantom,sushiswap,1,2023-01-20,0xed537c0e7ebd3d654bd8e5cf8ceec84a4fdc0483eee59802c890d0fcfcf1060c,166,0x321162cd933e2be498cd2267a90534a804051b11,0.00756091,0x74b23882a30290451a17c44f4f05243b6b58c76d,0.1022693 -fantom,sushiswap,1,2023-01-20,0xd0e069b94d62579995037ae2180a1e88811012383cfc0927092680f87e0ed2d3,29,0x049d68029688eabf473097a2fc38ef61633a3c7a,70.205678,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,230 -arbitrum,arbswap,1,2022-12-17,0x0e24e2a7c61821707441ac12f8e8d4ce38ff829f94b86a70ede3cfd9af52511a,19,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.001234459141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1.458842 -arbitrum,arbswap,1,2022-12-17,0x3390d9871240fc2a540dc5d0dec18cbcc6991c936330c5fbe7513c6a0a990ec0,5,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,19.230924,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,18.86197078 -arbitrum,arbswap,1,2022-12-18,0xea091ea1def1416b81a3903b1c266bd53cb137f8c52d9fab883811440ac9e474,4,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01899934141,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,23.112426 -arbitrum,balancer,2,2022-10-25,0x8cc9955e4368d88ef78a0c6dc8505da3e7272446e70947126286780daa454f84,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,430.19906,0x6694340fc020c5e6b96567843da2df01b2ce1eb6,900 -ethereum,balancer,1,2020-08-02,0xac80f41cdfc018bfdc6d37f881fe3def377aa9fd3d0b794c3d7e7ee1e6501ce4,99,0x6b175474e89094c44da98b954eedeac495271d0f,25.34746680728174,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0658152885716226 -ethereum,balancer,2,2022-05-06,0xb6bba47d296682416f32fb4264cfe3fe2994284183081beafc8c36cc1e76b1f2,3,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,3.755554997108105,0xba100000625a3754423978a60c9317c58a424e3d,758.7236799507402 -gnosis,balancer,2,2023-01-20,0x70a7380d73bd8dc96aa2a2ec338f6a660df54e797bab507b5ee04c27e6433844,20,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2.811201702694398,0xddafbb505ad214d7b80b1f830fccc89b60fb7a83,2.811563 -optimism,balancer,2,2023-01-14,0xbcd5b16b59067a5c9dc98fe5fcf0c2ec8b0554249bdb54db423d805d2e20265c,33,0x4200000000000000000000000000000000000006,0.020434661575615593,0x7f5c764cbc14f9669b88837ca1490cca17c31607,31.094857 -polygon,balancer,2,2022-02-05,0x24685d2daebdf4ade873366e33863e0c9b349e974270d786fc773cf5bc8554ec,254,0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39,6.60916362154873,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.03965 -fantom,spartacus_exchange,1,2023-01-23,0x6768ad671c7da39ee9d75b37ad58b77c72982aa7bf21d1dfb030fa7546ad58d9,13,0x04068da6c83afcfa0e13ba15a6696662335d5b75,13273.768685,0x049d68029688eabf473097a2fc38ef61633a3c7a,13276.71125 -fantom,spartacus_exchange,1,2023-01-22,0xc0a1b20ead30eb1f7c730afcf9399945ce84b5bcdcb9dabf3bcfa3411499d1b5,6,0x04068da6c83afcfa0e13ba15a6696662335d5b75,25.332101,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,67 -fantom,equalizer,1,2023-01-22,0xca3fce464272fae479cc0056caa15e882e3fde396a5da883871ba9b8ff1fbbf3,43,0x5cc61a78f164885776aa610fb0fe1257df78e59b,129.98998930892284,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1.049684 -fantom,equalizer,1,2023-01-22,0xf72faa8d02ad82c498e2bef2eafa3071d4e531b8245be1defc963f314ab96a24,48,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.017632,0x04068da6c83afcfa0e13ba15a6696662335d5b75,9.019453 -fantom,wigoswap,1,2023-01-22,0xecaff2b9aeedca150c05e79e27474e25a2c40722ae2b70b3b90be163f2a9f8b9,15,0x04068da6c83afcfa0e13ba15a6696662335d5b75,87.454047,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,220 -fantom,wigoswap,1,2023-01-22,0x3a5eaeb4b331a05e24406c955f2ee89c0da7b37365b6049de224aa08d9b4e38b,17,0x1e4f97b9f9f913c46f1632781732927b9019c68b,33.77612953779118,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,96.8125 -fantom,spiritswap,1,2023-01-23,0x2d2c2b842b1a0118bbfb931715b21ee17d3ae0a0128e6402b3cfa4645e3a69c4,57,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,48.501746184182,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,19.985 -fantom,spiritswap,1,2023-01-23,0xf02b0492697aa787cac842b91a47a4f5582386822e7a493dbf278718175ccfbd,4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,282.525324,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,700 -optimism,synthetix,1,2023-01-29,0x8ae97667b2e098ab76d6fc3e89a62fca7a736894fba7a740a3636f9c64cc8077,7,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,20,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,33025.1881585549 -optimism,synthetix,1,2023-01-30,0x81f4b75e257aae89b5ac2a79764260131f9db2ff4551cc837e3f758df444e12e,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,67.814135331492,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.04161141 -optimism,synthetix,1,2023-01-30,0x26fdd3b38051f353979603153113ba2600290e6e9a4455c4f32a933b52c2e91d,7,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.154574875193123,0xe405de8f52ba7559f9df3c368500b6e6ae6cee49,0.0001 -optimism,synthetix,1,2023-01-30,0xe32cc68ee496955f2aee625067b304cea1f066ac5f23cb864ddc1466636e5cff,7,0xfbc4198702e81ae77c06d58f81b629bdf36f0a71,0.128596335180203,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.1396 -optimism,synthetix,1,2023-01-30,0x298ec0451a7380c6c5f470414248c896ac473996ecd5cc1b2abfcc542770b536,7,0xc5db22719a06418028a40a9b5e9a7c02959d0d08,437.636404718796,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,3080.5826 -optimism,curve,1,2022-12-02,0x80b901d362d34109fc5ab3d2501390a9a0e54e69388e5eea84469ce77a3b9302,9,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,73.0574092246244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,72.2707437014961 -optimism,curve,1,2022-12-01,0x9b98ca1a43c0b4c7709285f8e591a605905dc35e8f52234410628de6ebf1d365,42,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.034302,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1.03049060456676 -optimism,curve,1,2023-01-31,0x77fadc1a0ea6ab065fc3190a24f4f67ff35f22dc824f003cf0656d79089669c4,25,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.435843637716131,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.429232709933431 -optimism,curve,1,2023-01-30,0xa0b8591ffcbc148432fd3c603616dce7877f6097d93716d726ef6dae9a6bcd8f,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0218734943841243,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0215416887092783 -optimism,curve,1,2023-01-30,0xfca84e35c36c4d6fe0f40eac69c229e9bf4fa3a12f7b8267ae9609aff58a65af,6,0x7f5c764cbc14f9669b88837ca1490cca17c31607,45.648713,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,45.6283342082489 -optimism,curve,1,2023-01-30,0x76780eb40844a0fc1cbaa16a30d8098d55bec4d774cfee1a7baed9c8dd4f6a92,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0799001414721287,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0786881443367727 -optimism,curve,1,2023-01-30,0x72f451639593a62c0ec916d20de947b11d15f2ae5075452ddf08d68f77b54e87,8,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,0.0998759919306217,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.0983609378552637 -optimism,curve,1,2023-01-31,0xa70d826c5b3b5afbe9585e15f1e58c75cbcc1359784d48de48b9d025270985d9,70,0x7f5c764cbc14f9669b88837ca1490cca17c31607,32.037157,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,32.036492 -optimism,curve,1,2023-01-31,0x2a4ff09a9d921f631e4e14a61fc6f7fd7997691ed40acac415c0988fe93f9f96,39,0x7f5c764cbc14f9669b88837ca1490cca17c31607,16.006302,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,16.006705 -optimism,curve,1,2023-01-30,0xf14d489c5cb44772b1082e7589781fac60d0f559fa2999844b2cbb782d434443,75,0x7f5c764cbc14f9669b88837ca1490cca17c31607,8.00233,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,8.00249590591778 -optimism,curve,1,2023-01-30,0x2615836b17d0b9a467f187a84c497233ee3a815a0ad341d70b63e28d2c6c98df,159,0x7f5c764cbc14f9669b88837ca1490cca17c31607,128.283656,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,128.286430267516 -optimism,curve,1,2023-01-30,0x4569f2998b9f00eea1c372d82a36fa32b7aa7ca9fba7378bf63756614e2733e9,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,255.877053,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,255.914112076597 -optimism,zipswap,1,2022-04-06,0xbdad190b91443e3b18e07e213b2b8ebc2725e188571f0f43eb8962d8f885c932,3,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3867.857072,0x4200000000000000000000000000000000000006,1.15 -optimism,zipswap,1,2022-02-05,0x111251020222b3efbd71693d4d5ef3f3e3ff9598f023152877f47ad87f2b60b8,5,0x4200000000000000000000000000000000000006,1.44270162397699,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,4293.85850577198 -optimism,zipswap,1,2022-02-12,0x25b8b0f3465265e895c92353e967bd934d86ae6a0ce9a5a7bf45d967868a1582,9,0x4200000000000000000000000000000000000006,1.00158875384491,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2961.21850646285 -optimism,zipswap,1,2022-03-06,0xbc6ec237edd3883acd524defb5f1d8635df3610eb195828b4679b3dc9e6e6b0e,4,0x4200000000000000000000000000000000000006,1.89814384488954,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4924.180007 -optimism,zipswap,1,2022-03-01,0xb285876c166ca5a4614c28cb838a1067cf12b8a0f5217fe1021427f7d4571548,4,0x7f5c764cbc14f9669b88837ca1490cca17c31607,5587.487912,0x4200000000000000000000000000000000000006,1.9 -avalanche_c,trader_joe,2,2023-02-17,0x51c5b4dabbcedf31ab4379eeb163dd8a72db4ed827655e6c4019a84d59e45c0b,55,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477 -avalanche_c,trader_joe,2,2023-02-17,0x582496cdacfa83cbb32bdc9e6a7a0baecb31e43ca798728500e783b95c2b6673,14,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,2.7198489125262477,0x152b9d0fdc40c096757f570a51e494bd4b943e50,0.1884868 -polygon,quickswap,3,2023-02-17,0x8d1bffc369ccde33fff07cb5edaf58bdc4a63217e5e234d8fe1f3908779610ae,105,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,200,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,293.856899 -polygon,quickswap,3,2023-02-17,0x5761ecf943d9ccdec872484d42d45c28f72b3a3760c6da97b573c8a7e2e38af4,192,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,147.193696,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,quickswap,2,2022-10-17,0x89588a0facfd37f5e6787bab1a534d4ceb94b0c630a177397150cd580151f2e0,179,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,13.420646,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,13.425263636998267 -polygon,quickswap,2,2022-10-14,0x7fb5168d79b8a249784a62e266d4d805e98ae81af2b69c54dc23060ce4ceaae9,216,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,494.340474,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.37290529608348755 -polygon,quickswap,2,2022-06-25,0xe9da7260f20bbb8b5d135c217c073758b5474e2973ac9540b4ee919d0219650b,288,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,183.901282,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,300 -fantom,beethoven_x,1,2023-02-01,0xb353ea3753bd43f79452a99a5f0b4ba79848eb535406006b2a325e2610cc20c7,10,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,10.79068245,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,10.9191819 -fantom,beethoven_x,1,2023-02-01,0x406e3b0bfa2b7289eb7a9c37a87f55d1c1f7b5dc1c90cf638ccf6bc06b73f4f0,43,0xc3bf643799237588b7a6b407b3fc028dd4e037d2,154.8200719,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,156.6637268 -fantom,beethoven_x,1,2023-02-01,0x9ed054600393f6ddfd5e9e271ceacc419ea1ea5c5069032f3bccf6e0bbd1057c,9,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,4.419601846,0x04068da6c83afcfa0e13ba15a6696662335d5b75,4.417833 -fantom,beethoven_x,1,2023-02-01,0x3ad542dcee62446ad4cea36a4606c1dfecdc654d83113509ca43c958737b97b9,44,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,1999.4,0x04068da6c83afcfa0e13ba15a6696662335d5b75,1042.833542 -fantom,beethoven_x,1,2023-02-01,0xf73a2c4c02eb03d263d39f5b640229bb9b23f8242a5389b37a5c8aedc428b17e,56,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,84.55916959,0xc5e2b037d30a390e62180970b3aa4e91868764cd,550.564336 -ethereum,pancakeswap,2,2023-01-12,0x176632fa77a3e328cf904f814888f77ee97c57cde0a014d1dedcab92accfc959,247,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1936898575,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,274.694256 -ethereum,pancakeswap,2,2023-01-09,0xc1f7f412ac0636e914b2e55e21ddbb79f313be2d7ca4c5e084db223787c52441,325,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,39.768234,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.03053786191 -ethereum,pancakeswap,2,2022-12-01,0x70cb37c8e8a566b850d1475606b3c4b64adf51cca9bb9e32645344b93c99c8f9,17,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,7.607205635,0xdac17f958d2ee523a2206206994597c13d831ec7,9627.386202 -ethereum,pancakeswap,2,2022-12-13,0x0ba7e4e4a630729028258782ac77f81444de749ffe9fbc526295c29979a9cca1,49,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.479851125,0xdac17f958d2ee523a2206206994597c13d831ec7,1948.798982 -ethereum,pancakeswap,2,2022-12-13,0xc66b844b06fdfcc8376915467463328e5bd189335f03249670473a247e38741a,300,0xdac17f958d2ee523a2206206994597c13d831ec7,187.010126,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1401299988 -arbitrum,integral,size,2022-07-14,0x16f35abbffc8b50bc985d2db02abeaf337e16de587b85eb3c834b70bf6e9cfc7,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01900877891605384,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,21.123742 -arbitrum,integral,size,2022-10-23,0xb705d45124099b8e98e9dd7205392dbda8a34d40e3ad47a875239cf38c9a81fe,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000653038267454768,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.855361 -arbitrum,integral,size,2022-10-29,0x769e31ebc00639ce2a44b9885070473d619ed35ddcdbcff789852067457e2785,4,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.03,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000018904849893185 -arbitrum,integral,size,2022-11-10,0x3d18f064963df7166dd579e65c775b4d4e8260923041e4393615fc032977a9a4,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.642262,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0005 -arbitrum,integral,size,2023-01-27,0xbf780d189520cb325350d3c94423f1a46c42387f765f35c4dcca7e1e8bdff06e,10,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0012454151038722 -arbitrum,integral,size,2023-03-05,0x8bda9d3016f4e7768181325032442549348c251f2e161852bce177b00143c2ed,7,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00291816855303509,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,4.579709 -ethereum,integral,size,2022-03-21,0xae7bb04cb102287ca2b832010121bd8fdac1396359a428f50ce992a5c6ebc212,153,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005070744820370721,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,14.77512 -ethereum,integral,size,2022-07-03,0x5534f8443a6a08c6c279e5fbaaaa39ffe5a698de2be8240827dc732320585761,244,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.24908715433948347,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,265.219513 -ethereum,integral,size,2023-01-06,0x822561900aada258035a1645eb34c866b9d02638ada3fd9f5dc4739d18d680c1,80,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,89483.765933,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,72 -ethereum,integral,size,2023-01-30,0xe51df574230b4e1002606a3cd73d511e85003e19413c6d1db52f3d6b788935a0,158,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,126.18176269960297,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,199977.007606 -ethereum,integral,size,2023-02-14,0x7c01d8115c86b110ed4673068feed8febe7d26115d56779161c0d5c1e2a01ae3,170,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,45.174995872186976,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,69953.020039 -ethereum,integral,size,2023-03-05,0x93a28f10be5e758a9ac05722595c8a2d8c5900a107ad097e47027eeea57ebe61,91,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,43.29894547565704,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,68000 -optimism,sushiswap,trident-cpp,2023-02-25,0x556acdec157c9c7beaecbd3013a988e5ed13e4d4293231274bd0055687b6d3fe,19,0x4200000000000000000000000000000000000042,1.2359258546421,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.834014 -optimism,sushiswap,trident-cpp,2023-02-25,0x49135f081d16041793f3f4c52c91085382c9a8cc2e7bfd6b4d90306ff624f954,22,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.318854,0x4200000000000000000000000000000000000042,4.48285194988426 -optimism,sushiswap,trident-cpp,2023-02-25,0xfec6e552c846e1a321fe73dffd923ba15312066d0b91b3dd1d7d7d169a86e789,10,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.791866,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1.839893 -optimism,sushiswap,trident-sp,2022-10-10,0x83c508e618dc0994dfbb7cdc027e5959fab51038dce9d561c75179e09f86f47e,17,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,7.60726339281,0x7f5c764cbc14f9669b88837ca1490cca17c31607,7.749999 -optimism,sushiswap,trident-sp,2022-10-04,0x62e0ddfab23a326c20b192d2532493ab8457a2ae8eddcc935bf467d88d6fe745,17,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,3.999622063709,0x7f5c764cbc14f9669b88837ca1490cca17c31607,4.000001 -bnb,pancakeswap,mmpool,2023-03-03,0x42b4dcf040808d2a22928744c0a78aaf9873b30b027a638ae93b1983295cf0fc,306,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.944209657,0x55d398326f99059ff775485246999027b3197955,2012.077814 -bnb,pancakeswap,mmpool,2023-03-03,0x653194cae17a57e6b1ceddb9e7fcd917435094460772c16d9bf0a97b60a4b9b2,94,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3451386066,0x55d398326f99059ff775485246999027b3197955,100 -bnb,pancakeswap,mmpool,2023-03-03,0x590e143ba81d3aca84b3e84391f7943af2aedbbb3fb600eea4b455cc974c519a,390,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3394153334,0x55d398326f99059ff775485246999027b3197955,98.37106848 -bnb,pancakeswap,mmpool,2023-03-03,0x0d9e5f3bb655fdab7281e376d5baba55867a8f16bfe53f2c6dfa8e88885b5570,255,0x55d398326f99059ff775485246999027b3197955,150,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.5188477066 -bnb,pancakeswap,mmpool,2023-03-03,0x077b09506b8b3cf5fa5737ff1b5f865f5cb846eca7325abe08092b043f9f6fcd,107,0xe9e7cea3dedca5984780bafc599bd69add087d56,53,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.183167344 -ethereum,pancakeswap,mmpool,2023-03-09,0x4a4e3ed3c8048ae97d776d90a8e6c7a20036aefb98846dd5158a01dd29b0996d,231,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,71.119581,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0462709406 -ethereum,pancakeswap,mmpool,2023-03-09,0x19cc99f99a1c638bf5a45711a50f3c185cedd9ad4e1cbda231895c6d0f365abf,277,0xdac17f958d2ee523a2206206994597c13d831ec7,1283.292428,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.8356205947 -ethereum,pancakeswap,mmpool,2023-03-09,0x7d97ffaff69d26a44b1f0347675fe839cb72c886b46e94becec16a381a6e6c8e,349,0x4fabb145d64652a948d72533023f6e7a623c7c53,38.18645876,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02489566923 -ethereum,pancakeswap,mmpool,2023-03-09,0xe8fceccb966aa76d8b847f0b067f987b233313699d53a8dfd95f3e4869b9c621,500,0x4fabb145d64652a948d72533023f6e7a623c7c53,39.47962744,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.02571453404 -ethereum,pancakeswap,mmpool,2023-03-09,0x06e1b3740c4a4d8fa60f7ddf6defb706f1ec64c563b697f0695647921b2b8c89,288,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1535.457365,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1 -bnb,pancakeswap,stableswap,2022-09-30,0xc8e562b51d15bc7dcc461f0d8f674c368cb17d5b338c825fc2021da4e070635d,42,0x0782b6d8c4551b9760e74c0545a9bcd90bdc41e5,44.96591897,0xe9e7cea3dedca5984780bafc599bd69add087d56,45 -bnb,pancakeswap,stableswap,2023-02-23,0x926a9463e8b1c94b267f8996c0aa3d25f0650b16d84cdf22c5c8cbd175b35a92,95,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,29.52590913,0xe9e7cea3dedca5984780bafc599bd69add087d56,29.53001786 -bnb,pancakeswap,stableswap,2023-02-23,0x2748ee8746f8ef3188f256312489cf877f819725c7b8526eabd2588437bced33,318,0xe9e7cea3dedca5984780bafc599bd69add087d56,17.00035523,0x55d398326f99059ff775485246999027b3197955,17 -bnb,pancakeswap,stableswap,2023-02-23,0xac4971ca3d750e40957720b9ed7d312de71868da236c5775f6cee8dc6a14bf30,226,0x55d398326f99059ff775485246999027b3197955,1000.607238,0xe9e7cea3dedca5984780bafc599bd69add087d56,1000.83 -bnb,pancakeswap,stableswap,2023-02-23,0xe71f7a8812df06a0b36b88a2746d1d48ad39bb5bcb61c23572aeea04df96cc50,181,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,2499.859114,0x55d398326f99059ff775485246999027b3197955,2500 -arbitrum,clipper,1,2022-12-15,0x4e8b282691842b546869ff2ffb6e33e515d609bced31527bc049f92e6e00c831,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.490002,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,5.49 -arbitrum,clipper,1,2022-12-15,0x3c63866b0a50ef829cf1431b90116fad82e44823228dfa57a6fb43eda552304b,2,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.474675,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0083 -arbitrum,clipper,1,2023-02-15,0x52f3a5f2a8217e8bba343841bd379c076cfa06c1279d64ee43f891fc4aaedebc,3,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,114.4518751,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,114.56 -arbitrum,clipper,1,2022-12-17,0x283d63748d6390489926c305d148468c5308c75e58ea120fb0329a345b9c9447,22,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.04963966456,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,58.644399 -arbitrum,clipper,1,2023-02-15,0x967ac0e5c10a6d27df334f4a33a35c25a3cbf58e7ee48d6a58b97467a16496cc,58,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.1052072797,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.00736108 -optimism,curve,1,2022-11-12,0xcea94039dcf9ce75c6081f0ed26fc3f6b9193036f901372b002edc67f960a711,9,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,0.001012,0x2e3d870790dc77a83dd1d18184acc7439a53f475,0.00101798869624305 -optimism,curve,1,2022-05-20,0xf0a56683a1f5c98f734da37362976c19ced781ea2ca1168c203d605593689308,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,112.531495,0x7f5c764cbc14f9669b88837ca1490cca17c31607,106.894737 -optimism,curve,1,2022-05-16,0x1daf9b0e5b53bbb0cf2cc82fc56ea4b03e4b04642326c4c34ee5034edcc419a0,5,0x2e3d870790dc77a83dd1d18184acc7439a53f475,2028.06638964748,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,2002.456704 -optimism,curve,1,2022-05-11,0x9e35d672d4202923c30f0e65eeaae4b7e922600b2715dacde56a98cef3903062,5,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1002.93221,0x2e3d870790dc77a83dd1d18184acc7439a53f475,1001.2474503025 -optimism,curve,1,2022-05-14,0xa3178cf9778f11a12c896e7967a38ab72b2ca043e2f569dc56e7fe58de6d7995,3,0x2e3d870790dc77a83dd1d18184acc7439a53f475,6057.51457069822,0xfb21b70922b9f6e3c6274bcd6cb1aa8a0fe20b80,30000 -ethereum,verse_dex,1,2023-04-04,0x18c614748464c21582bcd495cc7b733b79c229f704175c1148ce38586315979a,152,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.00955734414316444,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,16661.729412 -ethereum,verse_dex,1,2023-04-04,0x8ff523946a9fc2f8fde8d15bab4987afaf68ac5af60112dfde75d784ee833a7c,324,0x249ca82617ec3dfb2589c4c17ab7ec9765350a18,1.7744202052689952,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000001 -ethereum,clipper,4,2023-04-06,0x3772f0915d742bc2d40fec51d5be6c0f92e511290fea9212d45561ebae61f7f7,156,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,4134.968625,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,2.175 -ethereum,clipper,4,2023-04-06,0x844d2221065c96722aeb29ff2a412042c41515ce86bede33615e29357fb76d10,118,0xdac17f958d2ee523a2206206994597c13d831ec7,18956.433604,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,10 -ethereum,clipper,4,2023-03-30,0x4e4aa9d5238083c16fab7077782dfafd928cd9fc5fe1946230345a6c06393c29,168,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,6.766262249310329856,0xdac17f958d2ee523a2206206994597c13d831ec7,12000 -ethereum,pancakeswap,3,2023-04-02,0x3a0097fcc23266394c9ec6e5cf1dd667e60717b1f92fbc76a5e5e2aa50a430ba,84,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.001637811713,0xdac17f958d2ee523a2206206994597c13d831ec7,3 -ethereum,pancakeswap,3,2023-04-01,0x942d7e8064aa1925e484ad9e38b25b0eea8620aa2b85a42a47b957bcdc5df18b,175,0xdac17f958d2ee523a2206206994597c13d831ec7,0.980006,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1 -bnb,pancakeswap,3,2023-04-02,0x34e2f3b9224779e88f114b4c4a65f1480e9caa66ff85921f9c3bba825ef51f63,266,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.000003526055978,0x55d398326f99059ff775485246999027b3197955,0.1 -bnb,pancakeswap,3,2023-04-02,0x54ce217448356994969038a892c0e7b5613ae237305a8191a95ff0d034321c52,174,0x55d398326f99059ff775485246999027b3197955,0.1933971381,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.1934275369 -bnb,pancakeswap,3,2023-04-02,0x570f6d65a9f3046b184feb4efea90de552b31e6b06c1a04baf645636a3389ca1,265,0x55d398326f99059ff775485246999027b3197955,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1.002954374 -ethereum,kyberswap,elastic,2023-03-18,0x294c98fc947bf25331849d24ecc6dda039c293aa36b5046c88a8e677b1621d78,94,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,25060.144,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,12.515483515 -ethereum,kyberswap,elastic,2023-03-15,0x672f52ebebab645191403cfecb43dbb512100552e669288f4fc81174f9bdf587,104,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15081.44,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,8.03308903 -ethereum,kyberswap,elastic,2023-01-09,0xa508a934395ab577132be907912b0d70c1493730696db951fc39e9b4506b9a96,37,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,5.222238778,0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0,4.767894198 -bnb,onepunchswap,quick,2023-03-03,0xa74ad784d8b0f673cb7ebe659f46d136a6d4a58bbd6386f3c4cc8a3adb064bdd,273,0x55d398326f99059ff775485246999027b3197955,1099.16920747,0xe9e7cea3dedca5984780bafc599bd69add087d56,1100 -bnb,onepunchswap,normal,2023-01-12,0xa723fca3a321586a38c738a1bc221a4e9bf4f5e7732660ae6ffc9d64024ec92d,448,0x55d398326f99059ff775485246999027b3197955,21.499975900000003,0xe9e7cea3dedca5984780bafc599bd69add087d56,22 -arbitrum,kyberswap,elastic,2023-04-11,0xdf4e944f86454b662499e8326333dce6af1c18f9663d1289c89b5d49a18d5e9f,5,0x912ce59144191c1204e64559fe8253a0e49e6548,579.3333333,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.370589731 -arbitrum,kyberswap,elastic,2023-03-11,0xbfd464a0d559cceebbdd20c42ee8a1054de12c936396adbec4bafad9eba60faa,13,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,2468.999762,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,1.723592528 -arbitrum,kyberswap,elastic,2023-03-26,0x070e704ea6da35b05c97e2a2f9ccf01136f9bdf6d411da31206a837d373e58ca,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0029,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,5.145281 -bnb,sushiswap,1,2021-11-01,0xc66fb80242b7c788c2896b3dc8c611203771be9474d18f85cb2032d594de327c,830,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.07525109648,0x049d68029688eabf473097a2fc38ef61633a3c7a,43.351292 -bnb,sushiswap,1,2021-11-01,0xffc3e47949b600ee61d7b3b7b57da6137ed4c55652da396d02ff3ece60bfdd9b,591,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01789196956,0x049d68029688eabf473097a2fc38ef61633a3c7a,9.541071 -polygon,sushiswap,1,2021-06-16,0xc625dc2c5e923afd8469e9e03233d37eab64d627a4e6f221c8b63efcf276523c,179,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.1131447356,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,191.734491 -polygon,sushiswap,1,2021-06-16,0xa727f3165a6e7533cbeecfbe67e4072f8b9a0eec486a4c9976b25b902a1bd6f0,310,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0008197673253,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,1.388941988 -arbitrum,arbswap,1,2023-04-20,0x33634f26b1e30f11e9e838aff4d9b80aba590b7e606cd098aaf44dff750453f0,26,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,393.359856,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,393.622497 -arbitrum,arbswap,1,2023-04-20,0x7067cf03ac33918acdfdc6e92baa72116fe9fcf8f80a66f50eadb1622b045749,24,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,301.67528,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,301.87521 -arbitrum,arbswap,1,2023-04-20,0x3f0b0b0a16ade0cde73012628a814ee1115191648bd0d194e85a75c8f9f74267,20,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1225.214854,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,1226.048896 -avalanche_c,glacier,2,2023-04-22,0x8e5b51477a54c3de4e5850c09f33958ca357baa676bb7342389030bc4ba3e901,5,0x3712871408a829c5cd4e86da1f4ce727efcd28f6,63.768883740248004859,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.1 -avalanche_c,glacier,3,2023-10-11,0x1751558603dd0b89deff0e55ada181d3491079ef14e47ec44e8441be9958d386,51,0x152b9d0FdC40C096757F570A51E494bd4b943E50,0.00003735,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,1 -bnb,thena,1,2023-01-13,0x5e9dbda2365611fd1a32b5b674aa082008194192ce42764e9ba7cb68e81a770f,205,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2832796564,0xf307910a4c7bbc79691fd374889b36d8531b08e3,3794.420108 -bnb,thena,1,2023-03-20,0xce4925f4437a57ca2c81eaa2d9ffe98d3f057e7814517f06011c61706038ec57,54,0x3e0a7c7db7bb21bda290a80c9811de6d47781671,106017.0695,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2878260858 -bnb,thena,1,2023-01-13,0x9ac1353991d2f9b54d9bbe5bf410f572ca49b2cd55f9b21129d2c34d044869d2,70,0xe9e7cea3dedca5984780bafc599bd69add087d56,248.3024372,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.85 -bnb,thena,1,2023-01-11,0x9bef538535e92fcceeaa0d0e53671a96f99b7f4caf3e5571bce376b376ba1792,86,0xe9e7cea3dedca5984780bafc599bd69add087d56,0.02782935491,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.0001 -bnb,thena,1,2023-01-15,0x19c3e71f0813076f8c101040e915ebf57e518b12a34299ba9d901092ce023b47,93,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.300626579,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,6.656329907 -bnb,thena,fusion,2023-04-25,0xbb4c30455d3d5e8b69d11dfcfa3bf1bcb77822d9f1d34726cba5a6d09e1e9fa2,409,0x55d398326f99059ff775485246999027b3197955,7009.844541,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,7010.638184 -bnb,thena,fusion,2023-04-21,0xc7fc3cd4454421a2f37db49d965be5ab236419988cce54245da9fa38e301a7b7,64,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,4.82962897,0x55d398326f99059ff775485246999027b3197955,1553.83144 -bnb,thena,fusion,2023-04-22,0xbce3f03c353621d410f8bb396b157c644a03153699cf2821f6fd042225a37044,87,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.491571503,0x2170ed0880ac9a755fd29b2688956bd959f933f8,1.504299198 -bnb,thena,fusion,2023-04-23,0x436ade4d35952187e4a045cfbe9495839b1bcf8b26448f3b67dbbdd54636c831,293,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,1.27418968,0xad29abb318791d579433d831ed122afeaf29dcfe,971.5572125 -bnb,thena,fusion,2023-04-23,0xc0dda2219f7daa1866b234f324dae21abeebae534e5a63378d3c90b039c5ae71,98,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,7.677802518,0x55d398326f99059ff775485246999027b3197955,2535.952589 -bnb,trader_joe,2,2023-03-22,0xac02d1ccbda4a91fd1536f651b8fb4e5f007c2946895b5b79f75172b7d8ffa65,89,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.272454476,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.4238820505 -bnb,trader_joe,2,2023-03-29,0x13ec4185ea44e8bfc20f697d78cdc143857a4b4e5bb4c38912ffa0a6816b8c34,101,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03494438202,0x55d398326f99059ff775485246999027b3197955,10.94292897 -bnb,trader_joe,2,2023-03-30,0x2def8747ff99350ff0aa9fcbfa71a863ad597f430a99ae8a625263f101be0b8a,67,0xf7de7e8a6bd59ed41a4b5fe50278b3b7f31384df,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.2773595262 -bnb,trader_joe,2,2023-03-30,0xf0fbd4b3c90627a03e4d5711ba46cc8d34a9b98e7a9e66d956df655107a0744e,152,0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c,0.0003537724251,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.03171060155 -bnb,trader_joe,2,2023-03-18,0x8a0fb41570066245da48355ec6d29a08d6a7a16078e55992444f0f0e81268d58,310,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00499 -polygon,clipper,coves1,2022-06-03,0x93e44bb7e6ddf344eed6b2b4c5515e3c05b2e446ec31af6872cc682718b060a6,163,0x172370d5cd63279efa6d502dab29171933a610af,0.123367431088796876,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.002702 -polygon,clipper,coves1,2022-06-05,0x3c054758e23b93515785e9c2700043d354d880340e390a7b8b8a98a8b8b2bfe3,159,0x0621d647cecbfb64b79e44302c1933cb4f27054d,90.847377705661993975,0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c,0.039663 -polygon,clipper,coves1,2023-03-04,0xa58ec465b5e28a212f86083c0dfeecb154f24f40104445a7990c5c576230e0c3,443,0x6bfce69d1df30fd2b2c8e478edec9daa643ae3b8,5.099499802721257244,0x482bc619ee7662759cdc0685b4e78f464da39c73,713.373882 -arbitrum,clipper,coves1,2022-12-06,0xa0a47ca5f454a5c9d001d03de6563fe0e2a48e16c8723d3c0a26088a7f940f41,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,0.158964119815058764,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.01 -arbitrum,clipper,coves1,2022-12-09,0xc1b08d81333f584ac973dd872bbc77f1d008e772451d7de74a154b57de7f883f,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,15.114099040607641726,0x75c9bc761d88f70156daf83aa010e84680baf131,1815.668906918918325545 -arbitrum,clipper,coves1,2023-03-20,0x2931dbddc1a0871c8ab04e51da506c576e799c0bfdc8a4e779a0dae75c5dfcc3,3,0xe7b0ce0526fbe3969035a145c9e9691d4d9d216c,3.119357483899408340,0xf97f4df75117a78c1a5a0dbb814af92458539fb4,0.553 -polygon,clipper,1,2022-01-26,0x555c31d37b6b77de5edbbaa623761737a33a5b71441d1f909eb8557ab9d7a166,205,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,133.833762,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.051695 -polygon,clipper,1,2022-01-26,0xd41d3a78cf89308068ff7f8e7019c85ad52d9ca67e39df15421d29328075e5ee,106,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.5,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0.296711840114860928 -polygon,clipper,1,2022-01-27,0x756a078124017590745a408ed1e73b6fe5c2b2b6173d58ec5a00f5ef335d5b16,681,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,644.744585586146541568,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,1027.15 -polygon,clipper,2,2023-05-05,0xb435e13ddd117c716da7a545cee52c0044d13e426ad828a2320f452e28e6af85,133,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,21.938739,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,22 -polygon,clipper,2,2023-05-02,0x3a421f0ecb82952458147c5e36a74b3a76b3a19b73b8f12876cba549abe05c89,33,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.89233926939564864,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,1646.45 -polygon,clipper,2,2023-04-30,0xc0d794026723e06e8ed27ac51deea4c6721349cfed72c7adae93a4e25e4bd9cf,103,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,9.9588119216496128,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,10.03 -optimism,clipper,1,2022-02-12,0xd22ecf018e5f53662e338637030fc9b421ca9eb2d0bb8780f82153c3081ad0ce,2,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.980299461242894336,0x4200000000000000000000000000000000000006,0.001 -optimism,clipper,1,2022-02-14,0x76bceae919aa817fd3bfb14752bdf6cc2a9fc2103e95b16e32bdd495751644a0,2,0x4200000000000000000000000000000000000006,0.001993505781816838,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,6 -optimism,clipper,1,2022-06-19,0xdffb84123a6e954f391a44d1a3c045097cdbb9cc8a2d74c29d92fbe84b7a3b91,3,0x4200000000000000000000000000000000000006,0.025954788650449416,0x7f5c764cbc14f9669b88837ca1490cca17c31607,27 -optimism,clipper,2,2023-01-07,0xa9ebe982d106fda99c19deb174e8f4c3ab5cfd86f3a59bd733e6be2a9cc4fce2,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2.95,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,2.95 -optimism,clipper,2,2023-04-28,0x9858f1003e8e35dfa563531e4af26303fbb4d3e04ef8e56b0e601cf012fb365e,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,174.913443,0x4200000000000000000000000000000000000006,0.092345 -optimism,clipper,2,2023-05-08,0x0a79d12a8a315b8f3bc098e137b9984f64e4f74b8593d15fe7238f0913eae25a,3,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,100.800922,0x7f5c764cbc14f9669b88837ca1490cca17c31607,100.89 -optimism,clipper,coves1,2022-12-13,0x201e546c8871abf6220934093065e1aac8fab88320f6815cad4e78273e07626b,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.618159001037606673,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,21.3 -optimism,clipper,coves1,2023-03-17,0xdce9dc4b6817b3038e339b0db046d35e602a830023808dad953146f14ea1e076,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,0.246568672972728249,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.489492 -optimism,clipper,coves1,2023-01-08,0xeaa79d87de38e9f0a5ee5b0ab948dd998a342348f11a35ab63a726054d31b472,2,0x5130f6ce257b8f9bf7fac0a0b519bd588120ed40,3.085208524632291028,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,107.717588 -arbitrum,camelot,1,2023-02-10,0x03bad3b7a62d5dcde805ebcf1441e6966fdf66f4d03fabc040955e953b26e8e9,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.09033515213962749,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,249.5412320381824 -arbitrum,camelot,1,2023-02-06,0x04fd14aa1471a9561a66fd804a5c995ec211aa7e96bbcbeb48801efdbdb236d6,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.22457814589748834,0x088cd8f5ef3652623c22d48b1605dcfe860cd704, -arbitrum,camelot,1,2023-02-16,0x0aba2b8e2046b670abd3046e28e55e5fb521b6271d2ec8fb72c54df1f5977079,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.707795125477355,0x51318b7d00db7acc4026c88c3952b66278b6a67f,1759.9819725646116 -arbitrum,camelot,1,2023-02-08,0x317879e802e220cd2b910c2b477406506eff5ef62894344adc9f7e26fa3589e0,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,466.224209,0xba42a714bc9c16be6a1ce5eb66ab4deb3904862a, -arbitrum,camelot,1,2023-02-20,0x2d820ba0c8ee0b2b3dfbe1002520bfd952fd65e6f52217722fdd83ed44b982cb,3,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.18770390514247653,0x1426cf37caa89628c4da2864e40cf75e6d66ac6b,225 -ethereum,xchange,1,2023-06-05,0x46da856ff5390f122260b3ddeff8c84e6471d715722bcec69410859a9dd7a9ce,26,0x70008f18fc58928dce982b0a69c2c21ff80dca54,6177.083844891557065659,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.25809555 -ethereum,xchange,1,2023-06-04,0xb9cf9af8c09ee4b01f7998e4d09b5732e3d59db577453d8f649c3368a5be4723,3,0x7102dc82ef61bfb0410b1b1bf8ea74575bf0a105,16740.414870869491102082,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,349.842891200744390656 -ethereum,xchange,1,2023-06-04,0xdca9e79f3d41644b579994c0e62f73e8741605b85bb9a80fcc6d173180fd891c,26,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,264.386114548212846651,0x7103ebdbf1f89be2d53eff9b3cf996c9e775c105,16740.857191421503408067 -ethereum,xchange,1,2023-06-12,0xf71d8fd364e2402eb11ba7bfbd9b59336e2b075571c1523d119f74a11a1986e3,170,0x117546d1467d80c6bde13910412c724383260cf9,345579.7727468311529198,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -ethereum,xchange,1,2023-06-12,0x7da422240ab88976df8c9694114daf8b8cfc335e1f851a8c175bca99e5e4cdcd,200,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.134508790612232095,0x117546d1467d80c6bde13910412c724383260cf9,477750.8030874053723140 -ethereum,xchange,1,2023-06-12,0x4eba2bbed2a473a3a6b2fbfc1d784940b5157afc285c35aff1200e491ea1346a,115,0xdbc7945c5403c589ec39a9aa8c5af234c706f6a2,14049529527.028758241707276441,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.1 -arbitrum,rubicon,1,2023-06-22,0xd8360d1c435e78ccb4dd69a09a86fcae9cbfd03be22880f375bc63f945f86105,9,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.000001,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0.045454 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,116,0x55d398326f99059ff775485246999027b3197955,616.3450112,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,2.4932 -bnb,maverick,1,2023-07-11,0x1ed037d4a55c43d54c152ef4e02bb64911ce4d6876ce9a2d3b0692866f8e92ee,112,0x55d398326f99059ff775485246999027b3197955,80.43094329,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3252 -bnb,maverick,1,2023-07-11,0xdcabb7f0bf4e3b5dd66cd5920bdac9aff12525bbf19cd6ff1fdaa580c13c91d2,284,0x55d398326f99059ff775485246999027b3197955,39.15345608,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.15791026 -bnb,maverick,1,2023-07-11,0x39e0ca81018ce7c7af3988d7c07b711bd0c388285f53b0d00a215e1aa5da2f33,239,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.007728228509,0x55d398326f99059ff775485246999027b3197955,1.919414559 -bnb,maverick,1,2023-07-11,0x840ba933291c56edf365f610145a3daaddca924d05cdbb854406bfd9e1456c5c,490,0x55d398326f99059ff775485246999027b3197955,0.09150513578,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.00037 -bnb,biswap,3,2023-07-04,0xf1e982bbc994157eb9166ff1dd38007563be61732e4d9cf68c9054c06172d914,388,0x55d398326f99059ff775485246999027b3197955,347.9115816,0x965f527d9159dce6288a2219db51fc6eef120dd1,3393.698051 -bnb,biswap,3,2023-07-04,0x374992d7f8a643561b0e2e81fba3476bed551ff56923cdb7249a6ed55f0048f9,62,0x55d398326f99059ff775485246999027b3197955,4250.697313,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,17.322 -bnb,biswap,3,2023-07-04,0x48f8c54608537fd65159b1ddd29816ecb8898d24d8db5d499081dc6d54ff970b,203,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,3.749781574,0x55d398326f99059ff775485246999027b3197955,918 -bnb,biswap,3,2023-07-04,0xc7eafa7888604093d5519a2781a11ccfc13a3886ff527a2d7994ab149736bc38,111,0x55d398326f99059ff775485246999027b3197955,432.8623893,0x965f527d9159dce6288a2219db51fc6eef120dd1,4211.332437 -bnb,biswap,3,2023-07-04,0x72d5dac9c7a76ac8a22f187904b7426b558679e7e67bf57d445c2843e76b7ce9,353,0x55d398326f99059ff775485246999027b3197955,2067.243048,0x965f527d9159dce6288a2219db51fc6eef120dd1,20000 -arbitrum,clipper,2,2023-08-18,0x1768f47e4c444d7c0ddd57a3443e7d33fac05e50f3fdd2df90ff2668ceec3b84,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.511516502316425216,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0.03255 -arbitrum,clipper,2,2023-08-18,0x90e3be5cdf42ec6b3a73ec3d05223eab42838ac30ad5cc74289f794af6b577f2,21,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.846399351080674428,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1414.806453 -arbitrum,clipper,2,2023-08-18,0x6b111ae4d162a9edc797aed817bb7c63c6dc822d1779cb81fa5b059ace8d4d9f,5,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.10982751402043816,0xaf88d065e77c8cc2239327c5edb3a432268e5831,183.36 -bnb,trader_joe,2.1,2023-07-28,0xb33ad6a6e11af49bab308fdee266792b9f2076ddc0ddda7a67f914a2f16b8556,414,0x55d398326f99059ff775485246999027b3197955,43.56323804,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.1813504168 -bnb,trader_joe,2.1,2023-07-28,0xd46f2e27a78eba9f1be4c977d455e6149a5378ff00c09ca688ecbc758a074d46,137,0x55d398326f99059ff775485246999027b3197955,79.36140925,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3298806352 -bnb,trader_joe,2.1,2023-07-28,0x83a45610d0c433efd31036beae942c56f622a8199e06af63504665aa77db5877,213,0x55d398326f99059ff775485246999027b3197955,84.52649753,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.3513502969 -bnb,trader_joe,2.1,2023-07-27,0xb82b8d676b6c1ee79634ca1c1cb581061c81c63f028145b67b299ea66d7bb236,115,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.01662917245,0x55d398326f99059ff775485246999027b3197955,3.9994 -bnb,trader_joe,2.1,2023-07-27,0x34e262e0bc312d589c71f35e75bcf77ae849804f46fdb18bec9b32a8b80e48d0,886,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0.004132442613,0x55d398326f99059ff775485246999027b3197955,0.99985 -arbitrum,pancakeswap,3,2023-08-10,0x5717320a6ee550e52766121090ee54b07b3709f4f0711cc92eebc0ef98254f83,3,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,11,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005948697782 -arbitrum,pancakeswap,2,2023-08-10,0x827d5b1184f9a6f635ef1a0a114a3c00f9a9ee365270c7650d780fb915803878,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.500654,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0002455680987 -arbitrum,pancakeswap,2,2023-08-10,0x83a33922c2a82f94f34cae0d4db5d5870f96591c1a934966f683f4cdc9b16874,5,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2627488973,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001916379656 -arbitrum,pancakeswap,2,2023-08-10,0xc3e422ff2d453e0f4e4e28a99ceb4ec86b63d7bd3326f79ca7e93c499c74337a,4,0x912ce59144191c1204e64559fe8253a0e49e6548,0.2425571142,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.00014 -arbitrum,pancakeswap,2,2023-08-10,0x1958fe5d2b768dff806749c4d029be07fd5a0e182d4de5e2328b84dbfac8520d,9,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.239277,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001 -arbitrum,pancakeswap,2,2023-08-10,0xb9cda996210e763e0edaa5489a276e96f4db35161b15b95407f95cfd4a8e2c79,10,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.221946,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001257329137 -base,uniswap,3,2023-08-12,0xc04be42e9fe8cfcbaa9aebab27c9b527b692473f89a7f8c0df6f09c8f5573cbc,10,0x8544fe9d190fd7ec52860abbf45088e81ee24a8c,,0x4200000000000000000000000000000000000006, -base,uniswap,3,2023-08-18,0x43c43e6b8316986ab3c14123c0e297e3f47891d1f17d16760cdd9e04be53d967,48,0x4200000000000000000000000000000000000006,,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, -base,sushiswap,1,2023-08-11,0x9a0de02d064c2093c18eb1fcf221c5d2f8ddbb959f152a50953ff7305d7487d3,33,0x4200000000000000000000000000000000000006,,0xeb466342c4d449bc9f53a865d5cb90586f405215, -gnosis,honeyswap,2,2023-08-21,0xe0945f4c866da125593006178aebc47ad709977fa1cef3267f2f393998096208,5,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,56.58785072313919,0x9c58bacc331c9aa871afd802db6379a98e80cedb,0.5544256540774396 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,34,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7,0x3a97704a1b25f08aa230ae53b352e2e72ef52843,0.000001006924689829 -gnosis,honeyswap,2,2023-08-21,0x61cb55ee2597cf986e9c7008d22dbed8a3199db268f1778640a7be6b69755ea5,37,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000026616366730299,0x9c58bacc331c9aa871afd802db6379a98e80cedb,2.61298539303e-7 -gnosis,honeyswap,2,2023-08-21,0x47b8a32f6fb1c87166640072a6e882be5751c9cf32bbb5bfbc0c6283b135d5c3,45,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.000003449911839519,0x524b969793a64a602342d89bc2789d43a016b13a,0.000124343025949923 -gnosis,honeyswap,2,2023-08-21,0xe9a4089db84306526abfab3fd1410a6b55104753b7a2cee09353ca4754bbfff6,9,0xe68856eb29b2fb39699286cca7f10f90ce8ae9de,0.003243743285956065,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,0.00001 -celo,uniswap,3,2023-07-26,0xb4c714f5f3ada0aab91354ea4f98b81d3f22b99a44bd1120064804375baaf0f1,39,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000000128752079,0x471EcE3750Da237f93B8E339c536989b8978a438,0.0000001651 -celo,uniswap,3,2023-07-24,0xfd97ff672aabdbd57b3ff7f51ec91b3170e946e5c6a93f4486c33b6a8619fac8,22,0x765DE816845861e75A25fCA122bb6898B8B1282a,0.000013520104342,0x471EcE3750Da237f93B8E339c536989b8978a438,0.00001732 -celo,uniswap,3,2023-09-01,0xa97e020130d49ce315764b2508064d6ff039f2448f2061bd6ba974179d09303f,12,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.000018520277777,0x471EcE3750Da237f93B8E339c536989b8978a438,0.000046 -celo,uniswap,3,2023-09-03,0x1450d020ee268a70b1794e0bb248604cf30b2f7510c6065e93cd4adaae20cf85,32,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,0.027461717078225,0x471EcE3750Da237f93B8E339c536989b8978a438,0.07 -celo,uniswap,3,2022-07-08,0x481633031a8e6c30fb13d788ff16bfe294adbc71c0cf7ae291a7798935eb789d,41,0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73,2.948959733277387,0x765DE816845861e75A25fCA122bb6898B8B1282a,3 -base,aerodrome,1,2023-08-29,0x7d759da49295695ec7cade65a7f8abbdf83d6f639efa03ad73533f46f387375e,21,0x9e53e88dcff56d3062510a745952dec4cefdff9e,949750.9264,0x4200000000000000000000000000000000000006,0.2 -base,aerodrome,1,2023-08-29,0x3c00dfe0b735b6c7f3dd302e41cdb5bc32fa64ce98b958ea2a99e9b868f24976,8,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,16.521567,0x4200000000000000000000000000000000000006,0.01 -base,aerodrome,1,2023-08-29,0x644579f1f66b20b7aacddc4300ea746963ef3c68c37b32d14c7a9f59a92d2151,17,0x9e53e88dcff56d3062510a745952dec4cefdff9e,1.59E+06,0x4200000000000000000000000000000000000006,0.3 -base,aerodrome,1,2023-08-29,0x552ae20fd4164aa9ef2a37616510c7dd54333733578a4af20074e81dc14af8ce,143,0x4200000000000000000000000000000000000006,0.06062542,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,100 -base,aerodrome,1,2023-08-29,0x8e6c892e94a991f843932a8b9af962f448d06c25addca4c608eef800aaf2ab70,16,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,170.841539,0x4200000000000000000000000000000000000006,0.1 -base,pancakeswap,3,2023-08-31,0x5c4a3562d59f1f93dc0957c343e76b35b6e950fe7ad5fbdf076cc22c8da8174e,28,0x4200000000000000000000000000000000000006,0.003720470707,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,6.343995 -base,pancakeswap,3,2023-08-31,0xea7b7bd6c573297654b851fe15360dcd00adb93fdfbff8a9a92335321afe9abf,4,0x4200000000000000000000000000000000000006,0.005807826327,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,9.580012 -base,pancakeswap,3,2023-09-01,0x6d95168e601891640fa88da905543ef7a462558b78ca18bf99db90eb1abc110f,26,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.41335,0x4200000000000000000000000000000000000006,0.0002522152926 -base,pancakeswap,3,2023-09-01,0x640b78e9b17af09de2fc40078be4b4f21b2972f88a9072d7efa409f12bfd5250,452,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2.937885,0x4200000000000000000000000000000000000006,0.001785943443 -base,pancakeswap,3,2023-09-01,0xbc5078838d0be6b2f8622cf083f5d4c9730d4ee634c187ed0c0a6433d134a50e,21,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,10,0x4200000000000000000000000000000000000006,0.006102659752 -base,pancakeswap,2,2023-08-31,0x9a02a20dca2bf9e479728cedbaa40aba6cbff9a0bb39d74acbe697d8f448e0a1,7,0x4200000000000000000000000000000000000006,0.004908297163,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,522.2112531 -base,pancakeswap,2,2023-08-31,0xc3dbd8776badacf03df41d3b465ec8ea39fe3eabd955d3a617f9f389a16dcceb,32,0x4200000000000000000000000000000000000006,0.002061983011,0x8fbd0648971d56f1f2c35fa075ff5bc75fb0e39d,236.8625742 -base,pancakeswap,2,2023-09-02,0xdc89e32ecf7ae2bec89917684fc4bfdd67810fd57a5233b08f99c72d82296613,11,0x4200000000000000000000000000000000000006,0.0009771073402,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,1.547626 -base,pancakeswap,2,2023-09-03,0x242eae02b5a66da57e2c3262ef4bac617cfb32b4a040b22bb2cdc516df520de6,5,0x4200000000000000000000000000000000000006,0.0005003577617,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.818416 -base,pancakeswap,2,2023-09-03,0x4bcf24191cfadc78f8d99c300c82fe203814e136cf0c3a628a889c3c0dfcd0b4,4,0x4200000000000000000000000000000000000006,0.0004002484217,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.653942 -celo,mento,1,2023-07-17,0x5da85d08a4baa9c78510bad37fc0cf9ef2045db2aa46e988a0dd82bb8212b2f4,100,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,20.956079931951415,0x471ece3750da237f93b8e339c536989b8978a438,40.605169743968546 -celo,mento,1,2023-07-12,0x3e4cdec526c199a166cf6cb20153c1497e8a644a0a41f1e697e895b9165548e8,20,0x471ece3750da237f93b8e339c536989b8978a438,800.0054,0x765de816845861e75a25fca122bb6898b8b1282a,395.59555761415027 -celo,mento,1,2023-07-09,0x2dd4a8ded11dc1c72ecc777ad46dac15c0d43d8a39c9ba3f27ce14e4484ed79e,9,0x765de816845861e75a25fca122bb6898b8b1282a,96.17799572228877,0x471ece3750da237f93b8e339c536989b8978a438,187.82965109563872 -celo,mento,1,2023-07-13,0x2f7be9a913a12c73eb45713140e4d3952153e90d3e81c26fbdd29726e164fee8,26,0x471ece3750da237f93b8e339c536989b8978a438,6.975571396935835,0x765de816845861e75a25fca122bb6898b8b1282a,3.3358208614857126 -celo,mento,1,2023-07-22,0xa1e3eb8c0b08d483915ddcb2921593cdf8e1a1eaf8ec2679bc5fe9fcbf179e6a,4,0xe8537a3d056da446677b9e9d6c5db704eaab4787,607.0101626243413,0x471ece3750da237f93b8e339c536989b8978a438,256 -celo,mento,2,2023-06-21,0xb91f34e839f46eb834105bab4b66eabe0bf47dd155fc30160da75a452a32d096,83,0x765de816845861e75a25fca122bb6898b8b1282a,445.2967749304183,0x471ece3750da237f93b8e339c536989b8978a438,1030 -celo,mento,2,2023-06-30,0xfd0f315871c06f18b2c6b0debc2a518d199aafae7b83d25567fd68e6dae811e7,106,0x471ece3750da237f93b8e339c536989b8978a438,100.38789463130256,0xe8537a3d056da446677b9e9d6c5db704eaab4787,210.92554896017592 -celo,mento,2,2023-06-21,0x534776eb975e06ff6d31674d397851105049c5dd35962a8f50b505ad45a9bede,133,0xeb466342c4d449bc9f53a865d5cb90586f405215,490.058081,0x765de816845861e75a25fca122bb6898b8b1282a,490.15611234048663 -celo,mento,2,2023-06-10,0x2ca1f551c2d7444069a391bcba4b203d675e68d09db37bbbee90350e55c4c34b,66,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,291.95751633951255,0x471ece3750da237f93b8e339c536989b8978a438,788.89 -celo,mento,2,2023-06-22,0x5e7703f4b32df24f6c5c3539028e09f37bdbd174b00d6da565ecc1c54ba4f39d,58,0x471ece3750da237f93b8e339c536989b8978a438,189.2299185313668,0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73,76.73486063607002 -base,dodo,2_dpp,2023-08-24,0x8d284b3f21f9fae6bfffa14d0396c735b986accea585fe845d8e34b1e130d349,30,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0.08111752951130441,0x4200000000000000000000000000000000000006,135.73585 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,46,0xa8d0e6799ff3fd19c6459bf02689ae09c4d78ba7,4.139726896e-09,0x471ece3750da237f93b8e339c536989b8978a438,1e-08 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,85,0x471ece3750da237f93b8e339c536989b8978a438,0.011131926416824384,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.004629938972936026 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,57,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859808034948372,0x64defa3544c695db8c535d289d843a189aa26b98,0.00031599070221135 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,65,0x98587fa3fe8ae28ace515281c1fec1e992a7f214,0.002284075177457273,0x64defa3544c695db8c535d289d843a189aa26b98,0.001859901297288047 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,79,0xe273ad7ee11dcfaa87383ad5977ee1504ac07568,0.00342165606916204,0x918146359264c492bd6934071c6bd31c854edbc3,0.003661695659348901 -celo,ubeswap,1,2023-09-21,0xe1d99a46df999d4097da812472101e3fb6b91ddc38cc02abfcbf87307d705f69,71,0x918146359264c492bd6934071c6bd31c854edbc3,0.001781202060105895,0x918146359264c492bd6934071c6bd31c854edbc3,2.2958504411753e-05 -optimism,opx_finance,1,2023-09-14,0x2fc2351426e105434af65e0e2f1faa992c7285748e5938133bf03f99aa64a4d0,9,0x7f5c764cbc14f9669b88837ca1490cca17c31607,385.924225,0x4200000000000000000000000000000000000006,0.239356245490566881 -optimism,opx_finance,1,2022-11-04,0x66e3aba1a244fe17e3ff45be045c1318a8957e150e811bc19ecfad0f203b6de0,11,0x7f5c764cbc14f9669b88837ca1490cca17c31607,10.936762,0x4200000000000000000000000000000000000006,0.0068 -optimism,opx_finance,1,2023-02-03,0x6c81ff042560bb6583a1646ff37ad07cd4e96594381235c50d836966a544d354,8,0x7f5c764cbc14f9669b88837ca1490cca17c31607,14.070861,0x4200000000000000000000000000000000000042,5 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,29,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468,0x471ece3750da237f93b8e339c536989b8978a438,35.37827374653412 -celo,sushiswap,1,2023-09-15,0xd932e433b0f672f29af0490b5304361095ea3ce2096f824c495dfae5bf72e026,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.008584151286614612,0x471ece3750da237f93b8e339c536989b8978a438,31.755965948104855 -celo,sushiswap,1,2023-09-15,0x157447e41e81e05ba65c69caac7d56200f371a977ee5c841dfeec683317b98fb,38,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.015146900389257045,0x765de816845861e75a25fca122bb6898b8b1282a,23.8728179530718 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,21,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.03129519531871116,0x471ece3750da237f93b8e339c536989b8978a438,114.90811086228412 -celo,sushiswap,1,2023-09-15,0x1c030237cdd13c3fefabd7e95cc51cc5ba77e003127615fd92ec5ae852c51ef8,23,0x765de816845861e75a25fca122bb6898b8b1282a,15.255434965463113,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.009567356764263468 -celo,sushiswap,1,2023-09-15,0x76c03c7f772668dd72fb1143ba4ad89cb144da742e651f4cbbc8245388e0f539,26,0x765de816845861e75a25fca122bb6898b8b1282a,49.42283255941517,0x122013fd7df1c6f636a5bb8f03108e876548b455,0.031295195318706094 -arbitrum,trader_joe,2.1,2023-09-27,0xa0c3a8baeb889f57962e1f90f02878c52bc2703923ea44d6c32b54ac85a182fa,4,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1000.850315,0xaf88d065e77c8cc2239327c5edb3a432268e5831,999.9975 -arbitrum,trader_joe,2,2023-02-25,0x0089a8b75a142474502974fa9a69d69bf007d7fcd760df9e78e1e38cdc63a8bd,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.119172119245068251,0x371c7ec6d8039ff7933a2aa28eb827ffe1f52f07,748.500000000000004917 -ethereum,mauve,1,2023-09-14,0x9287ef89d064846c961ae2102b32cf1327bc5b26bde1ae0f9c884f6dec6b73e9,485,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.05361889288401018,0xbe9895146f7af43049ca1c1ae358b0541ea49704,0.05 -ethereum,mauve,1,2023-09-13,0x7f71f44e295edd95a55425e96e8a05e5059908f2cabbe53497b7657037ac6c31,102,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.007446710798914315 -ethereum,mauve,1,2023-09-14,0xcc62f06a8c9b4351ebb510d178fc68fe946bba1cd05244db92de76fd62a824b7,200,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,16.83761,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.01 -ethereum,mauve,1,2023-09-14,0x94993dbf07f4ef0bf38a15a303182a3dbd0ef4525f09c4be0f2babbb5be2e2aa,236,0x1abaea1f7c830bd89acc67ec4af516284b1bc33c,1758.083836,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,1850 -optimism,openxswap,1,2023-02-24,0xaed44713142d008b7771dbd844dc04996fdf84d2a759b18000fbbd1cedda9ee2,7,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,2234.6467852361957,0x4200000000000000000000000000000000000006,0.30264897056 -optimism,openxswap,1,2023-02-24,0x2ab499560940eec712e662231d9a0dc39199c592ee4f651cfc5fe26ae60ded20,13,0x4200000000000000000000000000000000000006,1.0286444738988605,0x4200000000000000000000000000000000000042,544.7762488522358 -optimism,openxswap,1,2023-04-15,0x4083325e7db95f35ef9e425ee7cf550ca7504af92355f214af8071d70659a9df,8,0x4200000000000000000000000000000000000006,0.004769354772713511,0x7f5c764cbc14f9669b88837ca1490cca17c31607,9.994 -arbitrum,camelot,3,2023-10-15,0x939231c21d47605a86fce8536da3cfb556a7ca4334e3f1963a23006633597f03,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.01 -arbitrum,camelot,3,2023-10-15,0xe12624f375d78828270cf0b84757b6c1e3fd2a8efddb3c25cac301fe5bfb71ae,6,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee,,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.168 -arbitrum,camelot,3,2023-10-15,0x810b6259d2171ca029a3ddb86dfbf682a9306443424082198afe63050fc699a9,6,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.02553995037289231,0x2ac2b254bc18cd4999f64773a966e4f4869c34ee, -optimism,wardenswap,2,2022-09-21,0x2c44ca40b62d3154a01796de00696cba3a3247ab5124ddd263165cf4b470fc4c,43,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,529.0905775854186,0x4200000000000000000000000000000000000006,0.4280560649800964 -optimism,wardenswap,2,2022-07-27,0xd025c68690340c035e9b9b5e3d53435c2f301a3f9e6a7bdceb7cb9a82bf28174,20,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,16.093947010513283,0x3c8b650257cfb5f272f799f5e2b4e65093a11a05,270 -optimism,wardenswap,2,2022-06-26,0x2084856c984f51a9a9bd377bfbc6ce78be410cc8c9b2836282b83b1dc2b2d677,16,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1393.326394,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1397.048637 -optimism,openocean,2,2023-09-04,0x1c2bc7857ce9acd8d6b018eea4b2e2affbda61e56916161b4348ef0603ff7935,23,0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6,82.11154686585886,0x7f5c764cbc14f9669b88837ca1490cca17c31607,500.376315 -optimism,openocean,2,2023-06-30,0x4a823ca5c73264723a1326c9d3dedd0f1b2bbbc446e7f2c71ac5c998234b8ca2,9,0x1db2466d9f5e10d7090e7152b68d62703a2245f0,14.714535262567255,0x7f5c764cbc14f9669b88837ca1490cca17c31607,2 -optimism,openocean,2,2022-08-03,0x13875f629d4c608d034411333bf0f0095fb6ac41c219163ed8d359805a63fa05,25,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,11.319842,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,11.265711412351504 -celo,curve,1,2023-10-17,0x4cef035b424859b5d61b1da3c2f03febd83f03083c764fa1af860bf4e26d28b3,16,0x37f750b7cc259a2f741af45294f6a16572cf5cad,118810.850166,0x765de816845861e75a25fca122bb6898b8b1282a,118999.79999999999 -celo,curve,1,2023-10-15,0x0a524624a533492b91c1204004589225f697d37bf63af60fde884b226e8b1f26,14,0x37f750b7cc259a2f741af45294f6a16572cf5cad,10.329967,0x765de816845861e75a25fca122bb6898b8b1282a,10.34099704814135 -celo,curve,1,2023-10-16,0xba430c475c9ee7e8bd17c760f6a7833b0779781092033de73ca1bf3f7e86e7f8,43,0x37f750b7cc259a2f741af45294f6a16572cf5cad,5.189966,0x765de816845861e75a25fca122bb6898b8b1282a,5.197918504908161 -celo,curve,1,2023-10-15,0x28500eb8fe60219ee750bbea028e4ace3259aae1f350727c97311be3ac579dd4,13,0x37f750b7cc259a2f741af45294f6a16572cf5cad,432.240793,0x765de816845861e75a25fca122bb6898b8b1282a,432.6936029057536 -optimism,openocean,2,2023-05-30,0xc97e676905d6d2763fa55ac9aac6d6d85f6597901cf34711d6b65981b0cb0f75,7,0x7f5c764cbc14f9669b88837ca1490cca17c31607,3.193448,0x4200000000000000000000000000000000000006,0.00167453389173889 -optimism,openocean,2,2023-11-07,0xde2d7e6f02cfce8eb8a1bb752ce956cfcf81b7bf8380490bcdfeab9694b4e5ad,15,0x8700daec35af8ff88c16bdf0418774cb3d7599b4,2.9738578135579843,0x4200000000000000000000000000000000000006,0.003958725899153863 -optimism,openocean,2,2023-07-31,0x92188637370c0bf3595ae4bef248db90f43167483320fc9b21adb016cfb84e76,81,0x8b21e9b7daf2c4325bf3d18c1beb79a347fe902a,1438.894027919516,0x4200000000000000000000000000000000000042,14.86875 -base,maverick,1,2023-10-24,0xf76389f7730beb6a51a3e1881b0a9139fe8ec07d8403061fd52d5aaf1357ad00,12,0x50c5725949a6f0c72e6c4a641f24049a917db0cb,2955.014794642196128309,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,2954.059434 -optimism,woofi,1,2023-06-21,0x2e968976942bbbd2a843a1b3d2b8c344f4f0b705d6e8d1d3742078b6fab28b10,38,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.628553,0x4200000000000000000000000000000000000006,0.0009 -optimism,woofi,1,2023-07-30,0x58b21db3dc2a145b8c844471310eebdc85fdf3ec8820d4a6ea526bc1f735aec0,15,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.102243,0x4200000000000000000000000000000000000042,0.06525080616397874 -optimism,woofi,1,2023-06-07,0x203dbe62e1896dc9892dae69e7c4dbdc7c491d775923fb44a094c45b916a9946,12,0x4200000000000000000000000000000000000042,8.853725019194362,0x7f5c764cbc14f9669b88837ca1490cca17c31607,13.180901 -zksync,maverick,1,2023-10-23,0xbe2700aac1174728513863a4f42d37aa9ac7a7d73389fa00a5abcfbd3570d5a6,4,0x2039bb4116B4EFc145Ec4f0e2eA75012D6C0f181,1.723727835619188444,0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4,1.7232 -arbitrum,1inch LOP,1,2021-09-24,0xfaebdcb7948f7141d05709373681b0e04c0672051b072db49268066c5ed146b6,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.0001,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.308879 -arbitrum,1inch LOP,2,2021-12-10,0x1c7b1db733029cdfefa5d33372061dcf392e6ddd668774306f7e80c6057d9631,1,0x0e15258734300290a651fdbae8deb039a8e7a2fa,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0.63023 -arbitrum,1inch LOP,3,2022-11-25,0x5c8b58d7b37384216431a6fd41f424f1a750b4cb28c0a891d313454590cb1046,1,0xbfa641051ba0a0ad1b0acf549a89536a0d76472e,1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,1 -arbitrum,1inch LOP,3 RFQ,2023-04-26,0x51b8f0aeaa4944927bf2c1c4c8c379fcfb7e7a3cdcd5389a424d8cecdb1a9b4e,1,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0.005639386973373932,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,10.995641 -avalanche_c,1inch LOP,2,2022-01-18,0x17648dc902706d6d6e169087fdd0d5d9ed9c0a13a568ec8a48051f0b1ba5c908,1,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,5,0xc7198437980c041c805a1edcba50c1ce5db95118,4.992058 -avalanche_c,1inch LOP,2 RFQ,2022-01-24,0xb2b5c36e970b5b7bcdc90cfe4f62200c2f3f30cbdbfc05dbaea5d1539ad6280c,1,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.02,0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664,47.776 -avalanche_c,1inch LOP,3,2022-11-30,0x7f208a0a570fb7276214dc4db47080a2aa90447fc7e5113ee3bda6cf694f7b0f,1,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,7.724e-05,0xc7198437980c041c805a1edcba50c1ce5db95118,0.001 -base,1inch LOP,3,2023-08-16,0x30231210e1afdc76c1cddd2576a52aa1ea98457297e62c902a7a5aa5bd7e9791,1,0x4200000000000000000000000000000000000006,0.001,0xeb466342c4d449bc9f53a865d5cb90586f405215,1.823264 -bnb,1inch LOP,1,2021-06-03,0x660036450cb8728a2ac5f2deb22bff8758af26aa099d4d0dbbae609093f47795,1,0x111111111117dc0aa78b770fa6a738034120c302,0.01,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,8.240829737963e-05 -bnb,1inch LOP,1 RFQ,2021-06-07,0x0205753c08d2642e2a12525ac0949d078a99e02ee87e559456245be24dc6803a,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,3.8,0x111111111117dc0aa78b770fa6a738034120c302,1 -bnb,1inch LOP,2,2021-12-06,0x9d7783360204258b9f2307f4ce4970f8de2a6d67db9b0b6215b9a0dcc39d0eff,1,0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3,2.1,0x111111111117dc0aa78b770fa6a738034120c302,0.5 -bnb,1inch LOP,2 RFQ,2021-11-10,0x582066cd36fe1535334a05de5203025a0abadb6d2fb07542dba06d79b9fcb121,1,0x55d398326f99059ff775485246999027b3197955,2e-14,0xe9e7cea3dedca5984780bafc599bd69add087d56,1e-14 -bnb,1inch LOP,3,2022-11-21,0x76952e9657a210fa51de9d0caf38cb66a4e594b8963790e9e282321b0608d560,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,1,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,1 -bnb,1inch LOP,3 RFQ,2023-04-26,0x25086a72ce6a3cf12f836808a97c05432dae39fe74947fa2b9d0129bb47cceea,1,0xe9e7cea3dedca5984780bafc599bd69add087d56,188.91263865081478,0x2170ed0880ac9a755fd29b2688956bd959f933f8,0.09669320051055542 -ethereum,1inch LOP,1,2021-06-08,0x7430839c7a467a4946b2723bdb8d54d4bfeb72a54fbee988a184fc6ccee0c8fe,1,0xdac17f958d2ee523a2206206994597c13d831ec7,15,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.005705137173652603 -ethereum,1inch LOP,1 RFQ,2021-06-24,0x17eedf52cd16e9a2a6cf7dcd0ea60f07b25d9b972564542b702cd86301270bc4,1,0x6b175474e89094c44da98b954eedeac495271d0f,1.23e-16,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,1.23e-16 -ethereum,1inch LOP,2,2021-12-09,0x72e2bd374bad0f3ba7844edb0ddabcd3bf2b0b04c082e9eafc2e1e705d6d111a,1,0x111111111117dc0aa78b770fa6a738034120c302,1,0x888888435fde8e7d4c54cab67f206e4199454c60,1.8550742510066875 -ethereum,1inch LOP,2 RFQ,2021-11-12,0x3069e869f54a593d282f6d72e78c16638555bbb460ce09376f3b969a49740eb9,1,0xdac17f958d2ee523a2206206994597c13d831ec7,100,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.0217122261545476 -ethereum,1inch LOP,3,2022-11-15,0xd6f31e37e9a2bdf79f9e08a3a1aff7aa27b6f33fad8e34506930058f944944eb,1,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0.000794199483325101,0x6b175474e89094c44da98b954eedeac495271d0f,1 -ethereum,1inch LOP,3 RFQ,2022-11-28,0x6daff653b30efeda718d49eb9b6e30b42298603dba0722bbb035f797ef8420bc,1,0x4d224452801aced8b2f0aebe155379bb5d594381,919.1542838365331,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,3799.290434 -fantom,1inch LOP,2 RFQ,2022-04-12,0x23a0a583070aedd2ab9a8dd8984b431751469932d6423cedada0a550b25a266f,1,0x049d68029688eabf473097a2fc38ef61633a3c7a,20,0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83,16.89972442886853 -fantom,1inch LOP,3,2022-11-20,0x60219b7e2fea63be636203aa8feaeaae96edd76514aebe8042cd23204ac522e7,1,0x04068da6c83afcfa0e13ba15a6696662335d5b75,0.999842,0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e,1 -gnosis,1inch LOP,2,2022-01-17,0xb0bfe04bdc2a2492173d561b19bbba1ccb0fda47050e6c3b25244e133e1e6977,1,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,1.9896530579786145 -gnosis,1inch LOP,3,2022-11-25,0xd94d1559f1c5bf2647da93659003d2dfab158ead080b79837c5a28e9d9160c7b,1,0xe91d153e0b41518a2ce8dd3d7944fa863463a97d,2,0x4ecaba5870353805a9f068101a40e0f32ed605c6,2 -optimism,1inch LOP,2,2022-08-09,0xdb2a1b694452ef009cf8899ad6e8bae2b18c84fc75e293a9508a5633bda26f79,1,0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9,1,0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921,1.3430288208555679 -optimism,1inch LOP,3,2022-11-25,0x7a40bb7f50e59c5e673afe94e8733494243acd0877d227a809aa9ba1c16ba33d,1,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1,0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc,12 -polygon,1inch LOP,1,2021-06-10,0x4ec29b58b188d26022191edd51af35f155b9edec5e79303fd78b3aef0400e8bb,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,8,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,2.6666666666666665 -polygon,1inch LOP,1 RFQ,2021-06-21,0x30e49b6e23145b5904bc1cd776a65ad2309e61e95c00c0b452cbf578e957b2aa,1,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,20,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.010257304255126252 -polygon,1inch LOP,2,2021-12-16,0x9f883ed622c357df0756ea6552c525b1fef3ccdd785772a0a27acb3e83b147a9,1,0x8f3cf7ad23cd3cadbd9735aff958023239c6a063,0.612715402673482,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.61342 -polygon,1inch LOP,2 RFQ,2022-04-08,0x7f4d4290f3b5fd42d8c148457aa0c5b0ae5ad6a52f538eb7d1f611a6551224a1,1,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,15,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,22.0248 -polygon,1inch LOP,3,2022-11-16,0x4367e740ccdaf64bb9300d64ce071c691ecc305c2f1ac5aff3f7ba3fe19f82c8,1,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0.0747847780830808,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,100 -polygon,1inch LOP,3 RFQ,2022-11-24,0x5fc98b8f538e6258f554039c182aa9094b2d3f83293812ad86a8ec8ffe122092,1,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0.02,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,0.01 -zksync,1inch LOP,3,2023-04-25,0xce890512f93dd7d2f1576214025a384a7e4d77d0696f7586b08aa7f2abbb3666,1,0x85d84c774cf8e9ff85342684b0e795df72a24908,473.99490916145186,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.021538506874320695 -zksync,1inch LOP,3 RFQ,2023-05-02,0x96a6f0a3b6dca895ae56ad55b14366f9ec0993409754caad26c0921598beebf8,1,0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4,42.322852,0x5aea5775959fbc2557cc8789bc1bf90a239d9a91,0.023143049624060132 -avalanche_c,uniswap,3,2023-11-11,0x3fd0df30055592268a66399a4d958ae6aaa957cab7442c0ecc60d7257a156261,7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,497.409883,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,34.17977416 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,14,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1379.142478 -avalanche_c,uniswap,3,2023-11-11,0x79cc2e2b8543ae7b5215f9f389069106061efc619fa23437b5662d81fac2d8dc,2,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,661.400762,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,46 -avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4062f8e9667dc0eab524,16,0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab,0.6729956329,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,95.79678643 -avalanche_c,uniswap,3,2023-11-11,0x41b6ec0e3ba96f6c72bab7954353152ba44904bd61232f91e824c9a74495b1e4,2,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,600.415091,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,41.78982883 -optimism,mummy_finance,1,2023-06-20,0xcb520a60a0eae0a5a7b9e5658345151a370ef9c236072db32d9b3212ee24a496,36,0x4200000000000000000000000000000000000042,793.6112352289659,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1048.751532 -optimism,mummy_finance,1,2023-06-30,0x671265ebe5dd61134633adf575ba80faec6be090271351ad79fed7c0f5468d50,65,0x4200000000000000000000000000000000000006,0.37616451992981625,0x4200000000000000000000000000000000000042,525.2047826760436 -optimism,mummy_finance,1,2023-06-09,0xd7cadb14f39a79bf0ca3ea0ebf9aa85caa1465da154010294ee502942a8de5d4,21,0x4200000000000000000000000000000000000006,1.530834771081591,0x4200000000000000000000000000000000000042,2097.160814236567 -optimism,hashflow,1,2023-04-13,0x0c2c4ed714220d38b0f93b13398e7bd7454120a07a1188095a740afc055e85dd,5,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,1.0942802244,0x7f5c764cbc14f9669b88837ca1490cca17c31607,1.0945 -optimism,hashflow,1,2023-07-26,0xc5237e5f00c0f8059bf9d21edca6f541fdd3e11331e0204aa3792be7d71742f8,54,0x4200000000000000000000000000000000000006,0.22758095181286583,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,425.593457 -optimism,hashflow,1,2022-10-26,0xa4cc224376e71b43c83a9913f466986d2b51f0b0bd5e6102d2e93ade474991d8,1,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0.999996,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,1 -avalanche_c,trader_joe,2.1,2023-08-17,0x3eccbee27f56c671eccd2ad82fca3b0448053d8d978a2003025817529b33c47a,5,0xc7198437980c041c805a1edcba50c1ce5db95118,154.777492,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,154.714055 -avalanche_c,trader_joe,2.1,2023-08-17,0xd74525e25428aa4d32f129511ed8349516aeff791691277551663ad944fafeed,2,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,100.00000003864702,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,1120.132837 -avalanche_c,trader_joe,2.1,2023-08-17,0xbacddb47282c250d7126995a0a32a77e2be8c98e69b85c7dd3ef9cdb295b5084,8,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,8.961454748219834,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,99.979979 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,14,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,7427.555309,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,672.1804038165711 -avalanche_c,trader_joe,2.1,2023-08-17,0x29946138727b0557036d93d5b4c81f95175e711ce8ab443d2f6b1b1c8c92786e,13,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,0.847235,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0.07651931900157347 From 2031a2521fa9e4c0f26d8a268ded6da896e5bb76 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Fri, 14 Jun 2024 12:11:22 -0400 Subject: [PATCH 60/63] organize macros --- dex/macros/models/{ => _project}/airswap_compatible_trades.sql | 0 dex/macros/models/{ => _project}/balancer_compatible_trades.sql | 0 dex/macros/models/{ => _project}/clipper_compatible_trades.sql | 0 dex/macros/models/{ => _project}/dodo_compatible_trades.sql | 0 dex/macros/models/{ => _project}/kyberswap_compatible_trades.sql | 0 dex/macros/models/{ => _project}/maverick_compatible_trades.sql | 0 dex/macros/models/{ => _project}/openocean_compatible_trades.sql | 0 dex/macros/models/{ => _project}/trader_joe_compatible_trades.sql | 0 dex/macros/models/{ => _project}/uniswap_compatible_trades.sql | 0 dex/macros/models/_project/{yield_yak => }/yield_yak_trades.sql | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename dex/macros/models/{ => _project}/airswap_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/balancer_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/clipper_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/dodo_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/kyberswap_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/maverick_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/openocean_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/trader_joe_compatible_trades.sql (100%) rename dex/macros/models/{ => _project}/uniswap_compatible_trades.sql (100%) rename dex/macros/models/_project/{yield_yak => }/yield_yak_trades.sql (100%) diff --git a/dex/macros/models/airswap_compatible_trades.sql b/dex/macros/models/_project/airswap_compatible_trades.sql similarity index 100% rename from dex/macros/models/airswap_compatible_trades.sql rename to dex/macros/models/_project/airswap_compatible_trades.sql diff --git a/dex/macros/models/balancer_compatible_trades.sql b/dex/macros/models/_project/balancer_compatible_trades.sql similarity index 100% rename from dex/macros/models/balancer_compatible_trades.sql rename to dex/macros/models/_project/balancer_compatible_trades.sql diff --git a/dex/macros/models/clipper_compatible_trades.sql b/dex/macros/models/_project/clipper_compatible_trades.sql similarity index 100% rename from dex/macros/models/clipper_compatible_trades.sql rename to dex/macros/models/_project/clipper_compatible_trades.sql diff --git a/dex/macros/models/dodo_compatible_trades.sql b/dex/macros/models/_project/dodo_compatible_trades.sql similarity index 100% rename from dex/macros/models/dodo_compatible_trades.sql rename to dex/macros/models/_project/dodo_compatible_trades.sql diff --git a/dex/macros/models/kyberswap_compatible_trades.sql b/dex/macros/models/_project/kyberswap_compatible_trades.sql similarity index 100% rename from dex/macros/models/kyberswap_compatible_trades.sql rename to dex/macros/models/_project/kyberswap_compatible_trades.sql diff --git a/dex/macros/models/maverick_compatible_trades.sql b/dex/macros/models/_project/maverick_compatible_trades.sql similarity index 100% rename from dex/macros/models/maverick_compatible_trades.sql rename to dex/macros/models/_project/maverick_compatible_trades.sql diff --git a/dex/macros/models/openocean_compatible_trades.sql b/dex/macros/models/_project/openocean_compatible_trades.sql similarity index 100% rename from dex/macros/models/openocean_compatible_trades.sql rename to dex/macros/models/_project/openocean_compatible_trades.sql diff --git a/dex/macros/models/trader_joe_compatible_trades.sql b/dex/macros/models/_project/trader_joe_compatible_trades.sql similarity index 100% rename from dex/macros/models/trader_joe_compatible_trades.sql rename to dex/macros/models/_project/trader_joe_compatible_trades.sql diff --git a/dex/macros/models/uniswap_compatible_trades.sql b/dex/macros/models/_project/uniswap_compatible_trades.sql similarity index 100% rename from dex/macros/models/uniswap_compatible_trades.sql rename to dex/macros/models/_project/uniswap_compatible_trades.sql diff --git a/dex/macros/models/_project/yield_yak/yield_yak_trades.sql b/dex/macros/models/_project/yield_yak_trades.sql similarity index 100% rename from dex/macros/models/_project/yield_yak/yield_yak_trades.sql rename to dex/macros/models/_project/yield_yak_trades.sql From 35a7261d1117eec19e57f75314a9a6542d23332b Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Fri, 14 Jun 2024 12:25:20 -0400 Subject: [PATCH 61/63] organize models --- .../labels/{ => arbitrum}/labels_balancer_v2_pools_arbitrum.sql | 0 .../{ => avalanche_c}/labels_balancer_v2_pools_avalanche_c.sql | 0 .../balancer/labels/{ => base}/labels_balancer_v2_pools_base.sql | 0 .../labels/{ => ethereum}/labels_balancer_v1_pools_ethereum.sql | 0 .../labels/{ => ethereum}/labels_balancer_v2_pools_ethereum.sql | 0 .../labels/{ => gnosis}/labels_balancer_v2_pools_gnosis.sql | 0 .../labels/{ => optimism}/labels_balancer_v2_pools_optimism.sql | 0 .../labels/{ => polygon}/labels_balancer_v2_pools_polygon.sql | 0 .../labels/{ => zkevm}/labels_balancer_v2_pools_zkevm.sql | 0 .../pools/{ => arbitrum}/balancer_v2_arbitrum_pools_fees.sql | 0 .../{ => avalanche_c}/balancer_v2_avalanche_c_pools_fees.sql | 0 .../balancer/pools/{ => base}/balancer_v2_base_pools_fees.sql | 0 .../pools/{ => ethereum}/balancer_v2_ethereum_pools_fees.sql | 0 .../balancer/pools/{ => gnosis}/balancer_v2_gnosis_pools_fees.sql | 0 .../pools/{ => optimism}/balancer_v2_optimism_pools_fees.sql | 0 .../pools/{ => polygon}/balancer_v2_polygon_pools_fees.sql | 0 .../balancer/pools/{ => zkevm}/balancer_v2_zkevm_pools_fees.sql | 0 dex/models/_projects/oneinch/{oneinch_schema.yml => _schema.yml} | 0 dex/models/addresses/{ => arbitrum}/dex_arbitrum_addresses.sql | 0 dex/models/addresses/{ => base}/dex_base_addresses.sql | 0 dex/models/addresses/{ => bnb}/dex_bnb_addresses.sql | 0 dex/models/addresses/{ => ethereum}/dex_ethereum_addresses.sql | 0 dex/models/addresses/{ => optimism}/dex_optimism_addresses.sql | 0 dex/models/addresses/{ => polygon}/dex_polygon_addresses.sql | 0 .../arbitrages/{ => arbitrum}/dex_arbitrum_atomic_arbitrages.sql | 0 .../{ => avalanche_c}/dex_avalanche_c_atomic_arbitrages.sql | 0 dex/models/arbitrages/{ => base}/dex_base_atomic_arbitrages.sql | 0 dex/models/arbitrages/{ => bnb}/dex_bnb_atomic_arbitrages.sql | 0 dex/models/arbitrages/{ => celo}/dex_celo_atomic_arbitrages.sql | 0 .../arbitrages/{ => ethereum}/dex_ethereum_atomic_arbitrages.sql | 0 .../arbitrages/{ => fantom}/dex_fantom_atomic_arbitrages.sql | 0 .../arbitrages/{ => gnosis}/dex_gnosis_atomic_arbitrages.sql | 0 .../arbitrages/{ => optimism}/dex_optimism_atomic_arbitrages.sql | 0 .../arbitrages/{ => polygon}/dex_polygon_atomic_arbitrages.sql | 0 .../arbitrages/{ => scroll}/dex_scroll_atomic_arbitrages.sql | 0 .../arbitrages/{ => zksync}/dex_zksync_atomic_arbitrages.sql | 0 dex/models/arbitrages/{ => zora}/dex_zora_atomic_arbitrages.sql | 0 dex/models/sandwiches/{ => arbitrum}/dex_arbitrum_sandwiched.sql | 0 dex/models/sandwiches/{ => arbitrum}/dex_arbitrum_sandwiches.sql | 0 .../sandwiches/{ => avalanche_c}/dex_avalanche_c_sandwiched.sql | 0 .../sandwiches/{ => avalanche_c}/dex_avalanche_c_sandwiches.sql | 0 dex/models/sandwiches/{ => base}/dex_base_sandwiched.sql | 0 dex/models/sandwiches/{ => base}/dex_base_sandwiches.sql | 0 dex/models/sandwiches/{ => bnb}/dex_bnb_sandwiched.sql | 0 dex/models/sandwiches/{ => bnb}/dex_bnb_sandwiches.sql | 0 dex/models/sandwiches/{ => celo}/dex_celo_sandwiched.sql | 0 dex/models/sandwiches/{ => celo}/dex_celo_sandwiches.sql | 0 dex/models/sandwiches/{ => ethereum}/dex_ethereum_sandwiched.sql | 0 dex/models/sandwiches/{ => ethereum}/dex_ethereum_sandwiches.sql | 0 dex/models/sandwiches/{ => fantom}/dex_fantom_sandwiched.sql | 0 dex/models/sandwiches/{ => fantom}/dex_fantom_sandwiches.sql | 0 dex/models/sandwiches/{ => gnosis}/dex_gnosis_sandwiched.sql | 0 dex/models/sandwiches/{ => gnosis}/dex_gnosis_sandwiches.sql | 0 dex/models/sandwiches/{ => optimism}/dex_optimism_sandwiched.sql | 0 dex/models/sandwiches/{ => optimism}/dex_optimism_sandwiches.sql | 0 dex/models/sandwiches/{ => polygon}/dex_polygon_sandwiched.sql | 0 dex/models/sandwiches/{ => polygon}/dex_polygon_sandwiches.sql | 0 dex/models/sandwiches/{ => scroll}/dex_scroll_sandwiched.sql | 0 dex/models/sandwiches/{ => scroll}/dex_scroll_sandwiches.sql | 0 dex/models/sandwiches/{ => zksync}/dex_zksync_sandwiched.sql | 0 dex/models/sandwiches/{ => zksync}/dex_zksync_sandwiches.sql | 0 dex/models/sandwiches/{ => zora}/dex_zora_sandwiched.sql | 0 dex/models/sandwiches/{ => zora}/dex_zora_sandwiches.sql | 0 63 files changed, 0 insertions(+), 0 deletions(-) rename dex/models/_projects/balancer/labels/{ => arbitrum}/labels_balancer_v2_pools_arbitrum.sql (100%) rename dex/models/_projects/balancer/labels/{ => avalanche_c}/labels_balancer_v2_pools_avalanche_c.sql (100%) rename dex/models/_projects/balancer/labels/{ => base}/labels_balancer_v2_pools_base.sql (100%) rename dex/models/_projects/balancer/labels/{ => ethereum}/labels_balancer_v1_pools_ethereum.sql (100%) rename dex/models/_projects/balancer/labels/{ => ethereum}/labels_balancer_v2_pools_ethereum.sql (100%) rename dex/models/_projects/balancer/labels/{ => gnosis}/labels_balancer_v2_pools_gnosis.sql (100%) rename dex/models/_projects/balancer/labels/{ => optimism}/labels_balancer_v2_pools_optimism.sql (100%) rename dex/models/_projects/balancer/labels/{ => polygon}/labels_balancer_v2_pools_polygon.sql (100%) rename dex/models/_projects/balancer/labels/{ => zkevm}/labels_balancer_v2_pools_zkevm.sql (100%) rename dex/models/_projects/balancer/pools/{ => arbitrum}/balancer_v2_arbitrum_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => avalanche_c}/balancer_v2_avalanche_c_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => base}/balancer_v2_base_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => ethereum}/balancer_v2_ethereum_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => gnosis}/balancer_v2_gnosis_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => optimism}/balancer_v2_optimism_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => polygon}/balancer_v2_polygon_pools_fees.sql (100%) rename dex/models/_projects/balancer/pools/{ => zkevm}/balancer_v2_zkevm_pools_fees.sql (100%) rename dex/models/_projects/oneinch/{oneinch_schema.yml => _schema.yml} (100%) rename dex/models/addresses/{ => arbitrum}/dex_arbitrum_addresses.sql (100%) rename dex/models/addresses/{ => base}/dex_base_addresses.sql (100%) rename dex/models/addresses/{ => bnb}/dex_bnb_addresses.sql (100%) rename dex/models/addresses/{ => ethereum}/dex_ethereum_addresses.sql (100%) rename dex/models/addresses/{ => optimism}/dex_optimism_addresses.sql (100%) rename dex/models/addresses/{ => polygon}/dex_polygon_addresses.sql (100%) rename dex/models/arbitrages/{ => arbitrum}/dex_arbitrum_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => avalanche_c}/dex_avalanche_c_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => base}/dex_base_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => bnb}/dex_bnb_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => celo}/dex_celo_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => ethereum}/dex_ethereum_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => fantom}/dex_fantom_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => gnosis}/dex_gnosis_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => optimism}/dex_optimism_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => polygon}/dex_polygon_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => scroll}/dex_scroll_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => zksync}/dex_zksync_atomic_arbitrages.sql (100%) rename dex/models/arbitrages/{ => zora}/dex_zora_atomic_arbitrages.sql (100%) rename dex/models/sandwiches/{ => arbitrum}/dex_arbitrum_sandwiched.sql (100%) rename dex/models/sandwiches/{ => arbitrum}/dex_arbitrum_sandwiches.sql (100%) rename dex/models/sandwiches/{ => avalanche_c}/dex_avalanche_c_sandwiched.sql (100%) rename dex/models/sandwiches/{ => avalanche_c}/dex_avalanche_c_sandwiches.sql (100%) rename dex/models/sandwiches/{ => base}/dex_base_sandwiched.sql (100%) rename dex/models/sandwiches/{ => base}/dex_base_sandwiches.sql (100%) rename dex/models/sandwiches/{ => bnb}/dex_bnb_sandwiched.sql (100%) rename dex/models/sandwiches/{ => bnb}/dex_bnb_sandwiches.sql (100%) rename dex/models/sandwiches/{ => celo}/dex_celo_sandwiched.sql (100%) rename dex/models/sandwiches/{ => celo}/dex_celo_sandwiches.sql (100%) rename dex/models/sandwiches/{ => ethereum}/dex_ethereum_sandwiched.sql (100%) rename dex/models/sandwiches/{ => ethereum}/dex_ethereum_sandwiches.sql (100%) rename dex/models/sandwiches/{ => fantom}/dex_fantom_sandwiched.sql (100%) rename dex/models/sandwiches/{ => fantom}/dex_fantom_sandwiches.sql (100%) rename dex/models/sandwiches/{ => gnosis}/dex_gnosis_sandwiched.sql (100%) rename dex/models/sandwiches/{ => gnosis}/dex_gnosis_sandwiches.sql (100%) rename dex/models/sandwiches/{ => optimism}/dex_optimism_sandwiched.sql (100%) rename dex/models/sandwiches/{ => optimism}/dex_optimism_sandwiches.sql (100%) rename dex/models/sandwiches/{ => polygon}/dex_polygon_sandwiched.sql (100%) rename dex/models/sandwiches/{ => polygon}/dex_polygon_sandwiches.sql (100%) rename dex/models/sandwiches/{ => scroll}/dex_scroll_sandwiched.sql (100%) rename dex/models/sandwiches/{ => scroll}/dex_scroll_sandwiches.sql (100%) rename dex/models/sandwiches/{ => zksync}/dex_zksync_sandwiched.sql (100%) rename dex/models/sandwiches/{ => zksync}/dex_zksync_sandwiches.sql (100%) rename dex/models/sandwiches/{ => zora}/dex_zora_sandwiched.sql (100%) rename dex/models/sandwiches/{ => zora}/dex_zora_sandwiches.sql (100%) diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql b/dex/models/_projects/balancer/labels/arbitrum/labels_balancer_v2_pools_arbitrum.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_arbitrum.sql rename to dex/models/_projects/balancer/labels/arbitrum/labels_balancer_v2_pools_arbitrum.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql b/dex/models/_projects/balancer/labels/avalanche_c/labels_balancer_v2_pools_avalanche_c.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_avalanche_c.sql rename to dex/models/_projects/balancer/labels/avalanche_c/labels_balancer_v2_pools_avalanche_c.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql b/dex/models/_projects/balancer/labels/base/labels_balancer_v2_pools_base.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_base.sql rename to dex/models/_projects/balancer/labels/base/labels_balancer_v2_pools_base.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql b/dex/models/_projects/balancer/labels/ethereum/labels_balancer_v1_pools_ethereum.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v1_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/ethereum/labels_balancer_v1_pools_ethereum.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql b/dex/models/_projects/balancer/labels/ethereum/labels_balancer_v2_pools_ethereum.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_ethereum.sql rename to dex/models/_projects/balancer/labels/ethereum/labels_balancer_v2_pools_ethereum.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql b/dex/models/_projects/balancer/labels/gnosis/labels_balancer_v2_pools_gnosis.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_gnosis.sql rename to dex/models/_projects/balancer/labels/gnosis/labels_balancer_v2_pools_gnosis.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql b/dex/models/_projects/balancer/labels/optimism/labels_balancer_v2_pools_optimism.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_optimism.sql rename to dex/models/_projects/balancer/labels/optimism/labels_balancer_v2_pools_optimism.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql b/dex/models/_projects/balancer/labels/polygon/labels_balancer_v2_pools_polygon.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_polygon.sql rename to dex/models/_projects/balancer/labels/polygon/labels_balancer_v2_pools_polygon.sql diff --git a/dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql b/dex/models/_projects/balancer/labels/zkevm/labels_balancer_v2_pools_zkevm.sql similarity index 100% rename from dex/models/_projects/balancer/labels/labels_balancer_v2_pools_zkevm.sql rename to dex/models/_projects/balancer/labels/zkevm/labels_balancer_v2_pools_zkevm.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql b/dex/models/_projects/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_arbitrum_pools_fees.sql rename to dex/models/_projects/balancer/pools/arbitrum/balancer_v2_arbitrum_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql b/dex/models/_projects/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_avalanche_c_pools_fees.sql rename to dex/models/_projects/balancer/pools/avalanche_c/balancer_v2_avalanche_c_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql b/dex/models/_projects/balancer/pools/base/balancer_v2_base_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_base_pools_fees.sql rename to dex/models/_projects/balancer/pools/base/balancer_v2_base_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql b/dex/models/_projects/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_ethereum_pools_fees.sql rename to dex/models/_projects/balancer/pools/ethereum/balancer_v2_ethereum_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql b/dex/models/_projects/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_gnosis_pools_fees.sql rename to dex/models/_projects/balancer/pools/gnosis/balancer_v2_gnosis_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql b/dex/models/_projects/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_optimism_pools_fees.sql rename to dex/models/_projects/balancer/pools/optimism/balancer_v2_optimism_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql b/dex/models/_projects/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_polygon_pools_fees.sql rename to dex/models/_projects/balancer/pools/polygon/balancer_v2_polygon_pools_fees.sql diff --git a/dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql b/dex/models/_projects/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql similarity index 100% rename from dex/models/_projects/balancer/pools/balancer_v2_zkevm_pools_fees.sql rename to dex/models/_projects/balancer/pools/zkevm/balancer_v2_zkevm_pools_fees.sql diff --git a/dex/models/_projects/oneinch/oneinch_schema.yml b/dex/models/_projects/oneinch/_schema.yml similarity index 100% rename from dex/models/_projects/oneinch/oneinch_schema.yml rename to dex/models/_projects/oneinch/_schema.yml diff --git a/dex/models/addresses/dex_arbitrum_addresses.sql b/dex/models/addresses/arbitrum/dex_arbitrum_addresses.sql similarity index 100% rename from dex/models/addresses/dex_arbitrum_addresses.sql rename to dex/models/addresses/arbitrum/dex_arbitrum_addresses.sql diff --git a/dex/models/addresses/dex_base_addresses.sql b/dex/models/addresses/base/dex_base_addresses.sql similarity index 100% rename from dex/models/addresses/dex_base_addresses.sql rename to dex/models/addresses/base/dex_base_addresses.sql diff --git a/dex/models/addresses/dex_bnb_addresses.sql b/dex/models/addresses/bnb/dex_bnb_addresses.sql similarity index 100% rename from dex/models/addresses/dex_bnb_addresses.sql rename to dex/models/addresses/bnb/dex_bnb_addresses.sql diff --git a/dex/models/addresses/dex_ethereum_addresses.sql b/dex/models/addresses/ethereum/dex_ethereum_addresses.sql similarity index 100% rename from dex/models/addresses/dex_ethereum_addresses.sql rename to dex/models/addresses/ethereum/dex_ethereum_addresses.sql diff --git a/dex/models/addresses/dex_optimism_addresses.sql b/dex/models/addresses/optimism/dex_optimism_addresses.sql similarity index 100% rename from dex/models/addresses/dex_optimism_addresses.sql rename to dex/models/addresses/optimism/dex_optimism_addresses.sql diff --git a/dex/models/addresses/dex_polygon_addresses.sql b/dex/models/addresses/polygon/dex_polygon_addresses.sql similarity index 100% rename from dex/models/addresses/dex_polygon_addresses.sql rename to dex/models/addresses/polygon/dex_polygon_addresses.sql diff --git a/dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql b/dex/models/arbitrages/arbitrum/dex_arbitrum_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_arbitrum_atomic_arbitrages.sql rename to dex/models/arbitrages/arbitrum/dex_arbitrum_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql b/dex/models/arbitrages/avalanche_c/dex_avalanche_c_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_avalanche_c_atomic_arbitrages.sql rename to dex/models/arbitrages/avalanche_c/dex_avalanche_c_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_base_atomic_arbitrages.sql b/dex/models/arbitrages/base/dex_base_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_base_atomic_arbitrages.sql rename to dex/models/arbitrages/base/dex_base_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql b/dex/models/arbitrages/bnb/dex_bnb_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_bnb_atomic_arbitrages.sql rename to dex/models/arbitrages/bnb/dex_bnb_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_celo_atomic_arbitrages.sql b/dex/models/arbitrages/celo/dex_celo_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_celo_atomic_arbitrages.sql rename to dex/models/arbitrages/celo/dex_celo_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql b/dex/models/arbitrages/ethereum/dex_ethereum_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_ethereum_atomic_arbitrages.sql rename to dex/models/arbitrages/ethereum/dex_ethereum_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql b/dex/models/arbitrages/fantom/dex_fantom_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_fantom_atomic_arbitrages.sql rename to dex/models/arbitrages/fantom/dex_fantom_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql b/dex/models/arbitrages/gnosis/dex_gnosis_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_gnosis_atomic_arbitrages.sql rename to dex/models/arbitrages/gnosis/dex_gnosis_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql b/dex/models/arbitrages/optimism/dex_optimism_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_optimism_atomic_arbitrages.sql rename to dex/models/arbitrages/optimism/dex_optimism_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql b/dex/models/arbitrages/polygon/dex_polygon_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_polygon_atomic_arbitrages.sql rename to dex/models/arbitrages/polygon/dex_polygon_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql b/dex/models/arbitrages/scroll/dex_scroll_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_scroll_atomic_arbitrages.sql rename to dex/models/arbitrages/scroll/dex_scroll_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql b/dex/models/arbitrages/zksync/dex_zksync_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_zksync_atomic_arbitrages.sql rename to dex/models/arbitrages/zksync/dex_zksync_atomic_arbitrages.sql diff --git a/dex/models/arbitrages/dex_zora_atomic_arbitrages.sql b/dex/models/arbitrages/zora/dex_zora_atomic_arbitrages.sql similarity index 100% rename from dex/models/arbitrages/dex_zora_atomic_arbitrages.sql rename to dex/models/arbitrages/zora/dex_zora_atomic_arbitrages.sql diff --git a/dex/models/sandwiches/dex_arbitrum_sandwiched.sql b/dex/models/sandwiches/arbitrum/dex_arbitrum_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_arbitrum_sandwiched.sql rename to dex/models/sandwiches/arbitrum/dex_arbitrum_sandwiched.sql diff --git a/dex/models/sandwiches/dex_arbitrum_sandwiches.sql b/dex/models/sandwiches/arbitrum/dex_arbitrum_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_arbitrum_sandwiches.sql rename to dex/models/sandwiches/arbitrum/dex_arbitrum_sandwiches.sql diff --git a/dex/models/sandwiches/dex_avalanche_c_sandwiched.sql b/dex/models/sandwiches/avalanche_c/dex_avalanche_c_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_avalanche_c_sandwiched.sql rename to dex/models/sandwiches/avalanche_c/dex_avalanche_c_sandwiched.sql diff --git a/dex/models/sandwiches/dex_avalanche_c_sandwiches.sql b/dex/models/sandwiches/avalanche_c/dex_avalanche_c_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_avalanche_c_sandwiches.sql rename to dex/models/sandwiches/avalanche_c/dex_avalanche_c_sandwiches.sql diff --git a/dex/models/sandwiches/dex_base_sandwiched.sql b/dex/models/sandwiches/base/dex_base_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_base_sandwiched.sql rename to dex/models/sandwiches/base/dex_base_sandwiched.sql diff --git a/dex/models/sandwiches/dex_base_sandwiches.sql b/dex/models/sandwiches/base/dex_base_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_base_sandwiches.sql rename to dex/models/sandwiches/base/dex_base_sandwiches.sql diff --git a/dex/models/sandwiches/dex_bnb_sandwiched.sql b/dex/models/sandwiches/bnb/dex_bnb_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_bnb_sandwiched.sql rename to dex/models/sandwiches/bnb/dex_bnb_sandwiched.sql diff --git a/dex/models/sandwiches/dex_bnb_sandwiches.sql b/dex/models/sandwiches/bnb/dex_bnb_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_bnb_sandwiches.sql rename to dex/models/sandwiches/bnb/dex_bnb_sandwiches.sql diff --git a/dex/models/sandwiches/dex_celo_sandwiched.sql b/dex/models/sandwiches/celo/dex_celo_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_celo_sandwiched.sql rename to dex/models/sandwiches/celo/dex_celo_sandwiched.sql diff --git a/dex/models/sandwiches/dex_celo_sandwiches.sql b/dex/models/sandwiches/celo/dex_celo_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_celo_sandwiches.sql rename to dex/models/sandwiches/celo/dex_celo_sandwiches.sql diff --git a/dex/models/sandwiches/dex_ethereum_sandwiched.sql b/dex/models/sandwiches/ethereum/dex_ethereum_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_ethereum_sandwiched.sql rename to dex/models/sandwiches/ethereum/dex_ethereum_sandwiched.sql diff --git a/dex/models/sandwiches/dex_ethereum_sandwiches.sql b/dex/models/sandwiches/ethereum/dex_ethereum_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_ethereum_sandwiches.sql rename to dex/models/sandwiches/ethereum/dex_ethereum_sandwiches.sql diff --git a/dex/models/sandwiches/dex_fantom_sandwiched.sql b/dex/models/sandwiches/fantom/dex_fantom_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_fantom_sandwiched.sql rename to dex/models/sandwiches/fantom/dex_fantom_sandwiched.sql diff --git a/dex/models/sandwiches/dex_fantom_sandwiches.sql b/dex/models/sandwiches/fantom/dex_fantom_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_fantom_sandwiches.sql rename to dex/models/sandwiches/fantom/dex_fantom_sandwiches.sql diff --git a/dex/models/sandwiches/dex_gnosis_sandwiched.sql b/dex/models/sandwiches/gnosis/dex_gnosis_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_gnosis_sandwiched.sql rename to dex/models/sandwiches/gnosis/dex_gnosis_sandwiched.sql diff --git a/dex/models/sandwiches/dex_gnosis_sandwiches.sql b/dex/models/sandwiches/gnosis/dex_gnosis_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_gnosis_sandwiches.sql rename to dex/models/sandwiches/gnosis/dex_gnosis_sandwiches.sql diff --git a/dex/models/sandwiches/dex_optimism_sandwiched.sql b/dex/models/sandwiches/optimism/dex_optimism_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_optimism_sandwiched.sql rename to dex/models/sandwiches/optimism/dex_optimism_sandwiched.sql diff --git a/dex/models/sandwiches/dex_optimism_sandwiches.sql b/dex/models/sandwiches/optimism/dex_optimism_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_optimism_sandwiches.sql rename to dex/models/sandwiches/optimism/dex_optimism_sandwiches.sql diff --git a/dex/models/sandwiches/dex_polygon_sandwiched.sql b/dex/models/sandwiches/polygon/dex_polygon_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_polygon_sandwiched.sql rename to dex/models/sandwiches/polygon/dex_polygon_sandwiched.sql diff --git a/dex/models/sandwiches/dex_polygon_sandwiches.sql b/dex/models/sandwiches/polygon/dex_polygon_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_polygon_sandwiches.sql rename to dex/models/sandwiches/polygon/dex_polygon_sandwiches.sql diff --git a/dex/models/sandwiches/dex_scroll_sandwiched.sql b/dex/models/sandwiches/scroll/dex_scroll_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_scroll_sandwiched.sql rename to dex/models/sandwiches/scroll/dex_scroll_sandwiched.sql diff --git a/dex/models/sandwiches/dex_scroll_sandwiches.sql b/dex/models/sandwiches/scroll/dex_scroll_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_scroll_sandwiches.sql rename to dex/models/sandwiches/scroll/dex_scroll_sandwiches.sql diff --git a/dex/models/sandwiches/dex_zksync_sandwiched.sql b/dex/models/sandwiches/zksync/dex_zksync_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_zksync_sandwiched.sql rename to dex/models/sandwiches/zksync/dex_zksync_sandwiched.sql diff --git a/dex/models/sandwiches/dex_zksync_sandwiches.sql b/dex/models/sandwiches/zksync/dex_zksync_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_zksync_sandwiches.sql rename to dex/models/sandwiches/zksync/dex_zksync_sandwiches.sql diff --git a/dex/models/sandwiches/dex_zora_sandwiched.sql b/dex/models/sandwiches/zora/dex_zora_sandwiched.sql similarity index 100% rename from dex/models/sandwiches/dex_zora_sandwiched.sql rename to dex/models/sandwiches/zora/dex_zora_sandwiched.sql diff --git a/dex/models/sandwiches/dex_zora_sandwiches.sql b/dex/models/sandwiches/zora/dex_zora_sandwiches.sql similarity index 100% rename from dex/models/sandwiches/dex_zora_sandwiches.sql rename to dex/models/sandwiches/zora/dex_zora_sandwiches.sql From 1672016368ec3ce66226ab8b6e0f70b4786a7ad9 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Fri, 14 Jun 2024 13:03:56 -0400 Subject: [PATCH 62/63] test full dex run --- .github/workflows/dbt_run.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dbt_run.yml b/.github/workflows/dbt_run.yml index 73edac44f15..ed761ae7ad6 100644 --- a/.github/workflows/dbt_run.yml +++ b/.github/workflows/dbt_run.yml @@ -51,10 +51,10 @@ jobs: run: "dbt seed $PROFILE --select @state:modified --exclude tag:prod_exclude tag:remove --state . --project-dir ${PROJECT_DIR}" - name: dbt run initial model(s) - run: "dbt -x run $PROFILE --select state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt -x run $PROFILE --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test initial model(s) - run: "dbt test $PROFILE --select state:new state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: Set environment variable for incremental model count run: | @@ -62,8 +62,8 @@ jobs: - name: dbt run incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt run $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt run $PROFILE config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt test $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE sconfig.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" From fe81130e9a9bda2332b529f2ab9cbd03982c17e2 Mon Sep 17 00:00:00 2001 From: jeff-dude Date: Fri, 14 Jun 2024 15:22:24 -0400 Subject: [PATCH 63/63] Revert "test full dex run" This reverts commit 1672016368ec3ce66226ab8b6e0f70b4786a7ad9. --- .github/workflows/dbt_run.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dbt_run.yml b/.github/workflows/dbt_run.yml index ed761ae7ad6..73edac44f15 100644 --- a/.github/workflows/dbt_run.yml +++ b/.github/workflows/dbt_run.yml @@ -51,10 +51,10 @@ jobs: run: "dbt seed $PROFILE --select @state:modified --exclude tag:prod_exclude tag:remove --state . --project-dir ${PROJECT_DIR}" - name: dbt run initial model(s) - run: "dbt -x run $PROFILE --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt -x run $PROFILE --select state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test initial model(s) - run: "dbt test $PROFILE --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE --select state:new state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: Set environment variable for incremental model count run: | @@ -62,8 +62,8 @@ jobs: - name: dbt run incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt run $PROFILE config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt run $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt test $PROFILE sconfig.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}"