-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
69 lines (69 loc) · 1.88 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
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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: GenesisStaking
network: avalanche
source:
address: "0xD21Fe537C97054f40890f012955A536d80D1Bf00"
abi: GenesisStaking
startBlock: 24893121
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Deposit
- FeeCollectorUpdated
- User
- Claim
- VPNDLocked24H
- CumulativeVPNDDeposited
- CumulativeVAPEClaimed
- USDMetrics
abis:
- name: GenesisStaking
file: ./abis/GenesisStaking.json
- name: Router
file: ./abis/Router.json
- name: ERC20
file: ./abis/ERC20.json
- name: Pair
file: ./abis/Pair.json
eventHandlers:
- event: Deposit(indexed address,uint256)
handler: handleDeposit
- event: FeeCollectorUpdated(address,address)
handler: handleFeeCollectorUpdated
- event: Claim(indexed address,uint256)
handler: handleClaim
file: ./src/genesis-staking.ts
- kind: ethereum
name: Wrapped AVAX
network: avalanche
source:
address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"
abi: WAVAX
startBlock: 24893121
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VapePrice
abis:
- name: WAVAX
file: ./abis/WAVAX.json
- name: GenesisStaking
file: ./abis/GenesisStaking.json
- name: Router
file: ./abis/Router.json
- name: ERC20
file: ./abis/ERC20.json
- name: Pair
file: ./abis/Pair.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/genesis-staking.ts