Arbitrary storage slot read/write library
ItsNickBarry opened this issue · 0 comments
ItsNickBarry commented
It would be useful to have some functions to read from and write to arbitrary storage slots. This could help with debugging and correction of corrupted data, especially where assembly or other low-level techniques have been used.
-
read(uint256) returns (bytes32)
-
write(uint256, bytes32)
- additional functions for working with mappings, arrays, and structs