-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubgraph.yaml
28 lines (28 loc) · 879 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: LooksRare
network: mainnet
source:
address: "0x59728544B08AB483533076417FbBB2fD0B17CE3a"
abi: LooksRare
startBlock: 13885625
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- collection
- token
- transfer
abis:
- name: LooksRare
file: ./abis/LooksRare.json
eventHandlers:
- event: TakerAsk(bytes32,uint256,indexed address,indexed address,indexed address,address,address,uint256,uint256,uint256)
handler: handleTakerAsk
- event: TakerBid(bytes32,uint256,indexed address,indexed address,indexed address,address,address,uint256,uint256,uint256)
handler: handleTakerBid
file: ./src/LooksRareSale.ts