PermanentLoss / permanentloss

Use options to avoid impermanent loss as a liquidity provider
https://permanentloss.finance
MIT License
18 stars 3 forks source link

Need a button to purchase options #19

Closed jacobmort closed 4 years ago

jacobmort commented 4 years ago

Interact directly w/uniswap contract? Redirect to the uniswap pool?

andrekorol commented 4 years ago

@ubien Users are supposed to buy both the selected put and call options, correct? Preferably in a single transaction?

jacobmort commented 4 years ago

@andrekorol Yup exactly. I think the PUT option has the most value (if ETH price moons I'm not caring about IL as much) so being able to purchase just one side would be good too.

andrekorol commented 4 years ago

So maybe something like a "add to cart" feature would be ideal. Users can either by both or just one, at their choice. And if they choose to buy both PUT and CALL, it should be done in a single transaction so there's less friction to use our interface.

andrekorol commented 4 years ago

Implemented in #45