Skip to content

more informative return value of dex predeploy #2802

@shunjizhan

Description

@shunjizhan

currently for our dex predeploy, all actions (swap, addliquidity, removeliquidity) returns bool. However, usually these actions return more informative data such as amountOut, shares, which will be helpful for predicting action result.

For example, if we want to get the estimated share amount when adding liquidity, now we have to do some manual calculation, which isn't that convenient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions