macro comment (#440)

This commit is contained in:
drethereum 2025-04-25 13:19:49 -06:00 committed by GitHub
parent 6af82555d1
commit 69fb49dd0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,11 @@
{% macro update_blockchain(new_blockchain_name, current_blockchain_names) %}
{#
This macro updates the blockchain column in the prices tables.
It requires a corresponding update in the all_providers tables to normalize the blockchain names.
It takes two arguments:
- new_blockchain_name: The new blockchain name to set in the blockchain column.
- current_blockchain_names: A list of current blockchain names to update.
#}
{% for table in [
'crosschain.silver.token_prices_all_providers',
'crosschain.silver.token_asset_metadata_all_providers',