Convexity-Protocol-Archived
Convexity-Protocol-Archived copied to clipboard
Check sent ETH when buying oTokens
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 .