Skip to content

Instantly share code, notes, and snippets.

@Philogy
Created August 17, 2022 21:45
Show Gist options
  • Save Philogy/f03d628c860f55ca112ff1cfd5eda977 to your computer and use it in GitHub Desktop.
Save Philogy/f03d628c860f55ca112ff1cfd5eda977 to your computer and use it in GitHub Desktop.
Huff Challenge #2
#define macro MAIN() = takes(0) returns(0) {
returndatasize calldataload // [x]
not // [~x]
0x1 and // [even]
returndatasize mstore // []
msize returndatasize return // []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment