Constant STATE

Source
pub const STATE: Constraint;
Expand description

§State

0x39

Access a range of words from the state value located in the slot at slot_ix.

Push len words from the value onto the stack, starting from the word at value_ix.

The argument delta false accesses pre state. The argument delta true accesses post state.

§Stack Input

[slot_ix, value_ix, len, delta]

§Stack Output

[word, ...] The stack output length depends on the value of the len stack input word.

§Panics

  • slot_ix is out of range.
  • The range value_ix..(value_ix + len) is out of range.
  • delta is not a boolean.