@uniswap/smart-order-router

v3.16.9
Uniswap Smart Order Router

fix

run-s fix:*

test

jest test/unit

build

run-p compile-v3-types compile-v2-types compile-router compile-narwhal compile-external-types && run-p build:*

fix:lint

eslint src --ext .ts --fix

build:main

tsc -p tsconfig.json

integ-test

TS_NODE=true jest test/integ

build:module

tsc -p tsconfig.module.json

fix:prettier

prettier "src/**/*.ts" --write

compile-router

npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/swap-router-contracts/artifacts/contracts/**/*.json'

compile-narwhal

npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/narwhal/artifacts/contracts/**/*.json'

prepare-release

run-s cov:check doc:html version doc:publish

compile-v2-types

npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@uniswap/?(v2-core|v2-periphery)/build/*UniswapV2*.json'

compile-v3-types

npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'

compile-external-types

npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'
npm i @uniswap/[email protected]

Metadata

  • GPL
  • >=10
  • Unknown
  • released 8/24/2023

Downloads