@somnia-chain/markets-sdk / index / SystemInfo
Interface: SystemInfo
Defined in: system.ts:51
Live snapshot of the deployed CLOB-family contract state, as read by
SomniaMarketsClient.getSystemInfo. Every field is failure-tolerant: null means the
contract is unconfigured or the live read failed — never a thrown error.
Properties
clobFactory
clobFactory:
`0x${string}`|null
Defined in: system.ts:53
BinaryMarketsModule.clobFactory() (authoritative) or the configured fallback.
binaryMarketImpl
binaryMarketImpl:
`0x${string}`|null
Defined in: system.ts:58
ClobFactory.binaryMarketImpl(), or null when the live read fails (there is
no configured market-impl fallback; binaryPoolImpl is a different contract).
factoryMismatch
factoryMismatch:
boolean
Defined in: system.ts:60
True when the live ClobFactory differs from the configured one.
settlement
settlement:
`0x${string}`|null
Defined in: system.ts:66
The BinarySettlement singleton the module is wired to (live
BinaryMarketsModule.settlement(), falling back to the configured
addresses.binarySettlement). Null pre-wire / on pre-v2 deploys.
settlementMismatch
settlementMismatch:
boolean
Defined in: system.ts:68
True when the module's live settlement differs from the configured one.
marketCreator
marketCreator:
MarketCreatorInfo|null
Defined in: system.ts:70
The configured MarketCreator's state; null when addresses.marketCreator is unset.
oracle
oracle: {
owner:`0x${string}`|null;binaryModule:`0x${string}`|null; } |null
Defined in: system.ts:72
FakeOracle wiring; null when addresses.fakeOracle is unset.
Union Members
Type Literal
{ owner: `0x${string}` | null; binaryModule: `0x${string}` | null; }
owner
owner:
`0x${string}`|null
FakeOracle owner (the resolve/void signer); null when the read failed.
binaryModule
binaryModule:
`0x${string}`|null
The module the oracle delivers to (its RECEIVER); null when the read failed.
null
usdc
usdc: {
symbol:string|null;decimals:number|null; } |null
Defined in: system.ts:82
Collateral ERC-20 metadata (from addresses.collateral, falling back to the
legacy testUsdc); null when neither is configured.
Union Members
Type Literal
{ symbol: string | null; decimals: number | null; }
symbol
symbol:
string|null
Token symbol; null when the read failed.
decimals
decimals:
number|null
Token decimals; null when the read failed.
null