instadapp-dsa-subgraph/subgraph.yaml
2020-05-20 17:31:12 -03:00

36 lines
1.1 KiB
YAML

specVersion: 0.0.2
description: Augur v2 subgraph
repository: https://github.com/protofire/augur-v2-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: InstaIndex
network: mainnet
source:
address: "0x2971adfa57b20e5a416ae5a708a8655a9c74f723"
abi: InstaIndex
startBlock: 9747241
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/index.ts
entities:
- User
- SmartAccount
abis:
- name: InstaIndex
file: ./abis/InstaIndex.json
eventHandlers:
- event: LogAccountCreated(address,indexed address,indexed address,indexed address)
handler: handleLogAccountCreated
- event: LogNewAccount(indexed address,indexed address,indexed address)
handler: handleLogNewAccount
- event: LogNewCheck(indexed uint256,indexed address)
handler: handleLogNewCheck
- event: LogNewMaster(indexed address)
handler: handleLogNewMaster
- event: LogUpdateMaster(indexed address)
handler: handleLogUpdateMaster