Skip to content

Instantly share code, notes, and snippets.

@0xtuytuy
Created February 21, 2022 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xtuytuy/d6f6321203b599211be1cfa409c6fb8b to your computer and use it in GitHub Desktop.
Save 0xtuytuy/d6f6321203b599211be1cfa409c6fb8b to your computer and use it in GitHub Desktop.
daiWethRoute = [
// DAI - USDT - WETH
{ swapProtocol: 1, pool: fraxPoolAddress, fromCoin: dai.address, toCoin: usdt.address },
{ swapProtocol: 2, pool: renbtcAddress, fromCoin: usdt.address, toCoin: weth.address },
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment