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

Commit

Permalink
add core
Browse files Browse the repository at this point in the history
  • Loading branch information
enrlabs committed Jan 12, 2024
1 parent bfab82b commit e0903eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .npmrcv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//npm.pkg.github.com/:_authToken=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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<AddressMap>((memo, chainId) => {
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit e0903eb

Please sign in to comment.