Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Fee receivers #47

Merged
merged 5 commits into from
Jan 13, 2025
Merged

Configurable Fee receivers #47

merged 5 commits into from
Jan 13, 2025

Conversation

0xripleys
Copy link
Contributor

@0xripleys 0xripleys commented Jan 7, 2025

  • allow admin to specify a variable number of fee receivers and weights
  • don't send dust to fee receiver in claim_rewards_and_deposit. join the dust to the fee balance instead

@0xripleys 0xripleys changed the title Team/DAO Fee split Configurable Fee receivers Jan 8, 2025
@0xripleys 0xripleys requested a review from nope-finance January 8, 2025 04:12
@@ -32,6 +33,7 @@ module suilend::lending_market {
const ERewardPeriodNotOver: u64 = 5;
const ECannotClaimReward: u64 = 6;
const EInvalidObligationId: u64 = 7;
const EInvalidFeeReceivers: u64 = 8;

// === Constants ===
const CURRENT_VERSION: u64 = 6;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we version bump

@nope-finance nope-finance merged commit c034587 into devel Jan 13, 2025
1 check passed
@nope-finance nope-finance deleted the fee_split branch January 13, 2025 15:40
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.

2 participants