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.
- 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.
- 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.