/uniswap-universal-decoder

Decode some of the most commonly used V2 and V3 swaps from the Uniswap Universal Execute function

Primary LanguageJavaScriptMIT LicenseMIT

Uniswap universal execute decoder

Decodes Uniswap Universal execute function to their legacy V2 and V3 counterparts.

Used libraries

  • chai
  • ethers
  • mocha
  • fs

Decoded functions

  • V3_SWAP_EXACT_IN
  • V3_SWAP_EXACT_OUT
  • V2_SWAP_EXACT_IN
  • V2_SWAP_EXACT_OUT