From 26db6675f2eb9b1ddeead87945309cf08ef4ceb6 Mon Sep 17 00:00:00 2001 From: drethereum Date: Wed, 1 May 2024 11:12:33 -0600 Subject: [PATCH] addr desc --- models/doc_descriptions/prices/prices.md | 6 ++++++ models/gold/price/price__dim_asset_metadata.yml | 2 +- models/gold/price/price__ez_asset_metadata.yml | 2 +- models/gold/price/price__ez_prices_hourly.yml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/models/doc_descriptions/prices/prices.md b/models/doc_descriptions/prices/prices.md index 7c7f6a1..60d4e96 100644 --- a/models/doc_descriptions/prices/prices.md +++ b/models/doc_descriptions/prices/prices.md @@ -52,6 +52,12 @@ The specific address representing the asset on a specific platform. This will be {% enddocs %} +{% docs prices_token_address_evm %} + +The specific address representing the asset on a specific platform. This will be NULL if referring to a native asset. The case (upper / lower) may or may not be specified within the `dim_asset_metadata` table, as this column is raw and not transformed, coming directly from the provider APIs. However, in the `ez_` views, it will be lowercase by default for all EVMs. + +{% enddocs %} + {% docs prices_blockchain %} The Blockchain, Network, or Platform for this asset. diff --git a/models/gold/price/price__dim_asset_metadata.yml b/models/gold/price/price__dim_asset_metadata.yml index 0823cff..7352d96 100644 --- a/models/gold/price/price__dim_asset_metadata.yml +++ b/models/gold/price/price__dim_asset_metadata.yml @@ -15,7 +15,7 @@ models: - name: SYMBOL description: '{{ doc("prices_symbol") }}' - name: TOKEN_ADDRESS - description: '{{ doc("prices_token_address") }}' + description: '{{ doc("prices_token_address_evm") }}' - name: BLOCKCHAIN description: '{{ doc("prices_blockchain") }}' - name: BLOCKCHAIN_ID diff --git a/models/gold/price/price__ez_asset_metadata.yml b/models/gold/price/price__ez_asset_metadata.yml index c7ee82d..a2acc80 100644 --- a/models/gold/price/price__ez_asset_metadata.yml +++ b/models/gold/price/price__ez_asset_metadata.yml @@ -13,7 +13,7 @@ models: - name: SYMBOL description: '{{ doc("prices_symbol") }}' - name: TOKEN_ADDRESS - description: '{{ doc("prices_token_address") }}' + description: '{{ doc("prices_token_address_evm") }}' - name: BLOCKCHAIN description: '{{ doc("prices_blockchain") }}' - name: DECIMALS diff --git a/models/gold/price/price__ez_prices_hourly.yml b/models/gold/price/price__ez_prices_hourly.yml index e763083..96cf4e5 100644 --- a/models/gold/price/price__ez_prices_hourly.yml +++ b/models/gold/price/price__ez_prices_hourly.yml @@ -7,7 +7,7 @@ models: - name: HOUR description: '{{ doc("prices_hour")}}' - name: TOKEN_ADDRESS - description: '{{ doc("prices_token_address") }}' + description: '{{ doc("prices_token_address_evm") }}' - name: SYMBOL description: '{{ doc("prices_symbol") }}' - name: BLOCKCHAIN