-
-
Save hayeah/7b76c655d305517abda0eeeeea4611b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: | |
// sload(0x0) returning 0x0 | |
0x0 | |
dup1 | |
sload | |
// a + 1; where a == 0 | |
0x1 | |
add | |
// sstore(0x0, a + 1) | |
swap1 | |
sstore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment