{"_id":"@dmitrysonder/uniswap-v2-sdk","_rev":"2-a0bd20dda57bbfd1b005e776f793f747","name":"@dmitrysonder/uniswap-v2-sdk","dist-tags":{"latest":"3.0.9"},"versions":{"3.0.7":{"name":"@dmitrysonder/uniswap-v2-sdk","version":"3.0.7","keywords":["uniswap","ethereum"],"license":"MIT","_id":"@dmitrysonder/uniswap-v2-sdk@3.0.7","maintainers":[{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"}],"homepage":"https://github.com/dmitrysonder/uniswap-v2-contract#readme","bugs":{"url":"https://github.com/dmitrysonder/uniswap-v2-contract/issues"},"dist":{"shasum":"e33cb809b34fa38d8587d8902954fa73f7c7b77c","tarball":"https://registry.npmjs.org/@dmitrysonder/uniswap-v2-sdk/-/uniswap-v2-sdk-3.0.7.tgz","fileCount":39,"integrity":"sha512-aLDl6ky+tF1rtQ/cleTck7BeaalNimZqekUG3NYmbe8kQaeIe/Jm8eRR+rnmuHHuTfyIS88+GNIDntSgCLZ1ug==","signatures":[{"sig":"MEQCIEroS1SFIhbHMqYPh+KfzHOtcE8LSUQ3fpzOXwPTYlyWAiBQYcja7o4PeqMTjJHmzpu9J+3fXuWhP60mjc1HPuOwVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":458953},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"4bb3242bd9b1094d88d9406efd7263420d55546d","private":false,"scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"yarn prebuild && tsdx build","start":"tsdx watch","prebuild":"cp ../deployment/deployment.json ./src/","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/dmitrysonder/uniswap-v2-contract.git","type":"git"},"_npmVersion":"8.19.2","description":"🛠 An SDK for building applications on top of Uniswap.","directories":{},"_nodeVersion":"16.18.1","dependencies":{"jsbi":"^3.1.1","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","tiny-invariant":"^1.1.0","@uniswap/v2-core":"^1.0.0","decimal.js-light":"^2.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.12.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/uniswap-v2-sdk_3.0.7_1725866468323_0.31003906694806593","host":"s3://npm-registry-packages"}},"3.0.8":{"name":"@dmitrysonder/uniswap-v2-sdk","version":"3.0.8","keywords":["uniswap","ethereum"],"license":"MIT","_id":"@dmitrysonder/uniswap-v2-sdk@3.0.8","maintainers":[{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"}],"homepage":"https://github.com/dmitrysonder/uniswap-v2-contract#readme","bugs":{"url":"https://github.com/dmitrysonder/uniswap-v2-contract/issues"},"dist":{"shasum":"712879a2133490a44a19fe720ec6387f72173bc4","tarball":"https://registry.npmjs.org/@dmitrysonder/uniswap-v2-sdk/-/uniswap-v2-sdk-3.0.8.tgz","fileCount":39,"integrity":"sha512-YzsluPpe4Nbm8YS+XU6yapwkmLl9guF8wkTgG1M+Nj2zD4qdrUwNcQrNnIixG67R77Oqb5O5vPMgtCRNOimQew==","signatures":[{"sig":"MEYCIQDQBofPLsnnBbSCGkX0/wG1TjRmamNBYKq8CLzCK69+dAIhAJ+/3vc+hV159hJ5/thShX+CLLo+BlWlP0HD2Q8H9SX6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":458949},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"4bb3242bd9b1094d88d9406efd7263420d55546d","private":false,"scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"yarn prebuild && tsdx build","start":"tsdx watch","prebuild":"cp ../deployment/deployment.json ./src/","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/dmitrysonder/uniswap-v2-contract.git","type":"git"},"_npmVersion":"8.19.2","description":"🛠 An SDK for building applications on top of Uniswap.","directories":{},"_nodeVersion":"16.18.1","dependencies":{"jsbi":"^3.1.1","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","tiny-invariant":"^1.1.0","@uniswap/v2-core":"^1.0.0","decimal.js-light":"^2.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.12.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/uniswap-v2-sdk_3.0.8_1725868301837_0.1730260820457421","host":"s3://npm-registry-packages"}},"3.0.9":{"name":"@dmitrysonder/uniswap-v2-sdk","license":"MIT","version":"3.0.9","description":"🛠 An SDK for building applications on top of Uniswap.","main":"dist/index.js","typings":"dist/index.d.ts","private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dmitrysonder/uniswap-v2-contract.git"},"keywords":["uniswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"prebuild":"cp ../deployment/deployment.json ./src/","lint":"tsdx lint src test","build":"yarn prebuild && tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@uniswap/v2-core":"^1.0.0","big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.1","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.12.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"4bb3242bd9b1094d88d9406efd7263420d55546d","bugs":{"url":"https://github.com/dmitrysonder/uniswap-v2-contract/issues"},"homepage":"https://github.com/dmitrysonder/uniswap-v2-contract#readme","_id":"@dmitrysonder/uniswap-v2-sdk@3.0.9","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-4bN2gZm5WEqJc3n5KtawFdD820Bk3oZVgUTifnzvQ7Pu27AN6RMb7+qkgUTQwhUhf4NicN6Ff0Miw7V7UO4cMw==","shasum":"501c538d78ee38ac66e9bc1e21f194b5ec556f43","tarball":"https://registry.npmjs.org/@dmitrysonder/uniswap-v2-sdk/-/uniswap-v2-sdk-3.0.9.tgz","fileCount":39,"unpackedSize":458937,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbhGa1hjEHLcYAM4JcOVT0EpR0S7kIl6DWhUEpLyPTrgIgFxv8l7Ua+umlSf5zlmFOEmn3w51aylKMK6TCvlHuW5M="}]},"_npmUser":{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"},"directories":{},"maintainers":[{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uniswap-v2-sdk_3.0.9_1726024024947_0.6984372527459022"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-09T07:21:08.229Z","modified":"2024-09-11T03:07:05.357Z","3.0.7":"2024-09-09T07:21:08.471Z","3.0.8":"2024-09-09T07:51:42.069Z","3.0.9":"2024-09-11T03:07:05.137Z"},"bugs":{"url":"https://github.com/dmitrysonder/uniswap-v2-contract/issues"},"license":"MIT","homepage":"https://github.com/dmitrysonder/uniswap-v2-contract#readme","keywords":["uniswap","ethereum"],"repository":{"type":"git","url":"git+https://github.com/dmitrysonder/uniswap-v2-contract.git"},"description":"🛠 An SDK for building applications on top of Uniswap.","maintainers":[{"name":"dmitrysonder","email":"dmitry.sonder@gmail.com"}],"readme":"# Uniswap SDK\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)\n[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)\n[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)\n\nIn-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\n\n## Running tests\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/Uniswap/uniswap-sdk.git\n```\n\nMove into the uniswap-sdk working directory\n\n```sh\ncd uniswap-sdk/\n```\n\nInstall dependencies\n\n```sh\nyarn install\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\nYou should see output like the following:\n\n```sh\nyarn run v1.22.4\n$ tsdx test\n PASS  test/constants.test.ts\n PASS  test/pair.test.ts\n PASS  test/fraction.test.ts\n PASS  test/miscellaneous.test.ts\n PASS  test/entities.test.ts\n PASS  test/trade.test.ts\n\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\nTests:       3 skipped, 82 passed, 85 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```\n","readmeFilename":"README.md"}