{"_id":"@bede-labs/v3-core","name":"@bede-labs/v3-core","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bede-labs/v3-core","description":"🦄 Core smart contracts of Uniswap V3","license":"BUSL-1.1","publishConfig":{"access":"public"},"version":"1.0.0","homepage":"https://uniswap.org","keywords":["uniswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/bede-labs/uniswap-v3-core.git"},"engines":{"node":">=10"},"dependencies":{},"devDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-etherscan":"^2.1.1","@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/bede-labs/uniswap-v3-core/issues"},"_id":"@bede-labs/v3-core@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-01esMAex7JiYx9W6Uqd+eTgkEpYU49k38uG0I8aWvOz5BRE1AnL6DetyBTn2o8SQbPM6TaL79fxuZbEuE7/y5w==","shasum":"292d0c59d061abee2cc7306afc945c7fb1ec5aff","tarball":"https://registry.npmjs.org/@bede-labs/v3-core/-/v3-core-1.0.0.tgz","fileCount":50,"unpackedSize":426146,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCumK5/GSYt9l6mvO8EpeACeatiikQE5/gwSX9yx3Bb6AIhAP06jvRR9oh3UaJI/3wyss1IlrW0BxrODHnTLbjnIcBZ"}]},"_npmUser":{"name":"bede-labs","email":"btc.huuduy@gmail.com"},"directories":{},"maintainers":[{"name":"bede-labs","email":"btc.huuduy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/v3-core_1.0.0_1740501969775_0.73861212018005"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-25T16:46:09.705Z","1.0.0":"2025-02-25T16:46:09.956Z","modified":"2025-02-25T16:46:10.219Z"},"maintainers":[{"name":"bede-labs","email":"btc.huuduy@gmail.com"}],"description":"🦄 Core smart contracts of Uniswap V3","homepage":"https://uniswap.org","keywords":["uniswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/bede-labs/uniswap-v3-core.git"},"bugs":{"url":"https://github.com/bede-labs/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).\n\n### Exceptions\n\n- All files in `contracts/interfaces/` are 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/` are licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/libraries/LICENSE_GPL`](contracts/libraries/LICENSE_GPL)\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.\n","readmeFilename":"README.md"}