From e0903ebb0d6c477bbaeeacb1de9db93914fc63cb Mon Sep 17 00:00:00 2001 From: Enr Labs Date: Fri, 12 Jan 2024 04:26:44 +0000 Subject: [PATCH] add core --- .npmrcv | 1 + package.json | 6 +++--- src/addresses.ts | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .npmrcv diff --git a/.npmrcv b/.npmrcv new file mode 100644 index 0000000..2198eb8 --- /dev/null +++ b/.npmrcv @@ -0,0 +1 @@ +//npm.pkg.github.com/:_authToken=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 \ No newline at end of file diff --git a/package.json b/package.json index 314a5be..7b0ceb5 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "@uniswap/sdk-core", + "name": "@engramnetwork/sdk-core", "license": "MIT", - "version": "4.0.10", + "version": "4.0.11", "description": "⚒️ An SDK for building applications on top of Uniswap V3", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist" ], - "repository": "https://github.com/Uniswap/uniswap-sdk-core.git", + "repository": "https://github.com/engram-network/engram-sdk.git", "keywords": [ "uniswap", "ethereum" diff --git a/src/addresses.ts b/src/addresses.ts index 84319f6..ebdbf6a 100644 --- a/src/addresses.ts +++ b/src/addresses.ts @@ -13,7 +13,7 @@ type ChainAddresses = { v1MixedRouteQuoterAddress?: string } -const DEFAULT_NETWORKS = [ChainId.ENGRAM, ChainId.MAINNET, ChainId.GOERLI, ChainId.SEPOLIA] +const DEFAULT_NETWORKS = [ChainId.ENGRAM, ChainId.SEPOLIA] function constructSameAddressMap(address: string, additionalNetworks: ChainId[] = []): AddressMap { return DEFAULT_NETWORKS.concat(additionalNetworks).reduce((memo, chainId) => { @@ -173,7 +173,7 @@ const BASE_GOERLI_ADDRESSES: ChainAddresses = { swapRouter02Address: '0x8357227D4eDc78991Db6FDB9bD6ADE250536dE1d' } -// Base Goerli v3 addresses +// Engram Tokio v3 addresses const ENGRAM_ADDRESSES: ChainAddresses = { v3CoreFactoryAddress: '0x9c63aC61d11081FaAF813158887611f36b900cD3', multicallAddress: '0xE13898De54606eeCA2ea8086be7a4Fcbf795D83b',