specVersion: 0.0.2 description: Uniswap is a decentralized protocol for automated token exchange on Ethereum. repository: https://github.com/Uniswap/uniswap-v3-subgraph schema: file: ./schema.graphql graft: base: QmPrb5mvZj3ycUugZgwLWCvK93jfXfhvfjRXrFk4tRmyCX block: 14292820 features: - nonFatalErrors dataSources: - kind: ethereum/contract name: Factory network: mainnet source: address: '0x1F98431c8aD98523631AE4a59f267346ea31F984' abi: Factory startBlock: 12369621 mapping: kind: ethereum/events apiVersion: 0.0.4 language: wasm/assemblyscript file: ./src/mappings/factory.ts entities: - Pool - Token abis: - name: Factory file: ./abis/factory.json - name: ERC20 file: ./abis/ERC20.json - name: ERC20SymbolBytes file: ./abis/ERC20SymbolBytes.json - name: ERC20NameBytes file: ./abis/ERC20NameBytes.json - name: Pool file: ./abis/pool.json eventHandlers: - event: PoolCreated(indexed address,indexed address,indexed uint24,int24,address) handler: handlePoolCreated - kind: ethereum/contract name: NonfungiblePositionManager network: mainnet source: address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' abi: NonfungiblePositionManager startBlock: 12369651 mapping: kind: ethereum/events apiVersion: 0.0.4 language: wasm/assemblyscript file: ./src/mappings/position-manager.ts entities: - Pool - Token abis: - name: NonfungiblePositionManager file: ./abis/NonfungiblePositionManager.json - name: Pool file: ./abis/pool.json - name: Factory file: ./abis/factory.json - name: ERC20 file: ./abis/ERC20.json eventHandlers: - event: IncreaseLiquidity(indexed uint256,uint128,uint256,uint256) handler: handleIncreaseLiquidity - event: DecreaseLiquidity(indexed uint256,uint128,uint256,uint256) handler: handleDecreaseLiquidity - event: Collect(indexed uint256,address,uint256,uint256) handler: handleCollect - event: Transfer(indexed address,indexed address,indexed uint256) handler: handleTransfer templates: - kind: ethereum/contract name: Pool network: mainnet source: abi: Pool mapping: kind: ethereum/events apiVersion: 0.0.4 language: wasm/assemblyscript file: ./src/mappings/core.ts entities: - Pool - Token abis: - name: Pool file: ./abis/pool.json - name: Factory file: ./abis/factory.json - name: ERC20 file: ./abis/ERC20.json eventHandlers: - event: Initialize(uint160,int24) handler: handleInitialize - event: Swap(indexed address,indexed address,int256,int256,uint160,uint128,int24) handler: handleSwap - event: Mint(address,indexed address,indexed int24,indexed int24,uint128,uint256,uint256) handler: handleMint - event: Burn(indexed address,indexed int24,indexed int24,uint128,uint256,uint256) handler: handleBurn - event: Flash(indexed address,indexed address,uint256,uint256,uint256,uint256) handler: handleFlash