@hubbleprotocol/farms-sdk
Version:
32 lines (31 loc) • 956 B
TypeScript
import * as types from "../types";
import * as borsh from "@coral-xyz/borsh";
export interface ProportionalJSON {
kind: "Proportional";
}
export declare class Proportional {
static readonly discriminator = 0;
static readonly kind = "Proportional";
readonly discriminator = 0;
readonly kind = "Proportional";
toJSON(): ProportionalJSON;
toEncodable(): {
Proportional: {};
};
}
export interface ConstantJSON {
kind: "Constant";
}
export declare class Constant {
static readonly discriminator = 1;
static readonly kind = "Constant";
readonly discriminator = 1;
readonly kind = "Constant";
toJSON(): ConstantJSON;
toEncodable(): {
Constant: {};
};
}
export declare function fromDecoded(obj: any): types.RewardTypeKind;
export declare function fromJSON(obj: types.RewardTypeJSON): types.RewardTypeKind;
export declare function layout(property?: string): borsh.EnumLayout<unknown>;