Skip to content

Commit

Permalink
add arbitrum sepolia support (Uniswap#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason-W123 authored Jan 2, 2024
1 parent 47bc5d7 commit 5365ae4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ const ARBITRUM_GOERLI_ADDRESSES: ChainAddresses = {
tickLensAddress: '0xb52429333da969a0C79a60930a4Bf0020E5D1DE8'
}

// arbitrum sepolia v3 addresses
const ARBITRUM_SEPOLIA_ADDRESSES: ChainAddresses = {
v3CoreFactoryAddress: '0x248AB79Bbb9bC29bB72f7Cd42F17e054Fc40188e',
multicallAddress: '0x2B718b475e385eD29F56775a66aAB1F5cC6B2A0A',
quoterAddress: '0x2779a0CC1c3e0E44D2542EC3e79e3864Ae93Ef0B',
v3MigratorAddress: '0x398f43ef2c67B941147157DA1c5a868E906E043D',
nonfungiblePositionManagerAddress: '0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65',
tickLensAddress: '0x0fd18587734e5C2dcE2dccDcC7DD1EC89ba557d9'
}

// sepolia v3 addresses
const SEPOLIA_ADDRESSES: ChainAddresses = {
v3CoreFactoryAddress: '0x0227628f3F023bb0B980b67D528571c95c6DaC1c',
Expand Down Expand Up @@ -176,6 +186,7 @@ export const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>
[ChainId.OPTIMISM_GOERLI]: OPTIMISM_GOERLI_ADDRESSES,
[ChainId.OPTIMISM_SEPOLIA]: OPTIMISM_SEPOLIA_ADDRESSES,
[ChainId.ARBITRUM_GOERLI]: ARBITRUM_GOERLI_ADDRESSES,
[ChainId.ARBITRUM_SEPOLIA]: ARBITRUM_SEPOLIA_ADDRESSES,
[ChainId.SEPOLIA]: SEPOLIA_ADDRESSES,
[ChainId.AVALANCHE]: AVALANCHE_ADDRESSES,
[ChainId.BASE]: BASE_ADDRESSES,
Expand Down
2 changes: 2 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum ChainId {
OPTIMISM_SEPOLIA = 11155420,
ARBITRUM_ONE = 42161,
ARBITRUM_GOERLI = 421613,
ARBITRUM_SEPOLIA = 421614,
POLYGON = 137,
POLYGON_MUMBAI = 80001,
CELO = 42220,
Expand All @@ -26,6 +27,7 @@ export const SUPPORTED_CHAINS = [
ChainId.OPTIMISM_SEPOLIA,
ChainId.ARBITRUM_ONE,
ChainId.ARBITRUM_GOERLI,
ChainId.ARBITRUM_SEPOLIA,
ChainId.POLYGON,
ChainId.POLYGON_MUMBAI,
ChainId.GOERLI,
Expand Down
1 change: 1 addition & 0 deletions src/entities/weth9.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const WETH9: { [chainId: number]: Token } = {

[42161]: new Token(42161, '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', 18, 'WETH', 'Wrapped Ether'),
[421611]: new Token(421611, '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681', 18, 'WETH', 'Wrapped Ether'),
[421614]: new Token(421614, '0x980B62Da83eFf3D4576C647993b0c1D7faf17c73', 18, 'WETH', 'Wrapped Ether'),

[8453]: new Token(8453, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'),

Expand Down

0 comments on commit 5365ae4

Please sign in to comment.