Skip to content

Commit

Permalink
fix: update celo contract addresses (#109)
Browse files Browse the repository at this point in the history
* fix: updated celo addresses

* fix: updated celo subgraph
  • Loading branch information
Jesse-Sawa authored Jul 7, 2022
1 parent 53c6bef commit 121e9ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/providers/v3/subgraph-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import Timeout from 'await-timeout';
import { gql, GraphQLClient } from 'graphql-request';
import _ from 'lodash';

import { ChainId } from '../../util/chains';
import { log } from '../../util/log';
import { ChainId, log } from '../../util';
import { ProviderConfig } from '../provider';
import { V2SubgraphPool } from '../v2/subgraph-provider';

Expand Down Expand Up @@ -57,7 +56,7 @@ const SUBGRAPH_URL_BY_CHAIN: { [chainId in ChainId]?: string } = {
[ChainId.POLYGON]:
'https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-polygon',
[ChainId.CELO]:
'https://api.thegraph.com/subgraphs/name/joaquin-hernandez/uniswapv3-subgraph-celo',
'https://api.thegraph.com/subgraphs/name/jesse-sawa/uniswap-celo',
[ChainId.GÖRLI]:
'https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-gorli',
};
Expand Down
6 changes: 3 additions & 3 deletions src/util/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { FACTORY_ADDRESS } from '@uniswap/v3-sdk';
import { ChainId, NETWORKS_WITH_SAME_UNISWAP_ADDRESSES } from './chains';

const CELO_V3_CORE_FACTORY_ADDRESSES =
'0xd9dc0d8f754c027DF7eCB4BD381301cEC76CD32F';
const CELO_QUOTER_ADDRESSES = '0x2CD7EB648DadDF69468bBa4BdA644d9905a58b64';
const CELO_MULTICALL_ADDRESS = '0x9e824152ADA7574b659585f51e7Da9BeC9F4aC74';
'0xAfE208a311B21f13EF87E33A90049fC17A7acDEc';
const CELO_QUOTER_ADDRESSES = '0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8';
const CELO_MULTICALL_ADDRESS = '0x633987602DE5C4F337e3DbF265303A1080324204';

export const V3_CORE_FACTORY_ADDRESSES: AddressMap = {
...constructSameAddressMap(FACTORY_ADDRESS),
Expand Down

0 comments on commit 121e9ba

Please sign in to comment.