UNPKG

@orca-so/wavebreak

Version:

The wavebreak JS client for interacting with the wavebreak program.

14 lines (13 loc) 697 B
import { Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, ReadonlyUint8Array } from '@solana/kit'; export type WhirlpoolConfig = { discriminator: ReadonlyUint8Array; feeAuthority: Address; collectProtocolFeesAuthority: Address; rewardEmissionsSuperAuthority: Address; defaultProtocolFeeRate: number; featureFlags: number; }; export type WhirlpoolConfigArgs = WhirlpoolConfig; export declare function getWhirlpoolConfigEncoder(): FixedSizeEncoder<WhirlpoolConfigArgs>; export declare function getWhirlpoolConfigDecoder(): FixedSizeDecoder<WhirlpoolConfig>; export declare function getWhirlpoolConfigCodec(): FixedSizeCodec<WhirlpoolConfigArgs, WhirlpoolConfig>;