-
Notifications
You must be signed in to change notification settings - Fork 0
/
kte.subgraph.yaml
70 lines (70 loc) · 2.25 KB
/
kte.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
specVersion: 0.0.2
schema:
file: kte.schema.graphql
dataSources:
- kind: ethereum/contract
name: accesscontrol
network: fuji
source:
address: '0x8381Bd6b7B541E17f472D0D57712C8f34CF34e39'
abi: AccessControl
startBlock: 8194846
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- AccessControl
abis:
- name: AccessControl
file: node_modules/@openzeppelin/contracts/build/contracts/IAccessControl.json
eventHandlers:
- 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
file: node_modules/@openzeppelin/subgraphs/src/datasources/accesscontrol.ts
- kind: ethereum/contract
name: ownable
network: fuji
source:
address: '0x8381Bd6b7B541E17f472D0D57712C8f34CF34e39'
abi: Ownable
startBlock: 8194846
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Ownable
abis:
- name: Ownable
file: node_modules/@openzeppelin/contracts/build/contracts/Ownable.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
file: node_modules/@openzeppelin/subgraphs/src/datasources/ownable.ts
- kind: ethereum/contract
name: pausable
network: fuji
source:
address: '0x8381Bd6b7B541E17f472D0D57712C8f34CF34e39'
abi: Pausable
startBlock: 8194846
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Pausable
abis:
- name: Pausable
file: node_modules/@openzeppelin/contracts/build/contracts/Pausable.json
eventHandlers:
- event: Paused(address)
handler: handlePaused
- event: Unpaused(address)
handler: handleUnpaused
file: node_modules/@openzeppelin/subgraphs/src/datasources/pausable.ts