@kamino-finance/scope-sdk
Version:
Scope Oracle SDK
16 lines • 882 B
TypeScript
import { Address, IAccountMeta, IInstruction } from "@solana/kit";
import * as types from "../types";
export interface GetExactOutSwapAmountAndFeesArgs {
params: types.GetExactOutSwapAmountAndFeesParamsFields;
}
export interface GetExactOutSwapAmountAndFeesAccounts {
perpetuals: Address;
pool: Address;
receivingCustody: Address;
receivingCustodyOracleAccount: Address;
dispensingCustody: Address;
dispensingCustodyOracleAccount: Address;
}
export declare const layout: import("buffer-layout").Layout<unknown>;
export declare function getExactOutSwapAmountAndFees(args: GetExactOutSwapAmountAndFeesArgs, accounts: GetExactOutSwapAmountAndFeesAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
//# sourceMappingURL=getExactOutSwapAmountAndFees.d.ts.map