Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Check sent ETH when buying oTokens #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

haythemsellami
Copy link
Member

@haythemsellami haythemsellami commented Mar 18, 2020

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 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant