bob-models/dbt_project.yml

167 lines
4.6 KiB
YAML
Raw Permalink Normal View History

2025-02-13 20:27:01 +00:00
# Name your project! Project names should contain only lowercase characters
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
2025-02-14 20:50:03 +00:00
name: "bob_models" # replace with the name of the chain
2025-02-13 20:27:01 +00:00
version: "1.0.0"
config-version: 2
# This setting configures which "profile" dbt uses for this project.
2025-02-14 20:50:03 +00:00
profile: "bob" # replace with the name of the chain
2025-02-13 20:27:01 +00:00
# These configurations specify where dbt should look for different types of files.
# The `source-paths` config, for example, states that models in this project can be
# found in the "models/" directory. You probably won't need to change these!
model-paths: ["models"]
analysis-paths: ["analysis"]
test-paths: ["tests"]
seed-paths: ["data"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
2025-03-06 09:27:50 +00:00
docs-paths:
["dbt_packages/fsc_evm/doc_descriptions", "models/doc_descriptions", "models"]
2025-02-13 20:27:01 +00:00
target-path: "target" # directory which will store compiled SQL files
clean-targets: # directories to be removed by `dbt clean`
- "target"
- "dbt_modules"
- "dbt_packages"
tests:
2025-02-14 20:50:03 +00:00
bob_models: # replace with the name of the chain
2025-02-13 20:27:01 +00:00
+store_failures: true # all tests
fsc_evm:
+store_failures: true
on-run-start:
- "{{ fsc_evm.create_sps() }}"
- "{{ fsc_evm.create_udfs() }}"
on-run-end:
2025-03-06 09:27:50 +00:00
- "{{ fsc_evm.apply_meta_as_tags(results) }}"
2025-02-13 20:27:01 +00:00
dispatch:
- macro_namespace: dbt
search_order:
2025-02-14 20:50:03 +00:00
- bob_models
2025-02-13 20:27:01 +00:00
- dbt_snowflake_query_tags
- dbt
query-comment:
2025-03-06 09:27:50 +00:00
comment: "{{ dbt_snowflake_query_tags.get_query_comment(node) }}"
2025-02-13 20:27:01 +00:00
append: true # Snowflake removes prefixed comments.
# Configuring models
# Full documentation: https://docs.getdbt.com/docs/configuring-models
models:
2025-02-14 20:50:03 +00:00
bob_models: # replace with the name of the chain
2025-02-13 20:27:01 +00:00
+copy_grants: true
+persist_docs:
relation: true
columns: true
+on_schema_change: "append_new_columns"
livequery_models:
+materialized: ephemeral
fsc_evm:
+enabled: false # disable fsc_evm package by default
+copy_grants: true
+persist_docs:
relation: true
columns: true
+on_schema_change: "append_new_columns"
2025-07-29 18:28:32 +00:00
+post-hook: "{{ fsc_evm.enable_change_tracking() }}"
2025-02-13 20:27:01 +00:00
main_package:
+enabled: false # disable main_package by default, enabled other packages as needed
2025-04-30 22:22:28 +00:00
admin:
+enabled: true
2025-02-13 20:27:01 +00:00
core:
+enabled: true # enable subpackages, as needed
2025-02-14 21:40:51 +00:00
github_actions:
2025-02-20 14:26:01 +00:00
+enabled: true
labels:
2025-02-14 21:40:51 +00:00
+enabled: true
2025-04-30 22:22:28 +00:00
observability:
+enabled: true
2025-02-13 20:27:01 +00:00
prices:
+enabled: true
2025-06-12 03:31:27 +00:00
token_reads:
+enabled: true
2025-04-30 22:22:28 +00:00
utils:
+enabled: true
2025-02-18 15:20:54 +00:00
decoder_package:
+enabled: false
abis:
+enabled: true
decoded_logs:
2025-02-19 15:40:52 +00:00
+enabled: true
2025-04-30 22:22:28 +00:00
curated_package:
+enabled: false
2025-07-29 11:39:56 +00:00
defi:
+enabled: false
bridge:
+enabled: true
dex:
+enabled: true
2025-08-27 17:33:28 +00:00
lending:
2025-08-27 18:44:16 +00:00
+enabled: false
gold:
2025-08-27 19:04:02 +00:00
+enabled: true
2025-08-27 18:44:16 +00:00
defi__ez_lending_flashloans:
+enabled: false
silver:
+enabled: false
protocols:
+enabled: true
complete_lending:
2025-08-27 19:04:02 +00:00
+enabled: true
2025-08-27 18:44:16 +00:00
silver_lending__complete_lending_flashloans:
+enabled: false
2025-11-24 16:30:27 +00:00
stablecoins:
+enabled: true
2025-04-30 22:22:28 +00:00
stats:
+enabled: true
chain_stats:
+enabled: true
2025-09-09 15:08:46 +00:00
balances_package:
+enabled: false
erc20:
+enabled: true
native:
+enabled: true
2025-02-20 14:16:17 +00:00
scores_package:
+enabled: true
2025-02-13 20:27:01 +00:00
vars:
"dbt_date:time_zone": GMT
STREAMLINE_INVOKE_STREAMS: False
STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES: False
UPDATE_UDFS_AND_SPS: False
UPDATE_SNOWFLAKE_TAGS: True
HEAL_MODEL: False
HEAL_MODELS: []
2025-03-06 09:27:50 +00:00
#### STREAMLINE 2.0 BEGIN ####
2025-02-13 20:27:01 +00:00
API_INTEGRATION: '{{ var("config")[target.name]["API_INTEGRATION"] if var("config")[target.name] else var("config")["dev"]["API_INTEGRATION"] }}'
EXTERNAL_FUNCTION_URI: '{{ var("config")[target.name]["EXTERNAL_FUNCTION_URI"] if var("config")[target.name] else var("config")["dev"]["EXTERNAL_FUNCTION_URI"] }}'
ROLES: |
["INTERNAL_DEV"]
config:
2025-03-06 09:27:50 +00:00
# The keys correspond to dbt profiles and are case sensitive
2025-02-13 20:27:01 +00:00
dev:
2025-02-14 20:50:03 +00:00
API_INTEGRATION: AWS_BOB_API_STG_V2
EXTERNAL_FUNCTION_URI: w8mcqakc59.execute-api.us-east-1.amazonaws.com/stg/
2025-02-13 20:27:01 +00:00
ROLES:
2025-02-14 20:50:03 +00:00
- AWS_LAMBDA_BOB_API
2025-02-13 20:27:01 +00:00
- INTERNAL_DEV
prod:
2025-02-14 20:50:03 +00:00
API_INTEGRATION: AWS_BOB_API_PROD_V2
EXTERNAL_FUNCTION_URI: dibb1bdcd1.execute-api.us-east-1.amazonaws.com/prod/
2025-02-13 20:27:01 +00:00
ROLES:
2025-02-14 20:50:03 +00:00
- AWS_LAMBDA_BOB_API
2025-02-13 20:27:01 +00:00
- INTERNAL_DEV
2025-02-14 20:50:03 +00:00
- DBT_CLOUD_BOB
2025-02-13 20:27:01 +00:00
2025-04-30 22:22:28 +00:00
#### STREAMLINE 2.0 END ####