mirror of
https://github.com/oxen-io/oxen-observer.git
synced 2023-12-14 09:22:54 +01:00
2.3 KiB
2.3 KiB
{%set max_contributors = 10 if 'hard_fork' in info and info.hard_fork >= 19 else 4 %}
{%for sn in (awaiting_sns | sort(attribute='portions_for_operator,contribution_open,contribution_required,service_node_pubkey'))[:limit_awaiting]%}
{%include 'include/sn_kcf.html'%}
{% set total_stakes = sn.total_reserved if 'total_reserved' in sn else sn.total_contributed %}
{%if total_stakes >= sn.staking_requirement%}
{%else%}
{%endif%}
{%endfor%}
{%if limit_awaiting and (awaiting_sns | length) > limit_awaiting%}
{%endif%}
Public Key | Contributors | Operator Fee (%) | Contributed | Open For Contribution | Min. Contribution | Expiry Date UTC (Estimated) |
{{sn.total_contributed | oxen(tag=false, fixed=true)}} | ⛔ {{sn.contribution_open | oxen(tag=false, fixed=true)}} | {{sn.contribution_open | oxen(tag=false, fixed=true)}} | {{ (0 if sn.num_contributions >= max_contributors else (sn.contribution_open / (max_contributors - sn.num_contributions)) | round(method='ceil')) | oxen(tag=false, fixed=true) }} | {%if sn.requested_unlock_height%} 🔓 {{((sn.requested_unlock_height - info.height) * 120 + server.datetime.timestamp()) | from_timestamp | format_datetime('short')}} ({{((sn.requested_unlock_height - info.height) * 120) | reltime}}) {%else%} Staking Infinitely {%endif%} | ||
+ {{(awaiting_sns | length) - limit_awaiting}} more ↪ |