← Code LabSolidity0/50 solved · 0%
Assembly · hard

41. Inline assembly basics

Read storage directly.

Write `getSlot(uint256 slot)` returning the storage word at `slot` using `sload`.
Required in your answer: assemblysload(slot)