Okay let’s first look at the code contract Demo { uint256 a = 0x1a01; // Slot 0 uint256 b = 0x2a01; // Slot 1 mapping(uint => uint) c; // Slot 2 uint256 d = 0x5a01; // Sot 3 constructor(){ c[10] = 0xfe3f; c[100] =...

Markdown supported · ⌘↵ to post
No responses yet.