pub fn read_set_with<T, W, F>(
state: &ContractState<InMemoryDB>,
executable: &IrExecutable<W>,
index: usize,
field: &str,
project: F,
) -> Result<CompactSet<T>, ContractRuntimeError>Expand description
Read a Set<T> ledger field at index with a custom projector.