# WhitePaper

This protocol has been designed and developed by PaltaLabs

Francisco Catrileo | Joaquin Soza | Esteban Iglesias

### Abstract

DeFindex is a suite of smart contracts designed to facilitate interaction with various Decentralized Finance (DeFi) protocols on the Stellar/Soroban Blockchain. It enables users to create custom strategies, allowing investments to be distributed across multiple DeFi protocols in a streamlined manner. The protocol serves two primary audiences:

1. **Wallet Users (including Web2 users):** DeFindex provides a simplified interface that wallet developers can integrate into their platforms, enabling users to access DeFi investment services effortlessly.
2. **Expert Users:** For experienced investors, DeFindex offers an efficient way to diversify investments without the complexity of building and managing their own strategies.

Inspired by projects such as Yearn, Set Protocol, Compound, and YieldYak, DeFindex adapts their core principles to the Stellar ecosystem.

The protocol comprises three main components:

1. **Factory:** A smart contract responsible for creating new Vaults.
2. **Vaults:** The primary contracts through which users interact, enabling deposits, withdrawals, and position adjustments.
3. **Strategies:** Contracts that allocate Vault assets across various DeFi protocols.

To ensure robust functionality and security, DeFindex implements a role-based management system:

* **Manager:** Oversees strategies and the assets within Vaults.
* **Emergency Manager:** Handles rescues.
* **Fee Receiver:** Collects and manages strategy-related fees.

By combining simplicity for newcomers with advanced features for seasoned users, DeFindex aims to make DeFi more accessible and efficient on the Stellar Blockchain.

### Introduction

* [Introduction](/advanced-documentation/10-whitepaper/01-introduction.md)
* [Core Concepts](/advanced-documentation/10-whitepaper/02-core-concepts.md)

### The DeFindex Approach

* [Overview](/advanced-documentation/10-whitepaper/03-the-defindex-approach.md)
* [Design Decisions](/advanced-documentation/10-whitepaper/03-the-defindex-approach.md)

### Contracts

* [Vault Contract](/advanced-documentation/10-whitepaper/04-contracts/01-vault-contract.md)
* [Strategy Contract](/advanced-documentation/10-whitepaper/04-contracts/02-strategy-contract.md)
* [Zapper Contract](/advanced-documentation/10-whitepaper/04-contracts/02-zapper-contract.md)

### State of the Art

* [State of the Art](/advanced-documentation/10-whitepaper/07-state-of-the-art.md)

### Appendix

* [Appendix](/advanced-documentation/10-whitepaper/08-appendix.md)


---

# 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.defindex.io/advanced-documentation/10-whitepaper.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.
