mirror of
https://github.com/FlipsideCrypto/polygon-models.git
synced 2026-02-06 13:56:44 +00:00
1 line
30 KiB
JSON
1 line
30 KiB
JSON
|
|
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.0.3", "generated_at": "2022-06-07T22:45:31.433340Z", "invocation_id": "cda64982-b5a8-412b-95f5-4d07a7d0c3a0", "env": {}}, "nodes": {"model.polygon_models.core__fact_event_logs": {"metadata": {"type": "VIEW", "schema": "CORE", "name": "FACT_EVENT_LOGS", "database": "POLYGON", "comment": "This table contains flattened event logs from transactions on the Ethereum Blockchain. Transactions may have multiple events, which are denoted by the event index for a transaction hash. Therefore, this table is unique on the combination of transaction hash and event index. Event names are decoded in this table where possible. The event inputs column will contain the log details in JSON format. Specific fields can be pulled from this column using the following sample format: ```event_inputs:<FILED_NAME>::<DATA TYPE> as <FIELD_NAME>```.", "owner": "DBT_CLOUD_POLYGON"}, "columns": {"BLOCK_NUMBER": {"type": "NUMBER", "index": 1, "name": "BLOCK_NUMBER", "comment": "Also known as block height. The block number, which indicates the length of the blockchain, increases after the addition of each new block."}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 2, "name": "BLOCK_TIMESTAMP", "comment": "The date and time at which the block was produced."}, "TX_HASH": {"type": "TEXT", "index": 3, "name": "TX_HASH", "comment": "Transaction hash is a unique 66-character identifier that is generated when a transaction is executed. This field will not be unique in this table, as a given transaction can include multiple events."}, "ORIGIN_FUNCTION_SIGNATURE": {"type": "TEXT", "index": 4, "name": "ORIGIN_FUNCTION_SIGNATURE", "comment": "The function signature of this transaction."}, "ORIGIN_FROM_ADDRESS": {"type": "TEXT", "index": 5, "name": "ORIGIN_FROM_ADDRESS", "comment": "The from address of this transaction."}, "ORIGIN_TO_ADDRESS": {"type": "TEXT", "index": 6, "name": "ORIGIN_TO_ADDRESS", "comment": "The to address of this transaction."}, "EVENT_INDEX": {"type": "NUMBER", "index": 7, "name": "EVENT_INDEX", "comment": "Event number within a transaction."}, "CONTRACT_ADDRESS": {"type": "TEXT", "index": 8, "name": "CONTRACT_ADDRESS", "comment": "The address interacted with for a given event."}, "CONTRACT_NAME": {"type": "TEXT", "index": 9, "name": "CONTRACT_NAME", "comment": "The name of the contract or token, where possible."}, "EVENT_NAME": {"type": "TEXT", "index": 10, "name": "EVENT_NAME", "comment": "The decoded event name for a given event."}, "EVENT_INPUTS": {"type": "OBJECT", "index": 11, "name": "EVENT_INPUTS", "comment": "The decoded event inputs for a given event."}, "TOPICS": {"type": "VARIANT", "index": 12, "name": "TOPICS", "comment": "The un-decoded event input topics."}, "DATA": {"type": "TEXT", "index": 13, "name": "DATA", "comment": "The un-decoded event data."}, "EVENT_REMOVED": {"type": "TEXT", "index": 14, "name": "EVENT_REMOVED", "comment": "Whether the event has been removed from the transaction."}, "TX_STATUS": {"type": "TEXT", "index": 15, "name": "TX_STATUS", "comment": "Status of the transaction."}, "_LOG_ID": {"type": "TEXT", "index": 16, "name": "_LOG_ID", "comment": "This is the primary key for this table. This is a concatenation of the transaction hash and the event index at which the event occurred. This field can be used within other event based tables such as ```fact_transfers``` & ```ez_token_transfers```."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.polygon_models.core__fact_event_logs"}, "model.polygon_models.silver__blocks": {"metadata": {"type": "BASE TABLE", "schema": "SILVER", "name": "BLOCKS", "database": "POLYGON", "comment": null, "owner": "DBT_CLOUD_POLYGON"}, "columns": {"BLOCK_NUMBER": {"type": "NUMBER", "index": 1, "name": "BLOCK_NUMBER", "comment": null}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 2, "name": "BLOCK_TIMESTAMP", "comment": n
|