@orca-so/wavebreak
Version:
The wavebreak JS client for interacting with the wavebreak program.
22 lines (21 loc) • 917 B
TypeScript
import { Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, ReadonlyUint8Array } from '@solana/kit';
import { LockTypeLabel, LockTypeLabelArgs } from '.';
export type WhirlpoolLockConfig = {
discriminator: ReadonlyUint8Array;
position: Address;
positionOwner: Address;
whirlpool: Address;
lockedTimestamp: bigint;
lockType: LockTypeLabel;
};
export type WhirlpoolLockConfigArgs = {
discriminator: ReadonlyUint8Array;
position: Address;
positionOwner: Address;
whirlpool: Address;
lockedTimestamp: number | bigint;
lockType: LockTypeLabelArgs;
};
export declare function getWhirlpoolLockConfigEncoder(): FixedSizeEncoder<WhirlpoolLockConfigArgs>;
export declare function getWhirlpoolLockConfigDecoder(): FixedSizeDecoder<WhirlpoolLockConfig>;
export declare function getWhirlpoolLockConfigCodec(): FixedSizeCodec<WhirlpoolLockConfigArgs, WhirlpoolLockConfig>;