Skip to main content

Module id

Module id 

Source
Expand description

Identifiers and safe numeric types for application contracts.

Structs§

AppId
Application identifier (e.g. gridcraft, wordcraft, poet).
CommandId
Fully-qualified command identifier following the <app-id>::<upstream-id> schema.
DecimalU64
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.