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. 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.