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

chore: updating factory addresses to match v2-sdk #115

Merged
merged 1 commit into from
Feb 12, 2024
Merged
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
24 changes: 15 additions & 9 deletions src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@ export const UNI_ADDRESSES: AddressMap = constructSameAddressMap('0x1f9840a85d5a

export const UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS = '0x8B799381ac40b838BBA4131ffB26197C432AFe78'

/**
* @deprecated use V2_FACTORY_ADDRESSES instead
*/
export const V2_FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f'
export const V2_FACTORY_ADDRESSES: AddressMap = constructSameAddressMap(V2_FACTORY_ADDRESS, [
ChainId.POLYGON,
ChainId.OPTIMISM,
ChainId.CELO,
ChainId.ARBITRUM_ONE,
ChainId.BNB,
ChainId.AVALANCHE,
ChainId.BASE
])
export const V2_FACTORY_ADDRESSES: AddressMap = {
[ChainId.MAINNET]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
[ChainId.GOERLI]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
[ChainId.SEPOLIA]: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
[ChainId.OPTIMISM]: '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf',
[ChainId.ARBITRUM_ONE]: '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9',
[ChainId.AVALANCHE]: '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C',
[ChainId.BASE]: '0x8909dc15e40173ff4699343b6eb8132c65e18ec6',
[ChainId.BNB]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6',
[ChainId.POLYGON]: '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C',
[ChainId.CELO]: '0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f'
}
/**
* @deprecated use V2_ROUTER_ADDRESSES instead
*/
Expand Down
Loading