-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
31 lines (31 loc) · 950 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Oven
network: arbitrum-goerli
source:
abi: Oven
address: "0xad2e65a73b714d5c5f5a49a388023cd36e0443db"
startBlock: 58510667
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AaveSupplyAndBorrow
- AaveWithdraw
- OwnershipTransferred
abis:
- name: Oven
file: ./abis/Oven.json
eventHandlers:
- event: AaveSupplyAndBorrow(indexed address,indexed
address,uint256,uint256,indexed address)
handler: handleAaveSupplyAndBorrow
- event: AaveWithdraw(indexed address,indexed uint256,indexed address)
handler: handleAaveWithdraw
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
file: ./src/oven.ts