Open the app

Income

Dividends and coupons accrue to every unit on the register through a per-unit index, locked and pledged units included.

An issuer pays income into an instrument, and every unit outstanding earns its share, whichever lane it sits in. The owner claims it as free ledger cash. The program does this with an index per instrument, so a payment touches one account however many holders there are.

IncomeHALDEN31Example

23.75 USD

per unit, paid by Halden Grid to every unit on the register

  1. freeheld140 units3,325.00
  2. lockedin an open sell offer40 units950.00
  3. pledgedcollateral in a repo120 units2,850.00

To claim, as ledger cash7,125.00 USD

One payment raises the index; each position earns from its snapshot.

Paying

pay_income moves an amount from the issuer's free cash into the instrument's income pool and raises its income index:

text
index += floor(amount × 10^12 / outstanding)

The index is cash atoms per unit, scaled by 10^12 so that small payments on many units still register. A payment needs units outstanding (NoUnitsOutstanding), and the issuer chooses the amount: a coupon's rate is a term on record, and the program doesn't compute or schedule it.

Earning

Each position keeps a snapshot of the index from the last time it settled. When it settles, it earns:

text
earned = floor((free + locked + pledged) × (index - snapshot) / 10^12)

and the earned whole atoms are added to its accrued balance, with the snapshot moved up to the index. A position settles whenever its unit total is about to change: on issue, on both sides of take_offer, on both sides of settle_default, and on claim_income. Moving units between lanes of the same position (posting, cancelling, pledging, repaying) changes nothing it earns, so it doesn't settle.

An example

NGATE29 has 2,000 units outstanding, and the issuer pays 39,000 USD. The index rises by 39,000,000,000 × 10^12 / 2,000 = 19,500,000,000,000,000,000, which is 19.50 USD per unit. A holder with 60 units free and 90 pledged in a repo earns 150 × 19.50 = 2,925.00 USD.

Claiming

claim_income settles the position, pays all its accrued whole atoms from the pool to the owner's free cash and sets accrued to zero. With nothing to pay it fails with NothingToClaim. The app shows each position's income to claim with a Claim button, and the API returns it as incomeToClaim.

Rounding is always down, so the pool can keep a few atoms after every holder has claimed. A payment smaller than one index step stays in the pool whole.