### Importing SwapRouter Bytecode for Local Deployment (TypeScript) Source: https://github.com/uniswap/v3-periphery/blob/main/README.md This TypeScript snippet demonstrates how to import the ABI and bytecode for the `SwapRouter` contract from the `@uniswap/v3-periphery` npm package. This imported bytecode can then be used to deploy the `SwapRouter` to a local testnet, ensuring compatibility with mainnet deployments. ```typescript import { abi as SWAP_ROUTER_ABI, bytecode as SWAP_ROUTER_BYTECODE, } from '@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json' // deploy the bytecode ``` -------------------------------- ### Importing ISwapRouter Interface in Solidity Source: https://github.com/uniswap/v3-periphery/blob/main/README.md This Solidity snippet illustrates how to import the `ISwapRouter.sol` interface from the `@uniswap/v3-periphery` npm artifact. This allows a Solidity contract to declare an instance of the interface and interact with the Uniswap V3 `SwapRouter` by calling its methods. ```solidity import '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol'; contract MyContract { ISwapRouter router; function doSomethingWithSwapRouter() { // router.exactInput(...); } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.