From eb403bfbddbbd1541c1103792720f9b6beac78bf Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:57:21 -0700 Subject: [PATCH] fix(universal-router-sdk): update astrochain sepolia ur 2.0 address (#160) --- sdks/universal-router-sdk/package.json | 2 +- sdks/universal-router-sdk/src/utils/constants.ts | 4 ++-- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sdks/universal-router-sdk/package.json b/sdks/universal-router-sdk/package.json index 272769b39..09da82e73 100644 --- a/sdks/universal-router-sdk/package.json +++ b/sdks/universal-router-sdk/package.json @@ -32,7 +32,7 @@ "@openzeppelin/contracts": "4.7.0", "@uniswap/permit2-sdk": "^1.3.0", "@uniswap/router-sdk": "^1.14.2", - "@uniswap/sdk-core": "^5.8.0", + "@uniswap/sdk-core": "^5.8.2", "@uniswap/universal-router": "2.0.0-beta.1", "@uniswap/v2-core": "^1.0.1", "@uniswap/v2-sdk": "^4.6.0", diff --git a/sdks/universal-router-sdk/src/utils/constants.ts b/sdks/universal-router-sdk/src/utils/constants.ts index 1e1d0c023..87f6b6034 100644 --- a/sdks/universal-router-sdk/src/utils/constants.ts +++ b/sdks/universal-router-sdk/src/utils/constants.ts @@ -289,8 +289,8 @@ export const CHAIN_CONFIGS: { [key: number]: ChainConfig } = { creationBlock: 1241811, }, [UniversalRouterVersion.V2_0]: { - address: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', - creationBlock: 1241811, + address: '0xcA7577Afb670147c7b211C798B97118bd36058F3', + creationBlock: 1490973, }, }, }, diff --git a/yarn.lock b/yarn.lock index 9b1d61507..7a8160054 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4639,9 +4639,9 @@ __metadata: languageName: unknown linkType: soft -"@uniswap/sdk-core@npm:^5.0.0, @uniswap/sdk-core@npm:^5.3.0, @uniswap/sdk-core@npm:^5.3.1, @uniswap/sdk-core@npm:^5.8.0, @uniswap/sdk-core@npm:^5.8.1": - version: 5.8.1 - resolution: "@uniswap/sdk-core@npm:5.8.1" +"@uniswap/sdk-core@npm:^5.0.0, @uniswap/sdk-core@npm:^5.3.0, @uniswap/sdk-core@npm:^5.3.1, @uniswap/sdk-core@npm:^5.8.0, @uniswap/sdk-core@npm:^5.8.1, @uniswap/sdk-core@npm:^5.8.2": + version: 5.8.2 + resolution: "@uniswap/sdk-core@npm:5.8.2" dependencies: "@ethersproject/address": ^5.0.2 "@ethersproject/bytes": ^5.7.0 @@ -4652,7 +4652,7 @@ __metadata: jsbi: ^3.1.4 tiny-invariant: ^1.1.0 toformat: ^2.0.0 - checksum: e475550cd238e87a4fd6670c5a50a9859f9ea5b72c23fe6a25c72fc05a24044286c35981bc0b79b05102251362323e22147cc0140ee8bbf4ae14f323978256bf + checksum: fde13653021cea136e4e8d2e04e7f45559e5cd64481fcd0b087a9cd674bfe053c05faeb5a844651b20dd0b70717723746c7f82060e99a057de9561800f8f0606 languageName: node linkType: hard @@ -4731,7 +4731,7 @@ __metadata: "@types/node-fetch": ^2.6.2 "@uniswap/permit2-sdk": ^1.3.0 "@uniswap/router-sdk": ^1.14.2 - "@uniswap/sdk-core": ^5.8.0 + "@uniswap/sdk-core": ^5.8.2 "@uniswap/universal-router": 2.0.0-beta.1 "@uniswap/v2-core": ^1.0.1 "@uniswap/v2-sdk": ^4.6.0