/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x1::fixed_point32"; readonly doc: "Defines a fixed-point numeric type with a 32-bit integer part and\na 32-bit fractional part."; readonly functions: readonly []; readonly structs: readonly [{ readonly name: "0x1::fixed_point32::FixedPoint32"; readonly doc: "Define a fixed-point numeric type with 32 fractional bits.\nThis is just a u64 integer but it is wrapped in a struct to\nmake a unique type. This is a binary representation, so decimal\nvalues may not be exactly representable, but it provides more\nthan 9 decimal digits of precision both before and after the\ndecimal point (18 digits total). For comparison, double precision\nfloating-point has less than 16 decimal digits of precision, so\nbe careful about using floating-point to convert these values to\ndecimal."; readonly fields: readonly [{ readonly name: "value"; readonly ty: "u64"; }]; readonly abilities: readonly ["copy", "drop", "store"]; }]; readonly errors: { readonly "65537": { readonly name: "EDENOMINATOR"; readonly doc: "The denominator provided was zero"; }; readonly "65540": { readonly name: "EDIVISION_BY_ZERO"; readonly doc: "A division by zero was encountered"; }; readonly "131074": { readonly name: "EDIVISION"; readonly doc: "The quotient value would be too large to be held in a `u64`"; }; readonly "131075": { readonly name: "EMULTIPLICATION"; readonly doc: "The multiplied value would be too large to be held in a `u64`"; }; readonly "131077": { readonly name: "ERATIO_OUT_OF_RANGE"; readonly doc: "The computed ratio when converting to a `FixedPoint32` would be unrepresentable"; }; }; }; //# sourceMappingURL=idl.d.ts.map