# Rent Payments

How to pay rent through Built By DAO's on-chain system and earn EQTBLT equity with every payment.

***

{% hint style="info" %}

### 💳 Payment Overview

{% endhint %}

|    💵 Currency    |    📊 Equity    |  ⏱️ Due Date |    📱 Method    |
| :---------------: | :-------------: | :----------: | :-------------: |
| USDC (stablecoin) | 7-12% to EQTBLT | 1st of month | On-chain or app |

{% hint style="info" %}
**🎯 Every rent payment builds your equity stake in the DAO**
{% endhint %}

***

{% tabs %}
{% tab title="💳 How to Pay" %}

### 💳 Payment Process

#### Step-by-Step

| Step | Action                     |
| ---- | -------------------------- |
| 1️⃣  | Ensure USDC in wallet      |
| 2️⃣  | Connect wallet to platform |
| 3️⃣  | Navigate to "Pay Rent"     |
| 4️⃣  | Review amount due          |
| 5️⃣  | Approve USDC transfer      |
| 6️⃣  | Confirm payment            |
| 7️⃣  | EQTBLT minted to wallet    |

***

#### Payment Methods

| Method                 | Description                       |
| ---------------------- | --------------------------------- |
| 🖥️ **Web app**        | Pay through housing portal        |
| 📱 **Mobile wallet**   | Direct from Coinbase Wallet, etc. |
| ⚙️ **Direct contract** | Call payRent() function           |
| 🤖 **Auto-pay**        | Set up recurring payments         |

***

#### Accepted Currencies

| Currency    | Status             |
| ----------- | ------------------ |
| 💵 **USDC** | ✅ Primary          |
| 💵 **USDT** | ✅ Accepted         |
| 💵 **DAI**  | ✅ Accepted         |
| 🔷 **ETH**  | ⚠️ Converted first |

***

#### What Happens After Payment

```
Payment confirmed:
1. Rent split calculated (equity + treasury)
2. EQTBLT minted (7-12% of rent)
3. EQTBLT sent to your wallet
4. Remaining rent to treasury
5. Payment recorded on-chain
```

{% endtab %}

{% tab title="📊 Equity Earning" %}

### 📊 How Equity is Calculated

#### Base Conversion Rate

| Rate Type      | Percentage |
| -------------- | ---------- |
| 🔢 **Default** | 10%        |
| 📉 **Minimum** | 7%         |
| 📈 **Maximum** | 12%        |

***

#### Rate Bonuses

| Factor                    | Bonus |
| ------------------------- | ----- |
| ⏱️ **24+ month lease**    | +1%   |
| 🔄 **Lease renewal**      | +0.5% |
| 🏠 **Affordable housing** | +2%   |

***

#### Example Calculation

**Monthly rent: $1,500 at 10% rate**

| Component               | Amount |
| ----------------------- | ------ |
| 💳 Total rent           | $1,500 |
| 💎 Equity portion (10%) | $150   |
| 🏦 Treasury portion     | $1,350 |
| 📊 EQTBLT minted        | 150    |

***

#### Rate in Your Lease

Your rate is specified in basis points:

| Basis Points | Percentage |
| ------------ | ---------- |
| 700          | 7%         |
| 1000         | 10%        |
| 1100         | 11%        |
| 1200         | 12%        |

Rate is **locked for your lease term** and cannot decrease.
{% endtab %}

{% tab title="⏱️ Timing & Fees" %}

### ⏱️ Payment Timing

#### Due Dates

| Type               | Timing            |
| ------------------ | ----------------- |
| 📅 **Due date**    | 1st of each month |
| ⏳ **Grace period** | 5 days            |
| ⚠️ **Late after**  | 6th of month      |

***

#### Late Fees

| Scenario                 | Fee             |
| ------------------------ | --------------- |
| 📅 **On time (1st-5th)** | No fee          |
| ⚠️ **Late (6th+)**       | 5% of base rent |

***

#### Late Payment Example

**$1,500 rent, paid on the 10th**

| Component        | Amount               |
| ---------------- | -------------------- |
| 💳 Base rent     | $1,500               |
| ⚠️ Late fee (5%) | $75                  |
| 💰 **Total due** | **$1,575**           |
| 💎 EQTBLT earned | 150 (base rent only) |

**Note:** Late fees do NOT earn EQTBLT.

***

#### Early Payment

| Scenario               |       Allowed?       |
| ---------------------- | :------------------: |
| 📅 Pay before 1st      |         ✅ Yes        |
| 💰 Pay multiple months | ❌ No (one at a time) |
| 🎁 Extra payment       |   ❌ Returns excess   |
| {% endtab %}           |                      |

{% tab title="⚙️ Technical" %}

### ⚙️ On-Chain Payment

#### Contract Interaction

```solidity
function payRent(uint256 leaseId) external nonReentrant
```

**Requirements:**

* Active lease with caller as renter
* Sufficient USDC approved
* Current period not already paid

***

#### Payment Flow

