1. Deposit Collateral
    • User deposits 1,000 USDC into a reprise.fi vault on Ink.
    • Contract locks the USDC and records the balance.
  2. Borrow [rUSD]
    • User borrows 500 [rUSD] (50% of collateral).
    • Contract mints and delivers 500 [rUSD], logging the debt.
  3. Yield Generation
    • Collateral earns yield (e.g., 5% APY) via Yearn or Aave on Ink.
    • Yield accrues in the background.
  4. Automatic Debt Repayment
    • Yield (e.g., 10 USDC/month) is harvested and burns 10 [rUSD] debt.
    • Debt drops (e.g., 500 to 490 [rUSD]), visible in the UI.
  5. Withdraw or Adjust
    • User can withdraw excess collateral, borrow more, or repay manually.
    • Contract adjusts and releases funds as needed.
  6. Ongoing Cycle
    • Yield keeps reducing debt until zero, freeing all collateral.
    • System runs smoothly on Ink’s scalable infrastructure.