Expand description
Identifiers and safe numeric types for application contracts.
Structs§
- AppId
- Application identifier (e.g.
gridcraft,wordcraft,poet). - Command
Id - Fully-qualified command identifier following the
<app-id>::<upstream-id>schema. - Decimal
U64 - A 64-bit unsigned integer that is serialized as a decimal string in JSON to prevent precision loss across JavaScript, browser, and JSON boundaries.
Constants§
- JS_
MAX_ SAFE_ INTEGER - Maximum integer safely representable in JavaScript IEEE-754 numbers (2^53 - 1).
Functions§
- validate_
finite_ f64 - Helper function to validate that a floating point value is strictly finite.