Skip to content

getMappingSlotAt

function getMappingSlotAt(
address target,
bytes32 mappingSlot,
uint256 idx
) external returns (bytes32 value);

Gets the elements at index idx of the mapping at the given slot, for a given address. The index must be less than the length of the mapping (i.e. the number of keys in the mapping).