amount of share token to remove. The amount always use decimals 18.
cashToReturn
int256
amount of cash(collateral) to return. The amount always use decimals 18.
Notice
Remove liquidity from the liquidity pool.
Liquidity providers redeems share token then gets collateral back.
The amount of collateral retrieved may differ from the amount when adding liquidity, The index price, trading fee and positions holding by amm will affect the profitability of providers.