Loading video player...
We take the PRD and translate it into concrete smart‑contract tasks, then generate and review the first lending‑market contracts for our Aave‑style app on Base. You’ll see how Matterhorn’s agents produce clean, testable Solidity with clear interfaces and events, and how we validate core flows. What’s inside: - Task breakdown for contracts: LendingPool, Interest‑Bearing Tokens, Oracle adapter, liquidation contract. - Core interfaces and data structures: asset configs, reserves, user positions. - Supply side: deposit, mint Tokens, interest accrual, reserve factor - Borrow side: enable collateral, borrow, repay, utilization‑driven variable rates - Risk model in code: LTV, liquidation threshold, liquidation bonus, pause guards - Events and indexing: Deposited, Borrowed, Repaid, Liquidated, ParameterUpdated - Test plan preview: unit tests for math and accrual, integration tests for deposit‑borrow‑repay, liquidation edge cases Outcome: - A prioritized contract task list with acceptance criteria - Generated Solidity contracts and ABIs ready for testing and front‑end integration