Variable STORAGE_PROGRAM_CONSTANTSConst

STORAGE_PROGRAM_CONSTANTS: {
    FEE_PER_CHUNK: bigint;
    MAX_JSON_NESTING_DEPTH: 64;
    MAX_SIZE_BYTES: 1048576;
    PRICING_CHUNK_BYTES: 10240;
} = ...

Type declaration

  • ReadonlyFEE_PER_CHUNK: bigint

    Fee per chunk, expressed in OS (= 1 DEM = 10^9 OS). Use bigint arithmetic at every call site; the SDK never widens back to JS number, which loses precision above 2^53.

  • ReadonlyMAX_JSON_NESTING_DEPTH: 64

    Maximum nesting depth for JSON encoding

  • ReadonlyMAX_SIZE_BYTES: 1048576

    Maximum storage size in bytes (1MB)

  • ReadonlyPRICING_CHUNK_BYTES: 10240

    Size chunk for pricing in bytes (10KB)