Curriculum·G204 Tools a Non-Developer Can Run·about 30 min

Reading a contract without reading code

By the end of this lesson you can

  • Read a contract's block-explorer page for the facts that decide risk without reading any Solidity
  • Explain how Compound Proposal 062 shipped a one-character bug into audited, verified, on-chain code
  • Compute what a verified source, a proxy pattern, an owner and a timelock each tell you before you deposit
  • Decide whether a contract is what it claims to be from its explorer page alone

Graduate · enrolled learners

This lesson opens with Compound Proposal 062, 30 September 2021.

What happened
Compound is a large lending protocol governed on-chain by token vote. Proposal 062 upgraded the Comptroller, the contract that distributes the COMP reward token, and one line of the new code used a greater-than comparison where it needed greater-than-or-equal. That single character let users claim COMP they had not earned. Estimates of the erroneous distribution ran from roughly 68 to 90 million dollars depending on the day's price, with a larger sum briefly at risk. The contract was live, verified, and governed by a timelock, so the code was public and readable the entire time, and the fix itself had to crawl back through the same multi-day governance process before it could take effect. Nothing was hidden; the bug sat in deployed, audited code that anyone with a block explorer could open.
The decision point
The people who lost by trusting Compound that week were not hacked in any secret way. The upgraded contract was verified on the explorer, its governance ran on a public timelock, and the flawed proposal was visible and simulatable before it ever executed. The barrier was not access; it was literacy. A user who could read a contract's explorer page, that the source is verified, that it is a proxy someone can upgrade, who the owner is, whether a timelock stands between a decision and its effect, has most of what decides whether to trust it, and needs no Solidity to get there. The autopsy of this course is that the information a user needs is almost always public, and the skill is reading it, not obtaining it.
Recorded loss
$80,000,000

What you will be able to answer

  • Where did the Compound Proposal 062 bug live?
  • What does a verified source mean, and not mean?
  • What can a non-developer read off an explorer page?
  • What does a timelock give a user?

Orientation and Year One are open: anyone can read them without an account. From Year Two onward the lessons are for enrolled learners, because progress through the later years only means anything if it is tracked against a record.

It is free. We do not sell the list and there is nothing to buy at the end of it.

Terms used here

Sources and review

Confidence high·Volatility medium·Reviewed 2026-09-14·Owner unassigned

Contested

The erroneous COMP distribution is reported between about 68 and 90 million dollars depending on the COMP price on the day, with a larger sum briefly at risk from a related drip; the figure here is an approximation, not a settled number.

Block-explorer field names and layouts differ between explorers and change over time; the lesson teaches the categories of fact to look for, not one explorer's exact interface.