Timeline for Get Uniswap Exchange Rate of any Token with Web3
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 6, 2021 at 11:58 | comment | added | Mugetsu | What does reserve0 and reserve1 exactly represent?? Can I calculate circulatting supply and LP for given token based on reserves? | |
Mar 20, 2021 at 12:34 | comment | added | Paulus | github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/… this helped me out to get the actual prices I wanted... Thanks @Richard Horrocks for your answer it helped me out a lot!! | |
Mar 20, 2021 at 12:32 | vote | accept | Paulus | ||
Mar 19, 2021 at 23:27 | comment | added | Paulus | And it also doesn't have something to do with the price0CumulativeLast/price1CumulativeLast variables | |
Mar 19, 2021 at 23:21 | comment | added | Paulus | I want to do it for all pairs... I already have achieved something somehow but don't really know what I have got here (ethereum.stackexchange.com/a/92488/68019) | |
Mar 19, 2021 at 23:06 | comment | added | Richard Horrocks | Or do you want to do this for all token pairs? | |
Mar 19, 2021 at 23:04 | comment | added | Richard Horrocks | Do you have the address of the contract for each of the two tokens? | |
Mar 19, 2021 at 19:31 | comment | added | Paulus | But I have to somehow set the pair I want to receive to prices of. How do I do that? | |
Mar 12, 2021 at 11:04 | vote | accept | Paulus | ||
Mar 19, 2021 at 22:16 | |||||
Mar 8, 2021 at 22:09 | history | answered | Richard Horrocks | CC BY-SA 4.0 |