resupply-redemption

Automate reUSD collateral redemption workflows with dynamic fee management in Resupply.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/cyotee/resupply-skill --skill resupply-redemption
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resupply-redemption
Source: https://github.com/cyotee/resupply-skill/tree/main/.opencode/skills/resupply-redemption
Command: npx skills add https://github.com/cyotee/resupply-skill --skill resupply-redemption

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables reUSD holders to redeem collateral from borrowers' positions, providing a price floor and enabling arbitrage opportunities to help peg stability.

Core Features & Use Cases

  • Redemption workflow: burn reUSD, reduce borrower debt, and transfer collateral from the highest-utilization positions.
  • Dynamic fee management: adjusts base fees based on utilization and redemption frequency to balance network risk and profitability.
  • Risk controls and governance inputs: supports per-epoch redemption limits and position selection logic to protect collateral pools.
  • Observability: emits events for redemption activity and fee updates to enable monitoring and analytics.

Quick Start

Retrieve and execute a collateral redemption by specifying the pair address, amount of reUSD to redeem, and the minimum collateral you are willing to receive.

Frequently Asked Questions about resupply-redemption

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does collateral redemption for reUSD work in the Resupply lending protocol?

Collateral redemption for reUSD works by burning reUSD to reduce borrower debt and transfer collateral from the highest-utilization positions, maintaining a price floor. This process enables arbitrage opportunities to help peg stability.

How do I redeem reUSD for collateral with dynamic fees?

To redeem reUSD for collateral, specify the lending pair address, the amount of reUSD to burn, and the minimum collateral you will accept. The workflow applies dynamic fees based on utilization and redemption frequency.

What risk controls apply to reUSD redemption in smart contracts?

Risk controls for reUSD redemption include per-epoch redemption limits and position selection logic to protect collateral pools. These governance inputs balance network risk and profitability by targeting the highest-utilization positions.

How are dynamic redemption fees calculated when reducing borrower debt?

Dynamic redemption fees are calculated by adjusting base fees based on pool utilization and redemption frequency. This fee management mechanism balances network risk and profitability while reducing borrower debt and transferring collateral.

How do I monitor redemption activity and fee updates in Resupply?

Monitoring redemption activity and fee updates is handled through emitted events. The redemption engine emits events for all redemption activity and fee adjustments to enable external monitoring and analytics.