-
-
Save hayeah/a92209730c29dd2b4fc8fbf97da00382 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
// Reserve 0x60 bytes of memory for Solidity internal uses. | |
mstore(0x40, 0x60) | |
// Non-payable contract. Revert if caller sent ether. | |
jumpi(tag_1, iszero(callvalue)) | |
0x0 | |
dup1 | |
revert | |
// Copy contract code into memory, and return. | |
tag_1: | |
tag_2: | |
dataSize(sub_0) | |
dup1 | |
dataOffset(sub_0) | |
0x0 | |
codecopy | |
0x0 | |
return | |
stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment