-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
43 lines (42 loc) · 1.42 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: SharesTimeLock
network: rinkeby
source:
address: "0x03508154Dd64aCe391D1f0bdaAe9e426Be4A9e05"
abi: SharesTimeLock
startBlock: 8860918
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- BoostedToMax
- Deposited
- Ejected
- MinLockAmountChanged
- OwnershipTransferred
- WhitelistedChanged
- Withdrawn
abis:
- name: SharesTimeLock
file: ./abis/SharesTimeLock.json
eventHandlers:
- event: BoostedToMax(indexed uint256,indexed uint256,uint256,indexed address)
handler: handleBoostedToMax
- event: Deposited(indexed uint256,uint256,uint32,indexed address)
handler: handleDeposited
- event: Ejected(indexed uint256,uint256,indexed address)
handler: handleEjected
- event: MinLockAmountChanged(uint256)
handler: handleMinLockAmountChanged
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: WhitelistedChanged(indexed address,indexed bool)
handler: handleWhitelistedChanged
- event: Withdrawn(indexed uint256,uint256,indexed address)
handler: handleWithdrawn
file: ./src/SharesTimeLock.ts