dataSources: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmSd1ASi4muTjAeiUEUo1HrFEmA7xK49m9QfNujZnpipk2 name: Factory - file: /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2 name: ERC20 - file: /: /ipfs/QmQ6sToeb3NTN3EqL1RMGMGQyjqJ5PGeQYFtPLVtP39DkR name: ERC20SymbolBytes - file: /: /ipfs/QmW5mdu5P35eH7vcj54CZUyHeM3mnobmCJYpS5vhLB1Dqw name: ERC20NameBytes apiVersion: 0.0.3 entities: - Exchange eventHandlers: - event: 'NewExchange(indexed address,indexed address)' handler: handleNewExchange file: /: /ipfs/QmUs1RzAat6whzhSSU6XSjFZyUMF1MohmG5frKu4N6vVF1 kind: ethereum/events language: wasm/assemblyscript name: Factory network: mainnet source: abi: Factory address: '0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95' startBlock: 6627917 description: Uniswap is a decentralized protocol for automated token exchange on Ethereum. repository: 'https://github.com/graphprotocol/uniswap-subgraph' schema: file: /: /ipfs/QmRY6DCynz7D2EmdMJqgMP1mDqb7CKmsnUA6NPP21A6Fjd specVersion: 0.0.2 templates: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmZVKJ4sUqikkWbgUH3XJ6qz7i6XvCW15g4n31BXiRVKMP name: Exchange apiVersion: 0.0.3 entities: - Exchange - Uniswap - User - UserExchangeData - Transaction - UniswapDayData - UniswapHistoricalData eventHandlers: - event: 'TokenPurchase(indexed address,indexed uint256,indexed uint256)' handler: handleTokenPurchase - event: 'EthPurchase(indexed address,indexed uint256,indexed uint256)' handler: handleEthPurchase - event: 'AddLiquidity(indexed address,indexed uint256,indexed uint256)' handler: handleAddLiquidity - event: 'RemoveLiquidity(indexed address,indexed uint256,indexed uint256)' handler: handleRemoveLiquidity - event: 'Transfer(indexed address,indexed address,uint256)' handler: handleTransfer file: /: /ipfs/QmTZRqXy9WQtepjajA24yDUMM7DqjJXsW7qiZYaZXorGaS kind: ethereum/events language: wasm/assemblyscript name: Exchange network: mainnet source: abi: Exchange