Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.44 KB

File metadata and controls

33 lines (24 loc) · 1.44 KB

A fork of Uniswap V3 Periphery reworked for ERC-223 support

Tests Lint

This repository contains the periphery smart contracts for the Uniswap V3 Protocol. For the lower level core contracts, see the uniswap-v3-core repository.

Example mint() call

["0x56429a6bca0dbe99f22aad25d8e89a9acc2f9d76","0x720De4CE116153E263d21d1ddD968c655bd994a5","3000","-600","600","8888888888888","8888888888888888888","0","0","0x5B38Da6a701c568545dCfcB03FcB875f56beddC4","17098363210"]

Local deployment

In order to deploy this code to a local testnet, you should install the npm package @uniswap/v3-periphery and import bytecode imported from artifacts located at @uniswap/v3-periphery/artifacts/contracts/*/*.json. For example:

import {
  abi as SWAP_ROUTER_ABI,
  bytecode as SWAP_ROUTER_BYTECODE,
} from '@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json'

// deploy the bytecode

This will ensure that you are testing against the same bytecode that is deployed to mainnet and public testnets, and all Uniswap code will correctly interoperate with your local deployment.