@kamino-finance/scope-sdk
Version:
Scope Oracle SDK
28 lines • 982 B
TypeScript
import BN from "bn.js";
import * as types from "../types";
export interface RebalanceExpanderStateFields {
initialPoolPrice: BN;
expansionCount: number;
}
export interface RebalanceExpanderStateJSON {
initialPoolPrice: string;
expansionCount: number;
}
export declare class RebalanceExpanderState {
readonly initialPoolPrice: BN;
readonly expansionCount: number;
constructor(fields: RebalanceExpanderStateFields);
static layout(property?: string): import("buffer-layout").Layout<unknown>;
static fromDecoded(obj: any): types.RebalanceExpanderState;
static toEncodable(fields: RebalanceExpanderStateFields): {
initialPoolPrice: BN;
expansionCount: number;
};
toJSON(): RebalanceExpanderStateJSON;
static fromJSON(obj: RebalanceExpanderStateJSON): RebalanceExpanderState;
toEncodable(): {
initialPoolPrice: BN;
expansionCount: number;
};
}
//# sourceMappingURL=RebalanceExpanderState.d.ts.map