✅Puzzle 5
DUP, MUL, PUSH, EQ, JUMPI
Puzzle
Solution
Up until address 0x06
, the program compares msg.value ** 2
with 0x100
. Since we want JUMPI(0x0C, 1)
in order to jump to address 0x0C
, we need msg.value ** 2 == 0x100
. 0x100
is 256 in decimal, so our input should be sqrt(256)
= 16.
Last updated