Overview
This proposal introduces a guard on the Redemption Handler to reduce avoidable value leakage and internalize profitable opportunities to the Resupply treasury. The table below provides a conservative estimate of the monthly value leaked to external redemption bots.
| Month | Value Lost |
|---|---|
| Jan 2026 | $16,060.83 |
| Dec 2025 | $11,303.84 |
| Nov 2025 | $30,954.21 |
When the guard is enabled, redemptions within a defined price threshold are restricted to a trusted Redemption Operator contract. This operator executes redemptions only when profitable and forwards all resulting profits to the Resupply treasury.
To ensure liveness and safety, redemptions automatically revert to fully permissionless if:
- reUSD trades below the configured price threshold, or
- the guardian disables the guard.
Because the Redemption Operator may need to be whitelisted at permissioned flashloan facilities, it is deployed behind a UUPS proxy to allow upgrades without repeated external whitelisting. This proposal also introduces an Upgrade Operator to simplify upgrades and authorizes it on select proxies: Redemption Operator and Guardian.
Specification
-
Configure new Redemption Handler
guardEnabled = truepermissionlessPriceThreshold = 0.985e18
-
Set registry keys
REDEMPTION_HANDLERREDEMPTION_OPERATORREUSD_ORACLEUPGRADE_OPERATOR
-
Set operator permissions (via Core)
- Allow
UPGRADE_OPERATORto upgrade theREDEMPTION_OPERATORproxy - Allow
UPGRADE_OPERATORto upgrade theGUARDIANproxy - Allow Guardian proxy to call
updateGuardSettingson the new Redemption Handler
- Allow