-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
113 lines (113 loc) · 4.27 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
101
102
103
104
105
106
107
108
109
110
111
112
113
specVersion: 0.0.5
description: DiGi Media
repository: https://github.com/kimhabork/digi-v1
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Media
network: sepolia
source:
address: "0xDF52bBA1d9fe251236a0cd85f17f5c23E2490763"
abi: Media
startBlock: 4367896
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Media
abis:
- name: Media
file: ./abis/Media.json
- name: Market
file: ./abis/Market.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
- event: TokenURIUpdated(indexed uint256,address,string)
handler: handleTokenURIUpdated
- event: TokenMetadataURIUpdated(indexed uint256,address,string)
handler: handleTokenMetadataURIUpdated
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
file: ./src/media.ts
- kind: ethereum/contract
name: Market
network: sepolia
source:
address: "0x93E7b21c62DFAFf37Defd54000BFf35E3747f211"
abi: Market
startBlock: 4367806
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Ask
- Bid
abis:
- name: Market
file: ./abis/Market.json
- name: ERC20
file: ./abis/ERC20.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
- name: ERC20NameBytes
file: ./abis/ERC20NameBytes.json
eventHandlers:
- event: BidShareUpdated(indexed uint256,((uint256),(uint256),(uint256)))
handler: handleBidShareUpdated
- event: AskCreated(indexed uint256,(uint256,address))
handler: handleAskCreated
- event: AskRemoved(indexed uint256,(uint256,address))
handler: handleAskRemoved
- event: BidCreated(indexed uint256,(uint256,address,address,address,(uint256)))
handler: handleBidCreated
- event: BidRemoved(indexed uint256,(uint256,address,address,address,(uint256)))
handler: handleBidRemoved
- event: BidFinalized(indexed uint256,(uint256,address,address,address,(uint256)))
handler: handleBidFinalized
file: ./src/market.ts
- kind: ethereum/contract
name: AuctionHouse
network: sepolia
source:
address: "0x545D1e38589390Bc0B862232EE29956f134Faa69"
abi: AuctionHouse
startBlock: 4368022
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ReserveAuction
- ReserveAuctionBid
- InactiveReserveAuctionBid
abis:
- name: AuctionHouse
file: ./abis/AuctionHouse.json
- name: ERC20
file: ./abis/ERC20.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
- name: ERC20NameBytes
file: ./abis/ERC20NameBytes.json
eventHandlers:
- event: AuctionCreated(indexed uint256,indexed uint256,indexed address,uint256,uint256,address,address,uint8,address)
handler: handleReserveAuctionCreated
- event: AuctionApprovalUpdated(indexed uint256,indexed uint256,indexed address,bool)
handler: handleReserveAuctionApprovalUpdate
- event: AuctionReservePriceUpdated(indexed uint256,indexed uint256,indexed address,uint256)
handler: handleReserveAuctionReservePriceUpdate
- event: AuctionBid(indexed uint256,indexed uint256,indexed address,address,uint256,bool,bool)
handler: handleReserveAuctionBid
- event: AuctionDurationExtended(indexed uint256,indexed uint256,indexed address,uint256)
handler: handleReserveAuctionDurationExtended
- event: AuctionEnded(indexed uint256,indexed uint256,indexed address,address,address,address,uint256,uint256,address)
handler: handleReserveAuctionEnded
- event: AuctionCanceled(indexed uint256,indexed uint256,indexed address,address)
handler: handleReserveAuctionCanceled
file: ./src/auctionHouse.ts