@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
26 lines • 958 B
TypeScript
import { PublicKey } from "@solana/web3.js";
import * as types from "../types";
export interface PythConfigurationFields {
/** Pubkey of the base price feed (disabled if `null` or `default`) */
price: PublicKey;
}
export interface PythConfigurationJSON {
/** Pubkey of the base price feed (disabled if `null` or `default`) */
price: string;
}
export declare class PythConfiguration {
/** Pubkey of the base price feed (disabled if `null` or `default`) */
readonly price: PublicKey;
constructor(fields: PythConfigurationFields);
static layout(property?: string): any;
static fromDecoded(obj: any): types.PythConfiguration;
static toEncodable(fields: PythConfigurationFields): {
price: PublicKey;
};
toJSON(): PythConfigurationJSON;
static fromJSON(obj: PythConfigurationJSON): PythConfiguration;
toEncodable(): {
price: PublicKey;
};
}
//# sourceMappingURL=PythConfiguration.d.ts.map