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

# Auto Rollover

> Automatic position extension at maturity for continuous fixed-rate yields

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/centuari/assets/gifs/auto-rollover.gif" alt="Animation showing lending position automatically extending at maturity" />
</Frame>

## Overview

Auto Rollover automatically extends your lending position when it matures. Instead of receiving your principal + interest and needing to manually re-lend, the protocol creates a new position for you, keeping your capital working.

<Info>
  **Default Behavior**:

  * Easy Mode: Auto Rollover is **ON** by default
  * Advanced Mode: Auto Rollover is **OFF** by default
</Info>

## How It Works

<Steps>
  <Step title="Original Position Matures">
    Your lending term ends (e.g., USDC position maturing June 1)
  </Step>

  <Step title="System Checks Auto Rollover">
    Protocol checks if auto rollover is enabled for your position
  </Step>

  <Step title="New Order Placed">
    Automatically places a new lend order with:

    * Same underlying asset (USDC)
    * Next available maturity date
    * Current market rate
  </Step>

  <Step title="Order Matches">
    New order matches with borrowers in the order book
  </Step>

  <Step title="New CBT Issued">
    You receive new CBT for your rolled position

    **Interest handling**: Accrued interest from the previous position is added to your new principal
  </Step>
</Steps>

## Configuration Options

### In Easy Mode

Auto Rollover is enabled automatically. To modify:

1. Go to your position dashboard
2. Click on the position
3. Toggle "Auto Rollover" off
4. Confirm the change

<Warning>
  If you disable Auto Rollover, make sure to withdraw or manage your position at maturity. Funds will sit idle otherwise.
</Warning>

### In Advanced Mode

When placing your lend order, you can configure:

| Setting         | Options              | Default   |
| --------------- | -------------------- | --------- |
| Auto Rollover   | On / Off             | Off       |
| Rate Preference | Market / Target rate | Market    |
| Duration        | Same / Custom        | Same      |
| Max Rollovers   | 1-99 / Unlimited     | Unlimited |

#### Rate Preference

* **Market**: Accept best available rate at rollover time
* **Target Rate**: Only roll if rate is at or above your target

<Tabs>
  <Tab title="Market Rate">
    ```
    Original: 8% APY maturing June 1
    At maturity: Market is 7.5% APY
    Rollover: New position at 7.5% APY maturing July 1
    ```

    **Best for**: Prioritizing continuous deployment over rate optimization
  </Tab>

  <Tab title="Target Rate">
    ```
    Original: 8% APY maturing June 1
    Target: Minimum 7.5% APY
    At maturity: Market is 7.5% APY ✓
    Rollover: New position at 7.5% APY maturing July 1

    If market were 7.0%: No rollover, funds returned
    ```

    **Best for**: Rate-sensitive lenders
  </Tab>
</Tabs>

## What Happens to Interest

At rollover, your accrued interest is **compounded** into the new position:

```
Original Position:
  Principal: $10,000
  Rate: 8% APY
  Maturity: June 1
  Interest earned: ~$197

At Rollover:
  New Principal: $10,197 ($10,000 + $197)
  New Rate: Current market rate
  New Maturity: July 1
```

This means you earn interest on your interest, true compounding without manual intervention.

## Rollover Scenarios

<AccordionGroup>
  <Accordion title="Successful Rollover" icon="check">
    **Situation**: Market has liquidity at acceptable rates

    **Outcome**:

    1. Old CBT burned
    2. Interest calculated and added to principal
    3. New lend order placed
    4. Order matches
    5. New CBT issued

    **User experience**: Seamless, no action needed
  </Accordion>

  <Accordion title="Partial Rollover" icon="circle-half-stroke">
    **Situation**: Market depth insufficient for full amount

    **Outcome**:

    1. Old CBT burned
    2. Portion matches, receives new CBT
    3. Remaining principal + interest returned to wallet

    **User experience**: Partial deployment, some funds returned
  </Accordion>

  <Accordion title="Failed Rollover (Rate)" icon="xmark">
    **Situation**: Target rate not available in market

    **Outcome**:

    1. Old CBT burned
    2. Full principal + interest returned to wallet
    3. No new position created

    **User experience**: Position closed, funds in wallet
  </Accordion>

  <Accordion title="Failed Rollover (Liquidity)" icon="xmark">
    **Situation**: No matching borrowers available

    **Outcome**:

    1. Old CBT burned
    2. Full principal + interest returned to wallet
    3. No new position created

    **User experience**: Position closed, funds in wallet
  </Accordion>
