-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
37 lines (36 loc) · 1.32 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
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/contract
name: Escrow
network: mainnet
source:
address: '0x63De3720298826EB4EC14F1214b33a2808e5DADf'
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