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

fix: PCL lockdrop LP early staking #89

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

sotnikov-s
Copy link
Contributor

@sotnikov-s sotnikov-s commented Apr 4, 2024

task:

https://hadronlabs.atlassian.net/browse/NTRN-258

this PR

  • changes PCL lockdrop liquidity migration handler so there's no autostake to the incentives contract during migration. Instead, lockdrop contract now collects LP tokens associated with a pool until the last user is being migrated. When the time comes, PCL lockdrop stakes all the collected LP tokens (i.e. all liquidity locked in lockups) for the pool with the incentives contract. In time span [migration_start ; migration_end] there's no staking rewards for a pool.
  • changes XYK lockdrop liquidity migration handler so it notifies the PCL lockdrop about the last user being migrated.

related PRs:

@sotnikov-s
Copy link
Contributor Author

@sotnikov-s sotnikov-s merged commit e10629b into feat/pcl-lp-migration Apr 16, 2024
7 checks passed
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