Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
samisbakedham committed Jul 16, 2022
1 parent fcec698 commit e0fa046
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BigInt, BigDecimal, Address } from '@graphprotocol/graph-ts'
import { Factory as FactoryContract } from '../types/templates/Pool/Factory'

export const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000'
export const FACTORY_ADDRESS = '0x1F98431c8aD98523631AE4a59f267346ea31F984'
export const FACTORY_ADDRESS = '0x5Bb7BAE25728e9e51c25466D2A15FaE97834FD95'

export let ZERO_BI = BigInt.fromI32(0)
export let ONE_BI = BigInt.fromI32(1)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/staticTokenDefinition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class StaticTokenDefinition {

// Add WETH
let tokenWETH = new StaticTokenDefinition(
Address.fromString('0x82af49447d8a07e3bd95bd0d56f35241523fbab1'),
Address.fromString('0xb750990F953B36F806d0327678eCFB4eEFd16979'),
'WETH',
'Wrapped Ethereum',
BigInt.fromI32(18)
Expand Down
13 changes: 5 additions & 8 deletions subgraph.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
specVersion: 0.0.2
description: Uniswap is a decentralized protocol for automated token exchange on Ethereum.
graft:
base: Qmf9i13TJknQwcamcLbb75hEhbf3nqDi321XWhtFBj3P5s
block: 10028767
repository: https://github.com/Uniswap/uniswap-v3-subgraph
schema:
file: ./schema.graphql
Expand All @@ -11,9 +8,9 @@ features:
dataSources:
- kind: ethereum/contract
name: Factory
network: optimism
network: candle
source:
address: '0x1F98431c8aD98523631AE4a59f267346ea31F984'
address: '0x5Bb7BAE25728e9e51c25466D2A15FaE97834FD95'
abi: Factory
startBlock: 0
mapping:
Expand All @@ -40,9 +37,9 @@ dataSources:
handler: handlePoolCreated
- kind: ethereum/contract
name: NonfungiblePositionManager
network: optimism
network: candle
source:
address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
address: '0xB307B497aF3fDDF68c27ce0356876dC6b88602D7'
abi: NonfungiblePositionManager
startBlock: 0
mapping:
Expand Down Expand Up @@ -74,7 +71,7 @@ dataSources:
templates:
- kind: ethereum/contract
name: Pool
network: optimism
network: candle
source:
abi: Pool
mapping:
Expand Down

0 comments on commit e0fa046

Please sign in to comment.