mirror of
https://github.com/FlipsideCrypto/evm-models-template.git
synced 2026-02-06 11:16:50 +00:00
update template
This commit is contained in:
parent
15f71bde12
commit
b0b0795ec4
@ -87,11 +87,8 @@ vars:
|
||||
STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES: False
|
||||
UPDATE_UDFS_AND_SPS: False
|
||||
UPDATE_SNOWFLAKE_TAGS: True
|
||||
OBSERV_FULL_TEST: False
|
||||
WAIT: 0
|
||||
HEAL_MODEL: False
|
||||
HEAL_MODELS: []
|
||||
START_GHA_TASKS: False
|
||||
|
||||
#### STREAMLINE 2.0 BEGIN ####
|
||||
|
||||
|
||||
10
makefile
10
makefile
@ -41,4 +41,12 @@ else
|
||||
dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":True}' -t $(DBT_TARGET)
|
||||
endif
|
||||
|
||||
.PHONY: deploy_streamline_functions deploy_streamline_tables deploy_streamline_requests deploy_github_actions cleanup_time deploy_new_github_action
|
||||
release_main_package:
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "core", "role_name": "internal_dev"}' -t $(DBT_TARGET)
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "price", "role_name": "internal_dev"}' -t $(DBT_TARGET)
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "nft", "role_name": "internal_dev"}' -t $(DBT_TARGET)
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "core", "role_name": "velocity_ethereum"}' -t $(DBT_TARGET)
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "price", "role_name": "velocity_ethereum"}' -t $(DBT_TARGET)
|
||||
dbt run-operation fsc_evm.release_chain --args '{"schema_name": "nft", "role_name": "velocity_ethereum"}' -t $(DBT_TARGET)
|
||||
|
||||
.PHONY: deploy_streamline_functions deploy_streamline_tables deploy_streamline_requests deploy_github_actions cleanup_time deploy_new_github_action release_main_package
|
||||
@ -1,6 +1,6 @@
|
||||
{% docs __overview__ %}
|
||||
|
||||
# Welcome to the Flipside Crypto Core Models Documentation!
|
||||
# Welcome to the Flipside Crypto <evm_chain> Models Documentation!
|
||||
|
||||
## **What does this documentation cover?**
|
||||
The documentation included here details the design of the Core tables and views available via [Flipside Crypto.](https://flipsidecrypto.xyz/) For more information on how these models are built, please see [the github repository.](https://github.com/FlipsideCrypto/<evm_chain>-models)
|
||||
|
||||
@ -8,18 +8,24 @@ sources:
|
||||
- name: workflows
|
||||
- name: bronze_streamline
|
||||
database: streamline
|
||||
schema: >-
|
||||
{{ var('GLOBAL_PROD_DB_NAME') ~ ('_dev' if var("STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES", False) else '') }}
|
||||
schema: "{{ target.database }}"
|
||||
tables:
|
||||
- name: blocks
|
||||
- name: transactions
|
||||
- name: >-
|
||||
{{ 'receipts_by_hash' if var("GLOBAL_USES_RECEIPTS_BY_HASH", False) else 'receipts' }}
|
||||
- name: receipts
|
||||
- name: receipts_by_hash
|
||||
- name: traces
|
||||
- name: confirm_blocks
|
||||
- name: decoded_logs
|
||||
- name: contract_abis
|
||||
- name: complete_streamline
|
||||
database: "{{ target.database }}"
|
||||
schema: streamline
|
||||
tables:
|
||||
- name: complete_contract_abis
|
||||
- name: crosschain_silver
|
||||
database: "{{ 'crosschain' if target.database.upper() == var('GLOBAL_PROD_DB_NAME').upper() else 'crosschain_dev' }}"
|
||||
database: >-
|
||||
{{ 'CROSSCHAIN_DEV' if '_DEV' in target.database.upper() else 'CROSSCHAIN' }}
|
||||
schema: silver
|
||||
tables:
|
||||
- name: labels_combined
|
||||
@ -29,11 +35,6 @@ sources:
|
||||
- name: complete_provider_prices
|
||||
- name: complete_token_asset_metadata
|
||||
- name: complete_token_prices
|
||||
- name: bronze_api
|
||||
database: "{{ target.database }}"
|
||||
schema: bronze_api
|
||||
tables:
|
||||
- name: contract_abis
|
||||
- name: crosschain_public
|
||||
database: crosschain
|
||||
schema: bronze_public
|
||||
@ -43,4 +44,11 @@ sources:
|
||||
database: "{{ target.database }}"
|
||||
schema: silver
|
||||
tables:
|
||||
- name: verified_abis
|
||||
- name: verified_abis
|
||||
- name: fsc_evm_admin
|
||||
database: >-
|
||||
{{ 'FSC_EVM_DEV' if '_DEV' in target.database.upper() else 'FSC_EVM' }}
|
||||
schema: admin
|
||||
tables:
|
||||
- name: _master_keys
|
||||
- name: rpc_node_logs
|
||||
Loading…
Reference in New Issue
Block a user