Skip to content

Conversation

@billythedummy
Copy link
Contributor

@billythedummy billythedummy commented Nov 25, 2025

Implement update_yield subroutine as pure functions.

Also defined PoolStateV2 for easier testing.

Other

  • change protocol fees to be levied during release_yield instead of update_yield to avoid sol value due to LP-ers from decreasing on profit events
  • add new invariant that makes sure pool is never insolvent for LPers
  • add doc for missing SetRpsAuth instruction
  • doc SwapExactOutV2
  • fix proptests bug for UQ0_63

@billythedummy billythedummy merged commit 703e540 into v2 Nov 25, 2025
11 checks passed
@billythedummy billythedummy deleted the lst-377-update_yield branch November 25, 2025 16:01
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