-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
76 lines (76 loc) · 2.3 KB
/
subgraph.yaml
File metadata and controls
76 lines (76 loc) · 2.3 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: CypherEscrow
network: goerli
source:
abi: CypherEscrow
startBlock: 7754748
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Escrow
abis:
- name: CypherEscrow
file: ./abis/CypherEscrow.json
eventHandlers:
- event: AmountStopped(bytes32,indexed address,indexed address,indexed address,address,uint256,uint256)
handler: handleAmountStopped
- event: TransactionAccepted(bytes32)
handler: handleTransactionAccepted
- event: TransactionDenied(bytes32)
handler: handleTransactionDenied
- event: OracleAdded(indexed address,address)
handler: handleOracleAdded
- event: TimeLimitSet(uint256)
handler: handleTimeLimitSet
- event: AddressAddedToWhitelist(indexed address,address)
handler: handleAddressAddedToWhitelist
file: ./src/escrow.ts
- kind: ethereum
name: CypherRegistry
network: goerli
source:
address: "0x7e4f024c9be1889ab1d7c7e4eb8f91d57930bdf7"
abi: CypherRegistry
startBlock: 7754748
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Escrow
abis:
- name: CypherRegistry
file: ./abis/CypherRegistry.json
- name: CypherProtocol
file: ./abis/CypherProtocol.json
eventHandlers:
- event: EscrowCreated(indexed address,indexed address,address,uint256,uint256,address[])
handler: handleEscrowCreated
- event: EscrowAttached(indexed address,indexed address)
handler: handleEscrowAttached
file: ./src/registry.ts
- kind: ethereum
name: CypherProtocol
network: goerli
source:
abi: CypherProtocol
startBlock: 7754748
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Escrow
abis:
- name: CypherProtocol
file: ./abis/CypherProtocol.json
eventHandlers:
- event: ProtocolCreated(indexed address,indexed address,string)
handler: handleProtocolCreated
file: ./src/protocol.ts