-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
63 lines (63 loc) · 2.55 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: OpenFlux
network: mainnet
source:
address: "0x8aac64080b6cd5211aec244abc53a437ca2b5452"
abi: OpenFlux
startBlock: 89718605
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CollectionAdded
- CollectionEdited
- CollectionOfferAccepted
- CollectionOfferCancelled
- CollectionOfferMade
- CollectionRemoved
- ListingCancelled
- ListingEdited
- NFTListed
- NFTPurchased
- OfferAcceptedForNFT
- OfferCancelledForNFT
- OfferMadeForNFT
- OwnershipTransferred
abis:
- name: OpenFlux
file: ./abis/OpenFlux.json
eventHandlers:
- event: CollectionAdded(indexed address,address)
handler: handleCollectionAdded
- event: CollectionEdited(indexed address,address)
handler: handleCollectionEdited
- event: CollectionOfferAccepted(indexed address,indexed address,address,uint256,uint256,address)
handler: handleCollectionOfferAccepted
- event: CollectionOfferCancelled(indexed address,indexed address)
handler: handleCollectionOfferCancelled
- event: CollectionOfferMade(indexed address,indexed address,uint256,address)
handler: handleCollectionOfferMade
- event: CollectionRemoved(indexed address)
handler: handleCollectionRemoved
- event: ListingCancelled(indexed address,indexed uint256)
handler: handleListingCancelled
- event: ListingEdited(indexed address,indexed uint256,uint256)
handler: handleListingEdited
- event: NFTListed(indexed address,indexed uint256,indexed address,uint256,address)
handler: handleNFTListed
- event: NFTPurchased(indexed address,indexed uint256,indexed address,address,address,uint256)
handler: handleNFTPurchased
- event: OfferAcceptedForNFT(indexed address,indexed uint256,indexed address,address,uint256,address)
handler: handleOfferAcceptedForNFT
- event: OfferCancelledForNFT(indexed address,indexed uint256,indexed address)
handler: handleOfferCancelledForNFT
- event: OfferMadeForNFT(indexed address,indexed uint256,indexed address,uint256,address)
handler: handleOfferMadeForNFT
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
file: ./src/open-flux.ts