Roles and powers

Every privileged address on every Ported contract, and exactly what it can and cannot do, as the modifiers in the code decide. Anything not listed for a role reverts when that role calls it.

How power is split

Owner
Configures: lists markets, sets parameters within hard caps, appoints the other roles, restarts what was stopped. The strongest key, and the one meant to sit behind a time delay.
Guardian
Stops: pauses, cancels faulty queued redemptions, unwinds positions. It cannot configure anything or move funds to itself.
Operator / mover
Runs the daily work: orders on Hyperliquid and USDC between the chains, each move fenced by on-chain checks. Treated in the design as a hot key that could leak.
Risk manager
Fits each market's mint limits to its liquidity, under the owner's ceilings. Mint side only.
Attesters
Sign price quotes. They have no function to call; their signatures count only when enough of them agree.
Fee recipient
Receives fees. No powers.
Anyone
Mints, redeems, pays the redemption queue and moves the price anchor with a valid quote.

The rule throughout: stopping is fast and open to more keys; restarting and reconfiguring belong to the owner. The one exception is redemptions, which the guardian can reopen too, so a false alarm never locks holders in behind the owner's delay.

Issuer (Elysium)

RoleCanCannot
OwnerList markets (createMarket) and configure them (configureMarket: fees up to 2%, band up to 20% + 5% per minute, debt and flow ceilings). Set limits and the mint budget like the risk manager, and the budget's ceiling. Wind a market down at a price (settleMarket), then adjust its redemption pace and fee and correct the price once (adjustSettlement). Appoint the price source, operator, guardian, risk manager, parent treasury, fee recipient and the Relay route. Withdraw accrued fees to the fee recipient. Every pause and unpause. Void claims and reset the band, like the guardian.Mint or burn pTokens directly. Take USDC owed to queued redemptions, or withdraw fees out of it. Raise a fee above 2% or the band above its caps. Correct a settlement price twice. Renounce ownership. Through its appointments (operator, parent treasury) it could still route the Issuer's free USDC elsewhere, which is why it moves behind a delay.
Guardianpause() (mints, redemptions and bridge-outs together), pauseMints, pauseBridgeOut, setRedeemsPaused in both directions. resetReferencePrice with a valid signed quote, after a real gap. voidClaim: cancel an unpaid claim and mint the burnt tokens back to the holder.Restart minting or bridge-outs. Change any parameter or role. Move USDC. Set a price without a valid quote.
OperatorbridgeOut: send free USDC to the parent treasury through the canonical bridge. bridgeOutRelay: send it through Relay, within the daily cap.Touch USDC owed to the queue or accrued fees (only availableLiquidity can leave). Act while bridge-outs are paused. Change any setting.
Risk managersetMarketLimits: a market's debt and hourly mint limits, at most the owner's ceilings. setMintBudget(expected, budget): the global budget, at most its ceiling, only if it still equals expected (so a mint landing in between is never written back).Raise anything above the owner's ceilings. Touch redemptions, fees, prices or funds. Once it has set a market's limits, an owner reconfiguration can only lower them.
Fee recipientReceives withdrawn fees.Call anything privileged.
Anyonemint, redeem, payClaims, pokePrice (moves the anchor only to a price a trade would accept).—

AttestedPriceSource (Elysium)

RoleCanCannot
OwnersetAttester (add or remove a signer), setThreshold (between 1 and the number of attesters), setMaxQuoteAge (1 to 30 seconds).Set an age above 30 seconds, a threshold of zero or above the attester count, or remove attesters below the threshold. Renounce ownership.
AttestersSign quotes off-chain. A quote counts with threshold() distinct signatures, each attester once.Make a quote last longer than maxQuoteAge, price a token other than the one named, or bypass the Issuer's band and caps.

CoreAccount (HyperEVM, one per market)

