From d559c1cf26cd1bcab7f21634ea1af4493e84b876 Mon Sep 17 00:00:00 2001 From: martbost Date: Fri, 13 Nov 2026 10:36:06 -0600 Subject: [PATCH] Ledger: 'POL paid out by the contract' (the total includes the company share) Co-Authored-By: Claude Opus 5.5 --- public/assets/ledger.js | 2 +- public/ledger.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/ledger.js b/public/assets/ledger.js index 3047340..706fc9b 100644 --- a/public/assets/ledger.js +++ b/public/assets/ledger.js @@ -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 => '
' + esc(x[1]) + '' + esc(x[0]) + '
').join(''); $('rows').innerHTML = d.items.length ? d.items.map(it => { const when = it.at ? new Date(it.at).toLocaleString() : ''; diff --git a/public/ledger.html b/public/ledger.html index 458a50d..d562fe6 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -17,6 +17,6 @@

Loading the ledger...

- +