@somnia-chain/markets-sdk / index / SystemInfo
Interface: SystemInfo
Defined in: packages/sdk/src/system.ts:45
Live snapshot of the deployed CLOB-family contract state, as read by
SomniaMarketsClient.getSystemInfo. null means the contract is not
configured or not wired. A live read that FAILS throws — this snapshot never
reports a value the chain did not answer, because a dashboard cannot tell a
fabricated zero from a real one.
Properties
clobFactory
clobFactory:
`0x${string}`|null
Defined in: packages/sdk/src/system.ts:47
BinaryMarketsModule.clobFactory() (authoritative) or the configured fallback.
binaryMarketImpl
binaryMarketImpl:
`0x${string}`|null
Defined in: packages/sdk/src/system.ts:53
ClobFactory.binaryMarketImpl(), or null when no ClobFactory resolved (there
is no configured market-impl fallback; binaryPoolImpl is a different
contract).
factoryMismatch
factoryMismatch:
boolean
Defined in: packages/sdk/src/system.ts:55
True when the live ClobFactory differs from the configured one.
settlement
settlement:
`0x${string}`|null
Defined in: packages/sdk/src/system.ts:62
The BinarySettlement singleton the module is wired to (live
BinaryMarketsModule.settlement(), falling back to the configured
addresses.binarySettlement). Null pre-wire, on a pre-v2 module that does
not declare the view, and when neither is configured. A failed read throws.
settlementMismatch
settlementMismatch:
boolean
Defined in: packages/sdk/src/system.ts:64
True when the module's live settlement differs from the configured one.
marketCreator
marketCreator:
MarketCreatorInfo|null
Defined in: packages/sdk/src/system.ts:66
The configured MarketCreator's state; null when addresses.marketCreator is unset.
oracle
oracle: {
owner:`0x${string}`;binaryModule:`0x${string}`; } |null
Defined in: packages/sdk/src/system.ts:68
FakeOracle wiring; null when addresses.fakeOracle is unset.
Union Members
Type Literal
{ owner: `0x${string}`; binaryModule: `0x${string}`; }
owner
owner:
`0x${string}`
FakeOracle owner (the resolve/void signer).
binaryModule
binaryModule:
`0x${string}`
The module the oracle delivers to (its RECEIVER).
null
usdc
usdc: {
symbol:string;decimals:number; } |null
Defined in: packages/sdk/src/system.ts:78
Collateral ERC-20 metadata (from addresses.collateral, falling back to the
legacy testUsdc); null when neither is configured.
Union Members
Type Literal
{ symbol: string; decimals: number; }
symbol
symbol:
string
Token symbol.
decimals
decimals:
number
Token decimals.
null