Uniswap V3 - Multi Hop Swap | DeFi
Channel: Smart Contract Programmer
Date: 2022-06-23

Solidity code example of multi hop swapping WETH to USDC to DAI on Uniswap V3

0:00 - Intro
1:51 - Code swapExactInputMultihop
5:20 - Write test for swapExactInputMultihop
7:05 - Test swapExactInputMultihop
7:20 - Code swapExactOutputMultihop
10:35 - Write test for swapExactOutputMultihop
11:43 - Test swapExactOutputMultihop

Code
https://github.com/t4sk/defi-by-example/tree/main/uni-v3

Unisvap V3 Doc
https://docs.uniswap.org/protocol/guides/swaps/multihop-swaps

Uniswap Pool Info
https://info.uniswap.org/#/pools

Alchemy
https://www.alchemy.com/

#Solidity #SmartContract #Ethereum  #スマートコントラクト

Take a course
https://www.smartcontract.engineer/

Follow 
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com