Skip to content

Instantly share code, notes, and snippets.

@bshastry
Created September 21, 2022 09:58
Show Gist options
  • Save bshastry/a796b1c6f824b386750a9911160ab2e1 to your computer and use it in GitHub Desktop.
Save bshastry/a796b1c6f824b386750a9911160ab2e1 to your computer and use it in GitHub Desktop.
{let x for{ }calldataload(0){ }{{ {{ { { for {}calldataload(0){}
{if callvalue() {break}
mstore(x,0x42)for{ }calldataload(0) { } { {x := 1
for {} calldataload(0) {}
{{{if callvalue(){{ {{
x :=2 for{ } calldataload(0){}{
if callvalue() { {{{ { {if callvalue(){x := 2{
{sstore(4, exp(0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe, 1))sstore(6,exp(not(0), 1))sstore(7,exp(0xffffafffffffffffffffffffffffffff, 2))sstore(8, exp(0xffffffffffffffff,2))sstore(9,exp(0xf,3)) sstore(13, exp(0xffffffffffffffff0000000000000000, 3))
sstore(14, exp(2, 6)) sstore(15, exp(2, 255)) {
{
if callvalue(){{ { { for{ } calldataload(0) {}
{if callvalue(){
{{{{
{{for{ } calldataload(0) { }{if callvalue() {
x:= 2
}
mstore(x, 0x42)} if callvalue(){
{if callvalue() {x :=2 mstore(x,0x42)}sstore(4,exp(0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe,1))
sstore(6, exp(not(0), 1)) sstore(7,exp(0xffffafffffffffffffffffffffffffff, 2))
sstore(8, exp(0xffffffffffffffff, 2))
sstore(9,exp(0xff, 3))
sstore(13, exp(0xffffffffffffffff0000000000000000, 3)) sstore(14, exp(2, 256))sstore(15,exp(2,255))}sstore(2, 3)
}}if callvalue() { x := 3} } } } mstore(x, 0x42)
}
break} } mstore(x, 0x42)
}x :=3}
} }}
}}
}} }
}}
}
} break
}}
}}mstore(x, 0x42)
}
} break}
}
if callvalue() { break} }mstore(x,4)}}}mstore(x, 0)}} break}} }
}
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment