(slotIndex: bigint, key: bigint)
| 136 | * https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html#mappings-and-dynamic-arrays |
| 137 | */ |
| 138 | export const slotForUint256Map = (slotIndex: bigint, key: bigint): Bytes32 => |
| 139 | keccak256(encodePacked(['uint256', 'uint256'], [key, slotIndex])) |
| 140 | |
| 141 | /** |
| 142 | * The same as slotForUint256Map, but convert address to bigint first. |
no outgoing calls
no test coverage detected