forked from kontrol-apa/cm-market-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
75 lines (75 loc) · 2.28 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
specVersion: 0.0.4
features:
- fullTextSearch
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: CloudMetropolisMarket
network: fuji
source:
address: "0x2a17bc4af2bc7f01af19e51f587218aeba102fea"
startBlock: 13609492
abi: CloudMetropolisMarket
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- AcceptBidEv
- AddListingEv
- CancelBidEv
- CancelListingEv
- CreateBidEv
- FulfillListingEv
- OwnerUpdated
- UpdateListingEv
- UpdateBidEv
abis:
- name: CloudMetropolisMarket
file: ./abis/CloudMetropolisMarket.json
eventHandlers:
- event: AcceptBidEv(uint256,address)
handler: handleAcceptBidEv
- event: AddListingEv(indexed uint256,uint256)
handler: handleAddListingEv
- event: CancelListingEv(indexed uint256)
handler: handleCancelListingEv
- event: CreateBidEv(uint256,uint256,address)
handler: handleCreateBidEv
- event: FulfillListingEv(indexed uint256,uint256)
handler: handleFulfillListingEv
- event: OwnerUpdated(indexed address)
handler: handleOwnerUpdated
- event: UpdateListingEv(indexed uint256,uint256)
handler: handleUpdateListingEv
- event: UpdateBidEv(uint256,uint256)
handler: handleUpdateBidEv
- event : CancelBidEv(uint256)
handler : handleCancelBidEv
file: ./src/mapping.ts
- kind: ethereum
name: CMBlueprint
network: fuji
source:
address: "0x685DAD0606BCF04e39cA3f981d7cea2a6Df0b434"
startBlock: 9025112
abi: CMBlueprint
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- BleuprintBurnEv
- Transfer
abis:
- name: CMBlueprint
file: ./abis/CMBlueprint.json
- name: AlchemyTree
file: ./abis/AlchemyTree.json
eventHandlers:
- event: Combined(indexed address,uint256,uint256,uint256)
handler: handleCombined
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/mapping.ts