Skip to main content

Auto-renewal

Auto-renewal is an opt-in feature under which a borrow position can be rolled into a new fixed-rate or variable-rate position around maturity, without further action from the borrower. You configure your preferences once when you initiate a borrow position; the position then carries a standing renewal offer that anyone (typically a keeper) can fill permissionlessly, but only on terms you set in advance.

A borrow position that reaches maturity without being repaid or rolled becomes eligible for post-maturity liquidation on Morpho Midnight (fixed-rate, fixed-term markets). With auto-renewal, a keeper can roll the position into a new term before maturity, if an offer within your configured limits is available.

Renewals are executed by keepers that monitor positions onchain and act when the terms are profitable for them. Anyone can run a keeper; it is not a privileged role. A renewal is not guaranteed: if no offer matches your limits, or no keeper acts, the position can still be liquidated at maturity.

Auto-renewal is only available for certain markets

Auto-renewal is available on Tenor markets, but is not enabled for OTC positions.

Renewal options​

When you initiate a borrow position in the Tenor app, you pick one of three renewal options. Two enable auto-renewal; the third leaves repayment and rolling up to you.

  • Fixed-rate auto-renewal: In the renewal window, a keeper can roll the position into a longer-dated fixed-rate market, at a rate no higher than the maximum rate you set. This option also enables the variable-rate fallback by default: if no fixed-rate offer is available at or below your maximum rate, the position can migrate to a variable rate instead, and can return to fixed-rate once fixed-rate liquidity becomes available again.
  • Variable-rate auto-renewal: In the renewal window, a keeper can migrate the position directly to a Morpho variable rate market, skipping the fixed-rate roll.
  • Self-managed: No auto-renewal. You repay or roll the position manually before maturity. A position that is not repaid or rolled by maturity becomes eligible for post-maturity liquidation.

How a renewal works​

Fixed-to-fixed renewal​

A renewal window opens a set period before maturity and stays open until the position is repaid, rolled, or liquidated. Within that window:

  • You set a maximum rate, a ceiling on the rate you pay to renew.
  • The rate offered to keepers starts low and rises across the window toward your maximum. As the rate rises, more offers become available for keepers to profitably renew your position, until your maximum rate is reached.
  • A keeper can roll your position as soon as a lend offer is available at or below the current auction rate. When keepers compete to roll a position, a renewal can settle close to the market rate.

If a fixed-rate offer is available at or below your maximum rate, a keeper can roll the position into a new fixed-rate term, with collateral migrated in proportion to the debt that rolls. If none is, the variable-rate fallback can migrate the position to a Morpho variable rate market instead. If neither happens, the position is exposed to post-maturity liquidation.

The position rolls into a longer-dated fixed-rate market. You can configure a maximum renewal rate and a range of maturities you can renew into.

Fixed-rate position rolling into a longer-dated fixed-rate position via the renewal window
Step-by-step migration of collateral and debt from a 1-day fixed-rate market into a 30-day fixed-rate market

Learn more about fixed-to-fixed renewal callbacks.

Fixed-to-variable fallback​

If no fixed-rate offer is available at or below your maximum rate during the window, a keeper can migrate the position to an open-term Morpho variable rate market. The position is then no longer at a fixed rate, and the variable rate can be much higher.

Fixed-rate position rolling into a variable-rate open-term market
Step-by-step migration of collateral and debt from a fixed-rate market into a variable-rate open-term market

Learn more about fixed-to-variable migration callbacks.

Example​

Consider a borrower with:

  • 1 cbBTC collateral, 50,000 USDC borrowed at 5% APR for 30 days.
  • Fixed-rate auto-renewal enabled.
  • A maximum renewal rate of 6%.

The numbers below are illustrative. During the renewal window, the rate the auction offers to keepers ramps upward over time, but the effective rate is capped at the borrower's 6% maximum, so a fixed-rate renewal cannot settle above 6%. A keeper can renew the position as soon as the effective rate reaches the rate of an available fixed offer in the target maturity. Here, a 5% fixed offer is available, so a keeper can execute the renewal once the effective rate reaches 5%.

Auction rate curve. The raw rate ramps upward over the renewal window while the effective rate is capped at the borrower's 6% maximum. A keeper can execute the renewal against a 5% fixed offer once the effective rate reaches 5%.

The position rolls into a new 30-day fixed-rate term at 5% APR. The collateral is migrated to the new market, unchanged in amount. The new outstanding debt is the previous maturity value, which accrues at 5% for the next 30 days. The previous maturity value is:

50,000×(1+30365×5%)≈50,205.48 USDC50{,}000 \times \left(1 + \tfrac{30}{365} \times 5\%\right) \approx 50{,}205.48 \text{ USDC}

Edge cases​

A renewal may not execute during the renewal window. This can happen in several ways:

  • Fixed-rate renewal fails: no fixed-rate offer is available at or below your maximum rate.
  • Variable-rate fallback fails: the Morpho variable rate market lacks the lending liquidity to migrate the position.
  • No keeper acts: no keeper is obliged to fill a renewal.
  • The rate policy is paused: the Tenor app defaults to a pausable rate policy. Where Tenor is the policy's pauser, it can pause the policy for security reasons, or where a law, court or regulator requires it. While a policy is paused, renewals that use it are blocked. You can choose a different policy, including a non-pausable one or one with a different pauser, in the app or through the API. See Pausable functions.

When no fixed-rate offer is available at or below your maximum rate, the variable-rate fallback can still migrate the position, provided the Morpho variable rate market has the lending liquidity, a keeper acts and the rate policy is not paused. If no renewal executes before maturity, your position is exposed to post-maturity liquidation.

Auto-renewal stays permitted after maturity, until the position is repaid, rolled, or liquidated. A keeper that finds an offer within your limits can still roll the position past maturity, but the position is also eligible for liquidation from that point on, and whichever executes first settles the position.

Variable-to-fixed migration​

Variable-to-fixed migration is enabled automatically with both auto-renewal options. This migration lets a keeper return a position to fixed-rate terms after the position has been on a variable rate, whether the position reached variable as the fixed-rate fallback or migrated there directly under variable-rate auto-renewal. Once a position is in a Morpho variable rate market, a keeper can migrate it back to a Morpho Midnight fixed-rate market when fixed-rate liquidity becomes favorable, without further action from you. Collateral and debt move atomically through the Blue to Midnight callback.

Both options can therefore return a position to fixed-rate terms. They differ only at maturity: fixed-rate auto-renewal attempts a fixed-rate roll first and uses variable only as a fallback, while variable-rate auto-renewal goes straight to variable. Either way, the position can return to a fixed rate once a fixed-rate offer is available.

Self-managed positions​

A self-managed position posts no standing renewal offer, so no keeper can roll it for you. You are responsible for managing the position. Before maturity, you either repay the debt or roll the position into a new term yourself.

There is no fallback if you take no action. A position that reaches maturity unrepaid and unrolled is exposed to post-maturity liquidation.