UNPKG

@kamino-finance/scope-sdk

Version:
16 lines 779 B
import { Address, IAccountMeta, IInstruction } from "@solana/kit"; import * as types from "../types"; export interface GetLiquidationStateArgs { params: types.GetLiquidationStateParamsFields; } export interface GetLiquidationStateAccounts { perpetuals: Address; pool: Address; position: Address; custody: Address; custodyOracleAccount: Address; collateralCustody: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function getLiquidationState(args: GetLiquidationStateArgs, accounts: GetLiquidationStateAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=getLiquidationState.d.ts.map