Skip to content

Feature/722 compound fees vaults - #827

Open
rabsqueen wants to merge 3 commits into
BCPathway:mainfrom
rabsqueen:feature/722-compound-fees-vaults
Open

Feature/722 compound fees vaults#827
rabsqueen wants to merge 3 commits into
BCPathway:mainfrom
rabsqueen:feature/722-compound-fees-vaults

Conversation

@rabsqueen

Copy link
Copy Markdown

Summary

Implements the core compound_fees functionality for the Yield-Bearing Fee Vaults epic.

The new functionality moves pending protocol fees from the fee contract into the vault pool and adds the compounded tokens to the vault's underlying balance.

This establishes the core mechanism required for protocol fees to be reinvested into the vault rather than remaining idle in the fee contract.

What Changed
Fee Compounding

Implemented the compound_fees function to:

Identify pending fees held by the fee contract.
Pull the available tokens from the fee contract.
Transfer the tokens into the vault pool.
Increase the vault's underlying balance by the compounded amount.

Closes #722

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@rabsqueen Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Core] Implement compound_fees function

1 participant