Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Deploying Uniswap v3 to OP Sepolia #102

Merged
merged 3 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uniswap/sdk-core",
"license": "MIT",
"version": "4.0.9",
"version": "4.0.10",
"description": "⚒️ An SDK for building applications on top of Uniswap V3",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ const OPTIMISM_GOERLI_ADDRESSES: ChainAddresses = {
tickLensAddress: '0xe6140Bd164b63E8BfCfc40D5dF952f83e171758e'
}

// optimism sepolia addresses
const OPTIMISM_SEPOLIA_ADDRESSES: ChainAddresses = {
v3CoreFactoryAddress: '0x8CE191193D15ea94e11d327b4c7ad8bbE520f6aF',
multicallAddress: '0x80e4e06841bb76AA9735E0448cB8d003C0EF009a',
quoterAddress: '0x0FBEa6cf957d95ee9313490050F6A0DA68039404',
v3MigratorAddress: '0xE7EcbAAaA54D007A00dbb6c1d2f150066D69dA07',
nonfungiblePositionManagerAddress: '0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d',
tickLensAddress: '0xCb7f54747F58F8944973cea5b8f4ac2209BadDC5'
}

// arbitrum goerli v3 addresses
const ARBITRUM_GOERLI_ADDRESSES: ChainAddresses = {
v3CoreFactoryAddress: '0x4893376342d5D7b3e31d4184c08b265e5aB2A3f6',
Expand Down Expand Up @@ -164,6 +174,7 @@ export const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>
[ChainId.CELO_ALFAJORES]: CELO_ADDRESSES,
[ChainId.BNB]: BNB_ADDRESSES,
[ChainId.OPTIMISM_GOERLI]: OPTIMISM_GOERLI_ADDRESSES,
[ChainId.OPTIMISM_SEPOLIA]: OPTIMISM_SEPOLIA_ADDRESSES,
[ChainId.ARBITRUM_GOERLI]: ARBITRUM_GOERLI_ADDRESSES,
[ChainId.SEPOLIA]: SEPOLIA_ADDRESSES,
[ChainId.AVALANCHE]: AVALANCHE_ADDRESSES,
Expand Down
2 changes: 2 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export enum ChainId {
SEPOLIA = 11155111,
OPTIMISM = 10,
OPTIMISM_GOERLI = 420,
OPTIMISM_SEPOLIA = 11155420,
ARBITRUM_ONE = 42161,
ARBITRUM_GOERLI = 421613,
POLYGON = 137,
Expand All @@ -22,6 +23,7 @@ export const SUPPORTED_CHAINS = [
ChainId.MAINNET,
ChainId.OPTIMISM,
ChainId.OPTIMISM_GOERLI,
ChainId.OPTIMISM_SEPOLIA,
ChainId.ARBITRUM_ONE,
ChainId.ARBITRUM_GOERLI,
ChainId.POLYGON,
Expand Down
1 change: 1 addition & 0 deletions src/entities/weth9.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const WETH9: { [chainId: number]: Token } = {

[10]: new Token(10, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'),
[69]: new Token(69, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'),
[11155420]: new Token(11155420, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'),

[42161]: new Token(42161, '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', 18, 'WETH', 'Wrapped Ether'),
[421611]: new Token(421611, '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681', 18, 'WETH', 'Wrapped Ether'),
Expand Down
Loading