flow-models/docs/catalog.json
Jack Forgash aa849c8f44
An 1179/docs (#9)
* docs

* attribute descriptions

* attributes docs

* docs generated
2022-05-06 09:06:14 -06:00

1 line
17 KiB
JSON

{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.0.4", "generated_at": "2022-05-06T01:20:31.639438Z", "invocation_id": "e497bf71-fe2d-454e-bc4a-d21d27da05c0", "env": {}}, "nodes": {"model.flow_models.bronze__transactions": {"metadata": {"type": "VIEW", "schema": "BRONZE", "name": "TRANSACTIONS", "database": "FLOW_DEV", "comment": null, "owner": "INTERNAL_DEV"}, "columns": {"RECORD_ID": {"type": "TEXT", "index": 1, "name": "RECORD_ID", "comment": null}, "TX_ID": {"type": "TEXT", "index": 2, "name": "TX_ID", "comment": null}, "TX_BLOCK_INDEX": {"type": "NUMBER", "index": 3, "name": "TX_BLOCK_INDEX", "comment": null}, "OFFSET_ID": {"type": "NUMBER", "index": 4, "name": "OFFSET_ID", "comment": null}, "BLOCK_ID": {"type": "NUMBER", "index": 5, "name": "BLOCK_ID", "comment": null}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 6, "name": "BLOCK_TIMESTAMP", "comment": null}, "NETWORK": {"type": "TEXT", "index": 7, "name": "NETWORK", "comment": null}, "CHAIN_ID": {"type": "TEXT", "index": 8, "name": "CHAIN_ID", "comment": null}, "TX": {"type": "VARIANT", "index": 9, "name": "TX", "comment": null}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 10, "name": "_INGESTED_AT", "comment": null}}, "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.flow_models.bronze__transactions"}, "model.flow_models.silver__event_attributes": {"metadata": {"type": "BASE TABLE", "schema": "SILVER", "name": "EVENT_ATTRIBUTES", "database": "FLOW_DEV", "comment": "This table cleans and transform attributes from each event in the events table.", "owner": "INTERNAL_DEV"}, "columns": {"ATTRIBUTE_ID": {"type": "TEXT", "index": 1, "name": "ATTRIBUTE_ID", "comment": "ID for the attribute, which is a concatenation of tx_id-event_index-attribute_index."}, "EVENT_ID": {"type": "TEXT", "index": 2, "name": "EVENT_ID", "comment": "The id for the event, which is a concatenation of tx_id-event_index."}, "TX_ID": {"type": "TEXT", "index": 3, "name": "TX_ID", "comment": "ID for the transaction."}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 4, "name": "BLOCK_TIMESTAMP", "comment": "The date and time for when the block was written."}, "EVENT_INDEX": {"type": "NUMBER", "index": 5, "name": "EVENT_INDEX", "comment": "The index of the event within the transaction, i.e. in what order the events occurred."}, "ATTRIBUTE_INDEX": {"type": "NUMBER", "index": 6, "name": "ATTRIBUTE_INDEX", "comment": "Index of the attribute within the event, corresponds with how the attributes are presented on the explorer."}, "EVENT_CONTRACT": {"type": "TEXT", "index": 7, "name": "EVENT_CONTRACT", "comment": "The contract called for this event. This is equivalent to the Contract column on Flowscan."}, "EVENT_TYPE": {"type": "TEXT", "index": 8, "name": "EVENT_TYPE", "comment": "The type of method called on the event_contract. This is equivalent to the Type column on Flowscan."}, "ATTRIBUTE_KEY": {"type": "TEXT", "index": 9, "name": "ATTRIBUTE_KEY", "comment": "The key of the attribute key-value pair. This is the label while attribute_value is the data."}, "DECODED_ADDRESS": {"type": "TEXT", "index": 10, "name": "DECODED_ADDRESS", "comment": "The decoded address, if applicable, for the attribute_value."}, "ATTRIBUTE_VALUE": {"type": "VARIANT", "index": 11, "name": "ATTRIBUTE_VALUE", "comment": "The value of the attribute key-value pair. This is the data that attribute_key labels."}, "ATTRIBUTE_VALUE_ADJ": {"type": "TEXT", "index": 12, "name": "ATTRIBUTE_VALUE_ADJ", "comment": "The adjusted attribute_value where an address from decoded_address is used in place of the encoded binary string, where applicable."}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 13, "name": "_INGESTED_AT", "comment": "When the record was ingested by the chainwalker."}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 8707379200.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:19UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 83363292.0, "include": true, "description": "An approximate count of rows in this table"}, "clustering_key": {"id": "clustering_key", "label": "Clustering Key", "value": "LINEAR(_ingested_at::DATE, block_timestamp::DATE)", "include": true, "description": "The key used to cluster this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.flow_models.silver__event_attributes"}, "model.flow_models.silver__transactions": {"metadata": {"type": "BASE TABLE", "schema": "SILVER", "name": "TRANSACTIONS", "database": "FLOW_DEV", "comment": "This table records all the transactions of the FLOW blockchain.", "owner": "INTERNAL_DEV"}, "columns": {"TX_ID": {"type": "TEXT", "index": 1, "name": "TX_ID", "comment": "ID for the transaction."}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 2, "name": "BLOCK_TIMESTAMP", "comment": "The date and time for when the block was written."}, "BLOCK_HEIGHT": {"type": "NUMBER", "index": 3, "name": "BLOCK_HEIGHT", "comment": "The block height the block was recorded at."}, "CHAIN_ID": {"type": "TEXT", "index": 4, "name": "CHAIN_ID", "comment": "The id for the chain of the network on which this block occurred."}, "TX_INDEX": {"type": "NUMBER", "index": 5, "name": "TX_INDEX", "comment": "tbd"}, "PROPOSER": {"type": "TEXT", "index": 6, "name": "PROPOSER", "comment": "Address of the transaction proposer."}, "PAYER": {"type": "TEXT", "index": 7, "name": "PAYER", "comment": "Address of the wallet paying for the transaction."}, "AUTHORIZERS": {"type": "ARRAY", "index": 8, "name": "AUTHORIZERS", "comment": "Address(es) authorizing the transaction."}, "COUNT_AUTHORIZERS": {"type": "NUMBER", "index": 9, "name": "COUNT_AUTHORIZERS", "comment": "Number of authorizers"}, "GAS_LIMIT": {"type": "NUMBER", "index": 10, "name": "GAS_LIMIT", "comment": "Upper gas limit attached to the transaction."}, "TRANSACTION_RESULT": {"type": "VARIANT", "index": 11, "name": "TRANSACTION_RESULT", "comment": "Outcome of the transaction, including events that were called."}, "TX_SUCCEEDED": {"type": "BOOLEAN", "index": 12, "name": "TX_SUCCEEDED", "comment": "Transaction status, if it succeeded or failed."}, "ERROR_MSG": {"type": "TEXT", "index": 13, "name": "ERROR_MSG", "comment": "tbd"}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 14, "name": "_INGESTED_AT", "comment": "When the record was ingested by the chainwalker."}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 3196004352.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:18UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 4952325.0, "include": true, "description": "An approximate count of rows in this table"}, "clustering_key": {"id": "clustering_key", "label": "Clustering Key", "value": "LINEAR(_ingested_at::DATE, block_timestamp::DATE)", "include": true, "description": "The key used to cluster this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.flow_models.silver__transactions"}, "model.flow_models.silver__blocks": {"metadata": {"type": "BASE TABLE", "schema": "SILVER", "name": "BLOCKS", "database": "FLOW_DEV", "comment": "Information about blocks on the FLOW network and corresponding metadata.", "owner": "INTERNAL_DEV"}, "columns": {"BLOCK_HEIGHT": {"type": "NUMBER", "index": 1, "name": "BLOCK_HEIGHT", "comment": "The block height the block was recorded at."}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 2, "name": "BLOCK_TIMESTAMP", "comment": "The date and time for when the block was written."}, "NETWORK": {"type": "TEXT", "index": 3, "name": "NETWORK", "comment": "The blockchain network the block or transaction occurred on."}, "CHAIN_ID": {"type": "TEXT", "index": 4, "name": "CHAIN_ID", "comment": "The id for the chain of the network on which this block occurred."}, "TX_COUNT": {"type": "NUMBER", "index": 5, "name": "TX_COUNT", "comment": "The number of transactions in the block."}, "ID": {"type": "TEXT", "index": 6, "name": "ID", "comment": "The block hash."}, "PARENT_ID": {"type": "TEXT", "index": 7, "name": "PARENT_ID", "comment": "The block hash for the parent block."}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 8, "name": "_INGESTED_AT", "comment": "When the record was ingested by the chainwalker."}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 177213952.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:19UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 1320927.0, "include": true, "description": "An approximate count of rows in this table"}, "clustering_key": {"id": "clustering_key", "label": "Clustering Key", "value": "LINEAR(_ingested_at::DATE, block_timestamp::DATE)", "include": true, "description": "The key used to cluster this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.flow_models.silver__blocks"}, "model.flow_models.silver__events": {"metadata": {"type": "BASE TABLE", "schema": "SILVER", "name": "EVENTS", "database": "FLOW_DEV", "comment": "This table records events from each transaction on the FLOW blockchain.", "owner": "INTERNAL_DEV"}, "columns": {"EVENT_ID": {"type": "TEXT", "index": 1, "name": "EVENT_ID", "comment": "The id for the event, which is a concatenation of tx_id-event_index."}, "TX_ID": {"type": "TEXT", "index": 2, "name": "TX_ID", "comment": "ID for the transaction."}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 3, "name": "BLOCK_TIMESTAMP", "comment": "The date and time for when the block was written."}, "BLOCK_HEIGHT": {"type": "NUMBER", "index": 4, "name": "BLOCK_HEIGHT", "comment": "The block height the block was recorded at."}, "TX_SUCCEEDED": {"type": "BOOLEAN", "index": 5, "name": "TX_SUCCEEDED", "comment": "Transaction status, if it succeeded or failed."}, "EVENT_INDEX": {"type": "NUMBER", "index": 6, "name": "EVENT_INDEX", "comment": "The index of the event within the transaction, i.e. in what order the events occurred."}, "EVENT_CONTRACT": {"type": "TEXT", "index": 7, "name": "EVENT_CONTRACT", "comment": "The contract called for this event. This is equivalent to the Contract column on Flowscan."}, "EVENT_TYPE": {"type": "TEXT", "index": 8, "name": "EVENT_TYPE", "comment": "The type of method called on the event_contract. This is equivalent to the Type column on Flowscan."}, "EVENT_DATA": {"type": "VARIANT", "index": 9, "name": "EVENT_DATA", "comment": "The raw event data from the event."}, "_EVENT_DATA_TYPE": {"type": "VARIANT", "index": 10, "name": "_EVENT_DATA_TYPE", "comment": "The type object from event_data."}, "_EVENT_DATA_FIELDS": {"type": "VARIANT", "index": 11, "name": "_EVENT_DATA_FIELDS", "comment": "The fields object from the event_data."}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 12, "name": "_INGESTED_AT", "comment": "When the record was ingested by the chainwalker."}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 3634104832.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:18UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 36737983.0, "include": true, "description": "An approximate count of rows in this table"}, "clustering_key": {"id": "clustering_key", "label": "Clustering Key", "value": "LINEAR(_ingested_at::DATE, block_timestamp::DATE)", "include": true, "description": "The key used to cluster this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.flow_models.silver__events"}, "model.flow_models.bronze__blocks": {"metadata": {"type": "VIEW", "schema": "BRONZE", "name": "BLOCKS", "database": "FLOW_DEV", "comment": null, "owner": "INTERNAL_DEV"}, "columns": {"RECORD_ID": {"type": "TEXT", "index": 1, "name": "RECORD_ID", "comment": null}, "OFFSET_ID": {"type": "NUMBER", "index": 2, "name": "OFFSET_ID", "comment": null}, "BLOCK_ID": {"type": "NUMBER", "index": 3, "name": "BLOCK_ID", "comment": null}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 4, "name": "BLOCK_TIMESTAMP", "comment": null}, "NETWORK": {"type": "TEXT", "index": 5, "name": "NETWORK", "comment": null}, "CHAIN_ID": {"type": "TEXT", "index": 6, "name": "CHAIN_ID", "comment": null}, "TX_COUNT": {"type": "NUMBER", "index": 7, "name": "TX_COUNT", "comment": null}, "HEADER": {"type": "VARIANT", "index": 8, "name": "HEADER", "comment": null}, "_INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 9, "name": "_INGESTED_AT", "comment": null}}, "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.flow_models.bronze__blocks"}}, "sources": {"source.flow_models.prod.flow_blocks": {"metadata": {"type": "BASE TABLE", "schema": "PROD", "name": "FLOW_BLOCKS", "database": "CHAINWALKERS", "comment": null, "owner": "SYSADMIN"}, "columns": {"RECORD_ID": {"type": "TEXT", "index": 1, "name": "RECORD_ID", "comment": null}, "OFFSET_ID": {"type": "NUMBER", "index": 2, "name": "OFFSET_ID", "comment": null}, "BLOCK_ID": {"type": "NUMBER", "index": 3, "name": "BLOCK_ID", "comment": null}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 4, "name": "BLOCK_TIMESTAMP", "comment": null}, "NETWORK": {"type": "TEXT", "index": 5, "name": "NETWORK", "comment": null}, "CHAIN_ID": {"type": "TEXT", "index": 6, "name": "CHAIN_ID", "comment": null}, "TX_COUNT": {"type": "NUMBER", "index": 7, "name": "TX_COUNT", "comment": null}, "HEADER": {"type": "VARIANT", "index": 8, "name": "HEADER", "comment": null}, "INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 9, "name": "INGESTED_AT", "comment": null}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 471641600.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:20UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 6246505.0, "include": true, "description": "An approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.flow_models.prod.flow_blocks"}, "source.flow_models.prod.flow_txs": {"metadata": {"type": "BASE TABLE", "schema": "PROD", "name": "FLOW_TXS", "database": "CHAINWALKERS", "comment": null, "owner": "SYSADMIN"}, "columns": {"RECORD_ID": {"type": "TEXT", "index": 1, "name": "RECORD_ID", "comment": null}, "TX_ID": {"type": "TEXT", "index": 2, "name": "TX_ID", "comment": null}, "TX_BLOCK_INDEX": {"type": "NUMBER", "index": 3, "name": "TX_BLOCK_INDEX", "comment": null}, "OFFSET_ID": {"type": "NUMBER", "index": 4, "name": "OFFSET_ID", "comment": null}, "BLOCK_ID": {"type": "NUMBER", "index": 5, "name": "BLOCK_ID", "comment": null}, "BLOCK_TIMESTAMP": {"type": "TIMESTAMP_NTZ", "index": 6, "name": "BLOCK_TIMESTAMP", "comment": null}, "NETWORK": {"type": "TEXT", "index": 7, "name": "NETWORK", "comment": null}, "CHAIN_ID": {"type": "TEXT", "index": 8, "name": "CHAIN_ID", "comment": null}, "TX": {"type": "VARIANT", "index": 9, "name": "TX", "comment": null}, "INGESTED_AT": {"type": "TIMESTAMP_NTZ", "index": 10, "name": "INGESTED_AT", "comment": null}}, "stats": {"bytes": {"id": "bytes", "label": "Approximate Size", "value": 27838913024.0, "include": true, "description": "Approximate size of the table as reported by Snowflake"}, "last_modified": {"id": "last_modified", "label": "Last Modified", "value": "2022-05-06 01:19UTC", "include": true, "description": "The timestamp for last update/change"}, "row_count": {"id": "row_count", "label": "Row Count", "value": 44397130.0, "include": true, "description": "An approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.flow_models.prod.flow_txs"}}, "errors": null}