@somnia-chain/markets-sdk


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

Interface: IndexedPool

Defined in: packages/sdk/src/pools.ts:108

The indexer's per-pool aggregate (Pool; id = lowercased pool address) — the long-lived BinaryPool contract that outlives any single market.

Properties

id

id: string

Defined in: packages/sdk/src/pools.ts:110

Lowercased pool address (== address).


address

address: string

Defined in: packages/sdk/src/pools.ts:112

Lowercased pool address (== id).


collateral

collateral: string | null

Defined in: packages/sdk/src/pools.ts:114

Collateral token the pool is bound to for its whole life (lowercased).


creator

creator: string | null

Defined in: packages/sdk/src/pools.ts:119

The pool's creator — its first-deploy market creator, the only party that can reuse it (lowercased).


currentMarketId

currentMarketId: string | null

Defined in: packages/sdk/src/pools.ts:124

marketId of the pool's CURRENT binding; null when finalized + released and awaiting reuse.


currentNonce

currentNonce: string | null

Defined in: packages/sdk/src/pools.ts:126

Pool market nonce of the current binding (decimal string).


generationCount

generationCount: number

Defined in: packages/sdk/src/pools.ts:128

Number of markets this pool has served (== the latest nonce).


createdAtTimestamp

createdAtTimestamp: string

Defined in: packages/sdk/src/pools.ts:130

Timestamp (unix seconds) of the pool's first MarketCreated.


updatedAtTimestamp

updatedAtTimestamp: string

Defined in: packages/sdk/src/pools.ts:132

Timestamp (unix seconds) of the last binding change.