@somnia-chain/markets-sdk


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

Interface: UpdateOperatorParams

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

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:123

The operator to update. Caller must be its owner.


feeRecipient

feeRecipient: `0x${string}`

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

New default recipient of the operator's venue fees.


enabled

enabled: boolean

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

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


policy

policy: `0x${string}`

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

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


context?

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

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

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


gas?

optional gas?: bigint

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

Gas ceiling for this tx; overrides the config default.