2021-09-28 06:58:43 +00:00
|
|
|
specVersion: 0.0.2
|
|
|
|
schema:
|
|
|
|
file: ./schema.graphql
|
|
|
|
dataSources:
|
|
|
|
- kind: ethereum/contract
|
|
|
|
name: Example1
|
|
|
|
network: mainnet
|
|
|
|
source:
|
2021-11-10 07:42:37 +00:00
|
|
|
address: ""
|
2021-09-28 06:58:43 +00:00
|
|
|
abi: Example1
|
2021-11-18 12:33:36 +00:00
|
|
|
startBlock: 100
|
2021-09-28 06:58:43 +00:00
|
|
|
mapping:
|
|
|
|
kind: ethereum/events
|
|
|
|
apiVersion: 0.0.5
|
|
|
|
language: wasm/assemblyscript
|
|
|
|
entities:
|
|
|
|
- Test
|
|
|
|
abis:
|
|
|
|
- name: Example1
|
|
|
|
file: ./abis/Example1.json
|
|
|
|
eventHandlers:
|
2021-11-01 09:43:22 +00:00
|
|
|
- event: Test(string,uint8)
|
2021-09-28 06:58:43 +00:00
|
|
|
handler: handleTest
|
2021-11-15 06:41:56 +00:00
|
|
|
blockHandlers:
|
|
|
|
- handler: handleBlock
|
2021-09-28 06:58:43 +00:00
|
|
|
file: ./src/mapping.ts
|