-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
39 lines (39 loc) · 1.3 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Contract
network: mainnet
source:
address: "0x06a5Bf70BfF314177488864Fe03576ff608e6aec"
abi: PortfolioManager
mapping:
kind: ethereum/events
apiVersion: 0.0.3
language: wasm/assemblyscript
entities:
- LogMintRAYT
- LogMintOpportunityToken
- LogWithdrawFromRAYT
- LogDepositToRAYT
- LogBurnRAYT
abis:
- name: PortfolioManager
file: ./abis/PortfolioManager.json
- name: NAVCalculator
file: ./abis/NAVCalculator.json
- name: Storage
file: ./abis/Storage.json
eventHandlers:
- event: LogMintRAYT(indexed bytes32,indexed bytes32,indexed address,uint256)
handler: handleLogMintRAYT
- event: LogMintOpportunityToken(bytes32,indexed bytes32)
handler: handleLogMintOpportunityToken
- event: LogWithdrawFromRAYT(indexed bytes32,uint256,uint256)
handler: handleLogWithdrawFromRAYT
- event: LogDepositToRAYT(indexed bytes32,uint256,uint256)
handler: handleLogDepositToRAYT
- event: LogBurnRAYT(indexed bytes32,indexed address,uint256,uint256)
handler: handleLogBurnRAYT
file: ./src/mapping.ts