/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x1::reconfiguration"; readonly doc: "Publishes configuration information for validators, and issues reconfiguration events\nto synchronize configuration changes for the validators."; readonly functions: readonly []; readonly structs: readonly [{ readonly name: "0x1::reconfiguration::Configuration"; readonly doc: "Holds information about state of reconfiguration"; readonly fields: readonly [{ readonly name: "epoch"; readonly doc: "Epoch number"; readonly ty: "u64"; }, { readonly name: "last_reconfiguration_time"; readonly doc: "Time of last reconfiguration. Only changes on reconfiguration events."; readonly ty: "u64"; }, { readonly name: "events"; readonly doc: "Event handle for reconfiguration events"; readonly ty: { readonly struct: { readonly name: "0x1::event::EventHandle"; readonly ty_args: readonly [{ readonly struct: { readonly name: "0x1::reconfiguration::NewEpochEvent"; }; }]; }; }; }]; readonly abilities: readonly ["key"]; }, { readonly name: "0x1::reconfiguration::DisableReconfiguration"; readonly doc: "Reconfiguration disabled if this resource occurs under LibraRoot."; readonly fields: readonly [{ readonly name: "dummy_field"; readonly ty: "bool"; }]; readonly abilities: readonly ["key"]; }, { readonly name: "0x1::reconfiguration::NewEpochEvent"; readonly doc: "Event that signals consensus to start a new epoch,\nwith new configuration information. This is also called a\n\"reconfiguration event\""; readonly fields: readonly [{ readonly name: "epoch"; readonly ty: "u64"; }]; readonly abilities: readonly ["drop", "store"]; }]; readonly errors: { readonly "1": { readonly name: "ECONFIGURATION"; readonly doc: "The `Configuration` resource is in an invalid state"; }; readonly "2": { readonly name: "ECONFIG"; readonly doc: "A `Reconfiguration` resource is in an invalid state"; }; readonly "3": { readonly name: "EMODIFY_CAPABILITY"; readonly doc: "A `ModifyConfigCapability` is in a different state than was expected"; }; readonly "4": { readonly name: "EINVALID_BLOCK_TIME"; readonly doc: "An invalid block time was encountered."; }; readonly "5": { readonly name: "EINVALID_GUID_FOR_EVENT"; readonly doc: "An invalid block time was encountered."; }; }; }; //# sourceMappingURL=idl.d.ts.map