/** * Maintains the consensus config for the blockchain. The config is stored in a * Reconfiguration, and may be updated by root. * * **Module ID:** `0x1::consensus_config` * * @module */ import type * as p from "@movingco/prelude"; /** Type name: `0x1::consensus_config::ConsensusConfig` */ export interface IConsensusConfig { config: p.ByteString; } export { idl } from "./idl.js"; /** The address of the module. */ export declare const ADDRESS: "0x1"; /** The full module name. */ export declare const FULL_NAME: "0x1::consensus_config"; /** The name of the module. */ export declare const NAME: "consensus_config"; /** Module ID information. */ export declare const id: { readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::consensus_config"; readonly NAME: "consensus_config"; }; export * as errors from "./errors.js"; /** Module error codes. */ export declare const errorCodes: { readonly "1": { readonly name: "EINVALID_CONFIG"; readonly doc: "The provided on chain config bytes are empty or invalid"; }; }; /** All module function IDLs. */ export declare const functions: {}; /** All struct types with ability `key`. */ export declare const resources: { readonly ConsensusConfig: "0x1::consensus_config::ConsensusConfig"; }; /** All struct types. */ export declare const structs: { readonly ConsensusConfig: "0x1::consensus_config::ConsensusConfig"; }; /** * Maintains the consensus config for the blockchain. The config is stored in a * Reconfiguration, and may be updated by root. */ export declare const moduleDefinition: { readonly errorCodes: { readonly "1": { readonly name: "EINVALID_CONFIG"; readonly doc: "The provided on chain config bytes are empty or invalid"; }; }; readonly functions: {}; readonly resources: { readonly ConsensusConfig: "0x1::consensus_config::ConsensusConfig"; }; readonly structs: { readonly ConsensusConfig: "0x1::consensus_config::ConsensusConfig"; }; readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::consensus_config"; readonly NAME: "consensus_config"; }; //# sourceMappingURL=index.d.ts.map