-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
93 lines (93 loc) · 3.44 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ERC1967Proxy
network: matic
source:
address: "0xE9E759B969B991F2bFae84308385405B9Ab01541"
abi: ERC1967Proxy
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AdminChanged
- BeaconUpgraded
- Upgraded
abis:
- name: ERC1967Proxy
file: ./abis/ERC1967Proxy.json
eventHandlers:
- event: AdminChanged(address,address)
handler: handleAdminChanged
- event: BeaconUpgraded(indexed address)
handler: handleBeaconUpgraded
- event: Upgraded(indexed address)
handler: handleUpgraded
file: ./src/erc-1967-proxy.ts
- kind: ethereum
name: SuperfluidResolver
network: matic
source:
address: "0x9751C196fd5C7A62243434C2e4e7D117FFEDb6E8"
abi: SuperfluidResolver
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ClosedStreamToPreventLiquidation
- RoleAdminChanged
- RoleGranted
- RoleRevoked
- WrappedTokenToPreventLiquidation
abis:
- name: SuperfluidResolver
file: ./abis/SuperfluidResolver.json
eventHandlers:
- event: ClosedStreamToPreventLiquidation(indexed address,indexed address)
handler: handleClosedStreamToPreventLiquidation
- event: RoleAdminChanged(indexed bytes32,indexed bytes32,indexed bytes32)
handler: handleRoleAdminChanged
- event: RoleGranted(indexed bytes32,indexed address,indexed address)
handler: handleRoleGranted
- event: RoleRevoked(indexed bytes32,indexed address,indexed address)
handler: handleRoleRevoked
- event: WrappedTokenToPreventLiquidation(indexed address,indexed address)
handler: handleWrappedTokenToPreventLiquidation
file: ./src/superfluid-resolver.ts
- kind: ethereum
name: SuperfluidEndResolver
network: matic
source:
address: "0xd4E890FBd77b5E048B31ee2b5ecfd5365f386005"
abi: SuperfluidEndResolver
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ClosedStreamEndDate
- SuperfluidEndResolverRoleAdminChanged
- SuperfluidEndResolverRoleGranted
- SuperfluidEndResolverRoleRevoked
- SuperfluidEndResolverWrappedTokenToPreventLiquidation
abis:
- name: SuperfluidEndResolver
file: ./abis/SuperfluidEndResolver.json
eventHandlers:
- event: ClosedStreamEndDate(indexed address,indexed address)
handler: handleClosedStreamEndDate
- event: SuperfluidEndResolverRoleAdminChanged(indexed bytes32,indexed bytes32,indexed
bytes32)
handler: handleSuperfluidEndResolverRoleAdminChanged
- event: SuperfluidEndResolverRoleGranted(indexed bytes32,indexed address,indexed address)
handler: handleSuperfluidEndResolverRoleGranted
- event: SuperfluidEndResolverRoleRevoked(indexed bytes32,indexed address,indexed address)
handler: handleSuperfluidEndResolverRoleRevoked
- event: SuperfluidEndResolverWrappedTokenToPreventLiquidation(indexed address,indexed
address)
handler: handleSuperfluidEndResolverWrappedTokenToPreventLiquidation
file: ./src/superfluid-end-resolver.ts