@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
26 lines • 1.03 kB
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface WithdrawObligationCollateralV2Args {
collateralAmount: BN;
}
export interface WithdrawObligationCollateralV2Accounts {
withdrawAccounts: {
owner: PublicKey;
obligation: PublicKey;
lendingMarket: PublicKey;
lendingMarketAuthority: PublicKey;
withdrawReserve: PublicKey;
reserveSourceCollateral: PublicKey;
userDestinationCollateral: PublicKey;
tokenProgram: PublicKey;
instructionSysvarAccount: PublicKey;
};
farmsAccounts: {
obligationFarmUserState: PublicKey;
reserveFarmState: PublicKey;
};
farmsProgram: PublicKey;
}
export declare const layout: any;
export declare function withdrawObligationCollateralV2(args: WithdrawObligationCollateralV2Args, accounts: WithdrawObligationCollateralV2Accounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=withdrawObligationCollateralV2.d.ts.map