This is a test article to see how the blog layout works.

The goal is not content quality yet, but structure and readability.

One protocol, many trade-offs

When designing a protocol, every decision creates constraints that are not obvious at the beginning.

struct Vault {
    total_shares: u64,
    total_assets: u64,
}

At first glance this looks trivial, but even this structure implies multiple invariants and edge cases.