Ledger: 'POL paid out by the contract' (the total includes the company share)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-13 10:36:06 -06:00
parent 87354e29b6
commit d559c1cf26
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
async function load() {
const d = await BL.getJSON('/api/ledger?n=100'); if (d.error) return;
const t = d.totals || {};
$('totals').innerHTML = [['Spots sold', t.spots || 0], ['Members', t.members || 0], ['POL paid out', fmtPol(t.paidOutWei || '0', 2)], ['Momentum fund', t.fundWei ? fmtPol(t.fundWei, 2) + ' POL' : '-']]
$('totals').innerHTML = [['Spots sold', t.spots || 0], ['Members', t.members || 0], ['POL paid out by the contract', fmtPol(t.paidOutWei || '0', 2)], ['Momentum fund', t.fundWei ? fmtPol(t.fundWei, 2) + ' POL' : '-']]
.map(x => '<div class="stat"><b>' + esc(x[1]) + '</b><span>' + esc(x[0]) + '</span></div>').join('');
$('rows').innerHTML = d.items.length ? d.items.map(it => {
const when = it.at ? new Date(it.at).toLocaleString() : '';
+1 -1
View File
@@ -17,6 +17,6 @@
<div id="rows"><p class="muted">Loading the ledger...</p></div></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/ledger.js?v=1"></script>
<script src="/assets/ledger.js?v=2"></script>
</body>
</html>