@somnia-chain/markets-sdk


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

Interface: VenueConfigInput

Defined in: packages/sdk/src/operatorAdmin.ts:52

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: packages/sdk/src/operatorAdmin.ts:57

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


feeRecipientOverride

feeRecipientOverride: `0x${string}`

Defined in: packages/sdk/src/operatorAdmin.ts:59

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


policy

policy: `0x${string}`

Defined in: packages/sdk/src/operatorAdmin.ts:65

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: packages/sdk/src/operatorAdmin.ts:67

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


creationEnabled

creationEnabled: boolean

Defined in: packages/sdk/src/operatorAdmin.ts:72

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


context?

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

Defined in: packages/sdk/src/operatorAdmin.ts:77

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