-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
40 lines (40 loc) · 1.34 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: LooksRareExchange
network: mainnet
source:
address: "0x59728544B08AB483533076417FbBB2fD0B17CE3a"
startBlock: 13885625
abi: LooksRareExchange
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CancelAllOrders
- CancelMultipleOrders
- NewCurrencyManager
- NewExecutionManager
- NewProtocolFeeRecipient
- NewRoyaltyFeeManager
- NewTransferSelectorNFT
- OwnershipTransferred
- RoyaltyPayment
- TakerAsk
- TakerBid
abis:
- name: LooksRareExchange
file: ./abis/LooksRareExchange.json
eventHandlers:
# - event: CancelAllOrders(indexed address,uint256)
# handler: handleCancelAllOrders
# - event: CancelMultipleOrders(indexed address,uint256[])
# handler: handleCancelMultipleOrders
- 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/mapping.ts