{"_id":"@chaoswap/smart-order-router","_rev":"5-20b346d98405198fd11f54568ab3fa67","name":"@chaoswap/smart-order-router","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@chaoswap/smart-order-router","version":"0.0.1","description":"Chaoswap Smart Order Router","main":"build/main/src/index.js","typings":"build/main/src/index.d.ts","module":"build/module/src/index.js","repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"license":"GPL","keywords":[],"scripts":{"compile-v3-types":"npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@chaoswap/?(chaoswap-core|chaoswap-periphery)/artifacts/contracts/**/*.json'","compile-v2-types":"npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@chaoswap/?(lite-core|lite-periphery)/build/*ChaoswapLite*.json'","compile-router":"npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@chaoswap/swap-router-contracts/artifacts/contracts/**/*.json'","compile-external-types":"npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'","build":"run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","version":"standard-version","prepare-release":"run-s cov:check doc:html version doc:publish","test":"jest","integ-test":"jest test/integ"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@ethersproject/bignumber":"^5.1.1","@oclif/command":"^1.8.0","@oclif/errors":"^1.3.5","@types/async-retry":"^1.4.2","@types/await-timeout":"^0.3.1","@types/bunyan":"^1.8.6","@types/bunyan-blackhole":"^0.2.2","@types/lodash":"^4.14.168","@types/sinon":"^10.0.2","@types/stats-lite":"^2.2.0","@uniswap/default-token-list":"^2.0.0","@chaoswap/router-sdk":"^0.0.1","@chaoswap/swap-router-contracts":"0.0.1","@uniswap/token-lists":"^1.0.0-beta.25","@chaoswap/lite-core":"^1.0.1","@chaoswap/lite-periphery":"^1.1.1","@chaoswap/lite-sdk":"^1.0.1","@chaoswap/chaoswap-periphery":"^0.0.1","@chaoswap/chaoswap-sdk":"^0.0.1","async-retry":"^1.3.1","await-timeout":"^1.1.1","axios":"^0.21.1","bunyan":"^1.8.15","bunyan-blackhole":"^1.1.1","bunyan-debug-stream":"^2.0.0","cli-logger":"^0.5.40","dotenv":"^10.0.0","ethereum-types":"^3.5.0","ethers":"^5.1.4","graphql":"^15.5.0","graphql-request":"^3.4.0","lodash":"^4.17.21","mnemonist":"^0.38.3","node-cache":"^5.1.2","stats-lite":"^2.2.0","tslib":"^1.14.1"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@typechain/ethers-v5":"^7.0.1","@types/jest":"^26.0.24","@types/jest-sinon":"^1.0.2","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.22.0","jest":"^27.0.6","jest-expect-message":"^1.0.2","jest-mock":"^27.0.6","jest-sinon":"^1.0.4","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","prettier-plugin-organize-imports":"^2.1.0","sinon":"^11.1.2","standard-version":"^9.0.0","ts-jest":"^27.0.4","ts-node":"^9.0.0","typechain":"^5.0.0","typescript":"^4.2.2"},"prettier":{"singleQuote":true},"oclif":{"commands":"./cli/commands"},"gitHead":"b19ebcb3f3e2b6b10a8021884f5336c8735ba8a5","bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"homepage":"https://github.com/Chaoswap/smart-order-router#readme","_id":"@chaoswap/smart-order-router@0.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Xe7a5gfYSoT+NPrmp98Qg8nLNxEbEHAERR41OCjTP7wt6hhx29iJwo95/d+Zk+BCs73muJUK254cNib7yMWUfw==","shasum":"e839859053e355d9e71cb83567b840daae6f5006","tarball":"https://registry.npmjs.org/@chaoswap/smart-order-router/-/smart-order-router-0.0.1.tgz","fileCount":600,"unpackedSize":6283368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCQMbCRA9TVsSAnZWagAArHQP/A1aGOeWepagEaqd+9+g\n2afDZ8CrvbGWigmWnxmxREUaAE5Nttb4GJbgWRWitYbsRSaANah9gLuJYOPO\netOz34CFId5iQX0RS96gGSHoVSlbLtXvzJL7rke3MUz8sjdshxZ63r1Bweek\nuvjnr4SZMsyWMyRsWK3NYDNc+3XXNaM5c3DTteEJPLJrXkll7qiCkmNOOz0F\nRe2CRpvXw2lYJi+wwVZcf0wH/e8zgxg5bxxpOZ5j+pRIILB9a7nR6MaWSD5L\nwtWX7D7Eceqs89BMQzjwvm9AMbFHQmLFu1/raAtlAYe0116PVRTVwfhSmsdV\ngmXl/5qdHx+i+AXpJPfd+yBl1zr36h4H/LWGxTt1SiLa/hpQ34zGvjvqjCz8\n/n5DpvdFyNYDbQNuLALlgic9v6KPGUL+J0xk08KOYNAOJRjCNIvbQJy8VE12\nPcP3QVVgGfz5PS7bSxGAp7bCrfMtjMnOo7AOVFk2gK9QGn/noW+lMnyUyZQx\naEoeQkTmMPoOq0dHzr6Y9hF7csbK/ZxcKt403oLBzvCzwEGynmVhjt5pom7e\nafG1fqURMef4dmnx5+/mHCSsv1+hqoYfKO0B2Rt6j8nn4NKD84cxIjkHaCWI\n0VWmXyBMo2BP52B23hbdkqQ/L3TIWCns9jqGPuTuC1oBSDdV9E2/w9J04xoW\nUFas\r\n=SD1y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZybLUrYm9gWEK/hf2DF/y/j0K5SFMsHmXyHhGQQx8LAiEAsdEUETZYKZZ9RlnJD2K3v7F2inA/2VUD6JbtViOge+M="}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-order-router_0.0.1_1644757787344_0.5126648448489834"},"_hasShrinkwrap":false},"0.0.2":{"name":"@chaoswap/smart-order-router","version":"0.0.2","description":"Chaoswap Smart Order Router","main":"build/main/src/index.js","typings":"build/main/src/index.d.ts","module":"build/module/src/index.js","repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"license":"GPL","keywords":[],"scripts":{"compile-v3-types":"npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@chaoswap/?(chaoswap-core|chaoswap-periphery)/artifacts/contracts/**/*.json'","compile-v2-types":"npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@chaoswap/?(lite-core|lite-periphery)/build/*ChaoswapLite*.json'","compile-router":"npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@chaoswap/swap-router-contracts/artifacts/contracts/**/*.json'","compile-external-types":"npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'","build":"run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","version":"standard-version","prepare-release":"run-s cov:check doc:html version doc:publish","test":"jest","integ-test":"jest test/integ"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@chaoswap/chaoswap-periphery":"^0.0.4","@chaoswap/chaoswap-sdk":"^0.0.2","@chaoswap/lite-core":"1.0.2","@chaoswap/lite-periphery":"^1.1.1","@chaoswap/lite-sdk":"^1.0.1","@chaoswap/router-sdk":"^0.0.2","@chaoswap/swap-router-contracts":"0.0.2","@ethersproject/bignumber":"^5.1.1","@oclif/command":"^1.8.0","@oclif/errors":"^1.3.5","@types/async-retry":"^1.4.2","@types/await-timeout":"^0.3.1","@types/bunyan":"^1.8.6","@types/bunyan-blackhole":"^0.2.2","@types/lodash":"^4.14.168","@types/sinon":"^10.0.2","@types/stats-lite":"^2.2.0","@uniswap/default-token-list":"^2.0.0","@uniswap/token-lists":"^1.0.0-beta.25","async-retry":"^1.3.1","await-timeout":"^1.1.1","axios":"^0.21.1","bunyan":"^1.8.15","bunyan-blackhole":"^1.1.1","bunyan-debug-stream":"^2.0.0","cli-logger":"^0.5.40","dotenv":"^10.0.0","ethereum-types":"^3.5.0","ethers":"^5.1.4","graphql":"^15.5.0","graphql-request":"^3.4.0","lodash":"^4.17.21","mnemonist":"^0.38.3","node-cache":"^5.1.2","stats-lite":"^2.2.0","tslib":"^1.14.1"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@typechain/ethers-v5":"^7.0.1","@types/jest":"^26.0.24","@types/jest-sinon":"^1.0.2","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.22.0","jest":"^27.0.6","jest-expect-message":"^1.0.2","jest-mock":"^27.0.6","jest-sinon":"^1.0.4","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","prettier-plugin-organize-imports":"^2.1.0","sinon":"^11.1.2","standard-version":"^9.0.0","ts-jest":"^27.0.4","ts-node":"^9.0.0","typechain":"^5.0.0","typescript":"^4.2.2"},"prettier":{"singleQuote":true},"oclif":{"commands":"./cli/commands"},"gitHead":"b19ebcb3f3e2b6b10a8021884f5336c8735ba8a5","bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"homepage":"https://github.com/Chaoswap/smart-order-router#readme","_id":"@chaoswap/smart-order-router@0.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-pSiyR3+Y8dpDerSos++JvYkq/e9WgoRH4O9NS0lFRN9i5FByGm7QHYFTM81UoLXWnkuH//68BT8ehSLWwhFAtQ==","shasum":"48ceb3e0ea1b596c27182fcbf877cacfaebf451d","tarball":"https://registry.npmjs.org/@chaoswap/smart-order-router/-/smart-order-router-0.0.2.tgz","fileCount":598,"unpackedSize":6262476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCRniCRA9TVsSAnZWagAAC08QAKTDetWaDstpNnvRRGwM\nWABZtRx190F2qy74Be6ALUYC6i2Y3f3yPTvdjzI3JMHcfXEsia3ZhC6daAfB\n9F/oRdimEVYgYUdlHraehtD+UMJQYQ6r2YVBgLjPicNmVvhuqyX5UMAZAjX4\ntAPiZYQBs0evsvd/Jp3kdoA9PKmeC+I96NpcB1h6t34Krl94YhA2klT2d3V3\neESRhQd8ovBxCsz3KpmIhFTGdI+TKWo+S38U6gGWD1w3skgWAoqK2u2buet/\n396a1tyBDvEh4GyljncjcvnUYBUAChDE9J7ZJbTTfF8AOa+dRzXzXVLMwBOv\nH7G0/V6syAdkAwCEsV2PQVdHQWB3xIef1A8Jx4J0nCS1Qto8eQ/8HL8amTmk\nA8UXPPHb2HEHFrueeisS4PGrkGS2VnGrFlxuUMgYUBhuw2kwDzBHe67D1nYH\nGHprza8prKB/OnDE9vQFxG+2dze2uG/jEl7gPGqJaxjMVjJHJYbxGHL80H+x\nVcbelzjCPlJX25mhm73Yc5Y6lyp5COxxC/2cteXryszJyo/E45WCQ0RK6yib\njVojXr5aOFreI9vbyBlk3TFXJqZSTt1rG8ijFJCWsdzCErt8kVKdpi2/cSdS\n8824dKbra0ODDHr9C6Ub4ZxDDWziua7xfWiNRugnYNvsOe1hh8+snr6cnkK+\nwu3V\r\n=/GJH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWiQ6O2E72eozT/sYqiol+tbD1fr2yw6acXF1uOODF0AIhAMDYxbgBpRSd5dqFrczufC8rIrxdQxE8HFWlRljBlB2w"}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-order-router_0.0.2_1644763618239_0.9911037921613208"},"_hasShrinkwrap":false},"0.0.3":{"name":"@chaoswap/smart-order-router","version":"0.0.3","description":"Chaoswap Smart Order Router","main":"build/main/src/index.js","typings":"build/main/src/index.d.ts","module":"build/module/src/index.js","repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"license":"GPL","keywords":[],"scripts":{"compile-v3-types":"npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@chaoswap/?(chaoswap-core|chaoswap-periphery)/artifacts/contracts/**/*.json'","compile-v2-types":"npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@chaoswap/?(lite-core|lite-periphery)/build/*ChaoswapLite*.json'","compile-router":"npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@chaoswap/swap-router-contracts/artifacts/contracts/**/*.json'","compile-external-types":"npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'","build":"run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","version":"standard-version","prepare-release":"run-s cov:check doc:html version doc:publish","test":"jest","integ-test":"jest test/integ"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@chaoswap/chaoswap-periphery":"^0.0.6","@chaoswap/chaoswap-sdk":"^0.0.3","@chaoswap/lite-core":"1.0.6","@chaoswap/lite-periphery":"^1.1.6","@chaoswap/lite-sdk":"^1.0.6","@chaoswap/router-sdk":"^0.0.3","@chaoswap/swap-router-contracts":"0.0.7","@ethersproject/bignumber":"^5.1.1","@oclif/command":"^1.8.0","@oclif/errors":"^1.3.5","@types/async-retry":"^1.4.2","@types/await-timeout":"^0.3.1","@types/bunyan":"^1.8.6","@types/bunyan-blackhole":"^0.2.2","@types/lodash":"^4.14.168","@types/sinon":"^10.0.2","@types/stats-lite":"^2.2.0","@uniswap/default-token-list":"^2.0.0","@uniswap/token-lists":"^1.0.0-beta.25","async-retry":"^1.3.1","await-timeout":"^1.1.1","axios":"^0.21.1","bunyan":"^1.8.15","bunyan-blackhole":"^1.1.1","bunyan-debug-stream":"^2.0.0","cli-logger":"^0.5.40","dotenv":"^10.0.0","ethereum-types":"^3.5.0","ethers":"^5.1.4","graphql":"^15.5.0","graphql-request":"^3.4.0","lodash":"^4.17.21","mnemonist":"^0.38.3","node-cache":"^5.1.2","stats-lite":"^2.2.0","tslib":"^1.14.1"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@typechain/ethers-v5":"^7.0.1","@types/jest":"^26.0.24","@types/jest-sinon":"^1.0.2","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.22.0","jest":"^27.0.6","jest-expect-message":"^1.0.2","jest-mock":"^27.0.6","jest-sinon":"^1.0.4","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","prettier-plugin-organize-imports":"^2.1.0","sinon":"^11.1.2","standard-version":"^9.0.0","ts-jest":"^27.0.4","ts-node":"^9.0.0","typechain":"^5.0.0","typescript":"^4.2.2"},"prettier":{"singleQuote":true},"oclif":{"commands":"./cli/commands"},"gitHead":"b19ebcb3f3e2b6b10a8021884f5336c8735ba8a5","bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"homepage":"https://github.com/Chaoswap/smart-order-router#readme","_id":"@chaoswap/smart-order-router@0.0.3","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-aoXOzrs8e4qvLk+NZ0iJJC1iaFvje0nhHJgd+G0hOHrN1qWZ7bcM/ywuTKkg/dQsfPekCAa7Fc0Y3c/BeDH07w==","shasum":"21e461b96b5ee55ba7660de643dffc5d07e00291","tarball":"https://registry.npmjs.org/@chaoswap/smart-order-router/-/smart-order-router-0.0.3.tgz","fileCount":598,"unpackedSize":6262476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCh3cCRA9TVsSAnZWagAAKwcQAIQXO1hpucGPNT2wYYYM\nusVJG3gMu2rwAUUoV3vUHkv2IJWT3srDH94IQUhcLy69AeQwzEZWZuhXwBSm\n0NhMF9PZX2fRXvjk5iljeH60tL72AvFCPYaTAEcJl8CLFesC8HGLMJOGMzzI\nQUzLSkL+cetXuv25I/OYZjmSke7llV20ZVKQCWTCf6C+exgEIpDDFa1rncgs\nXJS/86zxgELjZFWUIGEalHUiJJC6pt9DxP902GnLsHA8XInW8IQBjYaXPNu2\nb2mDQMAVWB+VrKhqzfqHatetq+o9pZqFaIXjwHVyLjp2WTalQt3uFNAHGSTX\ng3XEuoM4SDp5taBkNEdwtd+nT0nMCoV0qpJgU72MnOEPDnbfNeUWpqe9wm3l\neLXtOjiqGpuJkZsaDO8SE36b82b2QkT7FAq//ft30ynEFesrfst66iZ8ljbE\nMlPzBcDDHASzOWnqjNIxuru2AAK/T+xNPgkQz2OaeLcGuxdH8DCMl1Yxsl4U\n2exj9hz37gUaOvkakU1apj7DlYS7tdHfjH1nxgrsQv9AowR1zORKKUEzRFR9\nzAbsrlCQ8/+av179qDLyIPMy8Plv+B8BJCcQqiuFkfUFWxRsSXYVDnO+XkVU\naGWPfze1hJoN7lvnbATaPUWV5roX0KaeRql4Y3b6p5U5EDVbJddt6QTOfA45\nSeg/\r\n=fqWg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrc51uq7W7DuyimcntltOwiqF4PFnearAwNcqNSrvoHAIhAITe3qXYh9Dn6IdRu3FOyORAT11aXi4bnXjrmdBaB96o"}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-order-router_0.0.3_1644830172309_0.542997407422477"},"_hasShrinkwrap":false},"0.0.4":{"name":"@chaoswap/smart-order-router","version":"0.0.4","description":"Chaoswap Smart Order Router","main":"build/main/src/index.js","typings":"build/main/src/index.d.ts","module":"build/module/src/index.js","repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"license":"GPL","keywords":[],"scripts":{"compile-v3-types":"npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@chaoswap/?(chaoswap-core|chaoswap-periphery)/artifacts/contracts/**/*.json'","compile-v2-types":"npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@chaoswap/?(lite-core|lite-periphery)/build/*ChaoswapLite*.json'","compile-router":"npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@chaoswap/swap-router-contracts/artifacts/contracts/**/*.json'","compile-external-types":"npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'","build":"run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","version":"standard-version","prepare-release":"run-s cov:check doc:html version doc:publish","test":"jest","integ-test":"jest test/integ"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@chaoswap/chaoswap-periphery":"^0.0.6","@chaoswap/chaoswap-sdk":"^0.0.4","@chaoswap/lite-core":"1.0.6","@chaoswap/lite-periphery":"^1.1.6","@chaoswap/lite-sdk":"^1.0.7","@chaoswap/router-sdk":"^0.0.4","@chaoswap/swap-router-contracts":"0.0.7","@ethersproject/bignumber":"^5.1.1","@oclif/command":"^1.8.0","@oclif/errors":"^1.3.5","@types/async-retry":"^1.4.2","@types/await-timeout":"^0.3.1","@types/bunyan":"^1.8.6","@types/bunyan-blackhole":"^0.2.2","@types/lodash":"^4.14.168","@types/sinon":"^10.0.2","@types/stats-lite":"^2.2.0","@uniswap/default-token-list":"^2.0.0","@uniswap/token-lists":"^1.0.0-beta.25","async-retry":"^1.3.1","await-timeout":"^1.1.1","axios":"^0.21.1","bunyan":"^1.8.15","bunyan-blackhole":"^1.1.1","bunyan-debug-stream":"^2.0.0","cli-logger":"^0.5.40","dotenv":"^10.0.0","ethereum-types":"^3.5.0","ethers":"^5.1.4","graphql":"^15.5.0","graphql-request":"^3.4.0","lodash":"^4.17.21","mnemonist":"^0.38.3","node-cache":"^5.1.2","stats-lite":"^2.2.0","tslib":"^1.14.1"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@typechain/ethers-v5":"^7.0.1","@types/jest":"^26.0.24","@types/jest-sinon":"^1.0.2","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.22.0","jest":"^27.0.6","jest-expect-message":"^1.0.2","jest-mock":"^27.0.6","jest-sinon":"^1.0.4","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","prettier-plugin-organize-imports":"^2.1.0","sinon":"^11.1.2","standard-version":"^9.0.0","ts-jest":"^27.0.4","ts-node":"^9.0.0","typechain":"^5.0.0","typescript":"^4.2.2"},"prettier":{"singleQuote":true},"oclif":{"commands":"./cli/commands"},"gitHead":"b19ebcb3f3e2b6b10a8021884f5336c8735ba8a5","bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"homepage":"https://github.com/Chaoswap/smart-order-router#readme","_id":"@chaoswap/smart-order-router@0.0.4","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-dCUUafwUg8XF3PqJZVbXlE+WXrks2X+RRLCQ7o+PVIJNqbi83tIlDzng2yEEN7ucnK5GakuR1hPc0pBWdGwCMA==","shasum":"228d76830c6315b39b093bc290fda307c160c4e0","tarball":"https://registry.npmjs.org/@chaoswap/smart-order-router/-/smart-order-router-0.0.4.tgz","fileCount":4,"unpackedSize":52047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDnKQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDSw/5Ae9JvD/EClclQ0rMLauAg/r9EBz8s1HlSrgCwDNfnU+Yik9X\r\n4lydFGeHNvXZgvSCAf/GZad3s1DcONRmyK8EpWZ9NDOwkPdSfe5tGc2jmeg2\r\nB36oHgB1UzjckOAIXFml6xoRwOcfBLOxtD33OW3YJOG+r5jIB2bKPV9SbjIe\r\nANS9QKxEhuiXFPWG+Xnp6u8QBVwitUHRK1gd8h/uU5v+CrZJvk1Oe27Ecy/s\r\nDcRUiYurDzi4KD0qeQdO/UFtOndoCuQb/ZRuxg46/uxI8X+/j411LNjou2st\r\naXLhFodnq+2FDVIdTvvNHYEpd3w7pWzViITve8GJcg+XEdm+rk7LFIoZDC4S\r\nsIaUNw8G+ZlGY+vhjODKXvl13d6Cgqm4u2QtAzqxuNbNYKNexLBW4iWLypwG\r\nUM/IHMlroCN8EinmKNrbGgeE+o4iBA/P3S0KFQV2ogtjkFoy+8S39Xu3PaRb\r\nAg0ePgJvFfnMFXRoXuRF6PfGzMrgZgu/78l9kVkqNg+0eDViaX7cG2xjbU4n\r\n2fugLfslToPDckHoDO6sTo4FHdbBtMeJYDnkgrnlPfebkUdO1jr8l6e4Tgkz\r\n1lzd0QGrryG+nGcEfw/vif00rKdZIMJ1C319hi+2HD1rLE/TjUzjicTmImNl\r\nzXeswnL/D8aOSUY7rIaiUzynIrs/DLcdybE=\r\n=2W7N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF75rDq09dLgaRytkzaJHuUh01678JaBWu2EvQI6phTuAiB5vcQgl6oWf2hbsKJjosNK/ilufKUnFlZ9qp0vMyWJ9A=="}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-order-router_0.0.4_1645114000101_0.7132136037162609"},"_hasShrinkwrap":false},"0.0.5":{"name":"@chaoswap/smart-order-router","version":"0.0.5","description":"Chaoswap Smart Order Router","main":"build/main/src/index.js","typings":"build/main/src/index.d.ts","module":"build/module/src/index.js","repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"license":"GPL","keywords":[],"scripts":{"compile-v3-types":"npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@chaoswap/?(chaoswap-core|chaoswap-periphery)/artifacts/contracts/**/*.json'","compile-v2-types":"npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@chaoswap/?(lite-core|lite-periphery)/build/*ChaoswapLite*.json'","compile-router":"npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@chaoswap/swap-router-contracts/artifacts/contracts/**/*.json'","compile-external-types":"npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'","build":"run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","version":"standard-version","prepare-release":"run-s cov:check doc:html version doc:publish","test":"jest","integ-test":"jest test/integ"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@chaoswap/chaoswap-periphery":"^0.0.6","@chaoswap/chaoswap-sdk":"^0.0.4","@chaoswap/lite-core":"1.0.6","@chaoswap/lite-periphery":"^1.1.6","@chaoswap/lite-sdk":"^1.0.7","@chaoswap/router-sdk":"^0.0.4","@chaoswap/swap-router-contracts":"0.0.7","@ethersproject/bignumber":"^5.1.1","@oclif/command":"^1.8.0","@oclif/errors":"^1.3.5","@types/async-retry":"^1.4.2","@types/await-timeout":"^0.3.1","@types/bunyan":"^1.8.6","@types/bunyan-blackhole":"^0.2.2","@types/lodash":"^4.14.168","@types/sinon":"^10.0.2","@types/stats-lite":"^2.2.0","@uniswap/default-token-list":"^2.0.0","@uniswap/token-lists":"^1.0.0-beta.25","async-retry":"^1.3.1","await-timeout":"^1.1.1","axios":"^0.21.1","bunyan":"^1.8.15","bunyan-blackhole":"^1.1.1","bunyan-debug-stream":"^2.0.0","cli-logger":"^0.5.40","dotenv":"^10.0.0","ethereum-types":"^3.5.0","ethers":"^5.1.4","graphql":"^15.5.0","graphql-request":"^3.4.0","lodash":"^4.17.21","mnemonist":"^0.38.3","node-cache":"^5.1.2","stats-lite":"^2.2.0","tslib":"^1.14.1"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@typechain/ethers-v5":"^7.0.1","@types/jest":"^26.0.24","@types/jest-sinon":"^1.0.2","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.22.0","jest":"^27.0.6","jest-expect-message":"^1.0.2","jest-mock":"^27.0.6","jest-sinon":"^1.0.4","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","prettier-plugin-organize-imports":"^2.1.0","sinon":"^11.1.2","standard-version":"^9.0.0","ts-jest":"^27.0.4","ts-node":"^9.0.0","typechain":"^5.0.0","typescript":"^4.2.2"},"prettier":{"singleQuote":true},"oclif":{"commands":"./cli/commands"},"gitHead":"b19ebcb3f3e2b6b10a8021884f5336c8735ba8a5","bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"homepage":"https://github.com/Chaoswap/smart-order-router#readme","_id":"@chaoswap/smart-order-router@0.0.5","_nodeVersion":"16.14.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Sk0Y70IG/ZFnrjKbE3vrbP/5h3f6bebS3pLFR6M63r8ZMnDX0o7raNX+e9gSE/CD3asDCChAgU91gbQFUxOUuA==","shasum":"d4cc8608ffb2134ce054c637f610f2795947a6a6","tarball":"https://registry.npmjs.org/@chaoswap/smart-order-router/-/smart-order-router-0.0.5.tgz","fileCount":598,"unpackedSize":6262476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDnLdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZhQ/8DLap/wLH+pIYw+tAh3YnboQADIHmGldDMU0y9N2Ea6+TYGsD\r\nF0ch7YmJIqF+p612qITOsyn3FafHqmG2k3omu+cb4uzbDHEURAV9FSSg/cLT\r\nbdrmqPkEcLxe6swrgWcHs3eVIntE9x10AUJiXPWwDep7mdjt4cMl7KS2LRft\r\nFjIAKPzpZLNNoT0OTFCsHM1cOWZI4RMl3D8p98Cm4PzobRK57XMtZ7vvTi6j\r\nDdDDbYs9u0hEXBdiiF/YCmG5avFBhFSzhSVyPrZzXtB8hDjkrL5ePruwln2I\r\nvpUAfsXwmwvsyr4XmSAJ3c1GwdmY3Aau3MR7NNBduxJM6kJDHDXQ2SQK9+jR\r\nm6/x9n5KkrJD8du5vk2jaalP0rfAscjE4x0UwseeGLMlbkvwu6lteSagkl0D\r\nQSsoIB8RqSnFU6goOVKHJqOCRGxF8rmpLyD2hWpOJEtQQHUXuyDW9rFSqrJL\r\nFRb1t6BDCqKe6zWEgATQEQg+huOKSiwObHRIzEMhOY5ca0oK8UBkRaOlNkKB\r\nWLWqf5FMQPnbQ6E7H5LMQmVs2Q476VnVXO6YPRnJ4hKiPiJrDSoTxL8IeD7r\r\nZa7qEEarTOBRiKqCeNNvKxyuXGdy6jOrZO4NIrE31y4l3+TDk1SvwqzItIXV\r\nctRcaIE/HWLy0LEhtJ6hu5VjPjIPT1F/7/E=\r\n=7qao\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3MPiJ0veLlkwDhvm6S+QPapsaF+6zXF6yHXS4fQj0nAiEAxsspGUn6rmtB+TyhjfkBvGmfnGMHx+y/bLmDzs2ZLRk="}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-order-router_0.0.5_1645114077223_0.3992300793141559"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-13T13:09:47.271Z","0.0.1":"2022-02-13T13:09:47.636Z","modified":"2022-04-04T22:31:19.932Z","0.0.2":"2022-02-13T14:46:58.528Z","0.0.3":"2022-02-14T09:16:12.830Z","0.0.4":"2022-02-17T16:06:40.220Z","0.0.5":"2022-02-17T16:07:57.441Z"},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"description":"Chaoswap Smart Order Router","homepage":"https://github.com/Chaoswap/smart-order-router#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Chaoswap/smart-order-router.git"},"bugs":{"url":"https://github.com/Chaoswap/smart-order-router/issues"},"license":"GPL","readme":"# Chaoswap Smart Order Router\n\nThis repository contains routing logic for the Chaoswap V3 protocol.\n\nIt searches for the most efficient way to swap token A for token B, considering splitting swaps across multiple routes and gas costs.\n\n## Testing\n\n### Unit Tests\n\nFirst make sure you have run `npm install` and `npm run build`.\n\n```\nnpm run test\n```\n\n### CLI\n\nThe package can be run as a CLI for testing purposes.\n\nFirst create a `.env` file in the root of the project and configure:\n\n```\nJSON_RPC_PROVIDER = '<JSON_RPC_PROVIDER>'\n```\n\nTo run on chains other than mainnet set up a connection by specifying the environment variable\n\n```\nJSON_RPC_PROVIDER_{CHAIN} = '<JSON_RPC_PROVIDER>'\n```\n\nFor example, specifying a provider for Optimism :\n\n```\nJSON_RPC_PROVIDER_OPTIMISM = '<JSON_RPC_PROVIDER>'\n```\n\nThen from the root directory you can execute the CLI.\n\n## Examples\n\nSome examples to use for manual CLI testing.\n\n### Mainnet\n\n```\n./bin/cli quote --tokenIn 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --tokenOut 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 --amount 1000 --exactIn --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B --protocols v2,v3\n\nBest Route:\n100.00% = USDC -- 0.3% --> UNI\n\tRaw Quote Out:\n\t\t35.72\n\tGas Adjusted Quote Out:\n\t\t34.03\n\nGas Used Quote Token: 1.691772\nGas Used USD: 47.592951\nCalldata: 0x414bf389000000000000...\nValue: 0x00\n\n  blockNumber: \"13088815\"\n  estimatedGasUsed: \"113000\"\n  gasPriceWei: \"130000000000\"\n\n\n./bin/cli quote-to-ratio --token0 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --token1 0xdac17f958d2ee523a2206206994597c13d831ec7 --feeAmount 3000 --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B  --token0Balance 1000 --token1Balance 2000 --tickLower -120 --tickUpper 120\n\nBest Route:\n100.00% = USDT -- 0.05% --> USDC\nRaw Quote Exact In:\n\t392.68\nGas Adjusted Quote In}:\n\t346.13\n\nGas Used Quote Token: 46.550010\nGas Used USD: 46.342899\nCalldata: 0x414bf389000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000ab5801a7d398351b8be11c439e05c5b3259aec9b000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000176a736c000000000000000000000000000000000000000000000000000000001764f8650000000000000000000000000000000000000000000000000000000000000000\n\tValue: 0x00\n\n\tblockNumber: \"13239188\"\n\testimatedGasUsed: \"113000\"\n\tgasPriceWei: \"116690684398\"\n```\n\n## Rinkeby\n\n```\n./bin/cli quote --tokenIn 0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea --tokenOut 0x4DBCdF9B62e891a7cec5A2568C3F4FAF9E8Abe2b --amount 200000 --exactIn --minSplits 1 --router alpha --chainId 4\n```\n\n## Kovan\n\n```\n./bin/cli quote --tokenIn 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa --tokenOut 0xd0a1e359811322d97991e03f863a0c30c2cf029c --amount 10 --exactIn --minSplits 1 --router alpha --chainId 42\n```\n\n## Ropsten\n\n```\n./bin/cli quote --tokenIn 0x07865c6e87b9f70255377e024ace6630c1eaa37f --tokenOut 0xc778417e063141139fce010982780140aa0cd5ab --amount 200000 --exactIn --minSplits 1 --router alpha --chainId 3\n```\n\n## Optimism\n\n```\n./bin/cli quote --tokenIn 0x7F5c764cBc14f9669B88837ca1490cCa17c31607 --tokenOut 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1 --amount 200000 --exactIn --minSplits 1 --router alpha --chainId 10\n\n```\n\n## Optimistic-Kovan\n\n```\n./bin/cli quote --tokenIn 0x7F5c764cBc14f9669B88837ca1490cCa17c31607 --tokenOut 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1 --amount 200 --exactIn --minSplits 1 --router alpha --chainId 69\n```\n\n## Arbitrum\n\n```\n./bin/cli quote --tokenIn 0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9 --tokenOut 0x82af49447d8a07e3bd95bd0d56f35241523fbab1 --amount 20000 --exactIn --minSplits 1 --router alpha --chainId 42161 --debug\n```\n\n## Arbitrum-Rinkeby\n\n```\n./bin/cli quote --tokenIn 0x09b98f8b2395d076514037ff7d39a091a536206c --tokenOut 0xb47e6a5f8b33b3f17603c83a0535a9dcd7e32681 --amount 200 --exactIn --minSplits 1 --router alpha --chainId 421611\n```\n\n## Polygon Mumbai\n\n```\n./bin/cli quote --tokenIn 0x001b3b4d0f3714ca98ba10f6042daebf0b1b7b6f --tokenOut 0x9c3c9283d3e44854697cd22d3faa240cfb032889 --amount 1 --exactIn --protocols v3 --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B --minSplits 1 --router alpha --chainId 80001\n```\n\n## Polygon Mainnet\n\n```\n./bin/cli quote --tokenIn 0x2791bca1f2de4661ed88a30c99a7a9449aa84174 --tokenOut 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619 --amount 5 --exactIn --minSplits 1 --protocols v3 --router alpha --chainId 137\n```\n","readmeFilename":"README.md"}