Skip to main content
2 votes
Accepted

Having issues swapping brett on base with my web3.py script

I see the transaction is on Base, but the weth address on Base ain't the one specified in your code (0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619). The weth address on Base is ...
CryptoLamer's user avatar
2 votes

Projects you made

I’ve made various projects by following the amazing tutorials of Patrick Collins. Patrick, being a Web3 OG, has even started Cyfrin Updraft with an initiative to enable Web3 developers with the skills ...
SYED ASAD KAZMI's user avatar
1 vote
Accepted

Uniswap v3 QuoterV2 not returning amountOut

SOLUTION Ethersjs v6 updated contract.callStatic.method to contract.method.staticCall(args...) use this: const amountOut = await quoterv2.quoteExactInputSingle.staticCall(params); not this: const ...
NotToDevy's user avatar
1 vote

cannot estimate gas of route swap with Uniswap v3

Seems a bit going on. Looks like swapExactTokensForTokens is the the first function being called, which is for v2 swaps. But you refer to v3 on several occasions, and there doesn't seem to be a v2 ...
Maka's user avatar
  • 1,175
1 vote
Accepted

Issue swapping with Universal Router smart contract on Base Chain

Approval doesn't work like that for the universal router, you need to approve via permit. Lifting code written in python as easy to port over and swapping the same brett token: # ... # we will swap on ...
Maka's user avatar
  • 1,175
1 vote

Is it possible to recover non-reserve tokens accidentally sent to a Uniswap V2 Pair contract?

My first question is, could these non-reserve tokens possibly be retrieved with an external contract? No. Uniswap V2 pair contracts do not have ownership or recovery mechanism for random tokens.
Mikko Ohtamaa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible