{"id":15108514,"url":"https://github.com/uniswap/v3-periphery","last_synced_at":"2025-04-11T11:47:04.109Z","repository":{"id":37078988,"uuid":"340473970","full_name":"Uniswap/v3-periphery","owner":"Uniswap","description":"🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3","archived":false,"fork":false,"pushed_at":"2024-08-04T19:54:49.000Z","size":2026,"stargazers_count":1244,"open_issues_count":73,"forks_count":1182,"subscribers_count":61,"default_branch":"main","last_synced_at":"2025-04-09T15:50:10.266Z","etag":null,"topics":["automated-market-maker","bug-bounty","ethereum","periphery","smart-contracts","uniswap"],"latest_commit_sha":null,"homepage":"https://uniswap.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uniswap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/abdk/audit.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-19T19:50:11.000Z","updated_at":"2025-04-09T13:42:37.000Z","dependencies_parsed_at":"2024-04-19T07:48:17.637Z","dependency_job_id":"7c37c829-f8df-4fc3-8fd0-32b106753513","html_url":"https://github.com/Uniswap/v3-periphery","commit_stats":{"total_commits":343,"total_committers":19,"mean_commits":18.05263157894737,"dds":0.4548104956268222,"last_synced_commit":"0682387198a24c7cd63566a2c58398533860a5d1"},"previous_names":["uniswap/uniswap-v3-periphery"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fv3-periphery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fv3-periphery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fv3-periphery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fv3-periphery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uniswap","download_url":"https://codeload.github.com/Uniswap/v3-periphery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248388263,"owners_count":21095358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-market-maker","bug-bounty","ethereum","periphery","smart-contracts","uniswap"],"created_at":"2024-09-25T22:02:26.539Z","updated_at":"2025-04-11T11:47:04.080Z","avatar_url":"https://github.com/Uniswap.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiswap%2Fv3-periphery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiswap%2Fv3-periphery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiswap%2Fv3-periphery/lists"}