-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
167 lines (167 loc) · 6.27 KB
/
Copy pathsubgraph.yaml
File metadata and controls
167 lines (167 loc) · 6.27 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Marketplace
network: mumbai
source:
address: "0xE6B4C2a0640bbd797b3361F79708F1d373eDfF30"
abi: Marketplace
startBlock: 32871453
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- SupportedCollection
- SaleInfo
abis:
- name: Marketplace
file: ./abis/Marketplace.json
- name: IERC721
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721.json
- name: IERC721Metadata
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721Metadata.json
- name: Contract721
file: ./abis/Contract721.json
eventHandlers:
- event: CollectionAdded(indexed address,indexed address,uint256,uint8)
handler: handleCollectionAdded
- event: CollectionRemoved(address)
handler: handleCollectionRemoved
- event: CollectionUnverify(indexed address,indexed uint8)
handler: handleCollectionUnverify
- event: CollectionUpdated(indexed address,indexed address,uint256,indexed uint8)
handler: handleCollectionUpdated
- event: CollectionVerify(indexed address,indexed uint8)
handler: handleCollectionVerify
- event: ItemDelisted(indexed address,indexed uint32,indexed address)
handler: handleItemDelisted
- event: ItemListed(indexed address,indexed uint32,uint256,indexed address)
handler: handleItemListed
- event: ItemSold(indexed address,indexed address,uint32,uint256,indexed address)
handler: handleItemSold
- event: ItemUpdated(indexed address,indexed uint32,uint256,indexed address)
handler: handleItemUpdated
- event: RevenueWithdrawn(indexed address,indexed uint256)
handler: handleRevenueWithdrawn
file: ./src/contracts/marketplace.ts
- kind: ethereum
name: IERC721
network: mumbai
source:
abi: IERC721
startBlock: 32871453
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- transfer
- transaction
- account
abis:
- name: IERC721
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721.json
- name: IERC721Metadata
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721Metadata.json
- name: Contract721
file: ./abis/Contract721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
file: ./src/eip721/index.ts
- kind: ethereum
name: WETH
network: mumbai
source:
address: "0x69567cffe9918dbef4cd24b30fddce4c13389dcf"
abi: ERC20Abi
startBlock: 32871453
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- wethTransaction
abis:
- name: ERC20Abi
file: ./abis/ERC20Abi.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/utils/wethUtil.ts
- kind: ethereum
name: Offers
network: mumbai
source:
address: "0x51F349056f7c4D234E60e3B347a12B9ad5f84C17"
abi: Offers
startBlock: 32871453
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CollectionOffer
- CollectionsTokenOffer
abis:
- name: Offers
file: ./abis/Offers.json
- name: IERC721
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721.json
- name: IERC721Metadata
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721Metadata.json
- name: Contract721
file: ./abis/Contract721.json
eventHandlers:
- event: CollectionOfferAccepted(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleCollectionOfferAccepted
- event: CollectionOfferCreated(indexed address,indexed address,indexed uint256,uint256,uint256)
handler: handleCollectionOfferCreated
- event: CollectionOfferDeleted(indexed address,indexed address,indexed uint256)
handler: handleCollectionOfferDeleted
- event: OfferAccepted(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleOfferAccepted
- event: OfferCancelled(indexed address,address,indexed address,indexed uint256)
handler: handleOfferCancelled
- event: OfferCreated(indexed address,indexed address,uint256,indexed address,uint256,uint256)
handler: handleOfferCreated
- event: OfferUpdated(indexed address,indexed address,uint256,indexed address,uint256,uint256)
handler: handleOfferUpdated
file: ./src/contracts/offers.ts
- kind: ethereum
name: Auction
network: mumbai
source:
address: "0xc97F99411316C441fd4f524c02A78836Fc075E1E"
abi: Auction
startBlock: 32871453
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- BidAccepted
abis:
- name: Auction
file: ./abis/Auction.json
eventHandlers:
- event: AuctionCancelled(indexed address,indexed address,indexed uint256)
handler: handleAuctionCancelled
- event: AuctionStarted(indexed address,indexed address,indexed uint256,uint256,uint256)
handler: handleAuctionStarted
- event: BidAccepted(address,indexed address,uint256,indexed address,indexed uint256)
handler: handleBidAccepted
- event: BidCancelled(indexed address,indexed address,indexed uint256,uint256)
handler: handleBidCancelled
- event: BidCreated(indexed address,indexed address,indexed uint256,uint256)
handler: handleBidCreated
file: ./src/contracts/auction.ts
features:
- fullTextSearch