{% extends "base.html" %} {% block title %} {{ block.super }} - Resolutions{% endblock %} {% block content %} {% load humanize %} {% if resolutions %}
| Resolution Type | Outcome | Outpoint | Amount | Sweep TX |
|---|---|---|---|---|
| {% if resolution.resolution_type == 0 %}Unknown{% elif resolution.resolution_type == 1 %}Anchor{% elif resolution.resolution_type == 2 %}Incoming HTLC{% elif resolution.resolution_type == 3 %}Outgoing HTLC{% elif resolution.resolution_type == 4 %}Commit{% else %}{{ resolution.resolution_type }}{% endif %} | {% if resolution.outcome == 0 %}Unknown{% elif resolution.outcome == 1 %}Claimed{% elif resolution.outcome == 2 %}Unclaimed{% elif resolution.outcome == 3 %}Abandoned{% elif resolution.outcome == 4 %}First Stage{% elif resolution.outcome == 5 %}Timeout{% else %}{{ resolution.outcome }}{% endif %} | {{ resolution.outpoint_tx }}:{{ resolution.outpoint_index }} | {{ resolution.amount_sat|intcomma }} | {% if resolution.resolution_type != 2 %}{{ resolution.sweep_txid }}{% else %}---{% endif %} |