# System Architecture

TermMax is a decentralized fixed-rate lending protocol which composed of frontend, backend, and smart contracts.

#### Key Functionalities

* Frontend: Provide a user-friendly UI for users to interact with TermMax to place order, lend, borrow, and leverage.
* Backend: Fetch and organize contract state data and provide APIs for frontend to query.
* Contract: The core functionalities of TermMax include lend, borrow, order placement, liquidation, and physical delivery.

<figure><img src="https://3496430163-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbey3QqLkQrkCxlgDKPaz%2Fuploads%2FOWMEmmPHBjhfZN1GPHpu%2Fimage.png?alt=media&#x26;token=09219b46-dbf4-4272-8e91-5bed1b675559" alt=""><figcaption></figcaption></figure>
