@orca-so/wavebreak
Version:
The wavebreak JS client for interacting with the wavebreak program.
13 lines (12 loc) • 617 B
TypeScript
import { Address, Codec, Decoder, Encoder, ReadonlyUint8Array } from '@solana/kit';
export type WhirlpoolConfig = {
discriminator: ReadonlyUint8Array;
feeAuthority: Address;
collectProtocolFeesAuthority: Address;
rewardEmissionsSuperAuthority: Address;
defaultProtocolFeeRate: number;
};
export type WhirlpoolConfigArgs = WhirlpoolConfig;
export declare function getWhirlpoolConfigEncoder(): Encoder<WhirlpoolConfigArgs>;
export declare function getWhirlpoolConfigDecoder(): Decoder<WhirlpoolConfig>;
export declare function getWhirlpoolConfigCodec(): Codec<WhirlpoolConfigArgs, WhirlpoolConfig>;