@orca-so/wavebreak
Version:
The wavebreak JS client for interacting with the wavebreak program.
22 lines (21 loc) • 836 B
TypeScript
import { Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, 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(): FixedSizeEncoder<LockConfigArgs>;
export declare function getLockConfigDecoder(): FixedSizeDecoder<LockConfig>;
export declare function getLockConfigCodec(): FixedSizeCodec<LockConfigArgs, LockConfig>;