core
core copied to clipboard
Able to sell bTokens to AMM (not minted in AMM)
Right now, the amm support bTokenSell only for bTokens minted from the Amm.
The other projects allow traders to sell options, which have not been minted from the amm. We can also incorporate this feature to our Amm.
The benefits will be:
- higher trading volume
- price efficiency
The negatives:
- LP providers do not earn any more theta (earning will. need to come from fees)
How to do it:
- We will need to update bTokenSell (sell bTokens not from AMM)
- maybe we will need bTokenVault as we have wTokenVault or combine them
- update the withdraw function to incorporate the bTokens