python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Web3py swap tokens path of contracts
I'm trying to swap tokens with web3py using the swapExactETHForTokensSupportingFeeOnTransferTokens function, with some tokens it works perfectly, in others I get the error "execution reverted: Pa...
MariINova
Votes: 0
Answers: 1
Uniswap V3 sqrtPrice for ETH/DAI and ETH/USDT, ETH/USDC vastly different
I use IUniswapV3PoolState.slot0 to return sqrtPriceX96 and tick for different pairs in Uniswap V3. The results are very reasonable for ETH/DAI, but it's quite different for ETH/USDT and ETH/USDC.
This...
Tian L
Votes: 0
Answers: 1
A problem with uniswap v2 periphery contract, can't make a swap through my own contract using the interfaces
I have deployed this code on ropsten testnet to test uniswap swaps. I am trying to make swap using function "swap" of my contract with this data path:
0xc778417E063141139Fce010982780140Aa0cD...

StayAway
Votes: 0
Answers: 1
Implementing Uniswap v3 API single swap example on scaffold-eth - ERROR: cannot estimate gas
Using scaffold-eth to implement this single swap example from the uniswap documentation.
Pretty much just copied and pasted the code and was able to deploy it successfully to rinkeby:
//SPDX-License-I...
snn
Votes: 0
Answers: 3