-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
44 lines (44 loc) · 1.18 KB
/
subgraph.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: MayanSwap
network: mainnet
source:
abi: MayanSwap
address: "0x05B70Fb5477A93bE33822bfB31fDAF2c171970dF"
startBlock: 16206086
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Redeemed
abis:
- name: MayanSwap
file: ./abis/MayanSwap.json
eventHandlers:
- event: Redeemed(indexed uint16,indexed bytes32,indexed uint64)
handler: handleRedeemed
file: ./src/mayan-swap.ts
- kind: ethereum
name: CoreBridge
network: mainnet
source:
abi: CoreBridge
address: "0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B"
startBlock: 16206086
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- LogMessagePublished
abis:
- name: CoreBridge
file: ./abis/CoreBridge.json
eventHandlers:
- event: LogMessagePublished(indexed address,uint64,uint32,bytes,uint8)
handler: handleLogMessagePublishedh
file: ./src/core-bridge.ts