Exiting
HYPE
ExitGate.exitNative(recipient, maxDiscountBps, rampSeconds, fillWindow) sends one outbox message to TicketVault that carries the HYPE and the terms together. At maturity they arrive in the same call, so the payout happens in that call too.
Gateway tokens
A bridged ERC-20 cannot carry data through its gateway. ExitGate.exitToken sends the tokens through the gateway router to TicketVault and sends a second message with the terms. Both mature after the same challenge period. If the terms arrive first, the payout waits for the tokens, and anyone can call redeem(terms) once they land.
| Token | Elysium | HyperEVM |
|---|---|---|
| HYPE | native | native |
| USDC | 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65 | 0xb88339CB7199b77E23DB6E890353E22632Ba630f |
| kHYPE | 0x248888D396A546A69A188f3Deb476964e581E9d0 | 0xfD739d4e423301CE9385c1fb8850539D657C296D |
The terms
Every exit writes the same struct, and a ticket's id is its hash: exit id, token on HyperEVM, amount, recipient, discount cap (at most 5%), ramp time, opening time and the last second a fill is accepted (at most 24 hours later).