kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
22 lines • 802 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface CollectProtocolFeeArgs {
amount0Requested: BN;
amount1Requested: BN;
}
export interface CollectProtocolFeeAccounts {
owner: PublicKey;
poolState: PublicKey;
ammConfig: PublicKey;
tokenVault0: PublicKey;
tokenVault1: PublicKey;
vault0Mint: PublicKey;
vault1Mint: PublicKey;
recipientTokenAccount0: PublicKey;
recipientTokenAccount1: PublicKey;
tokenProgram: PublicKey;
tokenProgram2022: PublicKey;
}
export declare const layout: any;
export declare function collectProtocolFee(args: CollectProtocolFeeArgs, accounts: CollectProtocolFeeAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=collectProtocolFee.d.ts.map