This commit is contained in:
sam 2025-03-06 20:48:14 +08:00
parent 3f473b1da9
commit 7dada06ba9
4 changed files with 25 additions and 8 deletions

View File

@ -39,11 +39,15 @@ jobs:
run: |
pip install -r requirements.txt
dbt deps
- name: Run Main Models
run: |
dbt run -m "fsc_evm,tag:silver_core" "fsc_evm,tag:gold_core" "fsc_evm,tag:silver_prices" "fsc_evm,tag:gold_prices" "fsc_evm,tag:silver_labels" "fsc_evm,tag:gold_labels" "fsc_evm,tag:bronze_abis" "fsc_evm,tag:silver_confirm_blocks" "fsc_evm,tag:nft_core"
dbt run -m "fsc_evm,tag:silver_core" "fsc_evm,tag:gold_core" "fsc_evm,tag:silver_prices" "fsc_evm,tag:gold_prices" "fsc_evm,tag:silver_labels" "fsc_evm,tag:gold_labels" "fsc_evm,tag:silver_confirm_blocks" "fsc_evm,tag:nft_core"
- name: Send new logs for decoding
run: |
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m "fsc_evm,tag:bronze_decoded_logs" "fsc_evm,tag:streamline_decoded_logs_realtime" "fsc_evm,tag:streamline_decoded_logs_complete"
- name: Get new contract ABIs
run: |
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m "fsc_evm,tag:bronze_abis" "fsc_evm,tag:streamline_abis_realtime" "fsc_evm,tag:streamline_abis_complete"

View File

@ -225,10 +225,17 @@ vars:
### DECODER_PACKAGE VARIABLES BEGIN ###
## REQUIRED
BLOCK_EXPLORER_NAME: "MantleScan"
BLOCK_EXPLORER_ABI_URL: "https://api.mantlescan.xyz/api?module=contract&action=getabi&address="
BLOCK_EXPLORER_ABI_API_KEY_PATH: "Vault/prod/block_explorers/mantle_scan"
### DECODER_PACKAGE VARIABLES BEGIN ###
DECODER_ABIS_BLOCK_EXPLORER_NAME: "MantleScan"
DECODER_ABIS_BLOCK_EXPLORER_URL: "https://api.mantlescan.xyz/api?module=contract&action=getabi&address="
DECODER_ABIS_BLOCK_EXPLORER_URL_SUFFIX: ""
DECODER_ABIS_BLOCK_EXPLORER_SECRET_PATH: "Vault/prod/block_explorers/mantle_scan"
DECODER_ABIS_RELEVANT_CONTRACT_LIMIT: 50
DECODER_ABIS_RELEVANT_CONTRACT_COUNT: 200
DECODER_ABIS_BRONZE_API_TABLE_ENABLED: True
### DECODER_PACKAGE VARIABLES END ###
## OPTIONAL
# DECODED_LOGS_REALTIME_TESTING_LIMIT: 30

View File

@ -1,4 +1,4 @@
version: 2
version: 2
sources:
- name: github_actions
@ -43,4 +43,10 @@ sources:
database: "{{ target.database }}"
schema: silver
tables:
- name: verified_abis
- name: verified_abis
- name: bronze_abi
database: >-
{{ var('GLOBAL_PROD_DB_NAME') ~ ('_dev' if var("STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES", False) else '') }}
schema: streamline
tables:
- name: complete_contract_abis

View File

@ -1,3 +1,3 @@
packages:
- git: https://github.com/FlipsideCrypto/fsc-evm.git
revision: v3.22.3
revision: v3.27.0