# Lend Factory

## Overview

The **Lend Factory** is the central hub that powers all investment operations on the platform. It is the contract that can raise funds and spawn new opLend tokens.

***

## What the Factory Does

{% stepper %}
{% step %}

### Creates Operations

When a new real estate investment opportunity launches, the Factory:

* Deploys a unique **opLend token** for that operation
* Sets the total number of shares available
* Configures the price per share in EUR
  {% endstep %}

{% step %}

### Manages Funding

The Factory tracks everything about each operation:

| Metric               | Description                                    |
| -------------------- | ---------------------------------------------- |
| **Funding Progress** | How many shares have been sold                 |
| **USDC Raised**      | Total funds collected                          |
| **Operation Status** | Pending, Active, Paused, Finished, or Canceled |
| {% endstep %}        |                                                |

{% step %}

### Handles Investments

When you invest:

* You specify how many shares you want
* The Factory calculates the USDC cost (using live EUR/USD rates)
* Your payment is collected and recorded
* Your opLend tokens are reserved for claiming
  {% endstep %}

{% step %}

### Enables Refunds

If needed, the admin can process refunds:

* Your opLend tokens are burned
* Your original USDC investment is returned
  {% endstep %}
  {% endstepper %}
