Balances are not a column that gets edited. They are the sum of postings, and postings are immutable. Every transaction must net to zero across its legs, enforced by a deferred trigger, so a one-sided post cannot survive to commit.
Append-only postings - nothing is updated in place. Zero-sum trigger - a transaction that does not balance fails. Three-leg reconciliation - ledger, chain and deposit records are compared every five minutes and a mismatch raises a suggestion. Rent-guarded sweeper - deposits move off addresses on a schedule without leaving the account below rent-exempt. 15% payout cap - no single withdrawal may exceed 15% of the treasury, and the treasury must hold it.
Solvency. A correct ledger is still a ledger of what is owed. The daily credit posts to expense, so ledger margin falls every single day a credit runs regardless of what the treasury holds. Read that part before depositing.
Full documentation