/** * Config representing the deployed state of bls-wallet contracts */ export type NetworkConfig = { /** * Parameters used in contract deployment. Currently unused. */ parameters: Record; /** * Contract addresses */ addresses: { safeSingletonFactory: string; precompileCostEstimator: string; verificationGateway: string; blsExpander: string; utilities: string; testToken: string; }; /** * Additional information about deployment/deployed state */ auxiliary: { chainid: number; /** * Domain used for signing BLS Proof of Possession messages */ walletDomain: string; /** * Domain used for signing BLS Bundle messages */ bundleDomain: string; /** * Starting block contracts began deployment at */ genesisBlock: number; /** * Address of the EOA which deployed the contracts */ deployedBy: string; /** * Git commit SHA of the contracts */ version: string; }; }; type ReadFileFunc = (filePath: string) => Promise; type UnvalidatedConfig = Record>; /** * Validates and returns a network config. * * @param cfg The config object to validate. */ export declare function validateConfig(cfg: UnvalidatedConfig): NetworkConfig; /** * Retrieves, validates, and returns a network config. * @deprecated Use getMultiConfig instead. * * @param networkConfigPath Path to config JSON file. * @param readFileFunc Callback to retrieve the config. This could be via fetch, fs.readFile, etc. */ export declare function getConfig(networkConfigPath: string, readFileFunc: ReadFileFunc): Promise; export {}; //# sourceMappingURL=NetworkConfig.d.ts.map