-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
73 lines (73 loc) · 2.25 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
features:
- fullTextSearch
- nonFatalErrors
- ipfsOnEthereumContracts
dataSources:
- kind: ethereum
name: StakeManager
network: mumbai
source:
address: "0xf8b78b86d486f2C42e2481E7529E18E126EA38FF"
abi: StakeManager
startBlock: 32503390
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- StakeToken
- UnstakeToken
- LockStake
- UnlockStake
- BurnLockedStake
abis:
- name: StakeManager
file: ./abis/StakeManager.json
eventHandlers:
- event: StakeToken(indexed address,uint256)
handler: handleStakeToken
- event: UnstakeToken(indexed address,uint256)
handler: handleUnstakeToken
- event: LockStake(indexed address,uint256)
handler: handleLockStake
- event: UnlockStake(indexed address,uint256)
handler: handleUnlockStake
- event: BurnLockedStake(indexed address,uint256)
handler: handleBurnLockedStake
file: ./src/staking_mapping.ts
- kind: ethereum
name: ListingManager
network: mumbai
source:
address: "0xf891DA914F15fb7E9604fD7e51Deb8D0AF79de8b"
abi: ListingManager
startBlock: 32503713
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ListingCancelled
- ListingCreated
- ListingReportResult
- ListingReported
- ListingUpdated
- OwnershipTransferred
abis:
- name: ListingManager
file: ./abis/ListingManager.json
eventHandlers:
- event: ListingCancelled(indexed bytes32)
handler: handleListingCancelled
- event: ListingCreated(indexed bytes32,indexed address,string,uint256,uint256,uint256,uint256,uint256)
handler: handleListingCreated
- event: ListingReportResult(indexed bytes32,uint256)
handler: handleListingReportResult
- event: ListingReported(indexed bytes32)
handler: handleListingReported
- event: ListingUpdated(indexed bytes32,uint256)
handler: handleListingUpdated
file: ./src/listing_mapping.ts