/** * Maintains the version number for the blockchain. * * **Module ID:** `0x1::version` * * @module */ import type * as p from "@movingco/prelude"; /** Type name: `0x1::version::Version` */ export interface IVersion { major: p.U64; } /** Payload arguments for {@link entry.set_version}. */ export declare type SetVersionArgs = { args: { /** IDL type: `U64` */ major: p.U64; }; }; export * as entry from "./entry.js"; export * as entryNames from "./entryNames.js"; export { idl } from "./idl.js"; export * as payloads from "./payloads.js"; /** The address of the module. */ export declare const ADDRESS: "0x1"; /** The full module name. */ export declare const FULL_NAME: "0x1::version"; /** The name of the module. */ export declare const NAME: "version"; /** Module ID information. */ export declare const id: { readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::version"; readonly NAME: "version"; }; export * as errors from "./errors.js"; /** Module error codes. */ export declare const errorCodes: { 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."; }; }; /** All module function IDLs. */ export declare const functions: { readonly set_version: { 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"; }]; }; }; /** All struct types with ability `key`. */ export declare const resources: { readonly Version: "0x1::version::Version"; }; /** All struct types. */ export declare const structs: { readonly Version: "0x1::version::Version"; }; /** Maintains the version number for the blockchain. */ export declare const moduleDefinition: { readonly errorCodes: { 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."; }; }; readonly functions: { readonly set_version: { 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 resources: { readonly Version: "0x1::version::Version"; }; readonly structs: { readonly Version: "0x1::version::Version"; }; readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::version"; readonly NAME: "version"; }; //# sourceMappingURL=index.d.ts.map