What is the Zelo ledger?
A plain-English explanation of how the Zelo ledger works.
A ledger is just a list of every value-changing event, in order. The Zelo ledger is the source of truth for every balance on the platform.
One row per change
Every redemption, transfer, settlement and adjustment writes a single row. Rows are never edited or deleted.
Balance is derived
Your displayed balance is the balance-after value on your most recent row. Reading the rows in order is the same as recomputing your balance from scratch.
Atomic and non-negative
Each row is written inside a database transaction that refuses to commit if the change would push your balance below zero.
