# M08-L02 — Lab contract

**Build:** Implement local pool add/remove and minOut revert.

**Pass:** LP shares proportional; minOut failure reverts.

**Failure injection:** Ignoring rounding and minOut can harm users.

**Review question:** How can arbitrage restore external price alignment?

Status: specification; only count as executable when source and tests are present and verified.
