@somnia-chain/markets-sdk / index / IndexedVenue
Type Alias: IndexedVenue
IndexedVenue =
object
Defined in: query.ts:2034
A venue as the indexer sees it (mirror of the Venue entity).
Properties
venueId
venueId:
string
Defined in: query.ts:2036
Opaque bytes32 venue id (== entity id); NOT a human label.
operatorId
operatorId:
number
Defined in: query.ts:2038
The operator the venue belongs to.
marketType
marketType:
string
Defined in: query.ts:2040
bytes4 market-type id the venue is pinned to, forever (hex).
feeParams
feeParams:
string
Defined in: query.ts:2042
Type-specific fee params, opaque to the registry (bytes hex).
feeRecipientOverride
feeRecipientOverride:
string
Defined in: query.ts:2044
Per-venue fee recipient override (lowercased); zero-address falls back to the operator's.
policy
policy:
string
Defined in: query.ts:2046
Per-venue IVenuePolicy (lowercased); zero-address = none.
signer
signer:
string
Defined in: query.ts:2048
Per-venue EIP-712 signer (lowercased); non-zero ⇒ creation requires a venue sig.
creationEnabled
creationEnabled:
boolean
Defined in: query.ts:2050
Whether new markets may currently be created under the venue.
context
context:
string
Defined in: query.ts:2055
Opaque venue-supplied metadata bytes (hex, 0x-prefixed; '0x' when empty). The chain attaches no semantics — off-chain data only.
createdAtTimestamp
createdAtTimestamp:
string
Defined in: query.ts:2057
Timestamp (unix seconds) the venue was created.
updatedAtTimestamp
updatedAtTimestamp:
string
Defined in: query.ts:2059
Timestamp (unix seconds) of the last update to the row.
marketCount
marketCount:
number
Defined in: query.ts:2061
Number of markets created under the venue.
cumulativeQuoteVolume
cumulativeQuoteVolume:
string
Defined in: query.ts:2063
Cumulative binary quote/collateral volume across the venue's markets (raw).
protocolFeesCollected
protocolFeesCollected:
string
Defined in: query.ts:2065
Cumulative protocol fees collected across the venue's markets (raw).
settlementFeesCollected
settlementFeesCollected:
string
Defined in: query.ts:2067
Cumulative settlement fees collected across the venue's markets (raw).
builderFeesCollected
builderFeesCollected:
string
Defined in: query.ts:2069
Cumulative builder fees routed across the venue's markets (raw).