> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infinifi.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Developer Summary

> High-level overview of the infiniFi protocol architecture

## infiniFi Protocol Overview

infiniFi is a protocol designed to amplify returns on existing DeFi platforms like Pendle, Ethena, and AAVE, which we refer to as **farms**. It actively holds value, enabling users to deposit and redeem cryptocurrencies, participate in governance, and earn interest. It achieves increased returns using **fractional reserve banking principles**.

## Farms

We categorize farms based on their liquidity and the time delay required to access the principal deposited value:

| Farm Type          | Description                      | Example                       |
| ------------------ | -------------------------------- | ----------------------------- |
| **Liquid farms**   | Instant access to principal      | AAVE, ERC4626-like farms      |
| **Maturity farms** | Delayed access to principal      | Pendle, Ethena (ERC7540-like) |
| **Protocol farms** | Internal fund movement, no yield | Protocol-specific             |

Illiquid farms are further categorized into **buckets** (1 week, 2 weeks, …, 13 weeks) based on the time needed to retrieve the principal value.

## Tokens

<CardGroup cols={3}>
  <Card title="iUSD" icon="receipt">
    **Receipt Token** - Obtained by depositing USDC. No interest, but can be redeemed or locked.
  </Card>

  <Card title="siUSD" icon="coins">
    **Staked Token** - Obtained by staking iUSD. Provides liquid returns.
  </Card>

  <Card title="liUSD-xw" icon="lock">
    **Locked Position Token** - Obtained by locking iUSD. Grants illiquid returns + governance.
  </Card>
</CardGroup>

## Asset Allocation

**liUSD holders constitute infiniFi governance.** Governance members vote on capital distribution between the farms.

Voting power is determined by:

* The locked iUSD amount
* The unwinding period (longer = more power)

liUSD holders cannot vote on farms outside their bucket range. For example, a liUSD-1w holder cannot vote on Pendle farms but can vote on Ethena.

## Fractional Reserve Principle

InfiniFi applies fractional reserve banking to maximize returns:

```
Example with 1,000 USDC liquid + 500 USDC illiquid deposits:

Standard approach:
- 1,000 USDC → liquid farms
- 500 USDC → illiquid farms

InfiniFi approach (20% fractional deployment):
- 800 USDC → liquid farms (-20%)
- 700 USDC → illiquid farms (+40%)
```

This strategy enhances yields for both deposit types while maintaining liquidity.

## Contract Architecture

<Card title="View Contracts" icon="file-contract" href="/dev-docs/contracts">
  See all deployed contract addresses for mainnet and Plasma.
</Card>

## Quick Links

<CardGroup cols={2}>
  <Card title="Core Contracts" icon="cube" href="/dev-docs/core">
    InfiniFiCore and role-based access control
  </Card>

  <Card title="Token Contracts" icon="coins" href="/dev-docs/tokens">
    iUSD, siUSD, and liUSD implementations
  </Card>

  <Card title="Gateway" icon="door-open" href="/dev-docs/gateway">
    Entry point for user interactions
  </Card>

  <Card title="Funding" icon="money-bill" href="/dev-docs/funding">
    Mint and redeem controllers
  </Card>
</CardGroup>
