Skip to content

Commit

Permalink
update transfer method spec
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinYukseloglu committed Mar 21, 2024
1 parent e3a4340 commit 8b0977f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/concentrated-liquidity/position.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,7 @@ func (k Keeper) updateFullRangeLiquidityInPool(ctx sdk.Context, poolId uint64, l
// For each position ID, it retrieves the corresponding position and checks if the sender is the owner of the position.
// If the sender is not the owner, it returns an error.
// It then checks if the position has an active underlying lock, and if so, returns an error.
// It then collects any outstanding incentives and rewards for the position, deletes the KVStore entries for the position,
// and restores the position under the recipient's account.
// It then deletes the KVStore entries for the position, and restores the position under the recipient's account.
// If any of these operations fail, it returns the corresponding error.
// If all operations succeed, it returns nil.
func (k Keeper) transferPositions(ctx sdk.Context, positionIds []uint64, sender sdk.AccAddress, recipient sdk.AccAddress) error {
Expand Down

0 comments on commit 8b0977f

Please sign in to comment.