UNPKG

@kamino-finance/klend-sdk

Version:

Typescript SDK for interacting with the Kamino Lending (klend) protocol

21 lines 1.05 kB
import { Address, AccountMeta, AccountSignerMeta, Instruction, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export declare const DISCRIMINATOR: Buffer<ArrayBuffer>; export interface UpdateReserveAllocationArgs { weight: BN; cap: BN; } export interface UpdateReserveAllocationAccounts { signer: TransactionSigner; vaultState: Address; baseVaultAuthority: Address; reserveCollateralMint: Address; reserve: Address; ctokenVault: Address; reserveCollateralTokenProgram: Address; systemProgram: Address; rent: Address; } export declare const layout: import("buffer-layout").Layout<UpdateReserveAllocationArgs>; export declare function updateReserveAllocation(args: UpdateReserveAllocationArgs, accounts: UpdateReserveAllocationAccounts, remainingAccounts?: Array<AccountMeta | AccountSignerMeta>, programAddress?: Address): Instruction<string, readonly (AccountMeta<string> | import("@solana/kit").AccountLookupMeta<string, string>)[]>; //# sourceMappingURL=updateReserveAllocation.d.ts.map