NEMESISDocs
Contracts and trustSecurity and admin powers

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, withdraw or claim.
  • 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:

FunctionWhat it changesHard limits in code
setParamsFees6 hour fee ≤ 100 bps, 24 hour fee ≤ 150 bps
PremiumBase ≤ 100 bps, slope ≤ 200 bps, utilisation cap ≤ 10000, momentum cap ≤ 200 bps
CapsWallet cap ≤ open interest cap ≤ 2000 bps of reference reserve. Book cap, global cap and reserve floor have no upper bound
Settlement inputsminSamples 10 to 90, maxGap 30 to 300 seconds
Minimums and delayMin stake and min deposit above zero, withdraw delay ≤ 7 days
setTreasuryWhere the treasury half of fees goesNot the zero address
setGuardianWho can pauseNot the zero address
setPaused, setMarketPausedSame as the guardianSee below
transferOwnership, renounceOwnershipWho owns ShortBookThrough 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

Admin and guardian
0x54d69208E0F567cf7F2bE09E812a85f9Fc536aAC
Type
Single wallet, not a multisig
Timelock
0x787C11B6FABfec6a43c726Fc9E9017e9115419b1
Timelock delay
24 hours (86400 seconds)

Contact

Found a problem or a vulnerability? Message @nemesis_elysium on X. Please share details privately first.