python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use TokenDayData in Uniswap
I am using uniswap v2 subgraph to get data. TokenDayData lets you search historically. I'm trying to query historical data for a token with this query:
{
tokenDayData(id: "0x56143e2736c1b7f8a7d...
chackerian
Votes: 0
Answers: 1
Want to change fee while forking Uniswap
just forked Uniswap V2 and was able to deploy it but now I want to change its fees. From what I'm seeing, it's not that straightforward. Does anyone know/knows an article on how to change fees in Unis...
M Abdullah
Votes: 0
Answers: 0
Simple swapExactInputSingle from Uniswap V3 fails on Rinkeby
I've tried to follow Uniswaps guide for implementing simple swapExactInputSingle function and deployed the contract on Rinkeby.
Code:
contract Swap {
using LowGasSafeMath for uint256;
address...
Karzel
Votes: 0
Answers: 2
Uniswap getAmountsOut() rounds value down to nearest Ether
I'm calling getAmountsOut() from the UniswapV2Router02 contract using ethers.js, where I'm checking the amount of ETH I can get for 50000 DAI.
Using the below code, the output amount tells me I can cu...
Jasperan
Votes: 0
Answers: 1