@orca-so/wavebreak
Version:
The wavebreak JS client for interacting with the wavebreak program.
22 lines (21 loc) • 782 B
TypeScript
import { Address, Codec, Decoder, Encoder, ReadonlyUint8Array } from '@solana/kit';
import { LockTypeLabel, LockTypeLabelArgs } from '.';
export type LockConfig = {
discriminator: ReadonlyUint8Array;
position: Address;
positionOwner: Address;
whirlpool: Address;
lockedTimestamp: bigint;
lockType: LockTypeLabel;
};
export type LockConfigArgs = {
discriminator: ReadonlyUint8Array;
position: Address;
positionOwner: Address;
whirlpool: Address;
lockedTimestamp: number | bigint;
lockType: LockTypeLabelArgs;
};
export declare function getLockConfigEncoder(): Encoder<LockConfigArgs>;
export declare function getLockConfigDecoder(): Decoder<LockConfig>;
export declare function getLockConfigCodec(): Codec<LockConfigArgs, LockConfig>;