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

Commit

Permalink
update universap 02 router address
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Feb 8, 2024
1 parent 5365ae4 commit 8e0d74c
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/sdk-core.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 85 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ export const V2_FACTORY_ADDRESSES: AddressMap = constructSameAddressMap(V2_FACTO
ChainId.BASE
])
export const V2_ROUTER_ADDRESS = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D'
export const V2_ROUTER_ADDRESSES: AddressMap = constructSameAddressMap(V2_ROUTER_ADDRESS)
export const V2_ROUTER_ADDRESSES: AddressMap = {
[ChainId.ARBITRUM_ONE]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
[ChainId.OPTIMISM]: '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2',
[ChainId.BASE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24',
[ChainId.AVALANCHE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24',
[ChainId.BNB]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24',
[ChainId.POLYGON]: '0xedf6066a2b290c185783862c7f4776a2c8077ad1',
}

// Networks that share most of the same addresses i.e. Mainnet, Goerli, Optimism, Arbitrum, Polygon
const DEFAULT_ADDRESSES: ChainAddresses = {
Expand Down

0 comments on commit 8e0d74c

Please sign in to comment.