@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
18 lines • 705 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface WithdrawProtocolFeeArgs {
amount: BN;
}
export interface WithdrawProtocolFeeAccounts {
lendingMarketOwner: PublicKey;
lendingMarket: PublicKey;
reserve: PublicKey;
reserveLiquidityMint: PublicKey;
lendingMarketAuthority: PublicKey;
feeVault: PublicKey;
lendingMarketOwnerAta: PublicKey;
tokenProgram: PublicKey;
}
export declare const layout: any;
export declare function withdrawProtocolFee(args: WithdrawProtocolFeeArgs, accounts: WithdrawProtocolFeeAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=withdrawProtocolFee.d.ts.map