UNPKG

@kamino-finance/klend-sdk

Version:

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

31 lines 1.25 kB
import { PublicKey } from "@solana/web3.js"; import * as types from "../types"; export interface SwitchboardConfigurationFields { /** Pubkey of the base price feed (disabled if `null` or `default`) */ priceAggregator: PublicKey; twapAggregator: PublicKey; } export interface SwitchboardConfigurationJSON { /** Pubkey of the base price feed (disabled if `null` or `default`) */ priceAggregator: string; twapAggregator: string; } export declare class SwitchboardConfiguration { /** Pubkey of the base price feed (disabled if `null` or `default`) */ readonly priceAggregator: PublicKey; readonly twapAggregator: PublicKey; constructor(fields: SwitchboardConfigurationFields); static layout(property?: string): any; static fromDecoded(obj: any): types.SwitchboardConfiguration; static toEncodable(fields: SwitchboardConfigurationFields): { priceAggregator: PublicKey; twapAggregator: PublicKey; }; toJSON(): SwitchboardConfigurationJSON; static fromJSON(obj: SwitchboardConfigurationJSON): SwitchboardConfiguration; toEncodable(): { priceAggregator: PublicKey; twapAggregator: PublicKey; }; } //# sourceMappingURL=SwitchboardConfiguration.d.ts.map