@somnia-chain/markets-sdk / index / PoolBindingRecord
Interface: PoolBindingRecord
Defined in: query.ts:3543
One interval in a pool's life during which it was bound 1:1 to a single
market (indexer PoolBinding; id = ${pool}_${nonce}). MarketCreated
OPENS a binding; PoolReleased or the next MarketCreated on the same pool
CLOSES it. An open binding (toBlock null) is the pool's current market.
Properties
id
id:
string
Defined in: query.ts:3545
${poolAddress}_${nonce}
poolAddress
poolAddress:
string
Defined in: query.ts:3547
Lowercased pool address.
marketId
marketId:
string
Defined in: query.ts:3549
Lowercased bytes32 marketId this binding served.
nonce
nonce:
string
Defined in: query.ts:3551
Pool market nonce for this binding (decimal string).
fromBlock
fromBlock:
string
Defined in: query.ts:3553
Block the binding opened in (the MarketCreated; decimal string).
fromLogIndex
fromLogIndex:
number
Defined in: query.ts:3555
Log index of the opening event within its block.
fromTimestamp
fromTimestamp:
string
Defined in: query.ts:3557
Timestamp (unix seconds) the binding opened.
toBlock
toBlock:
string|null
Defined in: query.ts:3559
Null while the binding is open (the pool's current market).
toLogIndex
toLogIndex:
number|null
Defined in: query.ts:3561
Log index of the closing event; null while the binding is open.
toTimestamp
toTimestamp:
string|null
Defined in: query.ts:3563
Timestamp (unix seconds) the binding closed; null while open.
closedBy
closedBy:
"Released"|"Rotated"|null
Defined in: query.ts:3568
How the binding closed: "Released" (PoolReleased) | "Rotated" (the next
MarketCreated recycled the pool onward); null while open.