{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: VenueConfigInput

Defined in: operatorAdmin.ts:55

A venue's mutable config (mirror of MarketsCore's VenueConfig input tuple) — passed whole to OperatorAdmin.createVenue and OperatorAdmin.updateVenue.

Properties

feeParams

feeParams: `0x${string}`

Defined in: operatorAdmin.ts:60

Type-specific fee parameters, abi-encoded (see encodeBinaryVenueFeeParams for BINARY_V1). Opaque to the registry.


feeRecipientOverride

feeRecipientOverride: `0x${string}`

Defined in: operatorAdmin.ts:62

Per-venue fee recipient; zero falls back to the operator's default.


policy

policy: `0x${string}`

Defined in: operatorAdmin.ts:68

IVenuePolicy address; zero means no per-venue gate (the operator-wide policy still applies). Creation needs SOME create-side policy set — point this at the deployed OpenPolicy to make the venue open.


signer

signer: `0x${string}`

Defined in: operatorAdmin.ts:70

EIP-712 signer; non-zero requires a venue-signed authorization to create.


creationEnabled

creationEnabled: boolean

Defined in: operatorAdmin.ts:75

Whether market creation on this venue is live. Trading/settlement on existing markets is unaffected.


context?

optional context?: `0x${string}`

Defined in: operatorAdmin.ts:80

Opaque metadata bytes attached to the venue; the registry attaches no semantics (indexed as-is). Defaults to 0x (empty). Capped at 4 KiB.