Remove liquidity

Function

For removing liquidity into position , use remove_liquidity in pool_v3 module.

 public fun remove_liquidity(
        user: &signer,
        position: Object<position_v3::Info>,
        liquidity_delta: u128
    ): (Option<FungibleAsset>, Option<FungibleAsset>) {

liquidity_delta: liquidity amount desired to remove out position

The White Paper is for informational purposes only. Nothing in the White Paper constitutes legal, financial or tax advice. Its content may be updated from time to time without express notice. You should seek your own professional advice before engaging in any activity in connection with Hyperion. See Legal Disclaimer.

Last updated