@somnia-chain/markets-sdk


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

Interface: UpdateOperatorParams

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

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

Properties

operatorId

operatorId: number

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

The operator to update. Caller must be its owner.


feeRecipient

feeRecipient: `0x${string}`

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

New default recipient of the operator's venue fees.


enabled

enabled: boolean

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

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


policy

policy: `0x${string}`

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

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


context?

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

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

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


gas?

optional gas?: bigint

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

Gas ceiling for this tx; overrides the config default.