RoleCanCannot
OwnerSet operator, guardian, treasury and the risk bounds (setParams: slippage up to 3%, leverage cap 1x to 1.1x, settle window 30 to 300 seconds, an hourly decrease limit at least the increase limit). Pause and unpause. Reduce the position without an hourly limit. Run the leverage setup on isolated-only markets: register the agent (beginLeverageSetup), end it and confirm the revocation.Trade another market from this account. Increase the position (that is the operator's). Renounce ownership.
Operatorincrease: buy with an IOC order within slippage of the mark, under the leverage cap counting orders still settling, within the hourly limit; not while paused. decrease: reduce-only sells within slippage and the hourly decrease limit, also while paused. cancel. Move USDC between the contract, HyperCore spot and perp margin (depositUsdc, spotToPerp not while paused; perpToSpot never past the leverage cap; spotToEvm). hypeToCore for transfer gas. sweep USDC to the treasury. End or retry the leverage setup.Send USDC anywhere but the treasury. Trade beyond the bounds. Fund the account while a leverage agent is active. Confirm a revocation. Unpause.
Guardianpause. Reduce the position without an hourly limit, also while paused. End or retry the leverage setup and confirm the revocation once it has checked it off-chain.Unpause, increase, move USDC, change bounds or roles.
AgentOnly on isolated-only markets, only during the leverage setup: a Hyperliquid API wallet registered by the owner, which signs the one action CoreWriter cannot send, setting the market to 1x isolated.Exist outside the setup window. It may be registered only on an account with no position and at most 1,000 USDC, each agent only once per account, no USDC may be moved into the HyperCore account while it is active, and trading stays closed until the guardian or owner confirms it was replaced with a fresh keyless address.

Treasury and factory (HyperEVM)

ContractRoleCanCannot
TreasuryOwnerownerWithdraw: move any asset anywhere, for migrations and emergencies. Set mover, guardian, the Issuer on Elysium and its refund address, the bridge fee ceiling and gas floor. Pause and unpause.Renounce ownership.
TreasuryMoverfundAccount: USDC to a market's CoreAccount created by the factory. bridgeToElysium: USDC to the Issuer through the canonical bridge, paying at most maxBridgeFee in HYPE, with gas above the floors so the transfer completes on its own. Not while paused.Send USDC to any other address.
TreasuryGuardianpauseUnpause or move funds.
CoreAccountFactoryOwnercreateAccount for a perp on a dex marked USDC-margined, setDefaults (roles and bounds for new accounts), setUsdcDex.Change an existing account (each account has its own owner). Renounce ownership.
BasisVaultFactoryOwnercreateVault, setDefaults.Change an existing vault. Renounce ownership.

BasisVault (HyperEVM)

RoleCanCannot
OwnerSet parameters within hard caps (entry, exit and instant fees up to 2%, performance fee up to 30%, slippage up to 3%, margin floor at least 30% of the short, epochs up to 7 days, spot-to-oracle deviation up to 10%). Set operator, guardian and fee recipient. Pause and unpause. startClosing, a permanent wind-down. Settle epochs and unwind, like the guardian.Move USDC out of the vault: it leaves only to shareholders. Apply a fee increase to requests already queued (fees are fixed per epoch). Renounce ownership.
OperatorWhile active (not paused, no epoch overdue): buy spot and open the short within the gap and margin bounds and the hourly limit, sell and close within the same bounds, move USDC between the vault's own balances leaving a cash buffer and the cash owed to queued redemptions, settle an epoch once it is old enough.Act at all while the vault is paused or an epoch is overdue. Move USDC to any other account. Open exposure while closing.
GuardianPause. Settle an epoch at any time, through a spot/oracle gap if needed. Unwind both legs without the gap and hourly limits. Top up perp margin, also while paused.Unpause, change parameters or roles, open new exposure.
Fee recipientReceives performance-fee shares.Call anything privileged.
AnyoneRequest and cancel deposits and redemptions under the vault's rules, claim settled epochs, redeem instantly within the cap. Once an epoch is overdue, settle it and unwind within the bounds, so exits never depend on the operator.—

Pauses, and who restarts them

ContractWhat stopsWho stopsWho restartsWhat keeps working
IssuerMintingGuardian, ownerOwnerRedemptions, transfers
IssuerRedemptions and payClaimsGuardian, ownerGuardian, ownerMinting if open, transfers
IssuerUSDC leaving for HyperEVMGuardian, ownerOwnerMints and redemptions
CoreAccountIncreases, deposits into marginGuardian, ownerOwnerDecreases, perpToSpot, spotToEvm, sweep to the treasury
TreasuryfundAccount, bridgeToElysiumGuardian, ownerOwnerIncoming USDC; ownerWithdraw
BasisVaultDeposits, new exposure, the operatorGuardian, ownerOwnerRedemption requests and claims, instant redemptions, guardian and owner unwinding, cancelling queued requests

Issuer.pause() stops all three Issuer switches in one call. A pToken itself has no pause: it always transfers.

Ownership

  • Every owned contract uses OpenZeppelin's Ownable2Step: a transfer takes effect only when the new owner calls acceptOwnership, so a typo cannot hand a contract to an address nobody controls.
  • renounceOwnership reverts with RenounceDisabled on the Issuer, AttestedPriceSource, CoreAccount, CoreAccountFactory, Treasury, BasisVault and BasisVaultFactory. An ownerless contract could never be unpaused or reconfigured, which would freeze holders in.
  • Role setters refuse the zero address, except the risk manager (zero turns the role off) and the Relay route (zero turns it off).
  • pTokens have no owner. Only their Issuer can mint or burn them.

Who holds the keys

Before limits rise, the roles move to separate keys, so that a leaked operator key is only an operator key, and the owner moves behind a timelock: changes to prices, roles, parameters or funds would then be announced on-chain and take effect only after the delay, giving holders time to redeem first. The Issuer and the other contracts already split the roles; the change is in who holds them. See Trust and risks for what this means for you.