-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubgraph.yaml
42 lines (42 loc) · 1.61 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
specVersion: 0.0.4
description: TAP Protocol allows senders to deposit escrow for specific recievers
repository: https://github.com/semiotic-ai/timeline-aggregation-protocol-contracts
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Escrow
network: mainnet
source:
address: '0xe2e5421247C9aac3eee8417900138aB741b9f990'
abi: Escrow
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/mappings/escrow.ts
entities:
- Escrow
abis:
- name: Escrow
file: ./abis/Escrow.abi.json
eventHandlers:
- event: Deposit(indexed address,indexed address,uint256)
handler: handleDeposit
- event: Redeem(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleRedeems
- event: Withdraw(indexed address,indexed address,uint256)
handler: handleWidthrawals
- event: Thaw(indexed address,indexed address,uint256,uint256,uint256)
handler: handleThaw
- event: AuthorizeSigner(indexed address,indexed address)
handler: handleSignerAuthorization
- event: RevokeAuthorizedSigner(indexed address,indexed address)
handler: handleRevokeSignerAuthorization
- event: CancelThaw(indexed address,indexed address)
handler: handleCancelThaw
- event: ThawSigner(indexed address,indexed address,uint256)
handler: handleThawSigner
- event: CancelThawSigner(indexed address,indexed address,uint256)
handler: handleCancelThawSigner