Hi @kos_tya991 all
I have many doubts in router, pair contracts in uniswap V2.
is there any guide or document available for understanding the code.
I would be delighted if anyone could help in the community.

Thanks

Aug 20, 2022, 2:09 PM
uniswap docs do very well in explaining it
but what doubts do you have?
Aug 20, 2022, 2:12 PM
69 doubts
Aug 20, 2022, 2:13 PM
69 shades of steve
Aug 20, 2022, 2:14 PM
so deep
Aug 20, 2022, 2:15 PM
https://t.me/ethers_officer/111
Take a look at Uniswapv2
Aug 20, 2022, 2:15 PM
free doesnt want to pay for help or study doubts probably
but depends on the usecase
you're asking the wrong questions
the stack depends on what you want to make
thats why different stacks exist
Aug 20, 2022, 2:36 PM
that's how database work, right?
Aug 20, 2022, 2:36 PM
I mean with fire base we don't need any database skills right, I mean with firebase we can store, write and read data
Aug 20, 2022, 2:38 PM
that's right
Aug 20, 2022, 2:39 PM
👍
Have u built any projects bro?
Aug 20, 2022, 2:41 PM
...
Aug 20, 2022, 2:41 PM
...
Aug 20, 2022, 2:41 PM
say you're a jeet without saying you're a jeet.
Aug 20, 2022, 2:41 PM
In web 3
Aug 20, 2022, 2:42 PM
So you're asking about js/web in a group about solidity
Aug 20, 2022, 2:42 PM
Yeah
Why u ask like that?
Aug 20, 2022, 2:43 PM
nvm. im ignoring this conversation
Aug 20, 2022, 2:44 PM
Are u people only learning solidity
Hey i actually asked for web3 not js/web, u may have misunderstood in that
Aug 20, 2022, 2:47 PM
pretty sure i didnt misunderstand.
Aug 20, 2022, 2:48 PM
The group is called solidity development after all
Aug 20, 2022, 5:23 PM
Hello @letsgetrekt2
Below are my some doubts.

UniswapV2Pair contract
1. why reserve0 and balance0 are different in swap() function.
2. Don't understand the formula for minting liquidity in mint() function .
3. What are klast , priceOCumulativeLast, price1CumulativeLast and how they are being calculated?
4. How MINIMUM_LIQUIDITY is preventing the case of dividing by zero?
5. How UQ112*UQ112 is supporting floating numbers?

I would be delighted if you could help to get through these problems.
Thanks
Hello @kos_tya991
Below are my some doubts

In UniswapV2Pair contract
1. why reserve0 and balance0 are different in swap() function.
2. Don't understand the formula for minting liquidity in mint() function .
3. What are klast , priceOCumulativeLast, price1CumulativeLast and how they are being calculated?
4. How MINIMUM_LIQUIDITY is preventing the case of dividing by zero?
5. How UQ112*UQ112 is supporting floating numbers?

I would be delighted if you could help to get through these problems.
Thanks
Aug 22, 2022, 3:22 PM
react or vue etc etc to post file to IPFS, react/vue uses ethers to sign, call, and record the event
but judging by the question you're very new
Aug 22, 2022, 3:49 PM
Anybody who could help?
Aug 22, 2022, 7:28 PM
lmao.
going to make a billion but they need to make something for you and you'll give them half?
Linkedin... go to a local meetup.
No decent developer will work for free for equity for a random they met on TG.
or for little then
private messages niccolo ;)
Just trying to stop people walk into scams but people seem intent.
Which is why tg is full of loser crypto people who say ser and bro I guess
Aug 22, 2022, 7:55 PM
Lmaoooo
Aug 22, 2022, 9:55 PM
Hi @kos_tya991 can you please look into it?
Aug 23, 2022, 5:51 AM
Smart contract programmer explained it in the defi playlist on his YouTube channel
Aug 23, 2022, 6:10 AM
👍
Aug 23, 2022, 6:23 AM
Why me?
To understand it, you got to read the code line by line
https://ethereum.org/en/developers/tutorials/uniswap-v2-annotated-code
Aug 23, 2022, 6:27 AM
some lines are really confusing but no explanation is there
Aug 23, 2022, 7:15 AM

© 2024 Draquery.com All rights reserved.