Skip to content

Conversation

@bribri-wci
Copy link

@bribri-wci bribri-wci commented Dec 11, 2025

Still needs tests for RedemptionBuffer behavior.

  • When a borrower opens a trove, X% of RBTC goes into a RedemptionBuffer
  • Redemptions pull from RedemptionBuffer first, at oracle price
  • ZUSD redeemed via buffer is swapped and sent to FeeDistributor for stakers.
  • Governance can drain excess from RedemptionBuffer to stakers

With RedemptionBuffer set:
820 passing (7m)
23 pending
11 failing

No new tests added.

@bribri-wci
Copy link
Author

@tjcloa would you be able to review this code when you have time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant