@shift-code/cli
Version:
Redeem Gearbox SHiFT codes automatically
11 lines (10 loc) • 515 B
TypeScript
export declare type MetaCache = {
activeAccountID?: string;
accounts?: string[];
};
export declare function metaCacheExists(): Promise<boolean>;
export declare function loadMetaCache(): Promise<MetaCache>;
export declare function saveMetaCache(data: Partial<MetaCache>): Promise<void>;
export declare function saveMetaActiveAccount(accountID: string): Promise<void>;
export declare function saveMetaAccount(accountID: string): Promise<void>;
export declare function clearMetaActiveAccount(): Promise<void>;