Created
September 3, 2017 10:29
-
-
Save hayeah/8fe6c49f79471c73d747cb6216e7fb5d 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
``` | |
To EVM, this is just 36 bytes of raw data. The raw input data is passed directly to the Solidity program unprocessed. The Solidity program then interprets the input bytes as a method call and executes the apropriate assembly code for `setA(1)`. | |
The input data can be broken down to two parts: | |
``` | |
# The method selector (4 bytes) | |
0xee919d5 | |
# The 1st argument (32 bytes) | |
00000000000000000000000000000000000000000000000000000000000000001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment