packages/contracts/src/yield/GimoAdapter.sol
Single-purpose, immutable. One adapter per Treasury keeps accounting isolated.
Why a per-market adapter
Gimo’sunstake(lsdAmount) queues a withdrawal ticket against the caller’s address. If two markets shared an adapter, their unbonding queues would commingle and accounting would have to disambiguate. A fresh adapter per market sidesteps that — each adapter sees only its own tickets.
Lifecycle
totalAssets vs pendingClaim
Mainnet probe
Discovered bycast call against the deployed Gimo proxy at 0xAc06d1Df…35aF:
The 4 fork tests in
GimoAdapter.fork.t.sol exercise the full deposit → unstake → wait → claim round-trip against this real proxy.
