Docs / Deposits and the queue
Deposits and the queue
USDC in, shares out at the next NAV. Withdrawals work the same way, and both can be cancelled until they are processed.
Depositing
- Connect a wallet on Elysium (gas is HYPE).
- Approve USDC to MakerVault and call
requestDeposit(assets, receiver). The USDC is held for your ticket. - Shares are minted at the first NAV read after your request, so nobody can buy in at a price older than a settlement they have already seen.
mintDeposits(ids)can be called by anyone once that NAV has arrived; a NAV older than one hour prices nothing. - Until then,
cancelDeposit(ticket)returns the USDC.
USDC on its way to the desk is counted as in transit, so the share value does not dip while it travels.
Withdrawing
1requestRedeemshares locked, ticket opened
2NAV postsprice fixed at the next NAV after the ticket
3fulfilanyone can call it: USDC paid from free cash, shares burnt
4cancel / rescueyou can cancel any time; after 3 days unpaid, rescue pays your share of free USDC
A withdrawal is priced at the first NAV read after the request and paid from the vault's free USDC. Anyone can call fulfil(ids) once that NAV has arrived; a ticket waiting for cash never blocks the ones behind it.
Cancel and rescue
A ticket can be cancelled at any time before it is paid; the shares come back. If a ticket is still unpaid three days after its request, rescue(ticket) pays its pro-rata share of the vault's free USDC with nobody else involved. It never burns shares for nothing.