You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose a user has locked up 10 tokens for 2 days. We should allow them to increase the lockup period to 1 week, without having to unlock and relock. This will probably require a new message type in x/lockup to do this, as we need the user to specify which initial lockup time duration they want to increase.
(E.g. if they have 10 tokens locked for 2 days, 20 tokens locked for 4 days, and want to move the 20 tokens to a lockup of 1 week)
Also this should only support increasing the lockup duration, not decreasing it
The text was updated successfully, but these errors were encountered:
Adding MsgEditLockup would work and we can check that lockup duration change is positive in ValidateBasic. This would be extensible in the future for other modifications too.
Suppose a user has locked up 10 tokens for 2 days. We should allow them to increase the lockup period to 1 week, without having to unlock and relock. This will probably require a new message type in x/lockup to do this, as we need the user to specify which initial lockup time duration they want to increase.
(E.g. if they have 10 tokens locked for 2 days, 20 tokens locked for 4 days, and want to move the 20 tokens to a lockup of 1 week)
Also this should only support increasing the lockup duration, not decreasing it
The text was updated successfully, but these errors were encountered: