{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / HubStatus

Interface: HubStatus

Defined in: oracleHub.ts:315

Live on-chain status of the hub (the point read a panel confirms).

Properties

owner

owner: `0x${string}`

Defined in: oracleHub.ts:317

Hub owner — the account gated into withdraw / gas + drain param writes.


balanceWei

balanceWei: bigint

Defined in: oracleHub.ts:322

Total native balance (wei) the hub holds (Σ earmarked + accrued credit + reactivity bond float).


approved

approved: boolean

Defined in: oracleHub.ts:327

Whether the module has the hub approved (approvedAdapters(hub)) — the wired/live gate.


subscriptionId

subscriptionId: bigint

Defined in: oracleHub.ts:329

Reactivity subscription id; 0n until enableReactivity succeeds.


priorityFeePerGas

priorityFeePerGas: bigint

Defined in: oracleHub.ts:331

Reactivity-callback tip (wei per gas).


maxFeePerGas

maxFeePerGas: bigint

Defined in: oracleHub.ts:333

Reactivity-callback fee ceiling (wei per gas); one factor of resolveReserve.


gasLimit

gasLimit: bigint

Defined in: oracleHub.ts:335

Gas limit each reactivity callback runs with.


perMarketResolveGas

perMarketResolveGas: bigint

Defined in: oracleHub.ts:337

Per-market resolve-slice gas constant (sizes resolveReserve).


callbackBaseGas

callbackBaseGas: bigint

Defined in: oracleHub.ts:339

Explicitly-attributed callback overhead gas constant (metering).


maxResolvesPerCallback

maxResolvesPerCallback: bigint

Defined in: oracleHub.ts:341

Belt-and-suspenders cap on markets resolved per callback.


resolveGasReserve

resolveGasReserve: bigint

Defined in: oracleHub.ts:343

Gas reserve that breaks the drain loop to the next block.


resolveReserveWei

resolveReserveWei: bigint

Defined in: oracleHub.ts:345

Per-market resolution reserve attached+locked at onBind (resolveReserve(), wei).


pendingResolves

pendingResolves: bigint

Defined in: oracleHub.ts:347

Markets still queued for resolution across all pending qids.