Audit

Ledger & trial balance

Double-entry, append-only. Corrections are reversals, never edits. A monitor hits the trial balance every 5 minutes — a false result pages on-call.

Example of a failure — this is what on-call sees

Accounts

AccountTypePurpose Balance (SRV)LockedNegative allowed
acc_treasurysystemtreasury 1,284,9000yes
acc_burnsystemburn 1,606,1200no
acc_creator_rewardspoolcreator_rewards 1,606,1200yes
acc_player_rewardspoolplayer_rewards 412,8800yes
acc_curatorpoolcurator 642,4480yes
acc_payablesystempayable 00no
acc_std_kai_vaultstudiovault 43,3083,120no
acc_std_kai_bondstudio_bondbond 750750no

Entries · one transaction expanded ltx_01HQ8Z4A2B

🧮
One purchase of 120 SRV produces 7 legs: one debit and six credits. They sum to zero, they are written in a single transaction, and none of them can ever be edited.
EntryAccountDirAmount Balance afterReasonRef
led_…a01acc_usr_you debit120.0000002,330.000000 purchaseord_01HQ…
led_…a02acc_std_kai_vault credit108.00000043,308.000000 purchaseord_01HQ…
led_…a03acc_burn credit3.0000001,606,120.000000 feeord_01HQ…
led_…a04acc_creator_rewards credit3.0000001,606,120.000000 feeord_01HQ…
led_…a05acc_player_rewards credit2.400000412,880.000000 feeord_01HQ…
led_…a06acc_treasury credit2.4000001,284,900.000000 feeord_01HQ…
led_…a07acc_curator credit1.200000642,448.000000 feeord_01HQ…
Transaction total 120.000000 / 120.000000 ✓ balanced

A refund is a reversal, not a delete

EntryAccountDirAmountReasonReversal of
led_…b01acc_usr_you credit120.000000reversal led_…a01
led_…b02acc_std_kai_vault debit108.000000reversal led_…a02
…plus five mirrored fee legs. The original seven rows stay exactly as written — an auditor can always see both what happened and what corrected it.

Epoch fee revenue · drives the reward pools

Epoch 812 · realized only

2,064,400 SRV

BURN 25%
CREATOR 25%
PLAYER 20%
TREAS 20%
Burn 516,100 Creator 516,100 Player 412,880 Treasury 412,880 Curator 206,440

Pool sizing check

Player pool412,880 SRV
Cap · 20% of realized fees412,880 SRV
Bootstrap emission0 · sunset
Within cap✓ exactly at cap
⚖️
Asserted by tests/invariants/ over random ledger fixtures: the pool can never exceed 20% of realized fees plus the emission cap.