Every cent on the platform is tracked in a double-entry ledger. A set of checks proves the books balance.
Double-entry
Every money movement is a journal whose lines add up to exactly zero. Example: opening a position with 100 USDC margin and a 0.30 USDC fee.
| Account | Change |
|---|---|
| Your available balance | −100.30 |
| Your margin | +100.00 |
| Platform fees | +0.12 |
| Bankroll pool | +0.09 |
| Staker rewards | +0.09 |
A winning close with a 1,000 USDC profit share and 19,000 USDC paid to you:
| Account | Change |
|---|---|
| Your margin | −margin |
| Your available balance | +margin + 19,000 |
| Bankroll pool | −19,700 (its 300 of the profit share never leaves it) |
| Platform fees | +400 |
| Staker rewards | +300 |
A losing close of 1,500 USDC from a 3,000 USDC margin (the stakers' tiered part of 1,500 is 34):
| Account | Change |
|---|---|
| Your margin | −3,000 |
| Your available balance | +1,500 |
| Bankroll pool | +1,466 |
| Staker rewards | +34 |
While payout claims are queued, the whole loss goes to the bankroll pool and nothing to staker rewards.
When the bankroll passes its previous peak, its share of the gain moves out in one journal (bankroll pool −40%, platform fees +20%, staker rewards +20% of the gain); the 60% it keeps needs no entry. Every fee and distribution records the revenue policy it was made under, and past entries are never re-split. See Fees.
The database itself enforces the rules, not only the application:
- Balanced: a journal that doesn't sum to zero can't be saved.
- No overdraft: a balance can't go below zero.
- Append-only: past entries can't be edited or deleted.
- Postings only: balances change only through journal lines.
- Exact amounts: stored as whole micro-USDC (1 USDC = 1,000,000), never floating-point numbers.
- Idempotent: every action carries a unique key, so a retried request can never be applied twice.
Continuous checks
Automatic reconciliation verifies, among other things:
- All balances sum to zero.
- No balance has the wrong sign.
- Queued claims in the ledger equal the payout queue.
- Margin locked equals the margin of open positions.
- Bankroll shares add up.
- Points and ZSP supply match their histories.
- The trade hash chain is intact.
Reserves
The USDC held on-chain must equal what the platform owes in cash:
on-chain USDC = users' balances + margin + held withdrawals
+ bankroll pool + platform fees + staker rewards
Queued profit claims are owed by the bankroll and are paid from its future income, so they are not counted as cash on hand.
The USDC is held in two public multisig wallets, one for user funds and one for the bankroll, and the Reserve page shows their on-chain balances next to these figures, live. See Proof of reserve.