oxen-observer/templates/include/sn_awaiting.html

2.1 KiB

{%for sn in (awaiting_sns | sort(attribute='portions_for_operator,contribution_open,contribution_required,service_node_pubkey'))[:limit_awaiting]%} {%include 'include/sn_kcf.html'%} {%if sn.total_reserved >= 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 >= 4 else (sn.contribution_open / (4 - 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 ↪