@somnia-chain/markets-sdk


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

Interface: SwapCreatorParams

Defined in: packages/sdk/src/marketCreatorAdmin.ts:258

Params for MarketCreatorAdmin.swapCreator.

Properties

policy

policy: `0x${string}`

Defined in: packages/sdk/src/marketCreatorAdmin.ts:260

The venue's MarketCreatorPolicy. Caller must be its owner.


from

from: `0x${string}`

Defined in: packages/sdk/src/marketCreatorAdmin.ts:262

Outgoing creator to revoke.


to

to: `0x${string}`

Defined in: packages/sdk/src/marketCreatorAdmin.ts:264

Incoming creator to authorize.


gas?

optional gas?: bigint

Defined in: packages/sdk/src/marketCreatorAdmin.ts:266

Gas ceiling for this tx; overrides the config default.