# #005

<figure><img src="https://3881291275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCaql6uzRSSdezScAKgMU%2Fuploads%2FPetSsXtVIutlMckuhL6R%2FProtocol005.png?alt=media&#x26;token=aa9ba0d6-25ef-46cd-a199-b2378f555866" alt=""><figcaption></figcaption></figure>

### Mutuum Protocol Update #005 — Code Batch Finalized, Contracts Audit-Ready, Liquidation Bot QA Passed

#### ✅ Completed

**Second portion of code finalized**\
Latest smart-contract and service code locked and packaged for review. Structures and interfaces align with the established architecture to keep future modules plug-and-play.

**Contracts audit-ready**\
All core protocol contracts—mtTokens, oracle stack (Chainlink primary with Pyth fallback), custom fee collector, and multi-role access controls—are prepared for full external audit. Specs, invariants, and event schemas are synced for auditor handoff.

**Liquidation bot, internal review complete**\
Our proprietary bot for safe, automated liquidations passed internal QA. It evaluates position health using on-chain prices and indexed data, executes where needed, and records detailed traces. Final feedback items are documented and queued.

***

#### ⌛ In Progress

**Deployment scripts finalization**\
Polishing testnet automation and versioned rollouts; tightening safety checks and environment configs for repeatable deploys.

**GraphQL & Subgraph integration**\
Connecting the GraphQL backend to the front end for real-time protocol state from our custom Subgraph. Subgraph deployments will track TVL, positions, and liquidation events.

**Front-end contract queries & design adaptation**\
Upgrading the UI to new ABIs and flows, including mtToken logic, withdrawal cooldowns, and staking into the Safety Module, while aligning with the latest UI/UX designs.

**QA and test scenarios**\
End-to-end scripts for key user paths: deposits, variable borrowing, mtToken staking, and related flows. Expanding coverage for edge cases and state transitions.

**GraphQL environment setup & deployment**\
Ensuring FE/BE environments stay in sync with the evolving schema for faster feature rollouts and stronger test coverage.

***

Released: **31 Oct 2025** (UTC) · Update **#005**
