# Loan Self-Repayment System

The **Self-Repayment System** allows veDUST holders to automatically use their governance rewards to reduce outstanding debt positions. When enabled, rewards that would normally be claimable to the user’s wallet are redirected to a dedicated **UserVault** contract. The vault swaps these rewards into the relevant debt asset and repays the user’s loan automatically.

The vault swaps these rewards into the debt asset using the API provided by **Clober**, with fallbacks to **KyberSwap** and **Monorail**.

The process is **entirely non-custodial** and can **be enabled or disabled at any time**.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line">Overview

Self-repayment provides a way for active participants to improve their loan health passively. By routing earned rewards directly into repayment, borrowers maintain lower utilization, reduced liquidation risk, and a smoother compounding experience.

Once enabled, all veDUST enrolled in self-repayment will automatically send their rewards to the user’s vault until the feature is turned off.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line">How It Works

1. **Enable Self-Repay**\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">The user enables self-repayment for their veDUST.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">The system deploys a **UserVault** to that wallet (one vault per user).
2. **Reward Redirection**\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Rewards generated from the veDUST enabled for the self-repay system are sent to the user’s vault instead of their wallet.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Each veDUST can independently opt in or out of self-repayment.
3. **Automated Execution**

   <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">A protocol executor once per epoch:

   <img src="/files/vocvsZBQsq3tRSlGnTrt" alt="" data-size="line"><img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Claims rewards to the vault

   <img src="/files/vocvsZBQsq3tRSlGnTrt" alt="" data-size="line"><img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Swaps reward tokens into the chosen debt asset

   <img src="/files/vocvsZBQsq3tRSlGnTrt" alt="" data-size="line"><img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Repays the user’s loan on their behalf
4. **Disable at Any Time**

   <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Disabling self-repay restores the default reward flow directly to the wallet.

   <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">All future rewards bypass the vault until the feature is re-enabled.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> System Architecture

<table><thead><tr><th width="180">Component</th><th>Description</th></tr></thead><tbody><tr><td><strong>RevenueReward</strong></td><td>Routes veDUST rewards to either the owner or their assigned vault.</td></tr><tr><td><strong>UserVaultFactory</strong></td><td>Deploys one vault per user when first enabling self-repay.</td></tr><tr><td><strong>UserVault</strong></td><td>Holds rewards, performs swaps, and repays debt positions.</td></tr><tr><td><strong>UserVaultRegistry</strong></td><td>Controls aggregator whitelists, slippage limits, and executor permissions.</td></tr></tbody></table>

The user retains full ownership of both their **veDUST** and **UserVault** at all times. The executor only has permission to perform the predefined automated functions.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> Security and Safeguards

<img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Non-custodial:** Users remain owners of both the veDUST and the vault.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Slippage protected:** Swaps use Neverland oracle pricing to verify fair execution.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Whitelisted aggregators:** Only approved DEX aggregators are permitted.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Auto cleanup:** Self-repay is automatically disabled if the veDUST is transferred or merged.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Split inheritance:** If a veDUST is split, both resulting tokens retain self-repay status.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">**Recovery functions:** Users can recover ERC20 or MON from their vault at any time.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> Behavior Summary

<table><thead><tr><th width="286">Action</th><th>Result</th></tr></thead><tbody><tr><td><strong>Enable self-repay</strong></td><td>Rewards are redirected to the user’s vault</td></tr><tr><td><strong>Disable self-repay</strong></td><td>Rewards flow directly to the wallet</td></tr><tr><td><strong>Transfer</strong> veDUST</td><td>Self-repay is disabled automatically</td></tr><tr><td><strong>Split</strong> veDUST</td><td>Both new tokens inherit self-repay</td></tr><tr><td><strong>Merge</strong> veDUST's</td><td>Self-repay is cleared for the merged token</td></tr><tr><td><strong>Executor operation</strong></td><td>Claims rewards, swaps them, and repays debt</td></tr><tr><td><strong>Manual claim (disabled)</strong></td><td>Rewards can still be claimed manually</td></tr></tbody></table>

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> Operational Flow

<figure><img src="/files/OvJCqVR105ztAadMHYD9" alt="" width="563"><figcaption></figcaption></figure>

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> Key Properties

1. **One vault per user** – All enrolled veDUST share the same UserVault.
2. **Non-custodial design** – Ownership of rewards and loans never leaves the user.
3. **Automatic cleanup** – Self-repay is cleared on transfers or merges.
4. **Inherited splits** – New tokens after a split maintain self-repay status.
5. **Verified swaps** – All swaps are validated against oracle prices with capped slippage.
6. **Controlled access** – Only the authorized executor can trigger automation.

***

### <img src="/files/UxcoxCMKd43s8WbFwOwF" alt="" data-size="line"> Why It Matters

The Self-Repayment System connects governance rewards and lending behavior into a single automated cycle. It rewards users who actively participate in governance with real financial benefits, while reducing overall protocol risk by improving borrower health.

Self-repay creates a continuous, closed loop:\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Governance rewards are earned by veDUST lockers.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">Those rewards automatically flow into the user’s vault.\ <img src="/files/vHlrolnjsLKYBPRAEx0U" alt="" data-size="line">The vault repays debt, improving loan metrics and freeing borrowing capacity.

The result is a sustainable, incentive-aligned mechanism where governance participation strengthens both the individual and the protocol.


---

# 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.neverland.money/loan-self-repayment-system.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.
