UNPKG

@orca-so/wavebreak

Version:

The wavebreak JS client for interacting with the wavebreak program.

19 lines (18 loc) 704 B
import { Address, Codec, Decoder, Encoder } from '@solana/kit'; export type WhirlpoolRewardInfo = { mint: Address; vault: Address; authority: Address; emissionsPerSecondX64: bigint; growthGlobalX64: bigint; }; export type WhirlpoolRewardInfoArgs = { mint: Address; vault: Address; authority: Address; emissionsPerSecondX64: number | bigint; growthGlobalX64: number | bigint; }; export declare function getWhirlpoolRewardInfoEncoder(): Encoder<WhirlpoolRewardInfoArgs>; export declare function getWhirlpoolRewardInfoDecoder(): Decoder<WhirlpoolRewardInfo>; export declare function getWhirlpoolRewardInfoCodec(): Codec<WhirlpoolRewardInfoArgs, WhirlpoolRewardInfo>;