-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
112 lines (112 loc) · 4.31 KB
/
subgraph.yaml
File metadata and controls
112 lines (112 loc) · 4.31 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
specVersion: 1.1.0
indexerHints:
prune: never
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: VisibilityCredits
network: abstract
source:
address: "0x0DA6Bfd5d50edb31AF14C3A7820d28dB475Ec97D"
abi: VisibilityCredits
startBlock: 1430938
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CreatorFeeClaimed
- CreatorVisibilitySet
- CreditsTrade
- CreditsTransfer
- ReferrerPartnerSet
abis:
- name: VisibilityCredits
file: ./abis/VisibilityCredits.json
eventHandlers:
- event: CreatorFeeClaimed(indexed address,uint256,string,address)
handler: handleCreatorFeeClaimed
- event: CreatorVisibilitySet(string,address,string)
handler: handleCreatorVisibilitySet
- event: CreditsTrade((address,string,uint256,bool,uint256,uint256,uint256,uint256,uint256,address,address,uint256))
handler: handleCreditsTrade
- event: CreditsTransfer(string,indexed address,indexed address,uint256)
handler: handleCreditsTransfer
- event: ReferrerPartnerSet(address,address)
handler: handleReferrerPartnerSet
file: ./src/visibility-credits.ts
- kind: ethereum
name: VisibilityServices
network: abstract
source:
abi: VisibilityServices
address: "0x89e74F963e506D6921FF33cB75b53b963D7218bE"
startBlock: 1430938
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ServiceCreated
- ServiceExecutionAccepted
- ServiceExecutionCanceled
- ServiceExecutionDisputed
- ServiceExecutionRequested
- ServiceExecutionResolved
- ServiceExecutionValidated
- ServiceUpdated
abis:
- name: VisibilityServices
file: ./abis/VisibilityServices.json
eventHandlers:
- event: BuyBack(string,uint256,uint256)
handler: handleBuyBack
- event: BuyBackPoolUpdated(string,bool,uint256)
handler: handleBuyBackPoolUpdated
- event: ServiceBuyBackUpdated(indexed uint256,uint256)
handler: handleServiceBuyBackUpdated
- event: ServiceCreated(indexed address,indexed uint256,string,string,uint256)
handler: handleServiceCreated
- event: ServiceWithETHCreated(indexed address,indexed uint256,string,string,uint256,uint256)
handler: handleServiceWithETHCreated
- event: ServiceExecutionInformation(indexed uint256,indexed uint256,indexed address,bool,bool,bool,string)
handler: handleServiceExecutionInformation
- event: ServiceExecutionAccepted(indexed uint256,indexed uint256,string)
handler: handleServiceExecutionAccepted
- event: ServiceExecutionCanceled(indexed uint256,indexed uint256,indexed address,string)
handler: handleServiceExecutionCanceled
- event: ServiceExecutionDisputed(indexed uint256,indexed uint256,string)
handler: handleServiceExecutionDisputed
- event: ServiceExecutionEthPayment(indexed uint256,indexed uint256,uint256,uint256,uint256)
handler: handleServiceExecutionEthPayment
- event: ServiceExecutionRequested(indexed uint256,indexed uint256,indexed address,string)
handler: handleServiceExecutionRequested
- event: ServiceExecutionResolved(indexed uint256,indexed uint256,bool,string)
handler: handleServiceExecutionResolved
- event: ServiceExecutionValidated(indexed uint256,indexed uint256)
handler: handleServiceExecutionValidated
- event: ServiceUpdated(indexed uint256,bool)
handler: handleServiceUpdated
file: ./src/visibility-services.ts
- kind: ethereum
name: PointsSBT
network: abstract
source:
address: "0xE19FF0aCF99fc4598003d34E8DF7b828849B9F48"
abi: PointsSBT
startBlock: 1430938
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Sbt
- User
abis:
- name: PointsSBT
file: ./abis/PointsSBT.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/points-sbt.ts