Replies: 3 comments 1 reply
-
Hmm... This question is a bit tricky to answer in it's current state. Could you please remember to follow this section to format your questions? https://youtu.be/umepbfKp5rI?t=22464 Also, it seems like this question is unrelated to course material, is that correct? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Very interesting |
Beta Was this translation helpful? Give feedback.
0 replies
-
Very interesting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone. I am trying to create a liquidity pool on my local network. Here is what I have done so far:
I get this error: The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance.
Am I doing something wrong? What steps am I missing?
Uniswap v2 router: https://docs.uniswap.org/contracts/v2/reference/smart-contracts/router-02
Uniswap Factory v2: https://docs.uniswap.org/contracts/v2/reference/smart-contracts/factory
For WETH and the 2 ERC20 I am using: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol
This is how I am calling the function: https://imgur.com/a/NzF8EsV
Beta Was this translation helpful? Give feedback.
All reactions