Skip to content

feat: single remove cl position and sfs new position msg #7095

@czarcas7ic

Description

@czarcas7ic

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Triage 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions