/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x1::timestamp"; readonly doc: "This module keeps a global wall clock that stores the current Unix time in microseconds.\nIt interacts with the other modules in the following ways:\n\n* Genesis: to initialize the timestamp\n* ValidatorSystem, AptosAccount, Reconfiguration: to check if the current state is in the genesis state\n* Block: to reach consensus on the global wall clock time\n\nThis module moreover enables code to assert that it is running in genesis (`Self::assert_genesis`) or after\ngenesis (`Self::assert_operating`). These are essentially distinct states of the system. Specifically,\nif `Self::assert_operating` succeeds, assumptions about invariants over the global state can be made\nwhich reflect that the system has been successfully initialized."; readonly functions: readonly []; readonly structs: readonly [{ readonly name: "0x1::timestamp::CurrentTimeMicroseconds"; readonly doc: "A singleton resource holding the current Unix time in microseconds"; readonly fields: readonly [{ readonly name: "microseconds"; readonly ty: "u64"; }]; readonly abilities: readonly ["key"]; }]; readonly errors: { readonly "1": { readonly name: "ENOT_OPERATING"; readonly doc: "The blockchain is not in an operating state yet"; }; readonly "2": { readonly name: "EINVALID_TIMESTAMP"; readonly doc: "An invalid timestamp was provided"; }; }; }; //# sourceMappingURL=idl.d.ts.map