Repository navigation
Expand file tree
/
Copy pathBytecode.lean
More file actions
55 lines (43 loc) · 1.97 KB
/
Copy pathBytecode.lean
File metadata and controls
55 lines (43 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import Ethereum.Semantics
import Reasoning.JumpDest
/-!
# FeIdentity bytecode
Generated by `scripts/scaffold.py lean` from `runtime.hex` and `creation.hex`; do not edit.
Runtime: 58 bytes (58 executable, 0 metadata); creation: 77 bytes.
-/
open Ethereum Ethereum.EVM
namespace FeProofs.Identity
set_option maxRecDepth 50000000
set_option maxHeartbeats 0
private def feIdentityRuntimeChunk0 : ByteArray :=
⟨#[
0x36, 0x60, 0x04, 0x90, 0x10, 0x60, 0x20, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0xac, 0x37, 0xee, 0xbb, 0x81, 0x14, 0x60, 0x1a, 0x57, 0x60,
0x20, 0x56, 0x5b, 0x34, 0x15, 0x60, 0x24, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x36, 0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x20,
0x57, 0x60, 0x04, 0x35, 0x5f, 0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feIdentityBytecode : ByteArray :=
feIdentityRuntimeChunk0
/-- The `JUMPDEST` set of `feIdentityBytecode`, computed from the deployed runtime bytecode. -/
@[valid_jumps] theorem validJumps :
Ethereum.EVM.D_J feIdentityBytecode 0
= #[
⟨26⟩, ⟨32⟩, ⟨36⟩
] := by
native_decide
private def feIdentityCreationChunk0 : ByteArray :=
⟨#[
0x34, 0x15, 0x60, 0x08, 0x57, 0x5f, 0x5f, 0xfd, 0x5b, 0x60, 0x13, 0x60, 0x3a, 0x80, 0x91, 0x5f, 0x39, 0x5f, 0xf3, 0x36, 0x60, 0x04, 0x90, 0x10,
0x60, 0x20, 0x57, 0x5f, 0x35, 0x60, 0xe0, 0x1c, 0x63, 0xac, 0x37, 0xee, 0xbb, 0x81, 0x14, 0x60, 0x1a, 0x57, 0x60, 0x20, 0x56, 0x5b, 0x34, 0x15,
0x60, 0x24, 0x57, 0x5b, 0x5f, 0x5f, 0xfd, 0x5b, 0x36, 0x60, 0x04, 0x90, 0x03, 0x60, 0x20, 0x90, 0x12, 0x60, 0x20, 0x57, 0x60, 0x04, 0x35, 0x5f,
0x52, 0x60, 0x20, 0x5f, 0xf3
]⟩
def feIdentityCreationBytecode : ByteArray :=
feIdentityCreationChunk0
/-- The `JUMPDEST` set of `feIdentityCreationBytecode`, computed from the creation bytecode. -/
@[valid_jumps] theorem creationValidJumps :
Ethereum.EVM.D_J feIdentityCreationBytecode 0
= #[
⟨8⟩, ⟨45⟩, ⟨51⟩, ⟨55⟩
] := by
native_decide
end FeProofs.Identity