-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
42 lines (42 loc) · 972 Bytes
/
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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: kBTC
network: bsc
source:
address: "0x9356f6d95b8E109F4b7Ce3E49D672967d3B48383"
abi: kBTC
startBlock: 40513587
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AdminChanged
- Approval
- BeaconUpgraded
- EnforcedOptionSet
- Initialized
- MsgInspectorSet
- NewAggregator
- NewRate
- NewSlash
- OFTReceived
- OFTSent
- OwnershipTransferred
- PeerSet
- PreCrimeSet
- RelayToBTCAddress
- Transfer
- Upgraded
abis:
- name: kBTC
file: ./abis/kBTC.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/k-btc.ts