Skip to main content

read_cell

Function read_cell 

Source
pub fn read_cell<T, W>(
    state: &ContractState<InMemoryDB>,
    executable: &IrExecutable<W>,
    index: usize,
    field: &str,
) -> Result<T, ContractRuntimeError>
Expand description

Read a Cell<T> ledger field at index using TryFrom<RuntimeValue>.