Redemption queue
A redemption always fixes its price and burns its tokens in the transaction. If the Issuer cannot pay the USDC at once, the redemption becomes a claim at that price, and claims are paid in order of arrival as USDC reaches Elysium, usually within minutes.
When a redemption queues
The Issuer pays redemptions from the USDC it holds on Elysium. Not all of that balance is free: fees not yet withdrawn and USDC already owed to earlier claims are reserved.
Because queuedOwed is subtracted, a new redemption can never be paid ahead of a claim already waiting, even when the balance would cover it. Everything else about the redemption is identical either way: same price, same fee, same checks, same Redeemed event.
What a claim records
struct Claim {
address recipient; // who gets the USDC
uint96 amount; // USDC owed, net of the fee, 6 decimals
address holder; // whose tokens were burnt
uint96 fee; // redeem fee booked for this claim
uint128 tokens; // tokens burnt, 18 decimals
uint32 perpIndex; // the market
}
mapping(uint256 claimId => Claim) public claims;
uint256 public nextClaim; // oldest unpaid claim
uint256 public claimCount; // claims ever queued = next id
uint256 public queuedOwed; // USDC owed to all open claimsClaim ids count up from zero in the order redemptions queued. A claim keeps what was burnt and the fee it was charged, so that it can be undone exactly (below). A paid claim is deleted: claims(id).amount reads zero once it is paid or voided.
From queued to paid
- claim #41120.00 USDCpaid
- claim #4248.10 USDCvoided
- claim #43300.00 USDCnext
- claim #4415.75 USDCwaiting
- claim #45990.00 USDCwaiting
- 1Queued
redeemburns your tokens, books the fee, stores the claim, adds its amount toqueuedOwedand emitsRedeemQueued(claimId, perpIndex, recipient, amount). Your price is fixed from here on. - 2USDC arrivesWhile claims are waiting, Ported's operator sends USDC from the treasury on HyperEVM to the Issuer over Elysium's canonical bridge, whose only possible recipient is the Issuer.
- 3Paid
payClaims(maxCount)pays claims oldest first, each one in full, emittingClaimPaid(claimId, recipient, amount). The operator calls it when USDC lands; anyone else may call it too.
How payClaims works
- It starts at
nextClaimand walks forward, paying up tomaxCountclaims. - It pays a claim only in full. At the first claim the balance cannot cover, it stops: the queue is strictly first in, first out, and a smaller claim behind a large one waits for it.
- It may spend the Issuer's whole balance, fees included. Queued holders come before the protocol's fees.
- Voided slots are skipped.
- It is permissionless, so payment does not depend on any one caller. It stops while redemptions are paused (
RedeemsArePaused).
Owed USDC cannot leave
USDC owed to the queue is reserved against everything else the Issuer does:
- Bridge-outs
- Every transfer back to HyperEVM is limited to
availableLiquidity(), which excludesqueuedOwed. - Fees
withdrawFeescan only take frombalance − queuedOwed.- The counter
queuedOwedgoes down only when a claim is paid or voided.
Voiding a claim
voidClaim(claimId), callable by the guardian or the owner, deletes an unpaid claim and puts its holder back where they were before redeeming:
- The burnt tokens are minted back to the holder, the address that redeemed (not the recipient).
- The claim's amount leaves
queuedOwedand its fee is taken offaccruedFees. ClaimVoided(claimId, holder, tokens)is emitted. The holder can redeem again at a fresh price.
It exists for two cases: a claim priced by a faulty or compromised quote, which would otherwise be locked in and paid from the treasury, and a recipient that cannot receive USDC, which would otherwise hold the whole queue. It cannot take anything from the holder: they get back exactly the tokens they burnt.
Pauses and settlement
| Situation | Effect on claims |
|---|---|
| Redemptions paused | New claims cannot form and payClaims reverts. Open claims keep their price and are paid in order once redemptions reopen. |
| Mints paused | No effect. |
| Bridge-outs paused | No effect on payment. USDC still arrives from HyperEVM. |
| Market wound down | Claims queued before keep their price. Claims queued after are priced at the settlement price. |
| Settlement price corrected | Claims already queued keep the price they were queued at. |
What the site shows
- Before you sign, the trade panel compares the gross of your redemption with the Issuer's free USDC and tells you whether it will be paid at once or queued.
- After a queued redemption it shows the amount as on the way and follows the claim until it is paid, then shows it as paid to your wallet.
- Your portfolio lists every claim to your address that is still open, under On the way, from the
RedeemQueuedevents. - You can close the page. Payment does not need you to do anything: the USDC arrives in the recipient wallet on its own.
Contracts that redeem on a user's behalf should treat the return value of redeem as paid or owed, and look for RedeemQueued in the receipt. See Events and errors.