# Protocol Overview

Tarot is implemented as a set of smart contracts. These smart contracts enable non-custodial, permissionless markets for decentralized lending and leveraged yield farming. Inspired by such groundbreaking projects as Aave, Compound, Impermax, and Uniswap, Tarot enables an entirely new DeFi experience.

The core and periphery contracts for lending pools are primarily forked from Impermax and deployed on the Fantom network. These contracts are permissionless, non-upgradeable, and designed to operate with minimal governance.

The core contracts of the Tarot Protocol consist of the Factory and Deployers for each [lending pool](/tarot-protocol/lending-pools.md). Anyone can create a lending pool via the Factory, and all lending pools are isolated. If a borrower ends up getting liquidated in one lending pool, other lending pools are not affected.

The periphery contracts of the Tarot Protocol are designed to allow users to interact with the core contracts. These periphery contracts enable specific functions such as depositing LP tokens, supplying individual tokens to a lending pool, and creating a leveraged position.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tarot.to/tarot-protocol/protocol-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
