-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
162 lines (162 loc) · 5.5 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
specVersion: 0.0.5
description: Grateful
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: VaultsModule
network: optimism
source:
abi: VaultsModule
address: "0xa503A55eb196AAaE0Baa6AE68A4710A4e990df09"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Vault
abis:
- name: VaultsModule
file: ./abis/modules/VaultsModule.sol/VaultsModule.json
eventHandlers:
- event: VaultAdded(indexed bytes32,address,uint256,uint256)
handler: handleVaultAdded
- event: MinRateChanged(indexed bytes32,uint256,uint256)
handler: handleMinRateChanged
- event: MaxRateChanged(indexed bytes32,uint256,uint256)
handler: handleMaxRateChanged
- event: VaultPaused(indexed bytes32)
handler: handleVaultPaused
- event: VaultUnpaused(indexed bytes32)
handler: handleVaultUnpaused
- event: VaultDeactivated(indexed bytes32)
handler: handleVaultDeactivated
- event: VaultActivated(indexed bytes32)
handler: handleVaultActivated
file: ./src/vaults.ts
- kind: ethereum
name: FundsModule
network: optimism
source:
abi: FundsModule
address: "0xa503A55eb196AAaE0Baa6AE68A4710A4e990df09"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Balance
abis:
- name: FundsModule
file: ./abis/modules/FundsModule.sol/FundsModule.json
- name: BalancesModule
file: ./abis/modules/BalancesModule.sol/BalancesModule.json
eventHandlers:
- event: FundsDeposited(indexed bytes32,indexed bytes32,uint256,uint256)
handler: handleFundsDeposited
- event: FundsWithdrawn(indexed bytes32,indexed bytes32,uint256,uint256)
handler: handleFundsWithdrawn
file: ./src/funds.ts
- kind: ethereum
name: SubscriptionsModule
network: optimism
source:
abi: SubscriptionsModule
address: "0xa503A55eb196AAaE0Baa6AE68A4710A4e990df09"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Subscription
- SubscriptionHistory
abis:
- name: SubscriptionsModule
file: ./abis/modules/SubscriptionsModule.sol/SubscriptionsModule.json
- name: BalancesModule
file: ./abis/modules/BalancesModule.sol/BalancesModule.json
- name: FeesModule
file: ./abis/modules/FeesModule.sol/FeesModule.json
eventHandlers:
- event: SubscriptionStarted(indexed bytes32,indexed bytes32,indexed
bytes32,uint256,uint256,uint256)
handler: handleSubscriptionStarted
- event: SubscriptionFinished(indexed bytes32,indexed bytes32,indexed
bytes32,uint256,uint256,uint256)
handler: handleSubscriptionFinished
file: ./src/subscriptions.ts
- kind: ethereum
name: ProfilesModule
network: optimism
source:
abi: ProfilesModule
address: "0xa503A55eb196AAaE0Baa6AE68A4710A4e990df09"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Profile
- ProfileTracker
abis:
- name: ProfilesModule
file: ./abis/modules/ProfilesModule.sol/ProfilesModule.json
eventHandlers:
- event: ProfileCreated(indexed address,indexed address,uint256,bytes32,bytes32)
handler: handleProfileCreated
- event: PermissionGranted(indexed bytes32,indexed bytes32,indexed
address,address)
handler: handlePermissionGranted
- event: PermissionRevoked(indexed bytes32,indexed bytes32,indexed
address,address)
handler: handlePermissionRevoked
- event: AllPermissionsRevoked(indexed bytes32,indexed address)
handler: handleAllPermissionsRevoked
file: ./src/profiles.ts
- kind: ethereum
name: GratefulProfile
network: optimism
source:
abi: GratefulProfile
address: "0x0e52B7B1f8395c13Bad872d14405f6A073ABA472"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Profile
abis:
- name: GratefulProfile
file: ./abis/modules/associated-systems/GratefulProfile.sol/GratefulProfile.json
- name: ProfilesModule
file: ./abis/modules/ProfilesModule.sol/ProfilesModule.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleProfileTransfer
file: ./src/profiles.ts
- kind: ethereum
name: LiquidationsModule
network: optimism
source:
abi: LiquidationsModule
address: "0xa503A55eb196AAaE0Baa6AE68A4710A4e990df09"
startBlock: 110672944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- LiquidatedSubscription
abis:
- name: LiquidationsModule
file: ./abis/modules/LiquidationsModule.sol/LiquidationsModule.json
eventHandlers:
- event: SubscriptionLiquidated(indexed bytes32,indexed bytes32,indexed
bytes32,bytes32,uint256,uint256,uint256)
handler: handleSubscriptionLiquidated
file: ./src/liquidations.ts