How resupplyfi/resupply works
Resupply is a CDP-based stablecoin protocol intended to help users earn yield on stablecoin lending positions. The tree shows distinct lending, oracle, liquidation, redemption, governance, emissions, staking, and sreUSD components, but no Solidity source excerpts were provided. Accordingly, the map identifies these product areas without asserting runtime calls or data flows between them; such connections need source evidence.
Main entry points: ResupplyPair.sol Lending pair · Stablecoin.sol Stablecoin · sreUSD.sol sreUSD vault
Components 19
Lending protocol
- Lending pair
src/protocol/ResupplyPair.sol - Pair core
src/protocol/pair/ResupplyPairCore.sol - Pair registry
src/protocol/ResupplyRegistry.sol - Stablecoin
src/protocol/Stablecoin.sol - Redemption handler
src/protocol/RedemptionHandler.sol
Risk and pricing
- Underlying oracle
src/protocol/UnderlyingOracle.sol - reUSD oracle
src/protocol/ReusdOracle.sol - Interest rates
src/protocol/InterestRateCalculatorV2.sol - Liquidation handler
src/protocol/LiquidationHandler.sol
Governance and DAO
- DAO core
src/dao/Core.sol - Voter
src/dao/Voter.sol - Emissions controller
src/dao/emissions/EmissionsController.sol - Retention incentives
src/dao/RetentionIncentives.sol - Governance staking
src/dao/staking/GovStaker.sol - Treasury
src/dao/Treasury.sol
Yield products
- sreUSD vault
src/protocol/sreusd/sreUSD.sol - Vault rewards
src/protocol/sreusd/LinearRewardsErc4626.sol - Fee deposit
src/protocol/FeeDeposit.sol
Other components
- Stablecoin user
Connections 3
- Stablecoin user → Lending pair: lends through
- Lending pair → Stablecoin: uses stablecoin
- Stablecoin user → sreUSD vault: seeks yield