resupply-rewards

Document RSUP reward minting and distribution across lending, insurance, and staking contracts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables transparent and automated distribution of RSUP emissions and protocol fees to borrowers, insurance pool holders, and stakers, aligning incentives and funding governance and staking ecosystems.

Core Features & Use Cases

  • Reward orchestration hub: centralizes emission minting and distribution across RewardHandler, RewardDistributorMultiEpoch, and EmissionsController.
  • Multi-epoch reward accounting: tracks epoch rewards, cumulative reward integral, and user-claimable balances, supporting time-based distributions.
  • Comprehensive payout flows: supports claiming rewards from lending pairs, insurance pool, and staking contracts, and handles fee-driven rewards from interest and redemptions.

Quick Start

Ask for the current RSUP emission and reward distribution status to see how rewards are allocated across lending, insurance, and staking.

Frequently Asked Questions about resupply-rewards

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

FAQPage Schema
How are token reward emissions distributed across lending, insurance, and staking pools?

Token reward emissions are distributed by centralizing minting and allocation through a reward handler, multi-epoch distributor, and emissions controller to automate payouts to lending, insurance pools, and staking.

How does multi-epoch reward distribution track claimable balances over time?

Multi-epoch reward distribution tracks time-based rewards by calculating a cumulative reward integral and recording user-claimable balances across multiple epochs for accurate accounting.

Can I automate protocol fee rewards from interest and redemptions into staking payouts?

Yes, you can automate protocol fee rewards from interest and redemptions by routing them through the reward handler to mint and allocate tokens to staking and insurance ecosystems.

What is the best way to orchestrate emission control for a DeFi reward system?

The best way to orchestrate emission control is using an emissions controller that manages multi-epoch reward distribution and coordinates minting across lending pairs, insurance pools, and staking contracts.

Does multi-epoch reward distribution support claiming rewards from multiple DeFi contract types?

Yes, multi-epoch reward distribution supports claiming accumulated rewards from lending pairs, insurance pools, and staking contracts through comprehensive payout flows.

Why do I need an emissions controller for protocol reward distribution?

You need an emissions controller to align incentives and fund governance by transparently automating token minting and distributing fee-based rewards across borrowers, insurance holders, and stakers.