@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
15 lines • 554 B
TypeScript
import { ChainForkConfig } from "@lodestar/config";
import { Db } from "@lodestar/db";
import { BeaconStateAllForks } from "@lodestar/state-transition";
export declare class PreGenesisState {
private readonly config;
private readonly bucket;
private readonly db;
private readonly key;
private readonly type;
constructor(config: ChainForkConfig, db: Db);
put(value: BeaconStateAllForks): Promise<void>;
get(): Promise<BeaconStateAllForks | null>;
delete(): Promise<void>;
}
//# sourceMappingURL=preGenesisState.d.ts.map