The register
Positions with free, locked and pledged lanes, for units and for ledger cash, kept by the program itself.
The register is the set of Position accounts the program keeps: one for each owner and asset. The asset is either an instrument or ledger cash. A position records how much its owner holds in three lanes, and the program is the only thing that changes them.
- HALDEN31Halden Grid 4.75% 2031
- free
- 140
- locked
- 40
- pledged
- 120
- NGATE29City of Northgate 3.90% 2029
- free
- 60
- locked
- 0
- pledged
- 200
- CALDERCalder Freight
- free
- 2,400
- locked
- 600
- pledged
- 0
- USDLedger cash
- free
- 182,400.00
- locked
- 41,212.00
- pledged
- ·
- Free Held and available to trade, pledge or withdraw.
- Locked Committed to an open offer: units for a sell, cash for a buy.
- Pledged Collateral for an open repo, still in its owner’s account and still earning income.
Lanes
| Lane | What it is |
|---|---|
Free | A position's free lane. |
Locked | A position's locked lane. |
Pledged | A position's pledged lane. |
IncomePool | An instrument's income pool. The leg's owner is the Instrument address. |
Token | An SPL token account: the vault, a wallet's cash ATA or the fee account. |
A position's free, locked and pledged lanes always belong to its owner. Units in every lane count toward the owner's holding, and all three earn income. What an owner can do with a unit depends on its lane:
| Lane | Comes from | Leaves by |
|---|---|---|
| Free | a deposit; an issue; a fill (units to the buyer, cash to the seller); cancelling an offer or repo offer; a repo's advance to the borrower; a repurchase amount to the lender; a repaid pledge; a default's units to the lender; a claim | a withdrawal; posting an offer or repo offer; pledging in a repo; a taker's side of a fill; repaying a repo; paying income |
| Locked | posting an offer or a repo offer | cancelling it; a fill of the offer, or a take of the repo offer |
| Pledged | taking a repo offer as borrower | repaying the repo; a default |
Only the free lane can be traded, pledged or withdrawn. A locked unit is already committed to an open offer, and a pledged unit is collateral, so neither can be committed twice.
Ledger cash
Ledger cash is USDC deposited 1:1 into the program's vault, an SPL token account whose authority is the Ledger account. A deposit moves USDC from the owner's wallet into the vault and credits the same amount to the owner's cash position, free. A withdrawal does the reverse.
A cash position is a Position whose asset is the cash mint. It uses the free and locked lanes; its pledged lane stays at zero. Amounts are cash atoms with 6 decimals, so 1,000,000 atoms are 1.00 USD.
Only deposits, withdrawals and fees move USDC in or out of the vault, so it holds the cash the register records: every cash position's free and locked lanes, plus every instrument's unclaimed income pool. USDC sent straight to the vault, outside a deposit, adds to its balance and credits no one.
Who can hold a position
Positions belong to admitted members only. Every instruction that credits a wallet checks for its Member account, or for a position or role that only a member can have: see Admission.
Reading the register
Positions are public accounts on chain: anyone can read every owner's lanes in every instrument. The app shows them on an instrument's Register tab, and the API returns them at GET /v1/instruments/{code}/register, with each owner's share of units outstanding. Keeping positions private is the road build "Confidential positions".
Every change to the register comes from one instruction, which emits one event listing each lane that moved. The indexer stores each event as a settlement; Atomic settlement describes the record.