kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
20 lines • 715 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface WithdrawProtocolFeeArgs {
amountX: BN;
amountY: BN;
}
export interface WithdrawProtocolFeeAccounts {
lbPair: PublicKey;
reserveX: PublicKey;
reserveY: PublicKey;
tokenXMint: PublicKey;
tokenYMint: PublicKey;
receiverTokenX: PublicKey;
receiverTokenY: PublicKey;
tokenXProgram: PublicKey;
tokenYProgram: PublicKey;
}
export declare const layout: any;
export declare function withdrawProtocolFee(args: WithdrawProtocolFeeArgs, accounts: WithdrawProtocolFeeAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=withdrawProtocolFee.d.ts.map