@hubbleprotocol/farms-sdk
Version:
32 lines (31 loc) • 1.11 kB
TypeScript
import * as types from "../types";
import * as borsh from "@coral-xyz/borsh";
export interface SetPendingGlobalAdminJSON {
kind: "SetPendingGlobalAdmin";
}
export declare class SetPendingGlobalAdmin {
static readonly discriminator = 0;
static readonly kind = "SetPendingGlobalAdmin";
readonly discriminator = 0;
readonly kind = "SetPendingGlobalAdmin";
toJSON(): SetPendingGlobalAdminJSON;
toEncodable(): {
SetPendingGlobalAdmin: {};
};
}
export interface SetTreasuryFeeBpsJSON {
kind: "SetTreasuryFeeBps";
}
export declare class SetTreasuryFeeBps {
static readonly discriminator = 1;
static readonly kind = "SetTreasuryFeeBps";
readonly discriminator = 1;
readonly kind = "SetTreasuryFeeBps";
toJSON(): SetTreasuryFeeBpsJSON;
toEncodable(): {
SetTreasuryFeeBps: {};
};
}
export declare function fromDecoded(obj: any): types.GlobalConfigOptionKind;
export declare function fromJSON(obj: types.GlobalConfigOptionJSON): types.GlobalConfigOptionKind;
export declare function layout(property?: string): borsh.EnumLayout<unknown>;