forked from elbereth/dashninja-fe
-
Notifications
You must be signed in to change notification settings - Fork 2
/
budgets.html
269 lines (260 loc) · 13.5 KB
/
budgets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<!--
This file is part of Dash Ninja.
https://github.com/elbereth/dashninja-fe
Dash Ninja is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Dash Ninja is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Dash Ninja. If not, see <http://www.gnu.org/licenses/>.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DASH Ninja - Budget Monitoring</title>
<link rel="icon" href="/static/dashninja-favicon.ico" />
<link rel="icon" type="image/png" href="/static/dashninja-favicon.png" />
<link href="/static/bootstrap-3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/dashninja-template.css" rel="stylesheet">
<link href="/static/datatables/datatables.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="/static/html5shiv.min.js"></script>
<script src="/static/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><img style="margin-top: -13px;" src="/static/dashninja-logo48x48.png" width="48" height="48" border="0"></a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="/blocks.html">Blocks Masternodes Payee</a></li>
<li><a href="/masternodes.html">Masternodes Monitoring</a></li>
<li><a href="/governance.html">Governance Monitoring</a></li>
<li><a name="menuitemexplorer" href="https://explorer.dashninja.pl">Block Explorer</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Other Tools <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">Official Pages</li>
<li><a href="http://www.dash.org/">Dash Homepage</a></li>
<li><a href="https://github.com/dashpay/dash">Dash Github Sources</a></li>
<li><a href="https://www.dash.org/downloads/">Dash Binaries</a></li>
<li class="divider"></li>
<li class="dropdown-header">Forums / Wiki</li>
<li><a href="https://dashpay.atlassian.net/wiki/">Official Dash Wiki</a></li>
<li><a href="https://dash.org/forum">Official Dash Forum</a></li>
<li><a href="https://bitcointalk.org/index.php?topic=421615">BitcoinTalk (BTC) - Dash ANN</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<li><a href="#">Global Statistics</a></li>
</ul>
<ul class="nav nav-sidebar">
<li><a href="#budgetinfo">Budget Info</a></li>
<li><a href="#budgetsdetail">Budgets Proposals Detail</a></li>
<li><a href="#budgetsprojectiondetail">Budgets Projection Detail</a></li>
</ul>
<ul class="nav nav-sidebar">
<li><a href="#superblocksexpected">Super Blocks Expected (Final budget)</a></li>
<li><a href="#superblocks">Super Blocks History</a></li>
<li><a href="#monthlybudgetpayments">Monthly Budget Payments</a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<div class="page-header">
<h1>DASH Ninja - Budget Monitoring</h1>
<p>Page is dynamically refreshed (JavaScript required). All dates/times are using your system locale.<br/>
Versions: <i>HTML v1.5.6 / JS v<span id="dashninjajsversion">?.?.?</span></i> (hint: might need to Ctrl+F5 to update JS)</p>
</div>
<div id="testnetalert" class="alert alert-danger" style="display: none">
<h2>THIS IS TESTNET!</h2>
</div>
<div id="gobjectwarning" class="alert alert-warning">
<h2>This is OBSOLETE since v0.12.1 release!</h2>
<p>Go to the <a href="/governance.html">Governance Proposals Monitoring</a> page, for the new budget info.</p>
</div>
<div class="alert alert-info">
<p>If this page is useful to you, spare some coin: <a href="http://chainz.cryptoid.info/dash/address.dws?Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu.htm">Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu</a><br>
Brought to you by <a href="https://www.dash.org/forum/members/elbereth.175/">elberethzone</a> (<a href="https://keybase.io/elbereth/key.asc">GPG</a>).</p>
</div>
<h2>Global Statistics</h2>
<p>There are <span id="globalvalidbudget" style="font-weight: bold;">???</span> valid budgets proposal of which <span id="globalestablishedbudget" style="font-weight: bold;">???</span> are established (total established payment: <span id="globalestablishedbudgetamount" style="font-weight: bold;">????.???????? DASH</span>) and <span id="globalallotedbudget" style="font-weight: bold;">???</span> are alloted (total alloted payment: <span id="globalallotedbudgetamount" style="font-weight: bold;">????.???????? DASH</span>).</p>
<p>Next super-block will be <span id="globalnextsuperblockid" style="font-weight: bold;">???</span> on <span id="globalnextsuperblockdate" style="font-weight: bold;">??/??/????</span> (<span id="globalnextsuperblockremaining" style="font-weight: bold;">???</span>) and will provide <span id="globalnextsuperblockamount" style="font-weight: bold;">????.???????? DASH</span> for budgets.</p>
<p><span id="globalnextsuperblockunallocated" style="font-weight: bold;">????.???????? DASH</span> unallocated in next super-block.</p>
<h2 id="budgetinfo">Budget Info</h2>
<p>A budget proposal is <strong>valid</strong> if the fee was payed and it was submitted to peers successfully.</p>
<p>A budget proposal is <strong>established</strong> when it is older than 1 day.</p>
<p>A budget proposal is <strong>alloted</strong> (will get paid on next super-block and is in the <a href="#budgetsprojectiondetail">budgets projection</a> list) when Yea votes minus Nay votes is more than 10% of total masternodes.</p>
<h2 id="budgetsdetail">Budgets Proposals Detail</h2>
<div class="table-responsive">
<table id="budgetsdetailtable" class="table table-striped table-condensed table-responsive text-nowrap">
<thead>
<tr>
<th>Date Added</th>
<th>ID</th>
<th>Hash</th>
<th>Fee Hash</th>
<th>Block Start</th>
<th>Est. Start</th>
<th>Block End</th>
<th>Est. End</th>
<th>Total Payments</th>
<th>Remaining Payments</th>
<th>Total Amount</th>
<th>Monthly Amount</th>
<th>Payment Address</th>
<th>Votes Yea</th>
<th>Votes Nay</th>
<th>Votes Ratio</th>
<th>Total Ratio</th>
<th>Established</th>
<th>Valid</th>
<th>Last Seen</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="20">Please wait while loading... (JavaScript needed)</td>
</tr>
</tbody>
</table>
Last refresh: <span id="budgetstableLR" style="font-decoration: italic;">Never</span><br>
</div>
<h2 id="budgetsprojectiondetail">Budgets Projection Detail</h2>
<div class="table-responsive">
<table id="budgetsprojectiondetailtable" class="table table-striped table-condensed table-responsive text-nowrap">
<thead>
<tr>
<th>Date Added</th>
<th>ID</th>
<th>Hash</th>
<th>Block Start</th>
<th>Est. Start</th>
<th>Block End</th>
<th>Est. End</th>
<th>Total Payments</th>
<th>Remaining Payments</th>
<th>Total Amount</th>
<th>Monthly Amount</th>
<th>Alloted Amount</th>
<th>Total Budget Alloted</th>
<th>Payment Address</th>
<th>Votes Yea</th>
<th>Votes Nay</th>
<th>Votes Ratio</th>
<th>Total Ratio</th>
<th>Valid</th>
<th>Last Seen</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="20">Please wait while loading... (JavaScript needed)</td>
</tr>
</tbody>
</table>
Last refresh: <span id="budgetsprojectiontableLR" style="font-decoration: italic;">Never</span><br>
</div>
<hr/>
<h2 id="superblocksexpected">Super Blocks Expected (Final Budget)</h2>
<div class="table-responsive">
<table id="superblocksexpectedtable" class="table table-striped table-condensed table-responsive text-nowrap">
<thead>
<tr>
<th>Height</th>
<th>Budget Name</th>
<th>Budget Payment</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">Please wait while loading... (JavaScript needed)</td>
</tr>
</tbody>
</table>
Last refresh: <span id="superblocksexpectedtableLR" style="font-decoration: italic;">Never</span><br>
</div>
<hr/>
<h2 id="superblocks">Super Blocks History</h2>
<div class="table-responsive">
<table id="superblockstable" class="table table-striped table-condensed table-responsive text-nowrap">
<thead>
<tr>
<th>Date Found</th>
<th>Height</th>
<th>Found by</th>
<th>Difficulty</th>
<th>Budget Name</th>
<th>Budget Payment</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="6">Please wait while loading... (JavaScript needed)</td>
</tr>
</tbody>
</table>
Last refresh: <span id="superblockstableLR" style="font-decoration: italic;">Never</span><br>
</div>
<hr/>
<h2 id="monthlybudgetpayments">Monthly Budget Payments History</h2>
<div class="table-responsive">
<table id="monthlybudgetpaymentstable" class="table table-striped table-condensed table-responsive text-nowrap">
<thead>
<tr>
<th>Month</th>
<th>Amount Paid to Budgets</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">Please wait while loading... (JavaScript needed)</td>
</tr>
</tbody>
</table>
Last refresh: <span id="monthlybudgetpaymentstableLR" style="font-decoration: italic;">Never</span><br>
</div>
<div id="chartpayments" style="min-width: 600px; height: 400px; max-width: 900px; margin: 0 auto"></div>
<hr/>
</div>
</div>
</div>
<div id="footer">
<div class="container">
<p style="font-size:small;" align=right>Brought to you by <a href="https://www.dash.org/forum/members/elbereth.175/">elberethzone</a>. If this page is useful to you, spare some coin: <a href="http://chainz.cryptoid.info/dash/address.dws?Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu.htm">Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu</a><br>Contact me securely via <a href="https://keybase.io/elbereth">Keybase</a>. Check source (<a href="/LICENSE">GPLv3</a>) on: <a href="https://github.com/elbereth/dashninja-fe">GitHub</a>.</p>
</div>
</div>
<script src="/static/jquery-2.2.4.min.js"></script>
<script src="/static/bootstrap-3.3.6/js/bootstrap.min.js"></script>
<script src="/static/highcharts.js"></script>
<script src="/static/highcharts-more.js"></script>
<script src="/static/datatables/datatables.min.js"></script>
<script src="dashninja-config.js"></script>
<script src="dashninja-common.js"></script>
<script src="dashninja-budgets.js"></script>
</body>
</html>