/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x1::version"; readonly doc: "Maintains the version number for the blockchain."; readonly functions: readonly [{ readonly name: "set_version"; readonly doc: "Updates the major version to a larger version.\nThis is only used in test environments and outside of them, the core resources account shouldn't exist."; readonly ty_args: readonly []; readonly args: readonly [{ readonly name: "major"; readonly ty: "u64"; }]; }]; readonly structs: readonly [{ readonly name: "0x1::version::Version"; readonly fields: readonly [{ readonly name: "major"; readonly ty: "u64"; }]; readonly abilities: readonly ["copy", "drop", "store", "key"]; }]; readonly errors: { readonly "1": { readonly name: "EINVALID_MAJOR_VERSION_NUMBER"; readonly doc: "Specified major version number must be greater than current version number."; }; readonly "2": { readonly name: "ENOT_AUTHORIZED"; readonly doc: "Account is not authorized to make this change."; }; }; }; //# sourceMappingURL=idl.d.ts.map