About this publication

About

Protocol Anatomy is an independent educational resource written by David Garcia Berenguer. It explains how major DeFi protocols hold assets, price trades, liquidate collateral, and change across versions, from the protocols’ own documentation, source code, and governance records.

The author

Engineering leader and hands-on engineer with 20+ years building teams, scalable systems and reliable products across SaaS, payments, AI and blockchain.

Why this exists

Protocol documentation explains how to integrate, and marketing pages explain why to use a protocol. Neither usually says where the money sits after a transaction, which invariant the contract enforces, or which behavior belongs to a version that integrations still call. Each article here answers those questions for one protocol or one mechanism, and points at the file, paper, or governance post that supports each claim.

Who it is for

Anyone who needs the logic of a protocol rather than a feature list: investors, analysts, researchers, developers, and the curious. You do not need to read Solidity. Code references are there so a claim can be checked, not to define the audience.

Open-source research

The work is open-source intelligence (OSINT) applied to DeFi. Every input is public: protocol documentation, whitepapers, verified contract source, governance forum posts and votes, and published audits. Nothing here relies on private access or unpublished information, so any reader can repeat the research from the same sources.

How articles are checked

Every article lists its sources, and every claim about a version cites a primary source. The “Last verified” date on a page is the date those sources were read. A weekly job compares the cited contract files and releases with the versions that were read and flags changes for review. The methodology describes the rules in full, and the source index lists everything cited.

Corrections and contributions

Each article ends with a link to report a correction or propose an edit through a fork and pull request. Corrections are welcome from anyone. The repository is public at github.com/davidgarciab/protocol-anatomy, and CONTRIBUTING.md explains the editorial rules.

What this is not

These are educational notes on published protocol designs. They are not a security audit, a live risk dashboard, or advice to allocate capital. The protocols named here are independent projects, and their names belong to their owners.

License

Articles, glossary entries, and diagrams are licensed under CC BY 4.0. The site’s code is MIT. Quoted source code stays under its owners’ terms.