osmosis icon indicating copy to clipboard operation
osmosis copied to clipboard

feat: single remove cl position and sfs new position msg

Open czarcas7ic opened this issue 1 year ago • 1 comments

Background

Right now if a user wants to make a full range CL position a sfs position, the frontend does a multi message to remove the cl position, then calls the create full range position and sfs stake message. The problem is, the frontend can't know what the slippage will be on the position removal. Its usually small on the order of 1 unit, but we can't assume, and if we do then its possible the user will be left with one unit of an asset which is anoyying.

Suggested Design

Create a message that calls both of these messages in one. It uses whatever the output of the position removal as the position creation.

Acceptance Criteria

Message created and tested on localosmosis.

czarcas7ic avatar Dec 12 '23 17:12 czarcas7ic

Can we have a high-level design based on the current architecture?

MuhtasimTanmoy avatar Dec 29 '23 18:12 MuhtasimTanmoy