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(#139): removes staking, priority fee still wip #163

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Conversation

Alexangelj
Copy link
Contributor

Changes

  • Removes stake from Hyper.sol
  • Removes unstake from Hyper.sol
  • Removes STAKE and UNSTAKE instructions from Enigma.sol.
  • Removes STAKE and UNSTAKE branches in Hyper's processing function.
  • Updates syncPositionFees to use the already passed in memory variable's liquidity as the input to computing fees earned for the position.
  • Removes staked liquidity from position fee syncing liquidity calculation.
  • Removes stake and unstake unit tests.
  • Removes related staking variables from HyperPool and HyperPosition structs.
  • Misc: updates naming of the unused instructions codes to UNSET{number}

@Alexangelj Alexangelj requested a review from clemlak January 24, 2023 06:41
@0xJepsen 0xJepsen linked an issue Jan 24, 2023 that may be closed by this pull request
@Alexangelj Alexangelj marked this pull request as ready for review January 25, 2023 19:14
@Alexangelj Alexangelj merged commit 5a75fc5 into main Jan 25, 2023
@Alexangelj Alexangelj deleted the remove-staking branch January 27, 2023 19:25
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.

Free vs. Staked Liquidity
1 participant