# state.rs - source
Source of the Rust file `docs/sdk/src/reference_docs/state.rs`.

#
pezkuwi_sdk_docs/reference_docs/
state.rs

    1//! # State
    2//!
    3//! The state is abstracted as a key-value like database. Every item that
    4//! needs to be persisted by the [State Transition
    5//! Function](crate::reference_docs::blockchain_state_machines) is written to the state.
    6//!
    7//! ## Special keys
    8//!
    9//! The key-value pairs in the state are represented as byte sequences. The node
    10//! doesn't know how to interpret most the key-value pairs. However, there exist some
    11//! special keys and its values that are known to the node, the so-called
    12//! [`well-known-keys`](pezsp_storage::well_known_keys).