Skip to main content

Module state

Module state 

Source
Expand description

Typed state enums for CSV contracts

These types define the structured state that contracts operate on. Unlike opaque byte vectors, typed state enables schema validation and consumer-friendly decoding.

Structs§

GlobalState
Global state: contract-wide values visible to all parties
Metadata
Metadata: auxiliary data attached to state transitions
OwnedState
Owned state: state bound to a specific single-use seal
StateAssignment
State assignment: specifies which seal receives which state
StateRef
State reference: identifies existing state to consume

Type Aliases§

StateTypeId
Unique identifier for a state type within a schema