{% macro render(index, input, tx, slp_genesis_info) %} {% let is_token =
input.slp_token|check_is_token %} {% let destination =
input.output_script|destination_from_script(is_token) %} {% let
decoded_input_script = input.input_script|get_script %}
{% match input.prev_out %} {% when Some with (prev_out) %} {% if
prev_out|check_is_coinbase %}
Coinbase
{% else %}
{{ index }}
{% match destination %} {% when Destination::Address with
(address) %}
{{ address.as_str() }}
{% when Destination::P2PK with (pubkey) %} Pubkey: {{
pubkey|hexify_u8_vector }} {% when Destination::Unknown with
(_bytes) %} Unknown {% when Destination::Nulldata with (_ops) %}
Unreachable {% endmatch %}
{% match input.slp_token %} {% when Some with (slp_token) %} {%
match tx.slp_tx_data %} {% when Some with (slp_tx_data) %} {%
match slp_genesis_info %} {% when Some with (genesis_info) %} {%
if slp_token.amount > 0 || slp_token.is_mint_baton %} {% if
slp_token.is_mint_baton %}