{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: UpdateOperatorParams

Defined in: operatorAdmin.ts:108

Params for OperatorAdmin.updateOperator. Every mutable field is replaced — pass the full desired state, not a delta.

Properties

operatorId

operatorId: number

Defined in: operatorAdmin.ts:110

The operator to update. Caller must be its owner.


feeRecipient

feeRecipient: `0x${string}`

Defined in: operatorAdmin.ts:112

New default recipient of the operator's venue fees.


enabled

enabled: boolean

Defined in: operatorAdmin.ts:114

New enabled flag (the operator-wide kill switch).


policy

policy: `0x${string}`

Defined in: operatorAdmin.ts:116

New IVenuePolicy address; zero clears the operator-wide gate.


context?

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

Defined in: operatorAdmin.ts:118

Opaque metadata bytes; replaces the prior value (empty 0x clears it).


gas?

optional gas?: bigint

Defined in: operatorAdmin.ts:120

Gas ceiling for this tx; overrides the config default.