@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
22 lines • 907 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface RedeemReserveCollateralArgs {
collateralAmount: BN;
}
export interface RedeemReserveCollateralAccounts {
owner: PublicKey;
lendingMarket: PublicKey;
reserve: PublicKey;
lendingMarketAuthority: PublicKey;
reserveLiquidityMint: PublicKey;
reserveCollateralMint: PublicKey;
reserveLiquiditySupply: PublicKey;
userSourceCollateral: PublicKey;
userDestinationLiquidity: PublicKey;
collateralTokenProgram: PublicKey;
liquidityTokenProgram: PublicKey;
instructionSysvarAccount: PublicKey;
}
export declare const layout: any;
export declare function redeemReserveCollateral(args: RedeemReserveCollateralArgs, accounts: RedeemReserveCollateralAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=redeemReserveCollateral.d.ts.map