```solidity
1. payRent(leaseId) called
2. Contract checks lease active
3. Calculates: baseRent + lateFee (if any)
4. Transfers USDC from renter
5. Calculates: equityPortion = rent × rate / 10000
6. Mints EQTBLT to renter
7. Transfers remaining to treasury
8. Emits RentPaid event
```

***

#### Events Emitted

```solidity
event RentPaid(
    uint256 indexed leaseId,
    address indexed renter,
    uint256 amount,
    uint256 equityPortion,
    uint256 eqtbltMinted
);

event LateFeeApplied(
    uint256 indexed leaseId,
    uint256 feeAmount
);
```

***

#### Check Rent Due

```javascript
const { baseRent, lateFee, total, isLate } =
    await rentalContract.getRentDue(leaseId);

console.log(`Due: $${total / 1e6}`);
console.log(`Late: ${isLate}`);
```

{% endtab %}

{% tab title="🤖 Auto-Pay" %}

### 🤖 Automatic Payments

#### Setting Up Auto-Pay

| Step | Action                         |
| ---- | ------------------------------ |
| 1️⃣  | Navigate to "Payment Settings" |
| 2️⃣  | Enable "Auto-Pay"              |
| 3️⃣  | Approve recurring allowance    |
| 4️⃣  | Confirm setup                  |

***

#### How It Works

| Aspect              | Description              |
| ------------------- | ------------------------ |
| 📅 **Timing**       | 1st of each month        |
| 💳 **Source**       | Your connected wallet    |
| ⚠️ **Fallback**     | Manual pay if auto fails |
| 📧 **Notification** | Email before and after   |

***

#### Requirements

| Requirement               | Detail                     |
| ------------------------- | -------------------------- |
| 💰 **Sufficient balance** | USDC in wallet             |
| ✅ **Approval**            | Contract approved to spend |
| 🔗 **Active connection**  | Wallet connected           |

***

#### Managing Auto-Pay

| Action         | How                          |
| -------------- | ---------------------------- |
| 🔄 **Modify**  | Payment Settings → Auto-Pay  |
| ❌ **Cancel**   | Toggle off + revoke approval |
| 📊 **History** | View past auto-payments      |
| {% endtab %}   |                              |

{% tab title="❓ FAQ" %}

### ❓ Payment FAQ

**What if I don't have USDC?** You can swap ETH or other tokens for USDC on exchanges or use the platform's swap feature.

***

**Can I pay with a credit card?** Not directly. You would need to purchase USDC first, then pay.

***

**What if my payment fails?** The transaction will revert. Check your USDC balance and approval, then try again.

***

**Can someone else pay my rent?** Yes, through the payRentFor() function (admin only) or by sending you USDC first.

***

**Is there a payment deadline within the day?** No specific time. Any time on the 5th (or earlier) is on-time.

***

**Do I earn EQTBLT on security deposits?** No. EQTBLT is only earned on rent payments.

***

**What's the gas cost?** Minimal on Base L2. Typically $0.01-$0.10 per transaction.

***

**Can I see my payment history?** Yes. Dashboard → Housing → Payment History shows all payments and EQTBLT earned.
{% endtab %}
{% endtabs %}

***

<details>

<summary>📊 Monthly Payment Breakdown Example</summary>

**$2,000/month rent, 11% equity rate, paid on time**

| Item                 | Amount    |
| -------------------- | --------- |
| 💳 **Base rent**     | $2,000.00 |
| ⚠️ **Late fee**      | $0.00     |
| 💰 **Total paid**    | $2,000.00 |
|                      |           |
| 💎 **Equity (11%)**  | $220.00   |
| 🏦 **Treasury**      | $1,780.00 |
|                      |           |
| 📊 **EQTBLT minted** | 220       |
| ⛽ **Gas cost**       | \~$0.05   |

**Net payment: $2,000.05** **EQTBLT received: 220**

</details>

***

{% hint style="success" %}

### 🔗 Ready to Pay?

1. 💰 Ensure USDC in wallet
2. 🔗 Connect to housing platform
3. 💳 Pay rent and earn EQTBLT
4. 📊 Watch your equity grow
   {% endhint %}

***

## 🔗 Related Pages

{% content-ref url="/pages/OiWYwch32aM3GCGK7BHh" %}
[Overview](/equity-and-membership/equity-leases.md)
{% endcontent-ref %}

{% content-ref url="/pages/JxkR5zUnET7Ppq6pfpCO" %}
[How Equity Works](/equity-and-membership/how-it-works.md)
{% endcontent-ref %}

{% content-ref url="/pages/YXcXmGr1hJETepKv57Vb" %}
[Paying Rent](/guides/pay-rent.md)
{% endcontent-ref %}

{% content-ref url="/pages/4dyHkNojNrIrQGavsuXD" %}
[EQTBLT Token](/token-economy/eqtblt.md)
{% endcontent-ref %}


---

# 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.builtbydao.com/equity-and-membership/rent-payments.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.
