SDK

Security

The agent cannot move funds

A HyperCore API agent can place and cancel orders for the account that approved it. It cannot withdraw or transfer. The worst a bad relayer can do with it is trade the account badly, which is exactly what receipts, audits and bonds are there to prove and charge for.

Exits

Every contract has an owner exit that leaves users' money alone, and every user balance has its own exit that works with every keeper stopped.

ElysioRoutersweep(to) takes only HYPE above subscriptions and relayer gas; releaseAll() refunds every subscription. Users: cancelSubscription(to), expire(id).
BondRegistrysweep(to, token) never touches bonds; releaseAll() returns every bond. Relayers: requestUnbond(), withdraw(to) after three days.
ReceiptRewardswithdrawAll(), withdraw(amount), reclaim(epoch).
Auditor, the desk contract, SnapshotterHold no funds; sweep(to).
KntqBurnersweep(to) returns HYPE not yet burned. Burned KNTQ sits at 0x…dEaD and cannot be moved by anyone.

Who owns what

Every contract's owner is the deployer key, an EOA (0x3F74…08Cb), not a multisig and not a timelock. ElysioTimelock holds one role: it is BondRegistry's guardian, so a guardian dispute slash waits 48 hours in public. BondRegistry's parameters (setParams, setRoles) are owner calls today, not timelocked; setToken was set once and cannot change. The KntqBurner's keeper and pool are immutable; its owner can only sweep.

Status

Unaudited. Deployed and verified on Elysium and HyperEVM (addresses). 62 Foundry tests, fork tests of the KNTQ burner and the arbitrage template against Elysium, and a fork test of the full lifecycle (Filled, Partial, Dropped, ack then cancel at deadline, a lying relayer slashed, expire with no keeper) pass on a fork of Elysium.