2020-08-18 18:42:24 +02:00
|
|
|
|
|
|
|
<table style="width:100%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Public Key</td>
|
|
|
|
<td>Contributors</td>
|
|
|
|
<td>Operator Fee (%)</td>
|
|
|
|
<td>Contributed</td>
|
|
|
|
<td>Open For Contribution</td>
|
|
|
|
<td>Min. Contribution</td>
|
|
|
|
<td>Expiry Date UTC (Estimated)</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
2022-06-15 01:18:28 +02:00
|
|
|
{%set max_contributors = 10 if 'hard_fork' in info and info.hard_fork >= 19 else 4 %}
|
2020-08-20 00:41:22 +02:00
|
|
|
{%for sn in (awaiting_sns | sort(attribute='portions_for_operator,contribution_open,contribution_required,service_node_pubkey'))[:limit_awaiting]%}
|
2020-08-18 18:42:24 +02:00
|
|
|
<tr>
|
|
|
|
{%include 'include/sn_kcf.html'%}
|
2021-01-07 23:04:00 +01:00
|
|
|
<td>{{sn.total_contributed | oxen(tag=false, fixed=true)}}</td>
|
2020-08-18 18:42:24 +02:00
|
|
|
{%if sn.total_reserved >= sn.staking_requirement%}
|
|
|
|
<td title="All remaining contribution room is reserved for specific contributors">
|
2021-01-07 23:04:00 +01:00
|
|
|
⛔ {{sn.contribution_open | oxen(tag=false, fixed=true)}}
|
2020-08-18 18:42:24 +02:00
|
|
|
</td>
|
|
|
|
{%else%}
|
2021-01-07 23:04:00 +01:00
|
|
|
<td>{{sn.contribution_open | oxen(tag=false, fixed=true)}}</td>
|
2020-08-18 18:42:24 +02:00
|
|
|
{%endif%}
|
2022-06-15 01:18:28 +02:00
|
|
|
<td>{{ (0 if sn.num_contributions >= 4 else (sn.contribution_open / (max_contributors - sn.num_contributions)) | round(method='ceil')) | oxen(tag=false, fixed=true) }}</td>
|
2020-08-18 18:42:24 +02:00
|
|
|
<td>
|
|
|
|
{%if sn.requested_unlock_height%}
|
|
|
|
<span title="Service Node unlock in progress (unlocks at block {{sn.requested_unlock_height}})">🔓</span>
|
2020-08-30 18:32:17 +02:00
|
|
|
{{((sn.requested_unlock_height - info.height) * 120 + server.datetime.timestamp()) | from_timestamp | format_datetime('short')}}
|
2020-08-18 18:42:24 +02:00
|
|
|
({{((sn.requested_unlock_height - info.height) * 120) | reltime}})
|
|
|
|
{%else%}
|
|
|
|
Staking Infinitely
|
|
|
|
{%endif%}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{%endfor%}
|
2020-08-20 00:41:22 +02:00
|
|
|
{%if limit_awaiting and (awaiting_sns | length) > limit_awaiting%}
|
2020-08-18 18:42:24 +02:00
|
|
|
<tr>
|
2020-09-01 06:44:06 +02:00
|
|
|
<td class="sn-more" colspan="7"><a href="/service_nodes#service-nodes-awaiting">+ {{(awaiting_sns | length) - limit_awaiting}} more ↪</a></td>
|
2020-08-18 18:42:24 +02:00
|
|
|
</tr>
|
|
|
|
{%endif%}
|
|
|
|
</tbody>
|
|
|
|
</table>
|