Convexity-Protocol-Archived icon indicating copy to clipboard operation
Convexity-Protocol-Archived copied to clipboard

Check sent ETH when buying oTokens

Open haythemsellami opened this issue 4 years ago • 0 comments

This PR add the code to check if the ETH sent for the buyOtokens() is equal to the ETH needed ethToTransfer in Uniswap exchange. I also changed the uniswapBuyOToken() function visibility from public to internal as I assume the entry function is buyOTokens()

Related to #4 .

haythemsellami avatar Mar 18 '20 21:03 haythemsellami