UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

43 lines (42 loc) 1.04 kB
specVersion: 0.0.1 schema: file: ./schema.graphql dataSources: - kind: ethereum/contract name: DataSource source: address: '0x22843e74c59580b3eaf6c233fa67d8b7c561a835' abi: NonExistentAbi mapping: kind: ethereum/events apiVersion: 0.0.5 language: wasm/assemblyscript file: ./mapping.ts entities: - ExampleEntity abis: - name: FirstAbi file: ./Abi.json - name: SecondAbi file: ./Abi.json eventHandlers: - event: ExampleEvent(string) handler: handleExampleEvent templates: - kind: ethereum/contract name: ExampleTemplate source: abi: ExampleContract mapping: kind: ethereum/events apiVersion: 0.0.5 language: wasm/assemblyscript file: ./mapping.ts entities: - ExampleEntity abis: - name: ExampleContract file: ./Abi.json eventHandlers: - event: ExampleEvent(string,uint256) handler: handleExampleEvent