-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
100 lines (100 loc) · 3.06 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
specVersion: 0.0.2
description: Oneverse Subgraph
repository: https://github.com/Harmolecules/subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: PuffMarketplace
network: mainnet
source:
address: "0x1b60FB41d26836604bcE7Daa13DC65c60aAa9307"
abi: PuffMarketplace
startBlock: 27255517
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NFT
- Bid
abis:
- name: PuffMarketplace
file: ./abis/PuffMarketplace.json
eventHandlers:
- event: tokenListed(indexed address,indexed uint256,uint8,uint256)
handler: handleListing
- event: tokenDeListed(indexed uint256,uint8)
handler: handleDelisting
- event: tokenBought(indexed address,indexed uint256)
handler: handleTokenBought
- event: receivedBid(indexed address,indexed uint256,uint256)
handler: handleReceivedBid
file: ./src/mappings/marketplace.ts
- kind: ethereum/contract
name: PuffNFT
network: mainnet
source:
address: "0x870c0238e8779fe9f568dd1cc907fa449dbe8552"
abi: PuffNFT
startBlock: 20614713
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NFT
abis:
- name: PuffNFT
file: ./abis/PuffNFT.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer_NFTs
file: ./src/mappings/nft.ts
- kind: ethereum/contract
name: HarmoleculesMarketplace
network: mainnet
source:
address: "0x1FB8E90FB74DAC4EA43b7341CB0F7ACC70c93e63"
abi: HarmoleculesMarketplace
startBlock: 27258923
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NFT
- Bid
abis:
- name: HarmoleculesMarketplace
file: ./abis/HarmoleculesMarketplace.json
eventHandlers:
- event: tokenListed(indexed address,indexed uint256,uint8,uint256)
handler: handleListing
- event: tokenDeListed(indexed uint256,uint8)
handler: handleDelisting
- event: tokenBought(indexed address,indexed uint256)
handler: handleTokenBought
- event: receivedBid(indexed address,indexed uint256,uint256)
handler: handleReceivedBid
file: ./src/mappings/marketplace.ts
- kind: ethereum/contract
name: HarmoleculesNFT
network: mainnet
source:
address: "0xb44778bfe8a6c3468dcf7219fb104ba7e42f8d2a"
abi: HarmoleculesNFT
startBlock: 19739270
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- NFT
abis:
- name: HarmoleculesNFT
file: ./abis/HarmoleculesNFT.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer_NFTs
file: ./src/mappings/nft.ts