latest deploy
This commit is contained in:
parent
aec18b7eb1
commit
24d8b4abc9
@ -47,9 +47,9 @@
|
||||
"@uniswap/v2-core": "1.0.0",
|
||||
"@uniswap/v2-periphery": "^1.1.0-beta.0",
|
||||
"@uniswap/v2-sdk": "^1.0.9",
|
||||
"@uniswap/v3-core": "^1.0.0-rc.2",
|
||||
"@uniswap/v3-periphery": "^1.0.0-beta.20",
|
||||
"@uniswap/v3-sdk": "^1.0.0-alpha.31",
|
||||
"@uniswap/v3-core": "1.0.0",
|
||||
"@uniswap/v3-periphery": "1.0.0",
|
||||
"@uniswap/v3-sdk": "^1.0.0",
|
||||
"@web3-react/core": "^6.0.9",
|
||||
"@web3-react/fortmatic-connector": "^6.0.9",
|
||||
"@web3-react/injected-connector": "^6.0.7",
|
||||
@ -142,5 +142,6 @@
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"license": "GPL-3.0-or-later"
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {}
|
||||
}
|
||||
|
14
src/constants/v3/gorli.json
Normal file
14
src/constants/v3/gorli.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"v3CoreFactoryAddress": "0x01E103a30B8Fa71689802404fB37Fdc546e300bE",
|
||||
"weth9Address": "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
|
||||
"multicall2Address": "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
|
||||
"proxyAdminAddress": "0x3820c1adA8d5Eb2b200F4dFcaB7C2B10062B1CfE",
|
||||
"tickLensAddress": "0x697Ccc6465B5A14Ee5e5fb690c9a946c79fB1dfC",
|
||||
"quoterAddress": "0x3A63FF3C9F163CdFA004f77f396774189d0e158E",
|
||||
"swapRouter": "0xb5b438F4f2faE468B71c3ea97007B086b474AADC",
|
||||
"nftDescriptorLibraryAddress": "0x96E47Fb23833874eD5eE9c0998C6095f9b152340",
|
||||
"nonfungibleTokenPositionDescriptorAddress": "0xE55662f109F0c673A69A369cb5F3d0b046836F08",
|
||||
"descriptorProxyAddress": "0x54B28f578AE9dBF451Bb5fF25D282cd170e8306E",
|
||||
"nonfungibleTokenPositionManagerAddress": "0x7a000F2916484B0b637562B51f71673A740cC109",
|
||||
"v3MigratorAddress": "0xC62B9b27207ac749f72d65A98FF177cF5eF54099"
|
||||
}
|
@ -1,43 +1,29 @@
|
||||
import { ChainId } from '@uniswap/sdk-core'
|
||||
import gorli from './gorli.json'
|
||||
import ropsten from './ropsten.json'
|
||||
import rinkeby from './rinkeby.json'
|
||||
import kovan from './kovan.json'
|
||||
import mainnet from './mainnet.json'
|
||||
|
||||
export const V3_CORE_FACTORY_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0x273Edaa13C845F605b5886Dd66C89AB497A6B17b',
|
||||
[ChainId.KOVAN]: '0x74e838ECf981Aaef2523aa5B666175DA319D8D31',
|
||||
[ChainId.RINKEBY]: '0x815BCC87613315327E04e4A3b7c96a79Ae80760c',
|
||||
[ChainId.GÖRLI]: '0x288be1A33bcdfA9A09cCa95CA1eD628A5294e82c',
|
||||
function constructAddressMap(
|
||||
key: keyof typeof gorli | keyof typeof ropsten | keyof typeof rinkeby | keyof typeof mainnet
|
||||
): { [chainId in ChainId]?: string } {
|
||||
return {
|
||||
[ChainId.ROPSTEN]: ropsten[key],
|
||||
[ChainId.KOVAN]: kovan[key],
|
||||
[ChainId.RINKEBY]: rinkeby[key],
|
||||
[ChainId.GÖRLI]: gorli[key],
|
||||
}
|
||||
}
|
||||
|
||||
export const QUOTER_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0x2F9e608FD881861B8916257B76613Cb22EE0652c',
|
||||
[ChainId.KOVAN]: '0xE7F35392a478CaAF3a8dA8E777078Fa3aBe0BaEF',
|
||||
[ChainId.RINKEBY]: '0x49B91cc934D63ad7c7FC1abA74B7AebCA413deaD',
|
||||
[ChainId.GÖRLI]: '0xf5Be6D3a408F06F00F2d6D4BB923fa9b695916f5',
|
||||
}
|
||||
export const V3_CORE_FACTORY_ADDRESSES = constructAddressMap('v3CoreFactoryAddress')
|
||||
|
||||
export const TICK_LENS_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0xd6852c52B9c97cBfb7e79B6ab4407AA20Ba31439',
|
||||
[ChainId.KOVAN]: '0xe2CE8F6cF0bc1c32605beaD58577ab1f08e086e6',
|
||||
[ChainId.RINKEBY]: '0xf5Be6D3a408F06F00F2d6D4BB923fa9b695916f5',
|
||||
[ChainId.GÖRLI]: '0x6744951a0DD149A31Df7B6d42eA69607eD692029',
|
||||
}
|
||||
export const QUOTER_ADDRESSES = constructAddressMap('quoterAddress')
|
||||
|
||||
export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0x74e838ECf981Aaef2523aa5B666175DA319D8D31',
|
||||
[ChainId.KOVAN]: '0x815BCC87613315327E04e4A3b7c96a79Ae80760c',
|
||||
[ChainId.RINKEBY]: '0x3255160392215494bee8B5aBf8C4C40965d0986C',
|
||||
[ChainId.GÖRLI]: '0xa1944Bb261511bB15Ce8CC054d996B3cFfA7f4d6',
|
||||
}
|
||||
export const TICK_LENS_ADDRESSES = constructAddressMap('tickLensAddress')
|
||||
|
||||
export const SWAP_ROUTER_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0x03782388516e94FcD4c18666303601A12Aa729Ea',
|
||||
[ChainId.KOVAN]: '0x8a0B62Fbcb1B862BbF1ad31c26a72b7b746EdFC1',
|
||||
[ChainId.RINKEBY]: '0x483B27F0cF5AF935371d52A7F810799cD141E3dc',
|
||||
[ChainId.GÖRLI]: '0x49B91cc934D63ad7c7FC1abA74B7AebCA413deaD',
|
||||
}
|
||||
export const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES = constructAddressMap('nonfungibleTokenPositionManagerAddress')
|
||||
|
||||
export const V3_MIGRATOR_ADDRESSES: { [chainId in ChainId]?: string } = {
|
||||
[ChainId.ROPSTEN]: '0x764a2557D2af049bd026D382eEE05fBC7C5425E4',
|
||||
[ChainId.KOVAN]: '0x6744951a0DD149A31Df7B6d42eA69607eD692029',
|
||||
[ChainId.RINKEBY]: '0x94D53BC4cb886eDDb9C0426DFc1edB581D2C98B4',
|
||||
[ChainId.GÖRLI]: '0x3255160392215494bee8B5aBf8C4C40965d0986C',
|
||||
}
|
||||
export const SWAP_ROUTER_ADDRESSES = constructAddressMap('swapRouter')
|
||||
|
||||
export const V3_MIGRATOR_ADDRESSES = constructAddressMap('v3MigratorAddress')
|
||||
|
14
src/constants/v3/kovan.json
Normal file
14
src/constants/v3/kovan.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"v3CoreFactoryAddress": "0x84FEfB911621BfD7D227D4fb665cFefD35a55b26",
|
||||
"weth9Address": "0xd0A1E359811322d97991E03f863a0C30C2cF029C",
|
||||
"multicall2Address": "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
|
||||
"proxyAdminAddress": "0xa2660A5Fd34d455009D087171e28312A45bA81F6",
|
||||
"tickLensAddress": "0x67969Db66f9383d4011592abEb3d77fC67BAE869",
|
||||
"quoterAddress": "0xf8e64d9661E0bd0339936ce1648cBe107C7ccF90",
|
||||
"swapRouter": "0x7a730E9b1AED53A165E67576bffcEA7514713cB7",
|
||||
"nftDescriptorLibraryAddress": "0x01E103a30B8Fa71689802404fB37Fdc546e300bE",
|
||||
"nonfungibleTokenPositionDescriptorAddress": "0x3820c1adA8d5Eb2b200F4dFcaB7C2B10062B1CfE",
|
||||
"descriptorProxyAddress": "0x697Ccc6465B5A14Ee5e5fb690c9a946c79fB1dfC",
|
||||
"nonfungibleTokenPositionManagerAddress": "0x3A63FF3C9F163CdFA004f77f396774189d0e158E",
|
||||
"v3MigratorAddress": "0xb5b438F4f2faE468B71c3ea97007B086b474AADC"
|
||||
}
|
1
src/constants/v3/mainnet.json
Normal file
1
src/constants/v3/mainnet.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
14
src/constants/v3/rinkeby.json
Normal file
14
src/constants/v3/rinkeby.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"v3CoreFactoryAddress": "0x3820c1adA8d5Eb2b200F4dFcaB7C2B10062B1CfE",
|
||||
"weth9Address": "0xc778417E063141139Fce010982780140Aa0cD5Ab",
|
||||
"multicall2Address": "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
|
||||
"proxyAdminAddress": "0x697Ccc6465B5A14Ee5e5fb690c9a946c79fB1dfC",
|
||||
"tickLensAddress": "0x3A63FF3C9F163CdFA004f77f396774189d0e158E",
|
||||
"quoterAddress": "0xb5b438F4f2faE468B71c3ea97007B086b474AADC",
|
||||
"swapRouter": "0x96E47Fb23833874eD5eE9c0998C6095f9b152340",
|
||||
"nftDescriptorLibraryAddress": "0xE55662f109F0c673A69A369cb5F3d0b046836F08",
|
||||
"nonfungibleTokenPositionDescriptorAddress": "0x54B28f578AE9dBF451Bb5fF25D282cd170e8306E",
|
||||
"descriptorProxyAddress": "0x7a000F2916484B0b637562B51f71673A740cC109",
|
||||
"nonfungibleTokenPositionManagerAddress": "0xC62B9b27207ac749f72d65A98FF177cF5eF54099",
|
||||
"v3MigratorAddress": "0x39Da015EEA34B66D5b703dfa086E50895364d06b"
|
||||
}
|
14
src/constants/v3/ropsten.json
Normal file
14
src/constants/v3/ropsten.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"v3CoreFactoryAddress": "0x7526dDdF1f6866507D1C932F76F8CdE3c8b69f64",
|
||||
"weth9Address": "0xc778417E063141139Fce010982780140Aa0cD5Ab",
|
||||
"multicall2Address": "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
|
||||
"proxyAdminAddress": "0xcfc14eb4e80c18F8f206D23e29E9D4420B209F48",
|
||||
"tickLensAddress": "0x10E137241e7BfaACED650F4d8D642B341ad6CB7C",
|
||||
"quoterAddress": "0x8B1E4d7DD9B6846DD3ADB515ed1dC18F3f041753",
|
||||
"swapRouter": "0x04E0f8f7086Bb18d14fB9bC24DE7aC6937DD3c46",
|
||||
"nftDescriptorLibraryAddress": "0xe305566D7f2B51cb1aaB2F272F3F6a3fBC62cF7e",
|
||||
"nonfungibleTokenPositionDescriptorAddress": "0xD8bf69296D3457C867A7A00a62d444bDC03E4374",
|
||||
"descriptorProxyAddress": "0x068917a5496E6D368f16e9A4833145bFb3434106",
|
||||
"nonfungibleTokenPositionManagerAddress": "0x4691A412a1d63F190f4639f4F027D3711241dBe2",
|
||||
"v3MigratorAddress": "0x84FEfB911621BfD7D227D4fb665cFefD35a55b26"
|
||||
}
|
38
yarn.lock
38
yarn.lock
@ -4133,41 +4133,31 @@
|
||||
tiny-invariant "^1.1.0"
|
||||
tiny-warning "^1.0.3"
|
||||
|
||||
"@uniswap/v3-core@1.0.0-rc.2", "@uniswap/v3-core@^1.0.0-rc.2":
|
||||
version "1.0.0-rc.2"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.0-rc.2.tgz#a1afb3253a7295bec6165ad1d960121e6851a576"
|
||||
integrity sha512-vsqkqAHPCKsVi0nWwWeX+mHnSTJ8ZUdu1zAVXB9Mj9A+aeBQGV9foRKs9ufDGJq7S1nqmz+7FdjSOcVoeiUqgQ==
|
||||
"@uniswap/v3-core@1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.0.tgz#6c24adacc4c25dceee0ba3ca142b35adbd7e359d"
|
||||
integrity sha512-kSC4djMGKMHj7sLMYVnn61k9nu+lHjMIxgg9CDQT+s2QYLoA56GbSK9Oxr+qJXzzygbkrmuY6cwgP6cW2JXPFA==
|
||||
|
||||
"@uniswap/v3-periphery@^1.0.0-beta.20":
|
||||
version "1.0.0-beta.20"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.0.0-beta.20.tgz#67a8086315e4820e3669b1f645916f9e246a6e56"
|
||||
integrity sha512-sWh2W+CBjRVAwbPbKwgu8DWKYY7J3ucZf5mjRPBnmvsNLi6ILM5/NDAtefCvMnKEX7IQzO3gk7gDWZHPrkWXyw==
|
||||
"@uniswap/v3-periphery@1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.0.0.tgz#8e789dcd70bdd06e01e21dd75372dc76ab38ea47"
|
||||
integrity sha512-kRqUrjnyh+X1wJdSENPDFr9sjRVebv2KyLtfqDOPij0dXJ69GspFU2qrZXjouc6LYdkWG7x3fagiTlw0eGniYQ==
|
||||
dependencies:
|
||||
"@openzeppelin/contracts" "3.4.1-solc-0.7-2"
|
||||
"@uniswap/lib" "^4.0.1-alpha"
|
||||
"@uniswap/v2-core" "1.0.1"
|
||||
"@uniswap/v3-core" "1.0.0-rc.2"
|
||||
|
||||
"@uniswap/v3-periphery@^1.0.0-beta.23":
|
||||
version "1.0.0-beta.23"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.0.0-beta.23.tgz#d8f55136b894a6101e050205f0d6a61bb8d28f67"
|
||||
integrity sha512-5cvK8/ITIVql+iZdPd0TR5EiNNm55ejAspjIxcsnGKyflaeQb+ePw6X4HTruTPGvPoaFvk+UirYeezUspXhlcg==
|
||||
dependencies:
|
||||
"@openzeppelin/contracts" "3.4.1-solc-0.7-2"
|
||||
"@uniswap/lib" "^4.0.1-alpha"
|
||||
"@uniswap/v2-core" "1.0.1"
|
||||
"@uniswap/v3-core" "1.0.0-rc.2"
|
||||
"@uniswap/v3-core" "1.0.0"
|
||||
base64-sol "1.0.1"
|
||||
|
||||
"@uniswap/v3-sdk@^1.0.0-alpha.31":
|
||||
version "1.0.0-alpha.31"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-1.0.0-alpha.31.tgz#0e0eff861b32a4cd51dbf891a15071057bb31f91"
|
||||
integrity sha512-3mE2nCH6bZUhJ2mqJFRR37uj6a5StEeDNALSciRyKqoecbCQ9YW024K6uega3anB4nK9t1hKB0o5oK0eL9rglw==
|
||||
"@uniswap/v3-sdk@^1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-1.0.0.tgz#0056ba4f598f2b7dae6a61d27e1dac96b00ace4e"
|
||||
integrity sha512-vZWZGPwghHVQOUXZ65MvYqGa2wi9id7qyjFmaSRGks+aCcZ8nqS1nAbZjE9WkF4GBSPikKq8pPmvHr0XPs03IQ==
|
||||
dependencies:
|
||||
"@ethersproject/abi" "^5.0.12"
|
||||
"@ethersproject/solidity" "^5.0.9"
|
||||
"@uniswap/sdk-core" "^1.0.10"
|
||||
"@uniswap/v3-periphery" "^1.0.0-beta.23"
|
||||
"@uniswap/v3-periphery" "1.0.0"
|
||||
tiny-invariant "^1.1.0"
|
||||
tiny-warning "^1.0.3"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user