{
  "schemaVersion": 1,
  "videoId": "wzQggpjXCr0",
  "videoUrl": "https://www.youtube.com/watch?v=wzQggpjXCr0",
  "title": "From EVM bytecode to Solidity and back to bytecode",
  "speakerCredit": "Gerard Persoon",
  "programmeTalkId": "gerard-persoon",
  "language": "en",
  "captionType": "auto-generated",
  "humanAccuracyReviewed": false,
  "spokenAudioCompletenessVerified": false,
  "cueEndTimesAvailable": false,
  "source": {
    "provider": "YouTube",
    "method": "native supported browser transcript export",
    "sha256": "c4135419cdaaa8261696ac6466636c2ab52ec3605ab83d2b5dd6e81589fbd8c9",
    "exportedAt": "2026-11-16T08:17:54.619236+00:00"
  },
  "qualityCaveats": [
    "Auto-generated YouTube captions; native source language tag preserved; not human-verified against audio.",
    "Names, organizations, technical terms, code and numbers may be misrecognized.",
    "Source wording and disfluencies are preserved; no editorial corrections were applied.",
    "Export contains whole-second cue starts only; cue ends and subsecond timing are unavailable.",
    "A full caption-track export does not establish that every spoken word is represented."
  ],
  "timingValidation": {
    "first_cue_start_seconds": 1,
    "last_cue_start_seconds": 921,
    "video_duration_seconds": 924,
    "seconds_after_last_cue_start": 3,
    "cue_start_gaps_over_30_seconds": [],
    "boundary_check": "pass",
    "criterion": "first cue <=15 seconds; last cue start within 30 seconds of player duration, allowing 1-second precision",
    "meaning": "Timing plausibility only; not full audio or accuracy verification."
  },
  "segments": [
    {
      "index": 0,
      "start_seconds": 1,
      "source_timestamp": "0:01",
      "end_seconds": null,
      "text": "Yes, welcome everyone. I'm going to talk"
    },
    {
      "index": 1,
      "start_seconds": 4,
      "source_timestamp": "0:04",
      "end_seconds": null,
      "text": "about something that I've been creating"
    },
    {
      "index": 2,
      "start_seconds": 6,
      "source_timestamp": "0:06",
      "end_seconds": null,
      "text": "the last half year."
    },
    {
      "index": 3,
      "start_seconds": 8,
      "source_timestamp": "0:08",
      "end_seconds": null,
      "text": "And that's"
    },
    {
      "index": 4,
      "start_seconds": 10,
      "source_timestamp": "0:10",
      "end_seconds": null,
      "text": "a way to get"
    },
    {
      "index": 5,
      "start_seconds": 12,
      "source_timestamp": "0:12",
      "end_seconds": null,
      "text": "from EVM bytecode to Solidity. And when"
    },
    {
      "index": 6,
      "start_seconds": 15,
      "source_timestamp": "0:15",
      "end_seconds": null,
      "text": "you compile the Solidity again, you get"
    },
    {
      "index": 7,
      "start_seconds": 18,
      "source_timestamp": "0:18",
      "end_seconds": null,
      "text": "bytecode of course, but exactly the same"
    },
    {
      "index": 8,
      "start_seconds": 20,
      "source_timestamp": "0:20",
      "end_seconds": null,
      "text": "bytecode. So you're 100% sure that you"
    },
    {
      "index": 9,
      "start_seconds": 23,
      "source_timestamp": "0:23",
      "end_seconds": null,
      "text": "have a good representation and you can"
    },
    {
      "index": 10,
      "start_seconds": 25,
      "source_timestamp": "0:25",
      "end_seconds": null,
      "text": "also verify that source."
    },
    {
      "index": 11,
      "start_seconds": 29,
      "source_timestamp": "0:29",
      "end_seconds": null,
      "text": "A little bit about me. I've been doing"
    },
    {
      "index": 12,
      "start_seconds": 32,
      "source_timestamp": "0:32",
      "end_seconds": null,
      "text": "Solidity security reviews for the last"
    },
    {
      "index": 13,
      "start_seconds": 34,
      "source_timestamp": "0:34",
      "end_seconds": null,
      "text": "couple of years, starting at Code Arena"
    },
    {
      "index": 14,
      "start_seconds": 37,
      "source_timestamp": "0:37",
      "end_seconds": null,
      "text": "and currently at ConsenSys and Spearbit."
    },
    {
      "index": 15,
      "start_seconds": 40,
      "source_timestamp": "0:40",
      "end_seconds": null,
      "text": "And if you want to contact me, here's my"
    },
    {
      "index": 16,
      "start_seconds": 42,
      "source_timestamp": "0:42",
      "end_seconds": null,
      "text": "Twitter handle which is at gpersone."
    },
    {
      "index": 17,
      "start_seconds": 48,
      "source_timestamp": "0:48",
      "end_seconds": null,
      "text": "Okay, why do I"
    },
    {
      "index": 18,
      "start_seconds": 51,
      "source_timestamp": "0:51",
      "end_seconds": null,
      "text": "spend time"
    },
    {
      "index": 19,
      "start_seconds": 53,
      "source_timestamp": "0:53",
      "end_seconds": null,
      "text": "on the Solidity decompiler?"
    },
    {
      "index": 20,
      "start_seconds": 56,
      "source_timestamp": "0:56",
      "end_seconds": null,
      "text": "Well, there are several nice use cases"
    },
    {
      "index": 21,
      "start_seconds": 58,
      "source_timestamp": "0:58",
      "end_seconds": null,
      "text": "for a decompiler."
    },
    {
      "index": 22,
      "start_seconds": 60,
      "source_timestamp": "1:00",
      "end_seconds": null,
      "text": "I'll show a couple of use cases later"
    },
    {
      "index": 23,
      "start_seconds": 63,
      "source_timestamp": "1:03",
      "end_seconds": null,
      "text": "on. And when I started, at least there"
    },
    {
      "index": 24,
      "start_seconds": 65,
      "source_timestamp": "1:05",
      "end_seconds": null,
      "text": "was no really good solution to decompile"
    },
    {
      "index": 25,
      "start_seconds": 68,
      "source_timestamp": "1:08",
      "end_seconds": null,
      "text": "your contracts."
    },
    {
      "index": 26,
      "start_seconds": 70,
      "source_timestamp": "1:10",
      "end_seconds": null,
      "text": "But"
    },
    {
      "index": 27,
      "start_seconds": 71,
      "source_timestamp": "1:11",
      "end_seconds": null,
      "text": "now there are better solutions also."
    },
    {
      "index": 28,
      "start_seconds": 74,
      "source_timestamp": "1:14",
      "end_seconds": null,
      "text": "And"
    },
    {
      "index": 29,
      "start_seconds": 77,
      "source_timestamp": "1:17",
      "end_seconds": null,
      "text": "creating a decompiler that can fully"
    },
    {
      "index": 30,
      "start_seconds": 79,
      "source_timestamp": "1:19",
      "end_seconds": null,
      "text": "round trip, that's a nice target to"
    },
    {
      "index": 31,
      "start_seconds": 81,
      "source_timestamp": "1:21",
      "end_seconds": null,
      "text": "learn about LLMs. Because an LLM can"
    },
    {
      "index": 32,
      "start_seconds": 84,
      "source_timestamp": "1:24",
      "end_seconds": null,
      "text": "then"
    },
    {
      "index": 33,
      "start_seconds": 86,
      "source_timestamp": "1:26",
      "end_seconds": null,
      "text": "yeah, measure that it has the right"
    },
    {
      "index": 34,
      "start_seconds": 89,
      "source_timestamp": "1:29",
      "end_seconds": null,
      "text": "correct answer by round tripping. So"
    },
    {
      "index": 35,
      "start_seconds": 91,
      "source_timestamp": "1:31",
      "end_seconds": null,
      "text": "that's a perfect use case for an LLM."
    },
    {
      "index": 36,
      "start_seconds": 94,
      "source_timestamp": "1:34",
      "end_seconds": null,
      "text": "And it's also not too easy for an LLM."
    },
    {
      "index": 37,
      "start_seconds": 97,
      "source_timestamp": "1:37",
      "end_seconds": null,
      "text": "At least when I started, it was"
    },
    {
      "index": 38,
      "start_seconds": 99,
      "source_timestamp": "1:39",
      "end_seconds": null,
      "text": "relatively difficult for an LLM to"
    },
    {
      "index": 39,
      "start_seconds": 102,
      "source_timestamp": "1:42",
      "end_seconds": null,
      "text": "create a decompiler. But they've"
    },
    {
      "index": 40,
      "start_seconds": 104,
      "source_timestamp": "1:44",
      "end_seconds": null,
      "text": "improved a lot, so now it's probably a"
    },
    {
      "index": 41,
      "start_seconds": 106,
      "source_timestamp": "1:46",
      "end_seconds": null,
      "text": "lot easier, but at least then it was"
    },
    {
      "index": 42,
      "start_seconds": 108,
      "source_timestamp": "1:48",
      "end_seconds": null,
      "text": "difficult."
    },
    {
      "index": 43,
      "start_seconds": 111,
      "source_timestamp": "1:51",
      "end_seconds": null,
      "text": "And also the LLMs currently are actually"
    },
    {
      "index": 44,
      "start_seconds": 113,
      "source_timestamp": "1:53",
      "end_seconds": null,
      "text": "so good that they can already decompile"
    },
    {
      "index": 45,
      "start_seconds": 116,
      "source_timestamp": "1:56",
      "end_seconds": null,
      "text": "a contract. So if you just put in uh"
    },
    {
      "index": 46,
      "start_seconds": 118,
      "source_timestamp": "1:58",
      "end_seconds": null,
      "text": "bytecode in um frontier LLM and say"
    },
    {
      "index": 47,
      "start_seconds": 122,
      "source_timestamp": "2:02",
      "end_seconds": null,
      "text": "decompile it and check that it round"
    },
    {
      "index": 48,
      "start_seconds": 124,
      "source_timestamp": "2:04",
      "end_seconds": null,
      "text": "trips. It does that already."
    },
    {
      "index": 49,
      "start_seconds": 127,
      "source_timestamp": "2:07",
      "end_seconds": null,
      "text": "Um so you can say why are you going to"
    },
    {
      "index": 50,
      "start_seconds": 129,
      "source_timestamp": "2:09",
      "end_seconds": null,
      "text": "create a decompiler anyway? It's not"
    },
    {
      "index": 51,
      "start_seconds": 131,
      "source_timestamp": "2:11",
      "end_seconds": null,
      "text": "worth the trouble anymore."
    },
    {
      "index": 52,
      "start_seconds": 133,
      "source_timestamp": "2:13",
      "end_seconds": null,
      "text": "Um but if you use an LLM it takes a long"
    },
    {
      "index": 53,
      "start_seconds": 135,
      "source_timestamp": "2:15",
      "end_seconds": null,
      "text": "time,"
    },
    {
      "index": 54,
      "start_seconds": 136,
      "source_timestamp": "2:16",
      "end_seconds": null,
      "text": "uh uses a lot of tokens and times"
    },
    {
      "index": 55,
      "start_seconds": 138,
      "source_timestamp": "2:18",
      "end_seconds": null,
      "text": "sometimes you get a refusal. So it's"
    },
    {
      "index": 56,
      "start_seconds": 141,
      "source_timestamp": "2:21",
      "end_seconds": null,
      "text": "still there are still use cases"
    },
    {
      "index": 57,
      "start_seconds": 143,
      "source_timestamp": "2:23",
      "end_seconds": null,
      "text": "uh for a decompiler."
    },
    {
      "index": 58,
      "start_seconds": 147,
      "source_timestamp": "2:27",
      "end_seconds": null,
      "text": "So I uh collected a couple of use cases"
    },
    {
      "index": 59,
      "start_seconds": 149,
      "source_timestamp": "2:29",
      "end_seconds": null,
      "text": "what be would be useful or"
    },
    {
      "index": 60,
      "start_seconds": 152,
      "source_timestamp": "2:32",
      "end_seconds": null,
      "text": "what would be the use for a decompiler?"
    },
    {
      "index": 61,
      "start_seconds": 155,
      "source_timestamp": "2:35",
      "end_seconds": null,
      "text": "Of course what you can do is verify the"
    },
    {
      "index": 62,
      "start_seconds": 158,
      "source_timestamp": "2:38",
      "end_seconds": null,
      "text": "contracts"
    },
    {
      "index": 63,
      "start_seconds": 159,
      "source_timestamp": "2:39",
      "end_seconds": null,
      "text": "that are not verified yet and put all"
    },
    {
      "index": 64,
      "start_seconds": 162,
      "source_timestamp": "2:42",
      "end_seconds": null,
      "text": "those sources in Sourcify."
    },
    {
      "index": 65,
      "start_seconds": 164,
      "source_timestamp": "2:44",
      "end_seconds": null,
      "text": "And then once you have that"
    },
    {
      "index": 66,
      "start_seconds": 167,
      "source_timestamp": "2:47",
      "end_seconds": null,
      "text": "um all all the security tools or"
    },
    {
      "index": 67,
      "start_seconds": 169,
      "source_timestamp": "2:49",
      "end_seconds": null,
      "text": "whatever can be used"
    },
    {
      "index": 68,
      "start_seconds": 171,
      "source_timestamp": "2:51",
      "end_seconds": null,
      "text": "on those contracts."
    },
    {
      "index": 69,
      "start_seconds": 173,
      "source_timestamp": "2:53",
      "end_seconds": null,
      "text": "And you can of course use it to analyze"
    },
    {
      "index": 70,
      "start_seconds": 177,
      "source_timestamp": "2:57",
      "end_seconds": null,
      "text": "uh hacks and whatever."
    },
    {
      "index": 71,
      "start_seconds": 179,
      "source_timestamp": "2:59",
      "end_seconds": null,
      "text": "Um and do all kinds of things like that."
    },
    {
      "index": 72,
      "start_seconds": 183,
      "source_timestamp": "3:03",
      "end_seconds": null,
      "text": "Um you can also if this works correctly"
    },
    {
      "index": 73,
      "start_seconds": 186,
      "source_timestamp": "3:06",
      "end_seconds": null,
      "text": "you can even do live"
    },
    {
      "index": 74,
      "start_seconds": 189,
      "source_timestamp": "3:09",
      "end_seconds": null,
      "text": "um transaction checks so in your wallet"
    },
    {
      "index": 75,
      "start_seconds": 192,
      "source_timestamp": "3:12",
      "end_seconds": null,
      "text": "or maybe even on an L2 that before you"
    },
    {
      "index": 76,
      "start_seconds": 195,
      "source_timestamp": "3:15",
      "end_seconds": null,
      "text": "do a transaction or before the"
    },
    {
      "index": 77,
      "start_seconds": 197,
      "source_timestamp": "3:17",
      "end_seconds": null,
      "text": "transaction is"
    },
    {
      "index": 78,
      "start_seconds": 198,
      "source_timestamp": "3:18",
      "end_seconds": null,
      "text": "admitted on the chain that you can do a"
    },
    {
      "index": 79,
      "start_seconds": 200,
      "source_timestamp": "3:20",
      "end_seconds": null,
      "text": "check that there is no hacks or whatever"
    },
    {
      "index": 80,
      "start_seconds": 203,
      "source_timestamp": "3:23",
      "end_seconds": null,
      "text": "going on."
    },
    {
      "index": 81,
      "start_seconds": 204,
      "source_timestamp": "3:24",
      "end_seconds": null,
      "text": "Um and then if you would have decompiled"
    },
    {
      "index": 82,
      "start_seconds": 207,
      "source_timestamp": "3:27",
      "end_seconds": null,
      "text": "contracts that would be a lot easier"
    },
    {
      "index": 83,
      "start_seconds": 209,
      "source_timestamp": "3:29",
      "end_seconds": null,
      "text": "than doing that right now."
    },
    {
      "index": 84,
      "start_seconds": 212,
      "source_timestamp": "3:32",
      "end_seconds": null,
      "text": "And you can of course create diagrams of"
    },
    {
      "index": 85,
      "start_seconds": 216,
      "source_timestamp": "3:36",
      "end_seconds": null,
      "text": "how the transactions work or how the"
    },
    {
      "index": 86,
      "start_seconds": 218,
      "source_timestamp": "3:38",
      "end_seconds": null,
      "text": "code work. So you can do all kinds of"
    },
    {
      "index": 87,
      "start_seconds": 220,
      "source_timestamp": "3:40",
      "end_seconds": null,
      "text": "nice things."
    },
    {
      "index": 88,
      "start_seconds": 222,
      "source_timestamp": "3:42",
      "end_seconds": null,
      "text": "And one small detail but still"
    },
    {
      "index": 89,
      "start_seconds": 224,
      "source_timestamp": "3:44",
      "end_seconds": null,
      "text": "interesting I think you can find"
    },
    {
      "index": 90,
      "start_seconds": 226,
      "source_timestamp": "3:46",
      "end_seconds": null,
      "text": "compiler bugs. So I back tested that"
    },
    {
      "index": 91,
      "start_seconds": 229,
      "source_timestamp": "3:49",
      "end_seconds": null,
      "text": "with a couple of contracts that I"
    },
    {
      "index": 92,
      "start_seconds": 231,
      "source_timestamp": "3:51",
      "end_seconds": null,
      "text": "decompiled and"
    },
    {
      "index": 93,
      "start_seconds": 232,
      "source_timestamp": "3:52",
      "end_seconds": null,
      "text": "um compared the the solidity that I"
    },
    {
      "index": 94,
      "start_seconds": 236,
      "source_timestamp": "3:56",
      "end_seconds": null,
      "text": "decompiled to the one that was on"
    },
    {
      "index": 95,
      "start_seconds": 238,
      "source_timestamp": "3:58",
      "end_seconds": null,
      "text": "Sourcify. And if there are a there there"
    },
    {
      "index": 96,
      "start_seconds": 242,
      "source_timestamp": "4:02",
      "end_seconds": null,
      "text": "is something wrong. So it was able to"
    },
    {
      "index": 97,
      "start_seconds": 244,
      "source_timestamp": "4:04",
      "end_seconds": null,
      "text": "find a couple of old bugs in the"
    },
    {
      "index": 98,
      "start_seconds": 247,
      "source_timestamp": "4:07",
      "end_seconds": null,
      "text": "Solidity compiler that have already been"
    },
    {
      "index": 99,
      "start_seconds": 249,
      "source_timestamp": "4:09",
      "end_seconds": null,
      "text": "solved, but it was nice to see that it"
    },
    {
      "index": 100,
      "start_seconds": 252,
      "source_timestamp": "4:12",
      "end_seconds": null,
      "text": "is able to find those"
    },
    {
      "index": 101,
      "start_seconds": 254,
      "source_timestamp": "4:14",
      "end_seconds": null,
      "text": "bugs."
    },
    {
      "index": 102,
      "start_seconds": 257,
      "source_timestamp": "4:17",
      "end_seconds": null,
      "text": "So what I did of of for this"
    },
    {
      "index": 103,
      "start_seconds": 259,
      "source_timestamp": "4:19",
      "end_seconds": null,
      "text": "presentation, I've taken a"
    },
    {
      "index": 104,
      "start_seconds": 261,
      "source_timestamp": "4:21",
      "end_seconds": null,
      "text": "random contract just to show some things"
    },
    {
      "index": 105,
      "start_seconds": 263,
      "source_timestamp": "4:23",
      "end_seconds": null,
      "text": "and this one unverified contract"
    },
    {
      "index": 106,
      "start_seconds": 267,
      "source_timestamp": "4:27",
      "end_seconds": null,
      "text": "which has a relatively high ETH balance,"
    },
    {
      "index": 107,
      "start_seconds": 269,
      "source_timestamp": "4:29",
      "end_seconds": null,
      "text": "so that's interesting to take a look at."
    },
    {
      "index": 108,
      "start_seconds": 272,
      "source_timestamp": "4:32",
      "end_seconds": null,
      "text": "And if you look at"
    },
    {
      "index": 109,
      "start_seconds": 274,
      "source_timestamp": "4:34",
      "end_seconds": null,
      "text": "on Etherscan and you look at there's no"
    },
    {
      "index": 110,
      "start_seconds": 277,
      "source_timestamp": "4:37",
      "end_seconds": null,
      "text": "source there of course, but there's a"
    },
    {
      "index": 111,
      "start_seconds": 279,
      "source_timestamp": "4:39",
      "end_seconds": null,
      "text": "decompilation option there. And if you"
    },
    {
      "index": 112,
      "start_seconds": 282,
      "source_timestamp": "4:42",
      "end_seconds": null,
      "text": "look at that,"
    },
    {
      "index": 113,
      "start_seconds": 283,
      "source_timestamp": "4:43",
      "end_seconds": null,
      "text": "it says decompilation didn't finish. So"
    },
    {
      "index": 114,
      "start_seconds": 285,
      "source_timestamp": "4:45",
      "end_seconds": null,
      "text": "that's an example that's the"
    },
    {
      "index": 115,
      "start_seconds": 288,
      "source_timestamp": "4:48",
      "end_seconds": null,
      "text": "the the decompiler over there isn't"
    },
    {
      "index": 116,
      "start_seconds": 292,
      "source_timestamp": "4:52",
      "end_seconds": null,
      "text": "good enough actually."
    },
    {
      "index": 117,
      "start_seconds": 295,
      "source_timestamp": "4:55",
      "end_seconds": null,
      "text": "So I've been five coding the decompiler."
    },
    {
      "index": 118,
      "start_seconds": 297,
      "source_timestamp": "4:57",
      "end_seconds": null,
      "text": "I've been using an LLM and just set it"
    },
    {
      "index": 119,
      "start_seconds": 300,
      "source_timestamp": "5:00",
      "end_seconds": null,
      "text": "set to it"
    },
    {
      "index": 120,
      "start_seconds": 302,
      "source_timestamp": "5:02",
      "end_seconds": null,
      "text": "just create a decompiler."
    },
    {
      "index": 121,
      "start_seconds": 305,
      "source_timestamp": "5:05",
      "end_seconds": null,
      "text": "And this is a sort of high level what"
    },
    {
      "index": 122,
      "start_seconds": 307,
      "source_timestamp": "5:07",
      "end_seconds": null,
      "text": "it's"
    },
    {
      "index": 123,
      "start_seconds": 308,
      "source_timestamp": "5:08",
      "end_seconds": null,
      "text": "how it's created. So on top is the"
    },
    {
      "index": 124,
      "start_seconds": 311,
      "source_timestamp": "5:11",
      "end_seconds": null,
      "text": "decompiler with a lot of faces in it."
    },
    {
      "index": 125,
      "start_seconds": 315,
      "source_timestamp": "5:15",
      "end_seconds": null,
      "text": "And"
    },
    {
      "index": 126,
      "start_seconds": 317,
      "source_timestamp": "5:17",
      "end_seconds": null,
      "text": "below that I also"
    },
    {
      "index": 127,
      "start_seconds": 319,
      "source_timestamp": "5:19",
      "end_seconds": null,
      "text": "sort of asked the decompiler to create"
    },
    {
      "index": 128,
      "start_seconds": 321,
      "source_timestamp": "5:21",
      "end_seconds": null,
      "text": "code"
    },
    {
      "index": 129,
      "start_seconds": 322,
      "source_timestamp": "5:22",
      "end_seconds": null,
      "text": "for when it cannot decompile the"
    },
    {
      "index": 130,
      "start_seconds": 324,
      "source_timestamp": "5:24",
      "end_seconds": null,
      "text": "contract yet that it give a lot of"
    },
    {
      "index": 131,
      "start_seconds": 327,
      "source_timestamp": "5:27",
      "end_seconds": null,
      "text": "information to improve the decompiler so"
    },
    {
      "index": 132,
      "start_seconds": 329,
      "source_timestamp": "5:29",
      "end_seconds": null,
      "text": "that it can improve itself with the help"
    },
    {
      "index": 133,
      "start_seconds": 333,
      "source_timestamp": "5:33",
      "end_seconds": null,
      "text": "of an LLM so it can decompile the next"
    },
    {
      "index": 134,
      "start_seconds": 335,
      "source_timestamp": "5:35",
      "end_seconds": null,
      "text": "contract and then continue to improve"
    },
    {
      "index": 135,
      "start_seconds": 337,
      "source_timestamp": "5:37",
      "end_seconds": null,
      "text": "itself until finally it can decompile"
    },
    {
      "index": 136,
      "start_seconds": 340,
      "source_timestamp": "5:40",
      "end_seconds": null,
      "text": "all contracts."
    },
    {
      "index": 137,
      "start_seconds": 343,
      "source_timestamp": "5:43",
      "end_seconds": null,
      "text": "And what's"
    },
    {
      "index": 138,
      "start_seconds": 346,
      "source_timestamp": "5:46",
      "end_seconds": null,
      "text": "relevant to know if you decompile"
    },
    {
      "index": 139,
      "start_seconds": 347,
      "source_timestamp": "5:47",
      "end_seconds": null,
      "text": "contracts, of course you you cannot"
    },
    {
      "index": 140,
      "start_seconds": 349,
      "source_timestamp": "5:49",
      "end_seconds": null,
      "text": "perfectly normally decompile all the the"
    },
    {
      "index": 141,
      "start_seconds": 352,
      "source_timestamp": "5:52",
      "end_seconds": null,
      "text": "the variable names and the internal"
    },
    {
      "index": 142,
      "start_seconds": 354,
      "source_timestamp": "5:54",
      "end_seconds": null,
      "text": "function names and all that kind of"
    },
    {
      "index": 143,
      "start_seconds": 356,
      "source_timestamp": "5:56",
      "end_seconds": null,
      "text": "stuff. So it's maybe not super readable,"
    },
    {
      "index": 144,
      "start_seconds": 360,
      "source_timestamp": "6:00",
      "end_seconds": null,
      "text": "but"
    },
    {
      "index": 145,
      "start_seconds": 361,
      "source_timestamp": "6:01",
      "end_seconds": null,
      "text": "then I have another phase right behind"
    },
    {
      "index": 146,
      "start_seconds": 364,
      "source_timestamp": "6:04",
      "end_seconds": null,
      "text": "it. If you just throw in the decompiled"
    },
    {
      "index": 147,
      "start_seconds": 367,
      "source_timestamp": "6:07",
      "end_seconds": null,
      "text": "code into a random LLM, then it can make"
    },
    {
      "index": 148,
      "start_seconds": 370,
      "source_timestamp": "6:10",
      "end_seconds": null,
      "text": "it a perfectly readable contract. It"
    },
    {
      "index": 149,
      "start_seconds": 373,
      "source_timestamp": "6:13",
      "end_seconds": null,
      "text": "creates very nice variable names. It"
    },
    {
      "index": 150,
      "start_seconds": 376,
      "source_timestamp": "6:16",
      "end_seconds": null,
      "text": "even adds"
    },
    {
      "index": 151,
      "start_seconds": 377,
      "source_timestamp": "6:17",
      "end_seconds": null,
      "text": "comments to it."
    },
    {
      "index": 152,
      "start_seconds": 378,
      "source_timestamp": "6:18",
      "end_seconds": null,
      "text": "So then you get a very nice contract"
    },
    {
      "index": 153,
      "start_seconds": 381,
      "source_timestamp": "6:21",
      "end_seconds": null,
      "text": "that you can easily read."
    },
    {
      "index": 154,
      "start_seconds": 386,
      "source_timestamp": "6:26",
      "end_seconds": null,
      "text": "So here are all the phases that the"
    },
    {
      "index": 155,
      "start_seconds": 388,
      "source_timestamp": "6:28",
      "end_seconds": null,
      "text": "decompiler is doing."
    },
    {
      "index": 156,
      "start_seconds": 390,
      "source_timestamp": "6:30",
      "end_seconds": null,
      "text": "And I actually just five coded it. So I"
    },
    {
      "index": 157,
      "start_seconds": 393,
      "source_timestamp": "6:33",
      "end_seconds": null,
      "text": "don't actually really know what"
    },
    {
      "index": 158,
      "start_seconds": 396,
      "source_timestamp": "6:36",
      "end_seconds": null,
      "text": "it does, but it sounds very interesting"
    },
    {
      "index": 159,
      "start_seconds": 399,
      "source_timestamp": "6:39",
      "end_seconds": null,
      "text": "what it's doing."
    },
    {
      "index": 160,
      "start_seconds": 403,
      "source_timestamp": "6:43",
      "end_seconds": null,
      "text": "Uh what of the things of course that's"
    },
    {
      "index": 161,
      "start_seconds": 404,
      "source_timestamp": "6:44",
      "end_seconds": null,
      "text": "difficult"
    },
    {
      "index": 162,
      "start_seconds": 406,
      "source_timestamp": "6:46",
      "end_seconds": null,
      "text": "when you're decompiling is that there"
    },
    {
      "index": 163,
      "start_seconds": 407,
      "source_timestamp": "6:47",
      "end_seconds": null,
      "text": "are a lot of Solidity versions."
    },
    {
      "index": 164,
      "start_seconds": 410,
      "source_timestamp": "6:50",
      "end_seconds": null,
      "text": "So whatever like"
    },
    {
      "index": 165,
      "start_seconds": 412,
      "source_timestamp": "6:52",
      "end_seconds": null,
      "text": "all of those. So the decompiler first"
    },
    {
      "index": 166,
      "start_seconds": 414,
      "source_timestamp": "6:54",
      "end_seconds": null,
      "text": "has to figure out which decompiler"
    },
    {
      "index": 167,
      "start_seconds": 417,
      "source_timestamp": "6:57",
      "end_seconds": null,
      "text": "Solidity version you are using. So the"
    },
    {
      "index": 168,
      "start_seconds": 420,
      "source_timestamp": "7:00",
      "end_seconds": null,
      "text": "later Solidity versions have that"
    },
    {
      "index": 169,
      "start_seconds": 422,
      "source_timestamp": "7:02",
      "end_seconds": null,
      "text": "encoded into the bytecode. So that's"
    },
    {
      "index": 170,
      "start_seconds": 424,
      "source_timestamp": "7:04",
      "end_seconds": null,
      "text": "easy. And the older ones"
    },
    {
      "index": 171,
      "start_seconds": 427,
      "source_timestamp": "7:07",
      "end_seconds": null,
      "text": "it can infer that from at looking at"
    },
    {
      "index": 172,
      "start_seconds": 429,
      "source_timestamp": "7:09",
      "end_seconds": null,
      "text": "which"
    },
    {
      "index": 173,
      "start_seconds": 431,
      "source_timestamp": "7:11",
      "end_seconds": null,
      "text": "yeah commands are used or which which"
    },
    {
      "index": 174,
      "start_seconds": 434,
      "source_timestamp": "7:14",
      "end_seconds": null,
      "text": "instructions are being used. So it's"
    },
    {
      "index": 175,
      "start_seconds": 436,
      "source_timestamp": "7:16",
      "end_seconds": null,
      "text": "able to infer all of that."
    },
    {
      "index": 176,
      "start_seconds": 441,
      "source_timestamp": "7:21",
      "end_seconds": null,
      "text": "One of the more difficult"
    },
    {
      "index": 177,
      "start_seconds": 444,
      "source_timestamp": "7:24",
      "end_seconds": null,
      "text": "and interesting things is how do you get"
    },
    {
      "index": 178,
      "start_seconds": 446,
      "source_timestamp": "7:26",
      "end_seconds": null,
      "text": "the the function name back from the the"
    },
    {
      "index": 179,
      "start_seconds": 449,
      "source_timestamp": "7:29",
      "end_seconds": null,
      "text": "public functions? And that's where"
    },
    {
      "index": 180,
      "start_seconds": 452,
      "source_timestamp": "7:32",
      "end_seconds": null,
      "text": "Sourcify comes in. So that's a super"
    },
    {
      "index": 181,
      "start_seconds": 454,
      "source_timestamp": "7:34",
      "end_seconds": null,
      "text": "handy tool to use. So you take the"
    },
    {
      "index": 182,
      "start_seconds": 458,
      "source_timestamp": "7:38",
      "end_seconds": null,
      "text": "selector that you"
    },
    {
      "index": 183,
      "start_seconds": 459,
      "source_timestamp": "7:39",
      "end_seconds": null,
      "text": "want to"
    },
    {
      "index": 184,
      "start_seconds": 461,
      "source_timestamp": "7:41",
      "end_seconds": null,
      "text": "reverse engineer. You put it in Sourcify"
    },
    {
      "index": 185,
      "start_seconds": 464,
      "source_timestamp": "7:44",
      "end_seconds": null,
      "text": "and most of the time you get back the"
    },
    {
      "index": 186,
      "start_seconds": 466,
      "source_timestamp": "7:46",
      "end_seconds": null,
      "text": "the the good function name."
    },
    {
      "index": 187,
      "start_seconds": 469,
      "source_timestamp": "7:49",
      "end_seconds": null,
      "text": "Of course first you have to infer the"
    },
    {
      "index": 188,
      "start_seconds": 471,
      "source_timestamp": "7:51",
      "end_seconds": null,
      "text": "parameters because they're part"
    },
    {
      "index": 189,
      "start_seconds": 474,
      "source_timestamp": "7:54",
      "end_seconds": null,
      "text": "of the hash which is put in the"
    },
    {
      "index": 190,
      "start_seconds": 475,
      "source_timestamp": "7:55",
      "end_seconds": null,
      "text": "selector. So you have to make sure that"
    },
    {
      "index": 191,
      "start_seconds": 478,
      "source_timestamp": "7:58",
      "end_seconds": null,
      "text": "you have the right parameters. Otherwise"
    },
    {
      "index": 192,
      "start_seconds": 480,
      "source_timestamp": "8:00",
      "end_seconds": null,
      "text": "you get a wrong match."
    },
    {
      "index": 193,
      "start_seconds": 482,
      "source_timestamp": "8:02",
      "end_seconds": null,
      "text": "But that's possible to to get from the"
    },
    {
      "index": 194,
      "start_seconds": 484,
      "source_timestamp": "8:04",
      "end_seconds": null,
      "text": "bytecode."
    },
    {
      "index": 195,
      "start_seconds": 488,
      "source_timestamp": "8:08",
      "end_seconds": null,
      "text": "But if you if it's not on Sourcify yet,"
    },
    {
      "index": 196,
      "start_seconds": 492,
      "source_timestamp": "8:12",
      "end_seconds": null,
      "text": "then you can brute force it. And this"
    },
    {
      "index": 197,
      "start_seconds": 494,
      "source_timestamp": "8:14",
      "end_seconds": null,
      "text": "can can actually be done in in two ways."
    },
    {
      "index": 198,
      "start_seconds": 497,
      "source_timestamp": "8:17",
      "end_seconds": null,
      "text": "You can try to find"
    },
    {
      "index": 199,
      "start_seconds": 499,
      "source_timestamp": "8:19",
      "end_seconds": null,
      "text": "sort of the real name. So you use a"
    },
    {
      "index": 200,
      "start_seconds": 501,
      "source_timestamp": "8:21",
      "end_seconds": null,
      "text": "dictionary and you try all kinds of"
    },
    {
      "index": 201,
      "start_seconds": 503,
      "source_timestamp": "8:23",
      "end_seconds": null,
      "text": "words until you finally get a match."
    },
    {
      "index": 202,
      "start_seconds": 506,
      "source_timestamp": "8:26",
      "end_seconds": null,
      "text": "And that works quite often."
    },
    {
      "index": 203,
      "start_seconds": 509,
      "source_timestamp": "8:29",
      "end_seconds": null,
      "text": "But if that doesn't work, you can also"
    },
    {
      "index": 204,
      "start_seconds": 513,
      "source_timestamp": "8:33",
      "end_seconds": null,
      "text": "brute force like a random name, so with"
    },
    {
      "index": 205,
      "start_seconds": 516,
      "source_timestamp": "8:36",
      "end_seconds": null,
      "text": "a sequence number behind it."
    },
    {
      "index": 206,
      "start_seconds": 518,
      "source_timestamp": "8:38",
      "end_seconds": null,
      "text": "And it's important that you have"
    },
    {
      "index": 207,
      "start_seconds": 520,
      "source_timestamp": "8:40",
      "end_seconds": null,
      "text": "a name that"
    },
    {
      "index": 208,
      "start_seconds": 522,
      "source_timestamp": "8:42",
      "end_seconds": null,
      "text": "results in the exact selector. Otherwise"
    },
    {
      "index": 209,
      "start_seconds": 525,
      "source_timestamp": "8:45",
      "end_seconds": null,
      "text": "you can never get a"
    },
    {
      "index": 210,
      "start_seconds": 528,
      "source_timestamp": "8:48",
      "end_seconds": null,
      "text": "round tripping contracts. Then you would"
    },
    {
      "index": 211,
      "start_seconds": 530,
      "source_timestamp": "8:50",
      "end_seconds": null,
      "text": "have a slightly different bytecode."
    },
    {
      "index": 212,
      "start_seconds": 533,
      "source_timestamp": "8:53",
      "end_seconds": null,
      "text": "So it's not perfect, but it is still"
    },
    {
      "index": 213,
      "start_seconds": 535,
      "source_timestamp": "8:55",
      "end_seconds": null,
      "text": "round tripping."
    },
    {
      "index": 214,
      "start_seconds": 540,
      "source_timestamp": "9:00",
      "end_seconds": null,
      "text": "Okay, so this is an example of what a"
    },
    {
      "index": 215,
      "start_seconds": 542,
      "source_timestamp": "9:02",
      "end_seconds": null,
      "text": "decompiler creates. So the left side is"
    },
    {
      "index": 216,
      "start_seconds": 544,
      "source_timestamp": "9:04",
      "end_seconds": null,
      "text": "what it creates. So it infers the"
    },
    {
      "index": 217,
      "start_seconds": 548,
      "source_timestamp": "9:08",
      "end_seconds": null,
      "text": "the right function name execute in this"
    },
    {
      "index": 218,
      "start_seconds": 550,
      "source_timestamp": "9:10",
      "end_seconds": null,
      "text": "case."
    },
    {
      "index": 219,
      "start_seconds": 551,
      "source_timestamp": "9:11",
      "end_seconds": null,
      "text": "But for example, the the variable names"
    },
    {
      "index": 220,
      "start_seconds": 554,
      "source_timestamp": "9:14",
      "end_seconds": null,
      "text": "that are just arg zero, arg one, etc."
    },
    {
      "index": 221,
      "start_seconds": 557,
      "source_timestamp": "9:17",
      "end_seconds": null,
      "text": "So if you have the left side, it's it's"
    },
    {
      "index": 222,
      "start_seconds": 560,
      "source_timestamp": "9:20",
      "end_seconds": null,
      "text": "kind of difficult to read."
    },
    {
      "index": 223,
      "start_seconds": 563,
      "source_timestamp": "9:23",
      "end_seconds": null,
      "text": "So and then if you put this in an LLM,"
    },
    {
      "index": 224,
      "start_seconds": 565,
      "source_timestamp": "9:25",
      "end_seconds": null,
      "text": "then it creates that outfit. And there"
    },
    {
      "index": 225,
      "start_seconds": 568,
      "source_timestamp": "9:28",
      "end_seconds": null,
      "text": "you can see that"
    },
    {
      "index": 226,
      "start_seconds": 570,
      "source_timestamp": "9:30",
      "end_seconds": null,
      "text": "all the internal names and the the"
    },
    {
      "index": 227,
      "start_seconds": 572,
      "source_timestamp": "9:32",
      "end_seconds": null,
      "text": "argument names, whatever, they're"
    },
    {
      "index": 228,
      "start_seconds": 574,
      "source_timestamp": "9:34",
      "end_seconds": null,
      "text": "readable and they actually make sense."
    },
    {
      "index": 229,
      "start_seconds": 576,
      "source_timestamp": "9:36",
      "end_seconds": null,
      "text": "So that's what an LLM can do."
    },
    {
      "index": 230,
      "start_seconds": 583,
      "source_timestamp": "9:43",
      "end_seconds": null,
      "text": "Now what I also did normally when I do"
    },
    {
      "index": 231,
      "start_seconds": 585,
      "source_timestamp": "9:45",
      "end_seconds": null,
      "text": "security reviews, I always create a"
    },
    {
      "index": 232,
      "start_seconds": 587,
      "source_timestamp": "9:47",
      "end_seconds": null,
      "text": "diagram of the code. So that helps me to"
    },
    {
      "index": 233,
      "start_seconds": 589,
      "source_timestamp": "9:49",
      "end_seconds": null,
      "text": "understand the code and and easily"
    },
    {
      "index": 234,
      "start_seconds": 593,
      "source_timestamp": "9:53",
      "end_seconds": null,
      "text": "yeah, verify it. And now LLMs are good"
    },
    {
      "index": 235,
      "start_seconds": 595,
      "source_timestamp": "9:55",
      "end_seconds": null,
      "text": "enough to do that automatically. So I"
    },
    {
      "index": 236,
      "start_seconds": 598,
      "source_timestamp": "9:58",
      "end_seconds": null,
      "text": "took the decompiled code and"
    },
    {
      "index": 237,
      "start_seconds": 600,
      "source_timestamp": "10:00",
      "end_seconds": null,
      "text": "put it in an LLM to create a diagram."
    },
    {
      "index": 238,
      "start_seconds": 604,
      "source_timestamp": "10:04",
      "end_seconds": null,
      "text": "And then it automatically created this"
    },
    {
      "index": 239,
      "start_seconds": 606,
      "source_timestamp": "10:06",
      "end_seconds": null,
      "text": "diagram."
    },
    {
      "index": 240,
      "start_seconds": 607,
      "source_timestamp": "10:07",
      "end_seconds": null,
      "text": "And this format is the format that I"
    },
    {
      "index": 241,
      "start_seconds": 610,
      "source_timestamp": "10:10",
      "end_seconds": null,
      "text": "used myself. So I'm used to this format,"
    },
    {
      "index": 242,
      "start_seconds": 612,
      "source_timestamp": "10:12",
      "end_seconds": null,
      "text": "but it could actually create any format"
    },
    {
      "index": 243,
      "start_seconds": 615,
      "source_timestamp": "10:15",
      "end_seconds": null,
      "text": "that you want."
    },
    {
      "index": 244,
      "start_seconds": 617,
      "source_timestamp": "10:17",
      "end_seconds": null,
      "text": "So you could do"
    },
    {
      "index": 245,
      "start_seconds": 618,
      "source_timestamp": "10:18",
      "end_seconds": null,
      "text": "for example build this into a wallet"
    },
    {
      "index": 246,
      "start_seconds": 621,
      "source_timestamp": "10:21",
      "end_seconds": null,
      "text": "and then if you want to do a"
    },
    {
      "index": 247,
      "start_seconds": 622,
      "source_timestamp": "10:22",
      "end_seconds": null,
      "text": "transaction, it could automatically"
    },
    {
      "index": 248,
      "start_seconds": 624,
      "source_timestamp": "10:24",
      "end_seconds": null,
      "text": "create"
    },
    {
      "index": 249,
      "start_seconds": 626,
      "source_timestamp": "10:26",
      "end_seconds": null,
      "text": "a diagram like this and you could"
    },
    {
      "index": 250,
      "start_seconds": 628,
      "source_timestamp": "10:28",
      "end_seconds": null,
      "text": "interpret it"
    },
    {
      "index": 251,
      "start_seconds": 630,
      "source_timestamp": "10:30",
      "end_seconds": null,
      "text": "if you're technical of course."
    },
    {
      "index": 252,
      "start_seconds": 636,
      "source_timestamp": "10:36",
      "end_seconds": null,
      "text": "Now the interesting thing is"
    },
    {
      "index": 253,
      "start_seconds": 639,
      "source_timestamp": "10:39",
      "end_seconds": null,
      "text": "how fast is a decompiler compared to"
    },
    {
      "index": 254,
      "start_seconds": 641,
      "source_timestamp": "10:41",
      "end_seconds": null,
      "text": "just doing it with an LLM because the"
    },
    {
      "index": 255,
      "start_seconds": 643,
      "source_timestamp": "10:43",
      "end_seconds": null,
      "text": "LLM can do it also."
    },
    {
      "index": 256,
      "start_seconds": 647,
      "source_timestamp": "10:47",
      "end_seconds": null,
      "text": "If you take a large contract, so the the"
    },
    {
      "index": 257,
      "start_seconds": 649,
      "source_timestamp": "10:49",
      "end_seconds": null,
      "text": "bottom layer, then an LLM takes about"
    },
    {
      "index": 258,
      "start_seconds": 652,
      "source_timestamp": "10:52",
      "end_seconds": null,
      "text": "half an hour to reconstruct it."
    },
    {
      "index": 259,
      "start_seconds": 657,
      "source_timestamp": "10:57",
      "end_seconds": null,
      "text": "And more important, it would cost about"
    },
    {
      "index": 260,
      "start_seconds": 659,
      "source_timestamp": "10:59",
      "end_seconds": null,
      "text": "$8 on LLM costs."
    },
    {
      "index": 261,
      "start_seconds": 663,
      "source_timestamp": "11:03",
      "end_seconds": null,
      "text": "So that's not a trivial amount."
    },
    {
      "index": 262,
      "start_seconds": 666,
      "source_timestamp": "11:06",
      "end_seconds": null,
      "text": "And if you do it with a decompiler, the"
    },
    {
      "index": 263,
      "start_seconds": 668,
      "source_timestamp": "11:08",
      "end_seconds": null,
      "text": "decompiler itself of course it's that's"
    },
    {
      "index": 264,
      "start_seconds": 671,
      "source_timestamp": "11:11",
      "end_seconds": null,
      "text": "just Python, so that's free."
    },
    {
      "index": 265,
      "start_seconds": 674,
      "source_timestamp": "11:14",
      "end_seconds": null,
      "text": "But if you do the post process part"
    },
    {
      "index": 266,
      "start_seconds": 676,
      "source_timestamp": "11:16",
      "end_seconds": null,
      "text": "where you make it readable, you still"
    },
    {
      "index": 267,
      "start_seconds": 678,
      "source_timestamp": "11:18",
      "end_seconds": null,
      "text": "need an LLM, but then compared to the"
    },
    {
      "index": 268,
      "start_seconds": 681,
      "source_timestamp": "11:21",
      "end_seconds": null,
      "text": "other one, it's a lot less. So about 50"
    },
    {
      "index": 269,
      "start_seconds": 684,
      "source_timestamp": "11:24",
      "end_seconds": null,
      "text": "cents worth of"
    },
    {
      "index": 270,
      "start_seconds": 686,
      "source_timestamp": "11:26",
      "end_seconds": null,
      "text": "API calls."
    },
    {
      "index": 271,
      "start_seconds": 688,
      "source_timestamp": "11:28",
      "end_seconds": null,
      "text": "So that's a lot cheaper. And also you"
    },
    {
      "index": 272,
      "start_seconds": 690,
      "source_timestamp": "11:30",
      "end_seconds": null,
      "text": "don't really need a front-end LLM, front"
    },
    {
      "index": 273,
      "start_seconds": 694,
      "source_timestamp": "11:34",
      "end_seconds": null,
      "text": "frontier LLM. So although the the the"
    },
    {
      "index": 274,
      "start_seconds": 697,
      "source_timestamp": "11:37",
      "end_seconds": null,
      "text": "local models can also easily do this."
    },
    {
      "index": 275,
      "start_seconds": 700,
      "source_timestamp": "11:40",
      "end_seconds": null,
      "text": "So"
    },
    {
      "index": 276,
      "start_seconds": 701,
      "source_timestamp": "11:41",
      "end_seconds": null,
      "text": "that's actually the main advantage of"
    },
    {
      "index": 277,
      "start_seconds": 704,
      "source_timestamp": "11:44",
      "end_seconds": null,
      "text": "the decompiler."
    },
    {
      "index": 278,
      "start_seconds": 706,
      "source_timestamp": "11:46",
      "end_seconds": null,
      "text": "So you can do that."
    },
    {
      "index": 279,
      "start_seconds": 711,
      "source_timestamp": "11:51",
      "end_seconds": null,
      "text": "Now of course when I was doing this, I"
    },
    {
      "index": 280,
      "start_seconds": 712,
      "source_timestamp": "11:52",
      "end_seconds": null,
      "text": "had all kinds of interesting experiences"
    },
    {
      "index": 281,
      "start_seconds": 716,
      "source_timestamp": "11:56",
      "end_seconds": null,
      "text": "with LLMs."
    },
    {
      "index": 282,
      "start_seconds": 718,
      "source_timestamp": "11:58",
      "end_seconds": null,
      "text": "One of the thing is reward hacking. So I"
    },
    {
      "index": 283,
      "start_seconds": 721,
      "source_timestamp": "12:01",
      "end_seconds": null,
      "text": "asked it make something that can round"
    },
    {
      "index": 284,
      "start_seconds": 723,
      "source_timestamp": "12:03",
      "end_seconds": null,
      "text": "trip and it said I'm ready, it's"
    },
    {
      "index": 285,
      "start_seconds": 726,
      "source_timestamp": "12:06",
      "end_seconds": null,
      "text": "finished."
    },
    {
      "index": 286,
      "start_seconds": 727,
      "source_timestamp": "12:07",
      "end_seconds": null,
      "text": "And then it created this code."
    },
    {
      "index": 287,
      "start_seconds": 729,
      "source_timestamp": "12:09",
      "end_seconds": null,
      "text": "And if you compile this again, you get"
    },
    {
      "index": 288,
      "start_seconds": 731,
      "source_timestamp": "12:11",
      "end_seconds": null,
      "text": "exactly the same bytecode out of it."
    },
    {
      "index": 289,
      "start_seconds": 734,
      "source_timestamp": "12:14",
      "end_seconds": null,
      "text": "So for an LLM, was perfectly happy with"
    },
    {
      "index": 290,
      "start_seconds": 737,
      "source_timestamp": "12:17",
      "end_seconds": null,
      "text": "it."
    },
    {
      "index": 291,
      "start_seconds": 738,
      "source_timestamp": "12:18",
      "end_seconds": null,
      "text": "And then I had to explain to the LLM,"
    },
    {
      "index": 292,
      "start_seconds": 740,
      "source_timestamp": "12:20",
      "end_seconds": null,
      "text": "yeah, this is reward hacking. I don't"
    },
    {
      "index": 293,
      "start_seconds": 742,
      "source_timestamp": "12:22",
      "end_seconds": null,
      "text": "want this. Oh, oh, you don't want it. No"
    },
    {
      "index": 294,
      "start_seconds": 744,
      "source_timestamp": "12:24",
      "end_seconds": null,
      "text": "problem."
    },
    {
      "index": 295,
      "start_seconds": 745,
      "source_timestamp": "12:25",
      "end_seconds": null,
      "text": "So it understands that I didn't want"
    },
    {
      "index": 296,
      "start_seconds": 747,
      "source_timestamp": "12:27",
      "end_seconds": null,
      "text": "reward hacking."
    },
    {
      "index": 297,
      "start_seconds": 750,
      "source_timestamp": "12:30",
      "end_seconds": null,
      "text": "But lots of other things went wrong. In"
    },
    {
      "index": 298,
      "start_seconds": 752,
      "source_timestamp": "12:32",
      "end_seconds": null,
      "text": "the beginning it made"
    },
    {
      "index": 299,
      "start_seconds": 753,
      "source_timestamp": "12:33",
      "end_seconds": null,
      "text": "it used a lot of regular expressions for"
    },
    {
      "index": 300,
      "start_seconds": 756,
      "source_timestamp": "12:36",
      "end_seconds": null,
      "text": "the decompilation and then they nested"
    },
    {
      "index": 301,
      "start_seconds": 758,
      "source_timestamp": "12:38",
      "end_seconds": null,
      "text": "like 10 levels of"
    },
    {
      "index": 302,
      "start_seconds": 761,
      "source_timestamp": "12:41",
      "end_seconds": null,
      "text": "regular expressions and finally it got"
    },
    {
      "index": 303,
      "start_seconds": 763,
      "source_timestamp": "12:43",
      "end_seconds": null,
      "text": "so complicated that the LLM itself could"
    },
    {
      "index": 304,
      "start_seconds": 766,
      "source_timestamp": "12:46",
      "end_seconds": null,
      "text": "not understand it anymore and could not"
    },
    {
      "index": 305,
      "start_seconds": 768,
      "source_timestamp": "12:48",
      "end_seconds": null,
      "text": "make any progress on it anymore."
    },
    {
      "index": 306,
      "start_seconds": 771,
      "source_timestamp": "12:51",
      "end_seconds": null,
      "text": "So then I"
    },
    {
      "index": 307,
      "start_seconds": 773,
      "source_timestamp": "12:53",
      "end_seconds": null,
      "text": "started like all over again. So I'm on"
    },
    {
      "index": 308,
      "start_seconds": 776,
      "source_timestamp": "12:56",
      "end_seconds": null,
      "text": "the fifth generation now of my"
    },
    {
      "index": 309,
      "start_seconds": 778,
      "source_timestamp": "12:58",
      "end_seconds": null,
      "text": "decompiler, so I had to do that a couple"
    },
    {
      "index": 310,
      "start_seconds": 780,
      "source_timestamp": "13:00",
      "end_seconds": null,
      "text": "of times. Another time it created so"
    },
    {
      "index": 311,
      "start_seconds": 782,
      "source_timestamp": "13:02",
      "end_seconds": null,
      "text": "many tests, like more than 10,000 tests"
    },
    {
      "index": 312,
      "start_seconds": 785,
      "source_timestamp": "13:05",
      "end_seconds": null,
      "text": "and it took like three days to run all"
    },
    {
      "index": 313,
      "start_seconds": 788,
      "source_timestamp": "13:08",
      "end_seconds": null,
      "text": "the tests. So it sort of never ended"
    },
    {
      "index": 314,
      "start_seconds": 792,
      "source_timestamp": "13:12",
      "end_seconds": null,
      "text": "yeah, with the tests."
    },
    {
      "index": 315,
      "start_seconds": 796,
      "source_timestamp": "13:16",
      "end_seconds": null,
      "text": "So where am I now?"
    },
    {
      "index": 316,
      "start_seconds": 799,
      "source_timestamp": "13:19",
      "end_seconds": null,
      "text": "So it's working quite good. I put in"
    },
    {
      "index": 317,
      "start_seconds": 802,
      "source_timestamp": "13:22",
      "end_seconds": null,
      "text": "about 800 contracts to to decompile and"
    },
    {
      "index": 318,
      "start_seconds": 805,
      "source_timestamp": "13:25",
      "end_seconds": null,
      "text": "it has now decompiled more or less"
    },
    {
      "index": 319,
      "start_seconds": 807,
      "source_timestamp": "13:27",
      "end_seconds": null,
      "text": "random contracts and it has decompiled"
    },
    {
      "index": 320,
      "start_seconds": 809,
      "source_timestamp": "13:29",
      "end_seconds": null,
      "text": "500 contracts about now"
    },
    {
      "index": 321,
      "start_seconds": 812,
      "source_timestamp": "13:32",
      "end_seconds": null,
      "text": "like perfect bytecode."
    },
    {
      "index": 322,
      "start_seconds": 814,
      "source_timestamp": "13:34",
      "end_seconds": null,
      "text": "And if I just keep it running, it just"
    },
    {
      "index": 323,
      "start_seconds": 817,
      "source_timestamp": "13:37",
      "end_seconds": null,
      "text": "gradually decompiles more. So I don't"
    },
    {
      "index": 324,
      "start_seconds": 820,
      "source_timestamp": "13:40",
      "end_seconds": null,
      "text": "have to do anything"
    },
    {
      "index": 325,
      "start_seconds": 823,
      "source_timestamp": "13:43",
      "end_seconds": null,
      "text": "for it, just let it run and it's"
    },
    {
      "index": 326,
      "start_seconds": 825,
      "source_timestamp": "13:45",
      "end_seconds": null,
      "text": "continuously improving and and"
    },
    {
      "index": 327,
      "start_seconds": 827,
      "source_timestamp": "13:47",
      "end_seconds": null,
      "text": "decompiling more"
    },
    {
      "index": 328,
      "start_seconds": 830,
      "source_timestamp": "13:50",
      "end_seconds": null,
      "text": "bytecode."
    },
    {
      "index": 329,
      "start_seconds": 832,
      "source_timestamp": "13:52",
      "end_seconds": null,
      "text": "And but I also also noticed that the"
    },
    {
      "index": 330,
      "start_seconds": 834,
      "source_timestamp": "13:54",
      "end_seconds": null,
      "text": "newer the LLM models are, the the better"
    },
    {
      "index": 331,
      "start_seconds": 836,
      "source_timestamp": "13:56",
      "end_seconds": null,
      "text": "they are."
    },
    {
      "index": 332,
      "start_seconds": 838,
      "source_timestamp": "13:58",
      "end_seconds": null,
      "text": "So at this moment writing a decompiler"
    },
    {
      "index": 333,
      "start_seconds": 840,
      "source_timestamp": "14:00",
      "end_seconds": null,
      "text": "is kind of straightforward, so anyone of"
    },
    {
      "index": 334,
      "start_seconds": 842,
      "source_timestamp": "14:02",
      "end_seconds": null,
      "text": "you could also"
    },
    {
      "index": 335,
      "start_seconds": 844,
      "source_timestamp": "14:04",
      "end_seconds": null,
      "text": "take a front tier LLM and just ask"
    },
    {
      "index": 336,
      "start_seconds": 847,
      "source_timestamp": "14:07",
      "end_seconds": null,
      "text": "create a decompiler."
    },
    {
      "index": 337,
      "start_seconds": 851,
      "source_timestamp": "14:11",
      "end_seconds": null,
      "text": "Okay, but now I have this decompiler and"
    },
    {
      "index": 338,
      "start_seconds": 854,
      "source_timestamp": "14:14",
      "end_seconds": null,
      "text": "now my question is yeah, basic to all of"
    },
    {
      "index": 339,
      "start_seconds": 856,
      "source_timestamp": "14:16",
      "end_seconds": null,
      "text": "you help me think about what I should"
    },
    {
      "index": 340,
      "start_seconds": 858,
      "source_timestamp": "14:18",
      "end_seconds": null,
      "text": "do."
    },
    {
      "index": 341,
      "start_seconds": 859,
      "source_timestamp": "14:19",
      "end_seconds": null,
      "text": "What should I do with the compiler? So"
    },
    {
      "index": 342,
      "start_seconds": 862,
      "source_timestamp": "14:22",
      "end_seconds": null,
      "text": "if I just make it open source so"
    },
    {
      "index": 343,
      "start_seconds": 864,
      "source_timestamp": "14:24",
      "end_seconds": null,
      "text": "everybody could use it or if I just"
    },
    {
      "index": 344,
      "start_seconds": 866,
      "source_timestamp": "14:26",
      "end_seconds": null,
      "text": "decompile all contracts so maybe then I"
    },
    {
      "index": 345,
      "start_seconds": 870,
      "source_timestamp": "14:30",
      "end_seconds": null,
      "text": "would enable a hack so I would decompile"
    },
    {
      "index": 346,
      "start_seconds": 872,
      "source_timestamp": "14:32",
      "end_seconds": null,
      "text": "a contract that maybe has like a million"
    },
    {
      "index": 347,
      "start_seconds": 875,
      "source_timestamp": "14:35",
      "end_seconds": null,
      "text": "dollar worth of value in it and there's"
    },
    {
      "index": 348,
      "start_seconds": 877,
      "source_timestamp": "14:37",
      "end_seconds": null,
      "text": "a vulnerability in it and if I decompile"
    },
    {
      "index": 349,
      "start_seconds": 879,
      "source_timestamp": "14:39",
      "end_seconds": null,
      "text": "it somebody can hack it and then"
    },
    {
      "index": 350,
      "start_seconds": 881,
      "source_timestamp": "14:41",
      "end_seconds": null,
      "text": "the million dollars are gone"
    },
    {
      "index": 351,
      "start_seconds": 883,
      "source_timestamp": "14:43",
      "end_seconds": null,
      "text": "and then it's not so difficult to trace"
    },
    {
      "index": 352,
      "start_seconds": 885,
      "source_timestamp": "14:45",
      "end_seconds": null,
      "text": "back to me because they can watch this"
    },
    {
      "index": 353,
      "start_seconds": 887,
      "source_timestamp": "14:47",
      "end_seconds": null,
      "text": "presentation"
    },
    {
      "index": 354,
      "start_seconds": 889,
      "source_timestamp": "14:49",
      "end_seconds": null,
      "text": "and then they maybe can"
    },
    {
      "index": 355,
      "start_seconds": 891,
      "source_timestamp": "14:51",
      "end_seconds": null,
      "text": "make me responsible for it."
    },
    {
      "index": 356,
      "start_seconds": 893,
      "source_timestamp": "14:53",
      "end_seconds": null,
      "text": "So I don't want that."
    },
    {
      "index": 357,
      "start_seconds": 896,
      "source_timestamp": "14:56",
      "end_seconds": null,
      "text": "So yeah my my open question to me and"
    },
    {
      "index": 358,
      "start_seconds": 899,
      "source_timestamp": "14:59",
      "end_seconds": null,
      "text": "please come to me after the talk for"
    },
    {
      "index": 359,
      "start_seconds": 901,
      "source_timestamp": "15:01",
      "end_seconds": null,
      "text": "what would be a good approach to use"
    },
    {
      "index": 360,
      "start_seconds": 904,
      "source_timestamp": "15:04",
      "end_seconds": null,
      "text": "this."
    },
    {
      "index": 361,
      "start_seconds": 905,
      "source_timestamp": "15:05",
      "end_seconds": null,
      "text": "So what I"
    },
    {
      "index": 362,
      "start_seconds": 906,
      "source_timestamp": "15:06",
      "end_seconds": null,
      "text": "want to do anyway is continue improving"
    },
    {
      "index": 363,
      "start_seconds": 908,
      "source_timestamp": "15:08",
      "end_seconds": null,
      "text": "the decompiler"
    },
    {
      "index": 364,
      "start_seconds": 910,
      "source_timestamp": "15:10",
      "end_seconds": null,
      "text": "and starts to verify sources on Sourcify"
    },
    {
      "index": 365,
      "start_seconds": 913,
      "source_timestamp": "15:13",
      "end_seconds": null,
      "text": "initially with contracts that are"
    },
    {
      "index": 366,
      "start_seconds": 916,
      "source_timestamp": "15:16",
      "end_seconds": null,
      "text": "yeah not important."
    },
    {
      "index": 367,
      "start_seconds": 919,
      "source_timestamp": "15:19",
      "end_seconds": null,
      "text": "So yeah this is my presentation. Thank"
    },
    {
      "index": 368,
      "start_seconds": 921,
      "source_timestamp": "15:21",
      "end_seconds": null,
      "text": "you very much and we are out of time."
    }
  ]
}