</AccordionGroup>

## Notifications

The protocol notifies you of rollover events:

| Event               | Notification                                      |
| ------------------- | ------------------------------------------------- |
| Successful rollover | "Position rolled: Maturing July 1 at 7.8% APY"    |
| Partial rollover    | "Partial roll: $8,000 deployed, $2,197 returned"  |
| Failed rollover     | "Rollover failed: Funds returned to wallet"       |
| Upcoming maturity   | "Position maturing in 24h, auto rollover enabled" |

## Gas & Fees

<Info>
  **Gasless**: Auto rollover transactions are gasless, the protocol covers gas costs.
</Info>

| Fee Type     | Amount                              |
| ------------ | ----------------------------------- |
| Gas          | \$0 (protocol subsidized)           |
| Protocol fee | 0.1% of interest (same as new lend) |

## Managing Auto Rollover

### Enabling/Disabling

Change auto rollover status at any time before maturity:

1. Navigate to position dashboard
2. Select the position
3. Toggle Auto Rollover
4. Confirm change

Changes take effect at the next maturity event.

### Viewing Status

Position dashboard shows:

* Auto rollover status (enabled/disabled)
* Rate preference (market/target)
* Duration setting
* Rollover count (if limited)

### Emergency Disable

If you need funds at maturity:

1. Disable auto rollover before maturity
2. Or sell CBT on secondary market for immediate exit

## Best Practices

<CardGroup cols={2}>
  <Card title="Set Realistic Targets" icon="bullseye">
    If using target rate, set it slightly below your original rate to account for market movement
  </Card>

  <Card title="Monitor Notifications" icon="bell">
    Keep notifications enabled to track rollover outcomes
  </Card>

  <Card title="Review Periodically" icon="calendar-check">
    Check your positions quarterly to ensure settings still match your goals
  </Card>

  <Card title="Consider Market Conditions" icon="chart-line">
    In falling rate environments, consider disabling to lock in current rates manually
  </Card>
</CardGroup>

## Comparison: Auto vs Manual

| Aspect       | Auto Rollover    | Manual Re-lend          |
| ------------ | ---------------- | ----------------------- |
| Effort       | None             | Must monitor and act    |
| Gas          | Free             | Free (gasless protocol) |
| Rate control | Market or target | Full control            |
| Compounding  | Automatic        | Must manually compound  |
| Flexibility  | Fixed parameters | Choose fresh each time  |

## FAQs

<AccordionGroup>
  <Accordion title="Can I change rollover settings mid-position?">
    Yes. Changes apply at the next maturity. Your current position continues unchanged.
  </Accordion>

  <Accordion title="What if rates dropped significantly?">
    With target rate set: Position won't roll, funds returned.
    With market rate: Position rolls at lower rate.

    You can also disable auto rollover before maturity if you anticipate this.
  </Accordion>

  <Accordion title="Does auto rollover work with partial positions?">
    Yes. If you sold some CBT, the remaining amount will roll over.
  </Accordion>

  <Accordion title="Is there a limit to how many times it can roll?">
    By default, no limit. In Advanced Mode, you can set a maximum number of rollovers.
  </Accordion>

  <Accordion title="What happens if the protocol is paused at maturity?">
    Rollover queued until protocol resumes. If extended pause, funds returned to wallet.
  </Accordion>

  <Accordion title="How do predetermined maturity dates affect rollover?">
    All rollovers target the next available predetermined maturity date (1st of month). The system maintains maximum 3 active maturities, auto-rotating as dates pass.
  </Accordion>
</AccordionGroup>

<Card title="Configure Your Positions" icon="gear" href="https://app-staging.centuari.finance">
  Set up auto rollover for your lending positions
</Card>
