Skip to main content

read_cell_with

Function read_cell_with 

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

Read a Cell<T> ledger field at index with a custom projector.