mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 10:56:46 +00:00
remove contract_name
This commit is contained in:
parent
39c656ca77
commit
1da9b610fb
@ -396,7 +396,7 @@
|
||||
- [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]
|
||||
return_type:
|
||||
- "TABLE(block_number INTEGER, block_timestamp TIMESTAMP_NTZ, tx_hash STRING, event_index INTEGER, contract_address STRING, contract_name STRING, event_name STRING, decoded_log OBJECT, full_decoded_log VARIANT, fact_decoded_event_logs_id STRING, inserted_timestamp TIMESTAMP_NTZ, modified_timestamp TIMESTAMP_NTZ)"
|
||||
- "TABLE(block_number INTEGER, block_timestamp TIMESTAMP_NTZ, tx_hash STRING, event_index INTEGER, contract_address STRING, event_name STRING, decoded_log OBJECT, full_decoded_log VARIANT, fact_decoded_event_logs_id STRING, inserted_timestamp TIMESTAMP_NTZ, modified_timestamp TIMESTAMP_NTZ)"
|
||||
options: |
|
||||
NOT NULL
|
||||
RETURNS NULL ON NULL INPUT
|
||||
|
||||
@ -456,7 +456,6 @@ SELECT
|
||||
B.tx_hash,
|
||||
B.event_index,
|
||||
B.contract_address,
|
||||
D.name AS contract_name,
|
||||
B.event_name,
|
||||
B.decoded_flat AS decoded_log,
|
||||
B.decoded_data AS full_decoded_log,
|
||||
@ -465,8 +464,6 @@ SELECT
|
||||
SYSDATE() AS modified_timestamp
|
||||
FROM _flatten_logs AS B
|
||||
LEFT JOIN _silver_decoded_logs AS C USING (block_number, _log_id)
|
||||
LEFT JOIN {{ blockchain }}.core.dim_contracts AS D
|
||||
ON B.contract_address = D.address
|
||||
{% endmacro %}
|
||||
|
||||
{% macro evm_live_view_fact_transactions(schema, blockchain, network) %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user