2023-11-22 12:33:21 +00:00
|
|
|
specVersion: 0.0.4
|
2021-09-28 06:58:43 +00:00
|
|
|
schema:
|
|
|
|
file: ./schema.graphql
|
|
|
|
dataSources:
|
|
|
|
- kind: ethereum/contract
|
|
|
|
name: Example1
|
|
|
|
network: mainnet
|
|
|
|
source:
|
2022-06-08 06:43:52 +00:00
|
|
|
address: "0x1ca7c995f8eF0A2989BbcE08D5B7Efe50A584aa1"
|
2021-09-28 06:58:43 +00:00
|
|
|
abi: Example1
|
2022-05-06 06:06:14 +00:00
|
|
|
startBlock: 10
|
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-26 12:18:08 +00:00
|
|
|
- event: Test(string,uint8,uint256)
|
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
|