mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 19:06:49 +00:00
rename fact logs to fact event logs
This commit is contained in:
parent
1e8cf27f67
commit
5525d9f6c1
@ -377,7 +377,7 @@
|
||||
sql: |
|
||||
{{ evm_live_view_fact_blocks(schema, blockchain, network) | indent(4) -}}
|
||||
|
||||
- name: {{ schema -}}.tf_fact_logs
|
||||
- name: {{ schema -}}.tf_fact_event_logs
|
||||
signature:
|
||||
- [block_height, INTEGER, The start block height to get the logs from]
|
||||
- [to_latest, BOOLEAN, Whether to continue fetching logs until the latest block or not]
|
||||
@ -389,7 +389,7 @@
|
||||
VOLATILE
|
||||
COMMENT = $$Returns the logs for a given block height. If to_latest is true, it will continue fetching logs until the latest block. Otherwise, it will fetch logs until the block height is reached.$$
|
||||
sql: |
|
||||
{{ evm_live_view_fact_logs(schema, blockchain, network) | indent(4) -}}
|
||||
{{ evm_live_view_fact_event_logs(schema, blockchain, network) | indent(4) -}}
|
||||
|
||||
- name: {{ schema -}}.tf_fact_decoded_event_logs
|
||||
signature:
|
||||
|
||||
@ -589,7 +589,7 @@ WITH spine AS (
|
||||
from silver_blocks
|
||||
{% endmacro %}
|
||||
|
||||
{% macro evm_live_view_fact_logs(schema, blockchain, network) %}
|
||||
{% macro evm_live_view_fact_event_logs(schema, blockchain, network) %}
|
||||
WITH spine AS (
|
||||
{{ evm_live_view_target_blocks(schema, blockchain, network) | indent(4) -}}
|
||||
),
|
||||
@ -653,7 +653,7 @@ FROM logs
|
||||
|
||||
{% macro evm_live_view_fact_decoded_event_logs(schema, blockchain, network) %}
|
||||
WITH _fact_event_logs AS (
|
||||
{{ evm_live_view_fact_logs(schema, blockchain, network) | indent(4) -}}
|
||||
{{ evm_live_view_fact_event_logs(schema, blockchain, network) | indent(4) -}}
|
||||
),
|
||||
|
||||
_silver_decoded_logs AS (
|
||||
@ -883,7 +883,7 @@ FROM traces_final
|
||||
-- Get EVM chain ez data
|
||||
{% macro evm_live_view_ez_token_transfers(schema, blockchain, network) %}
|
||||
WITH fact_logs AS (
|
||||
{{ evm_live_view_fact_logs(schema, blockchain, network) | indent(4) -}}
|
||||
{{ evm_live_view_fact_event_logs(schema, blockchain, network) | indent(4) -}}
|
||||
)
|
||||
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user