Skip to content

Commit

Permalink
expand partial unlock comment
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed May 19, 2023
1 parent d1c7b6f commit 315e8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/superfluid/keeper/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func (k Keeper) RouteLockedBalancerToConcentratedMigration(ctx sdk.Context, send

// migrateSuperfluidBondedBalancerToConcentrated migrates a user's superfluid bonded balancer position to a superfluid bonded concentrated liquidity position.
// The function first undelegates the superfluid delegated position, force unlocks and exits the balancer pool, creates a full range concentrated liquidity position, locks it, then superfluid delegates it.
// If there are any remaining gamm shares, they are re-locked back in the gamm pool and superfluid delegated as normal. The function returns the concentrated liquidity position ID, amounts of
// tokens in the position, the liquidity amount, join time, and IDs of the involved pools and locks.
// Any remaining gamm shares stay locked in the original gamm pool (utilizing the same lock and lockID that the shares originated from) and remain superfluid delegated / undelegating / vanilla locked as they
// were when the migration was initiated. The function returns the concentrated liquidity position ID, amounts of tokens in the position, the liquidity amount, join time, and IDs of the involved pools and locks.
func (k Keeper) migrateSuperfluidBondedBalancerToConcentrated(ctx sdk.Context,
sender sdk.AccAddress,
originalLockId uint64,
Expand Down

0 comments on commit 315e8a0

Please sign in to comment.