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

Hold for release 2.4 - Document impact of LP token freeze feature #3012

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

DennisDawson
Copy link
Contributor

No description provided.

shawnxie999
shawnxie999 previously approved these changes Feb 24, 2025
Copy link
Contributor

@shawnxie999 shawnxie999 left a comment

Choose a reason for hiding this comment

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

Looks good!

@DennisDawson DennisDawson requested a review from oeggert February 24, 2025 17:15
@DennisDawson DennisDawson changed the title Document impact of LP token freeze feature Hold for release 2.4 - Document impact of LP token freeze feature Feb 24, 2025
Copy link
Collaborator

@oeggert oeggert left a comment

Choose a reason for hiding this comment

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

Requested changes to clarify frozen LP token restrictions, as well as clean up the affected transactions section.

Comment on lines +112 to +115
If an LP token is associated with a liquidity pool that contains at least one frozen asset, the LP token is also frozen. This means:

1. The holder can't send the frozen LP token to other accounts.
2. The holder can receive frozen LP tokens, but can't send them out (similar to frozen trust lines).
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought that a frozen asset in an AMM pool prevented anyone from depositing either asset to that pool? If that's the case, what other scenario could an account receive LP tokens besides a Payment or AMMDeposit transaction? Adding a suggestion based on the assumption you only have two ways of getting LP tokens.

Suggested change
If an LP token is associated with a liquidity pool that contains at least one frozen asset, the LP token is also frozen. This means:
1. The holder can't send the frozen LP token to other accounts.
2. The holder can receive frozen LP tokens, but can't send them out (similar to frozen trust lines).
If an LP token is associated with a liquidity pool that contains at least one frozen asset, the LP token is also frozen. This means:
1. Holders can't send frozen LP token to other accounts.
2. Accounts can't receive new LP tokens by attempting to deposit assets into the liquidity pool with a frozen asset.

Copy link
Contributor

Choose a reason for hiding this comment

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

holder can be frozen after they've deposited into the pool


**Payments**

- A frozen account can no longer send LP tokens through direct payment.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- A frozen account can no longer send LP tokens through direct payment.
- An account can no longer send frozen LP tokens through direct payment.

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.

3 participants