Rename capital collected and show initial hatch funds

This commit is contained in:
dapplion 2019-08-04 20:28:36 +02:00
parent ac451b34af
commit dfeda20a04
1 changed files with 11 additions and 11 deletions

View File

@ -234,24 +234,24 @@ export default function App() {
const resultFields = [ const resultFields = [
{ {
label: `Average slippage (avg tx size ${Math.round( label: `Total reserve`,
avgTxSize value: (+totalReserve.toPrecision(3)).toLocaleString() + " DAI"
).toLocaleString()} DAI)`,
value: +(100 * avgSlippage).toFixed(3) + "%"
}, },
{ {
label: `Capital collected from withdraw fees (${withdrawCount} txs)`, label: `Funds generated from initial hatch`,
value: Math.round(d0 * theta).toLocaleString() + " DAI"
},
{
label: `Funds generated from withdraw fees (${withdrawCount} txs)`,
value: value:
(+getLast(withdrawFeeTimeseries).toPrecision(3)).toLocaleString() + (+getLast(withdrawFeeTimeseries).toPrecision(3)).toLocaleString() +
" DAI" " DAI"
}, },
{ {
label: `Capital collected from initial hatch`, label: `Average slippage (avg tx size ${Math.round(
value: Math.round(d0 * theta).toLocaleString() + " DAI" avgTxSize
}, ).toLocaleString()} DAI)`,
{ value: +(100 * avgSlippage).toFixed(3) + "%"
label: `Total reserve`,
value: (+totalReserve.toPrecision(3)).toLocaleString() + " DAI"
} }
]; ];