-
Notifications
You must be signed in to change notification settings - Fork 3
/
subgraph.mumbai.yaml
48 lines (48 loc) · 1.8 KB
/
subgraph.mumbai.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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Contract
network: mumbai
source:
address: "0xC022b0Ee6DE8D5B2780Ee9A2380eB883D1aAf78E"
abi: Contract
startBlock: 29313749
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- AuctionCancelled
- Auction_BidPlaced
- Auction_BidRemoved
- Auction_EndTimeUpdated
- Auction_IncentivePaid
- Auction_Initialized
- Auction_ItemClaimed
- Auction_StartTimeUpdated
- Contract_BiddingAllowed
abis:
- name: Contract
file: ./abis/abi_gbm.json
eventHandlers:
- event: AuctionCancelled(indexed uint256,uint256)
handler: handleAuctionCancelled
- event: Auction_BidPlaced(indexed uint256,indexed address,uint256)
handler: handleAuction_BidPlaced
- event: Auction_BidRemoved(indexed uint256,indexed address,uint256)
handler: handleAuction_BidRemoved
- event: Auction_EndTimeUpdated(indexed uint256,uint256)
handler: handleAuction_EndTimeUpdated
- event: Auction_IncentivePaid(indexed uint256,indexed address,uint256)
handler: handleAuction_IncentivePaid
- event: Auction_Initialized(indexed uint256,indexed uint256,indexed uint256,address,bytes4,uint256)
handler: handleAuction_Initialized
- event: Auction_ItemClaimed(indexed uint256)
handler: handleAuction_ItemClaimed
- event: Auction_StartTimeUpdated(indexed uint256,uint256,uint256)
handler: handleAuction_StartTimeUpdated
- event: Contract_BiddingAllowed(indexed address,bool)
handler: handleContract_BiddingAllowed
file: ./src/mapping.ts