Metronome
  • Metronome Synth
    • Introduction
    • Treasury Management
    • Protocol Owned Liquidity
      • External Liquidity
    • The Metronome Token ($MET)
    • Metronome Synth Protocol
      • Metronome Synth Features
      • Metronome Dashboard
      • Liquidations and Collateral Factors
      • Productive Collateral
      • Supported Assets
      • Synth Marketplace
      • DeFi Ecosystem
      • Metronome Synth Mintage and Deposit Caps
    • Risks
      • Liquidation
      • Black Swan
      • Oracle Disruptions
    • Metronome Revenue Model
    • Metronome Synth Glossary
    • Contracts
  • Smart Farming
    • Introduction
    • How Does it Work?
    • Competitive Advantages
    • Step-by-Step Guide
    • Loopage
    • Auto Repay
    • Risks
    • FAQ
  • Tokenomics
    • esMET
    • Governance
      • Lock MET
        • How to Lock MET
      • Early Unlock
        • How to Unlock MET
    • Trading Fee Discount
  • Contract Overview
    • Liquidation
    • Pool
    • Fees
    • Rewards
  • Metronome 2.0
    • Introduction
    • MET Tokenomics
    • Metronome DAO
      • Voting and Participation
      • Treasury Management
      • Metronome Improvement Proposal (MIP) Template
    • FAQ
    • Glossary
  • resources
    • Official Links
    • Brand Assets
    • Metronome 1.0
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Smart Farming

Auto Repay

PreviousLoopageNextRisks

Last updated 10 months ago

Was this helpful?

Auto repay is Metronome’s version of unlooping a position, enabling users to repay with ease. If a user wants to unloop their position, they can input the number of collateral assets they intend to use for repayment (the corresponding dollar value is displayed). Upon doig so, users will be shown their anticipated collateral ratio after repayment, as well as an approximation of how many synths will be bought back for the repayment process. Once users confirm by clicking the "Repay" button, a transaction will be executed and then confirmed in the users wallet with the newly updated position displayed.

Example:

  1. User navigates to the Metronome Smart Farming platform.

  2. User selects vaUSDC as their preferred collateral.

  3. The user's vaUSDC position is looped according to the users preference.

  4. When the user decides to unloop (auto repay) their position, the user will retains their vaUSDC tokens within the Metronome platform.

Additionally, if a user deposits naked collateral (i.e. USDC) for use in Smart Farming, the contract will deposit the user's USDC into Vesper, generating vaUSDC. Upon unlooping, this can easily be converted back to the original USDC position via the Vesper pools on Metronome, or by visiting the Vesper app.

The smart contract manages the following steps:

  1. Exchanges the user’s collateral for the necessary synth amount.

  2. Uses the exchanged synth to repay the users outstanding assets.

  3. Cancels the transaction if the exchanged synth amount exceeds the user’s total outstanding amount.

  4. Confirms the user’s account is healthy after the swap.

Note: Any user that has generated synthetic assets can use the auto repay functionality.

You can perform Auto Repay by doing the following:

1. Navigate to the application.

2. Hover over your chosen synth asset and click “Repay”.

  1. Next, select how you would like to repay, in this case, we will be using “Auto Repay”.

  1. Here you will be able to see your outstanding position, choose your collateral, and set your slippage tolerance.

  1. Once you are comfortable, hit “Repay” and confirm the transaction.

  2. Now you will be able to see your updated stats and health factor on the dashboard.

Metronome