Skip to main content

mapping_entry

Function mapping_entry 

Source
fn mapping_entry(
    slot: &B256,
    mapping_slots: &MappingSlots,
) -> Option<(B256, U256)>
Expand description

The recorded mapping entry slot belongs to and its slot offset from it: the entry itself, or a field of a struct stored there.

An offset-only store need not promote the entry into keys, so use all observed preimages.