One order when it matters, not one per swap.
Swaps build inventory on Elysium. When it crosses a threshold, the vault sends one price-limited hedge order to HyperCore through Elysium's keeper lane, signed by an agent that can only trade.
Three modes, set per pool.
The same swaps, three inventory paths. Shapes are illustrative.
Full
Every threshold crossing is hedged back to flat. Lowest delta, highest hedge cost.
Partial
Hedge a set share of inventory at each crossing and let skew work on the rest.
Skew-only
No hedge orders. Quotes lean against inventory to pull it back. Cheapest, most delta.
The path of one hedge order.
- Elysium1
Hook
Inventory crosses the threshold
- Elysium2
Hedge intent
One aggregated order, nonce + price limit
- Elysium3
ElysiumCoreWriter
Keeper lane predeploy
- HyperCore4
Trade-only agent
Signs; cannot withdraw or transfer
- HyperCore → Elysium5
Fill
Matched back by nonce, checked vs position
Price limit
Each hedge order carries a limit, so a bad book cannot fill it at any price.
Hedge-gap protection
Elysium and HyperCore are not atomic. Until a hedge is confirmed, quotes widen in the direction of open inventory.
Funding-aware
Funding on the hedge leg counts in pricing and in the choice of hedge size.
Reconciliation
Fills are matched on Elysium by intent nonce and checked against HyperCore positions.
Hedging waits for Elysium's ArbOS upgrade.
The HyperCore read precompile and the ElysiumCoreWriter keeper lane ship in an upgrade Elysium documents as about four weeks after mainnet. Until then v1 runs on a signed price feed and a conservative fee.
Open item: Elysium's docs say keeper-lane orders act on a user's own HyperCore account. Whether a vault contract can bind its own account, or a dedicated account with a trade-only agent is needed, is to be confirmed with Kinetiq after the upgrade.