-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
32 lines (32 loc) · 968 Bytes
/
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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: NftMarketPlace
network: sepolia
source:
address: "0x48fc465016F5F967cA5fBc5538D853c49880Eb38"
abi: NftMarketPlace
startBlock: 5379683
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ItemBought
- ItemCanceled
- ItemListed
abis:
- name: NftMarketPlace
file: ./abis/NftMarketPlace.json
eventHandlers:
- event: ItemBought(indexed address,indexed address,indexed uint256,uint256)
handler: handleItemBought
- event: ItemCanceled(indexed address,indexed address,indexed uint256)
handler: handleItemCanceled
- event: ItemListed(indexed address,indexed address,indexed uint256,uint256)
handler: handleItemListed
file: ./src/nft-market-place.ts