QEarn: Make early unlocks principal-only full exits#935
Open
jtskxx wants to merge 13 commits into
Open
Conversation
Release v1.296.0
Release v1.297.0
Collaborator
|
@jtskxx You need to set the target branch as qubic:develop not the main branch. |
Contributor
Author
|
Updated the PR so the new QEarn rules are prospective only. The new behavior is scoped by
This addresses the concern that existing lockers should not have their terms changed mid-lock, while keeping the proposal goal unchanged. |
Contributor
Author
|
Updated the PR to prevent same-epoch unlocks for new post-activation locks. This closes the case where someone could lock a large amount during an epoch, affect the round APY, then unlock before the epoch closes. Scope remains prospective:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes QEarn early-unlock fairness.
Changes:
QEarn computor donations are intended to reward users who complete the 52-epoch lock period. The current early-unlock logic allows short-term lockers to extract or burn part of the shared bonus pool, reducing rewards for loyal long-term lockers. This patch keeps early liquidity available while ensuring bonus rewards belong to completed locks.