Skip to content

Commit

Permalink
feat(universal-router-sdk): v4 for zora unichain blast L1 (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: dianakocsis <diana.kocsis@uniswap.org>
  • Loading branch information
jsy1218 and dianakocsis authored Jan 24, 2025
1 parent 63536c9 commit 7649e4e
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 37 deletions.
10 changes: 5 additions & 5 deletions sdks/universal-router-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"dependencies": {
"@openzeppelin/contracts": "4.7.0",
"@uniswap/permit2-sdk": "^1.3.0",
"@uniswap/router-sdk": "^1.20.0",
"@uniswap/sdk-core": "^7.3.0",
"@uniswap/router-sdk": "^1.21.0",
"@uniswap/sdk-core": "^7.5.0",
"@uniswap/universal-router": "2.0.0-beta.2",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-sdk": "^4.11.0",
"@uniswap/v2-sdk": "^4.13.0",
"@uniswap/v3-core": "1.0.0",
"@uniswap/v3-sdk": "^3.23.0",
"@uniswap/v4-sdk": "^1.17.0",
"@uniswap/v3-sdk": "^3.24.0",
"@uniswap/v4-sdk": "^1.18.0",
"bignumber.js": "^9.0.2",
"ethers": "^5.7.0"
},
Expand Down
19 changes: 11 additions & 8 deletions sdks/universal-router-sdk/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
creationBlock: 17143817,
},
[UniversalRouterVersion.V2_0]: {
address: '0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD',
creationBlock: 17143817,
address: '0x66a9893cc07d91d95644aedd05d03f95e1dba8af',
creationBlock: 1737658355,
},
},
},
Expand Down Expand Up @@ -229,6 +229,7 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
},
},
},
// blast
[81457]: {
weth: '0x4300000000000000000000000000000000000004',
routerConfigs: {
Expand All @@ -237,11 +238,12 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
creationBlock: 1116444,
},
[UniversalRouterVersion.V2_0]: {
address: '0x643770E279d5D0733F21d6DC03A8efbABf3255B4',
creationBlock: 1116444,
address: '0xeabbcb3e8e415306207ef514f660a3f820025be3',
creationBlock: 1737564586,
},
},
},
// zora
[7777777]: {
weth: '0x4200000000000000000000000000000000000006',
routerConfigs: {
Expand All @@ -250,8 +252,8 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
creationBlock: 11832155,
},
[UniversalRouterVersion.V2_0]: {
address: '0x2986d9721A49838ab4297b695858aF7F17f38014',
creationBlock: 11832155,
address: '0x3315ef7ca28db74abadc6c44570efdf06b04b020',
creationBlock: 1737562927,
},
},
},
Expand Down Expand Up @@ -295,6 +297,7 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
},
},
},
// unichain mainnet
[130]: {
weth: '0x4200000000000000000000000000000000000006',
routerConfigs: {
Expand All @@ -303,8 +306,8 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = {
creationBlock: 23678,
},
[UniversalRouterVersion.V2_0]: {
address: '0x4D73A4411CA1c660035e4AECC8270E5DdDEC8C17',
creationBlock: 23678,
address: '0xef740bf23acae26f6492b10de645d6b98dc8eaf3',
creationBlock: 1737568156,
},
},
},
Expand Down
Loading

0 comments on commit 7649e4e

Please sign in to comment.