{"_id":"@augustoadd3/v3-core","name":"@augustoadd3/v3-core","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@augustoadd3/v3-core","description":"🦄 Core smart contracts of Uniswap V3","license":"BUSL-1.1","publishConfig":{"access":"public"},"version":"1.0.1","homepage":"https://uniswap.org","keywords":["uniswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/Uniswap/uniswap-v3-core.git"},"engines":{"node":">=10"},"devDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-etherscan":"^2.1.8","@nomiclabs/hardhat-waffle":"^2.0.1","@typechain/ethers-v5":"^4.0.0","@types/chai":"^4.2.6","@types/mocha":"^5.2.7","chai":"^4.2.0","decimal.js":"^10.2.1","ethereum-waffle":"^3.0.2","ethers":"^5.0.8","hardhat":"^2.2.0","hardhat-typechain":"^0.3.5","mocha":"^6.2.2","mocha-chai-jest-snapshot":"^1.1.0","prettier":"^2.0.5","prettier-plugin-solidity":"^1.0.0-alpha.59","solhint":"^3.2.1","solhint-plugin-prettier":"^0.0.5","ts-generator":"^0.1.1","ts-node":"^8.5.4","typechain":"^4.0.0","typescript":"^3.7.3"},"scripts":{"compile":"hardhat compile","test":"hardhat test"},"bugs":{"url":"https://github.com/Uniswap/uniswap-v3-core/issues"},"main":"index.js","directories":{"test":"test"},"author":"","gitHead":"d8b1c635c275d2a9450bd6a78f3fa2484fef73eb","_id":"@augustoadd3/v3-core@1.0.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-b+lqSaXRLNMw1uXXxls7U2N+wQ2Z8Qa5aIl7eSR1Zc+5yhXPfAP4hifXqyDzUFh0lpkQ5wvH0TXIVSSPuSn9EQ==","shasum":"40486bb7303f48e9c064efaf5582d767b087308a","tarball":"https://registry.npmjs.org/@augustoadd3/v3-core/-/v3-core-1.0.1.tgz","fileCount":35,"unpackedSize":163766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6eDXnESe/n4xnJhiEsvvEoXx6R6ZRYRiXziEeoDB5gwIhAMkEq1mtpM4SQMlEqp6g7yTltpfl/CfFAbOJLVA7n6xU"}]},"_npmUser":{"name":"augustoadd3","email":"augusto@add3.io"},"maintainers":[{"name":"augustoadd3","email":"augusto@add3.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v3-core_1.0.1_1700232179589_0.6178919885974097"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-17T14:42:59.467Z","1.0.1":"2023-11-17T14:42:59.773Z","modified":"2023-11-17T14:43:00.092Z"},"maintainers":[{"name":"augustoadd3","email":"augusto@add3.io"}],"description":"🦄 Core smart contracts of Uniswap V3","homepage":"https://uniswap.org","keywords":["uniswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/Uniswap/uniswap-v3-core.git"},"bugs":{"url":"https://github.com/Uniswap/uniswap-v3-core/issues"},"license":"BUSL-1.1","readme":"# Uniswap V3\n\n[![Lint](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/lint.yml/badge.svg)](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/lint.yml)\n[![Tests](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/tests.yml/badge.svg)](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/tests.yml)\n[![Fuzz Testing](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/fuzz-testing.yml/badge.svg)](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/fuzz-testing.yml)\n[![Mythx](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/mythx.yml/badge.svg)](https://github.com/Uniswap/uniswap-v3-core/actions/workflows/mythx.yml)\n[![npm version](https://img.shields.io/npm/v/@uniswap/v3-core/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-core/v/latest)\n\nThis repository contains the core smart contracts for the Uniswap V3 Protocol.\nFor higher level contracts, see the [uniswap-v3-periphery](https://github.com/Uniswap/uniswap-v3-periphery)\nrepository.\n\n## Bug bounty\n\nThis repository is subject to the Uniswap V3 bug bounty program, per the terms defined [here](./bug-bounty.md).\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@uniswap/v3-core`\nand import the factory bytecode located at\n`@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json`.\nFor example:\n\n```typescript\nimport {\n  abi as FACTORY_ABI,\n  bytecode as FACTORY_BYTECODE,\n} from '@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json'\n\n// deploy the bytecode\n```\n\nThis will ensure that you are testing against the same bytecode that is deployed to\nmainnet and public testnets, and all Uniswap code will correctly interoperate with\nyour local deployment.\n\n## Using solidity interfaces\n\nThe Uniswap v3 interfaces are available for import into solidity smart contracts\nvia the npm artifact `@uniswap/v3-core`, e.g.:\n\n```solidity\nimport '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';\n\ncontract MyContract {\n  IUniswapV3Pool pool;\n\n  function doSomethingWithPool() {\n    // pool.swap(...);\n  }\n}\n\n```\n\n## Licensing\n\nThe primary license for Uniswap V3 Core is the Business Source License 1.1 (`BUSL-1.1`), see [`LICENSE`](./LICENSE). However, some files are dual licensed under `GPL-2.0-or-later`:\n\n- All files in `contracts/interfaces/` may also be licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/interfaces/LICENSE`](./contracts/interfaces/LICENSE)\n- Several files in `contracts/libraries/` may also be licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/libraries/LICENSE`](contracts/libraries/LICENSE)\n\n### Other Exceptions\n\n- `contracts/libraries/FullMath.sol` is licensed under `MIT` (as indicated in its SPDX header), see [`contracts/libraries/LICENSE_MIT`](contracts/libraries/LICENSE_MIT)\n- All files in `contracts/test` remain unlicensed (as indicated in their SPDX headers).\n","readmeFilename":"README.md"}