Skip to content

Feat/redemption buffer - #9

Draft
bribri-wci wants to merge 13 commits into
DistributedCollective:developmentfrom
bribri-wci:feat/redemption-buffer
Draft

Feat/redemption buffer#9
bribri-wci wants to merge 13 commits into
DistributedCollective:developmentfrom
bribri-wci:feat/redemption-buffer

Conversation

@bribri-wci

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

Copy link
Copy Markdown

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:
831 passing (9m)
23 pending

No new tests added.

@bribri-wci

Copy link
Copy Markdown
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