Metacenter

Bond payout order

The order pox-5 pays bonds in, and who is short-paid first.

pox-5 pays bonds in descending stx-value-ratio, ties to the lower bond index, and each bond receives min(target, what is left). The contract enforces the order (pox-5 L2285-2299).

Current order

GET https://metacenter.0xo.in/api/bonds/order · read at block 967,690
null

Showing order.value; the full response has more fields.

Sources

FigureLabelSource
Payout orderonchainget-bond-payout-order

The stress test applies the same order to a hypothetical pool or book, so you can see which bonds would be paid in full, in part or not at all.

Edit on GitHub

On this page