2024-05-09 08:56:59 -07:00
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
<head>
|
2024-05-15 13:31:16 -07:00
|
|
|
<title>{{self.header.state.config.site_name}}: Utxo {{self.index}}</title>
|
2025-08-13 19:34:02 +02:00
|
|
|
{{html_escaper::Trusted(include_str!( concat!(env!("CARGO_MANIFEST_DIR"),
|
|
|
|
|
"/templates/web/html/components/head.html")))}}
|
2024-05-09 08:56:59 -07:00
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
2025-08-13 19:34:02 +02:00
|
|
|
{{Trusted(self.header.to_string())}}
|
|
|
|
|
|
|
|
|
|
<main class="container">
|
|
|
|
|
|
|
|
|
|
<article>
|
|
|
|
|
<summary>
|
|
|
|
|
<span class="tooltip">ⓘ
|
|
|
|
|
<span class="tooltiptext">
|
|
|
|
|
UTXO = Unspent Transaction Output. It represents an output of transaction A which can also be an
|
|
|
|
|
input to transaction B.
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
UTXO Information
|
|
|
|
|
</summary>
|
|
|
|
|
<table class="striped">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>AOCL Leaf Index</td>
|
|
|
|
|
<td>{{self.index}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Addition Record</td>
|
|
|
|
|
<td>{{self.digest.to_hex()}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
{% if let Some(utxo_info) = &self.transparent_utxo_info { %}
|
|
|
|
|
<article>
|
|
|
|
|
<summary>
|
|
|
|
|
<span class="tooltip">ⓘ
|
|
|
|
|
<span class="tooltiptext">
|
|
|
|
|
UTXOs consumed or produced by a transparent transaction disclose the information they otherwise
|
|
|
|
|
hide.
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
Transparent UTXO Information
|
|
|
|
|
</summary>
|
|
|
|
|
<table class="striped">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>UTXO Digest:</td>
|
|
|
|
|
<td><span class="mono">{{Tip5::hash(&utxo_info.utxo()).to_hex()}}</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Sender Randomness:</td>
|
|
|
|
|
<td><span class="mono">{{utxo_info.sender_randomness().to_hex()}}</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Receiver Digest</td>
|
|
|
|
|
<td><span class="mono">{{utxo_info.receiver_digest().to_hex()}}</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% if let Some(receiver_preimage) = utxo_info.receiver_preimage() { %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Receiver Preimage</td>
|
|
|
|
|
<td><span class="mono">{{receiver_preimage.to_hex()}}</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% } %}
|
|
|
|
|
{% if utxo_info.utxo().has_native_currency() { %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Amount:</td>
|
2025-12-01 15:20:52 +07:00
|
|
|
<td>{{utxo_info.utxo().get_native_currency_amount().display_n_decimals(5)}} XNT</td>
|
2025-08-13 19:34:02 +02:00
|
|
|
</tr>
|
|
|
|
|
{% } %}
|
|
|
|
|
{% if let Some(release_date) = utxo_info.utxo().release_date() { %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Time-Locked Until</td>
|
|
|
|
|
<td><span class="mono">{{release_date.standard_format()}}</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% } %}
|
2025-08-13 22:43:27 +02:00
|
|
|
{% if let Some(confirmed_in) = utxo_info.confirmed_in_block() { %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Confirmed in Block:</td>
|
|
|
|
|
<td><a href='/block/digest/{{confirmed_in.to_hex()}}'>{{confirmed_in.to_hex()}}</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% } %}
|
|
|
|
|
{% if !utxo_info.spent_in_block().is_empty() { %}
|
|
|
|
|
<tr>
|
|
|
|
|
{% if utxo_info.spent_in_block().len() == 1 { %}
|
|
|
|
|
<td>Spent in Block:</td>
|
|
|
|
|
{% } else { %}
|
|
|
|
|
<td>Spent in Blocks:</td>
|
|
|
|
|
{% } %}
|
|
|
|
|
<td>
|
|
|
|
|
{% for b in utxo_info.spent_in_block() { %}
|
|
|
|
|
<a href='/block/digest/{{b.to_hex()}}'>{{b.to_hex()}}</a>
|
|
|
|
|
{% } %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% } %}
|
2025-08-13 19:34:02 +02:00
|
|
|
</table>
|
|
|
|
|
</article>
|
|
|
|
|
{% } %}
|
|
|
|
|
|
|
|
|
|
<article>
|
|
|
|
|
<p>
|
|
|
|
|
<a href="/">Home</a>
|
|
|
|
|
| <a href='/block/genesis'>Genesis</a>
|
|
|
|
|
| <a href='/block/tip'>Tip</a>
|
|
|
|
|
</p>
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
</main>
|
2024-05-09 08:56:59 -07:00
|
|
|
</body>
|
2025-08-13 19:34:02 +02:00
|
|
|
|
2024-05-09 08:56:59 -07:00
|
|
|
</html>
|