Security and admin powers
The contracts are not upgradeable. Admin powers are narrow and listed in full below. No role can move user HYPE, change an open ticket, or stop settle, withdraw and claim.
What nobody can do
- Move or seize HYPE from positions, tickets or claimable balances.
- Change an open ticket's stake, strike, expiry, premium or fee.
- Pause or block
settle,withdraworclaim. - Upgrade or replace the contract code. There is no proxy.
- Raise fees or premiums above the hard limits written into the code.
Timelock (owner of ShortBook)
The timelock owns ShortBook. Every change waits at least 24 hours in public before it can run. It can:
| Function | What it changes | Hard limits in code |
|---|---|---|
setParams | Fees | 6 hour fee ≤ 100 bps, 24 hour fee ≤ 150 bps |
| Premium | Base ≤ 100 bps, slope ≤ 200 bps, utilisation cap ≤ 10000, momentum cap ≤ 200 bps | |
| Caps | Wallet cap ≤ open interest cap ≤ 2000 bps of reference reserve. Book cap, global cap and reserve floor have no upper bound | |
| Settlement inputs | minSamples 10 to 90, maxGap 30 to 300 seconds | |
| Minimums and delay | Min stake and min deposit above zero, withdraw delay ≤ 7 days | |
setTreasury | Where the treasury half of fees goes | Not the zero address |
setGuardian | Who can pause | Not the zero address |
setPaused, setMarketPaused | Same as the guardian | See below |
transferOwnership, renounceOwnership | Who owns ShortBook | Through the 24 hour delay |
Price feed owner
Today the timelock also owns PriceFeed. The feed owner can:
- List a market with
listMarket, only if it passes every listing check. - Delist or relist with
setListed. Open tickets on a delisted market void and refund in full. - Change feed parameters with
setParams: sample interval 10 to 60 seconds, move limit 1% to 50%, recent window up to 600 seconds, and the listing reserve floor.
Guardian
The guardian (today the admin wallet, 0x54d69208E0F567cf7F2bE09E812a85f9Fc536aAC) and the timelock can:
- Global pause (
setPaused): blocks new shorts and new deposits. Open tickets settle normally. - Market pause (
setMarketPaused): blocks new shorts and deposits on one coin. Any ticket that was open at any time during the pause voids at settlement and refunds in full.
Pause can never block withdraw, settle or claim.
Treasury
The treasury 0x9900d30fa7CE048eE97d2729a13E4a0d426E18C1 receives half of every fee as a claimable balance. It has no permissions.
Keeper
The keeper 0x0230558f84201794b513690944Ca8d2E1A75C729 calls sample and settle. Both are permissionless, so the keeper has no power anyone else lacks. If it stops, anyone can sample and settle. It holds only gas money.
Audit status
Admin wallet
- Type
- Single wallet, not a multisig
- Timelock delay
- 24 hours (86400 seconds)
Contact
Found a problem or a vulnerability? Message @nemesis_elysium on X. Please share details privately first.
