@somnia-chain/markets-sdk / index / PoolBindingRecord
Interface: PoolBindingRecord
Defined in: query.ts:2835
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:2837
${poolAddress}_${nonce}
poolAddress
poolAddress:
string
Defined in: query.ts:2839
Lowercased pool address.
marketId
marketId:
string
Defined in: query.ts:2841
Lowercased bytes32 marketId this binding served.
nonce
nonce:
string
Defined in: query.ts:2843
Pool market nonce for this binding (decimal string).
fromBlock
fromBlock:
string
Defined in: query.ts:2844
fromLogIndex
fromLogIndex:
number
Defined in: query.ts:2845
fromTimestamp
fromTimestamp:
string
Defined in: query.ts:2846
toBlock
toBlock:
string|null
Defined in: query.ts:2848
Null while the binding is open (the pool's current market).
toLogIndex
toLogIndex:
number|null
Defined in: query.ts:2849
toTimestamp
toTimestamp:
string|null
Defined in: query.ts:2850
closedBy
closedBy:
"Released"|"Rotated"|null
Defined in: query.ts:2853
How the binding closed: "Released" (PoolReleased) | "Rotated" (the next
MarketCreated recycled the pool onward); null while open.