mirror of
https://github.com/FlipsideCrypto/livequery-base.git
synced 2026-02-06 11:16:44 +00:00
* - removed utils.register_secret - add hosted profile * - refactor project variables to use config object * - add \n * - uncommented code * - update return type * - reverted name truncation * - change GHA workflow environments to align with dbt profiles * - add hosted option to enviornment dropdown * - add integration test * Update dbt_project.yml Add INTERNAL_DEV role to stg profile * - fix grants - enforce dbt target
23 lines
431 B
SQL
23 lines
431 B
SQL
{{ config(
|
|
materialized = 'view',
|
|
grants = {'+select': var('ROLES')}
|
|
) }}
|
|
|
|
SELECT
|
|
parent_contract_address,
|
|
event_name,
|
|
event_signature,
|
|
abi,
|
|
start_block,
|
|
end_block,
|
|
CASE blockchain
|
|
WHEN 'avalanche' THEN 'avalanche_c'
|
|
WHEN 'arbitrum' THEN 'arbitrum_one'
|
|
ELSE blockchain
|
|
END AS blockchain
|
|
FROM
|
|
{{ source(
|
|
'crosschain',
|
|
'dim_evm_event_abis'
|
|
) }}
|