dUSD: mint and redeem
Minting
Call requestMint(asset, amount, minOut, receiver) on DeltaMinter with native HYPE (asset = 0x0, sent as value) or kHYPE (approve first). The assets stay in the request, owned by you, until it is filled.
The engine then sells the matching HYPE perp on HyperCore, sends a fresh proof of the short from HyperEVM to Elysium, and calls fillMint(id, price). dUSD out = HYPE value x price, where kHYPE counts at Kinetiq's exchange rate from the proof. The price must sit within maxDevBps (100 bps) of the HyperCore mark in a proof under two hours old, and the result must meet your minOut.
Redeeming
Approve dUSD to DeltaMinter, then requestRedeem(dusd, asset, minOut, receiver). The engine buys back the matching short (reduce-only) and calls fillRedeem(id, price), which burns the dUSD and pays HYPE = dUSD / price, or kHYPE = that / rate.
Queue, caps and cancel
Mint and redeem are requests, not swaps. If the engine cannot hedge a mint (for example, the HyperCore margin is too small) it rejects it and the assets go back. You can cancel any unfilled request yourself after one hour with cancelMint(id) or cancelRedeem(id), with no keeper involved.
Total supply plus pending mints may not pass mintCap. The cap is kept below what the margin on the HyperCore account can carry at low leverage. Small mints inside the drift band (one 10 USD HyperCore minimum order) fill without opening a new short; the band closes as soon as aggregate exposure passes it.
Exit mode
If the owner calls shutdown(), or no proof and no fill reaches DeltaMinter for 24 hours, the minter enters exit mode. Any holder then calls exitRedeem(amount) and receives heldHype x amount / supply HYPE and the same share of kHYPE, in one transaction, with nothing from the engine or the owner. The HyperCore leg (the short's margin and PnL) is not reachable from Elysium; it is settled by the owner from CoreDesk.