{% macro render( tx, token_hex, genesis_info, token_entry, token_input, token_output, token_type, action_str, specification, token_icon_url) %} {% match genesis_info %} {% when Some with (genesis_info) %}

{{ entry.token_section_title }}

Token Icon
Token Ticker
{{ genesis_info.token_ticker|string_from_lossy_utf8 }}
Token Name
{{ genesis_info.token_name|string_from_lossy_utf8 }}
Token Type
{{ token_type }}
Transaction Type
{{ action_str }}
Token Output
{{ token_output|render_token_amount(genesis_info.decimals) |safe }} {{ genesis_info.token_ticker|string_from_lossy_utf8 }} {% if token_output < token_input %}
({{ (token_input - token_output)|render_token_amount(genesis_info.decimals) |safe }} {{ genesis_info.token_ticker|string_from_lossy_utf8 }} burned) {% endif %}
Document URI
{% let token_url = genesis_info.url|string_from_lossy_utf8 %} {{ token_url }}
Document Hash
{% match genesis_info.url.len() %} {% when 0 %}
Not set
{% when _ %}
{{ genesis_info.hash|hexify_u8_vector }}
{% endmatch %}
Decimals
{{ genesis_info.decimals }}
{% if entry.entry.is_invalid %}

Error details

Total burnt {{ entry.entry.actual_burn_amount | string_to_i128 | render_token_amount(genesis_info.decimals) | safe }} {{ genesis_info.token_ticker|string_from_lossy_utf8 }}
Burns mint batons {% if entry.entry.burns_mint_batons %} Yes {% else %} No {% endif %}
Error message {{ entry.entry.burn_summary }}
{% endif %} {% when None %} {% endmatch %} {% endmacro %}