tokamak-staking-lib
Version:
tokamak staking library
13 lines (12 loc) • 397 B
TypeScript
export default class Layer2Registry {
private static _instance;
private static _address;
private _contract;
private constructor();
static instance(): Layer2Registry;
static setNetwork(net: string): void;
static get address(): string;
numLayer2s(): Promise<number>;
layer2ByIndex(index: number): Promise<string>;
layer2s(layer2: string): Promise<boolean>;
}