{"_id":"@augustoadd3/v3-periphery","name":"@augustoadd3/v3-periphery","dist-tags":{"latest":"1.4.4"},"versions":{"1.4.4":{"name":"@augustoadd3/v3-periphery","description":"🎚 Peripheral smart contracts for interacting with Uniswap V3","license":"GPL-2.0-or-later","publishConfig":{"access":"public"},"version":"1.4.4","homepage":"https://uniswap.org","keywords":["uniswap","periphery","v3"],"repository":{"type":"git","url":"git+https://github.com/Uniswap/uniswap-v3-periphery.git"},"engines":{"node":">=10"},"dependencies":{"@openzeppelin/contracts":"3.4.2-solc-0.7","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@uniswap/v3-core":"^1.0.0","base64-sol":"1.0.1"},"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.6.8","hardhat-typechain":"^0.3.5","hardhat-watcher":"^2.1.1","is-svg":"^4.3.1","mocha":"^6.2.2","mocha-chai-jest-snapshot":"^1.1.0","prettier":"^2.0.5","prettier-plugin-solidity":"^1.0.0-beta.10","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-periphery/issues"},"main":"index.js","directories":{"test":"test"},"author":"","gitHead":"697c2474757ea89fec12a4e6db16a574fe259610","_id":"@augustoadd3/v3-periphery@1.4.4","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-OF41/2rrC/hXR458fKu3NOXvEAWoidHYAq/R1Mt4PiKqfxZpUbY/Pv0Y8an83wrh1JnlQkXwxV6o9msMLjl5qQ==","shasum":"df190699fe99935b11e5c4b7ac4a80566af91250","tarball":"https://registry.npmjs.org/@augustoadd3/v3-periphery/-/v3-periphery-1.4.4.tgz","fileCount":47,"unpackedSize":156847,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLFuUYLqKuxqcvSgnPTlBOSCTrQBgFN8vMYC3qJ2UiLAIhAIDklNLH3Qp/g/9iDHZzwidY75PtlBi12oOUDUlXC/Dj"}]},"_npmUser":{"name":"augustoadd3","email":"augusto@add3.io"},"maintainers":[{"name":"augustoadd3","email":"augusto@add3.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v3-periphery_1.4.4_1700232013937_0.934730115931756"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-17T14:40:13.812Z","1.4.4":"2023-11-17T14:40:14.123Z","modified":"2023-11-17T14:40:14.388Z"},"maintainers":[{"name":"augustoadd3","email":"augusto@add3.io"}],"description":"🎚 Peripheral smart contracts for interacting with Uniswap V3","homepage":"https://uniswap.org","keywords":["uniswap","periphery","v3"],"repository":{"type":"git","url":"git+https://github.com/Uniswap/uniswap-v3-periphery.git"},"bugs":{"url":"https://github.com/Uniswap/uniswap-v3-periphery/issues"},"license":"GPL-2.0-or-later","readme":"# Uniswap V3 Periphery\n\n[![Tests](https://github.com/Uniswap/uniswap-v3-periphery/workflows/Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-periphery/actions?query=workflow%3ATests)\n[![Lint](https://github.com/Uniswap/uniswap-v3-periphery/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-periphery/actions?query=workflow%3ALint)\n\nThis repository contains the periphery smart contracts for the Uniswap V3 Protocol.\nFor the lower level core contracts, see the [uniswap-v3-core](https://github.com/Uniswap/uniswap-v3-core)\nrepository.\n\n## Bug bounty\n\nThis repository is subject to the Uniswap V3 bug bounty program,\nper 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-periphery`\nand import bytecode imported from artifacts located at\n`@uniswap/v3-periphery/artifacts/contracts/*/*.json`.\nFor example:\n\n```typescript\nimport {\n  abi as SWAP_ROUTER_ABI,\n  bytecode as SWAP_ROUTER_BYTECODE,\n} from '@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.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 periphery interfaces are available for import into solidity smart contracts\nvia the npm artifact `@uniswap/v3-periphery`, e.g.:\n\n```solidity\nimport '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';\n\ncontract MyContract {\n  ISwapRouter router;\n\n  function doSomethingWithSwapRouter() {\n    // router.exactInput(...);\n  }\n}\n\n```\n","readmeFilename":"README.md"}