-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
82 lines (82 loc) · 2.71 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
70
71
72
73
74
75
76
77
78
79
80
81
82
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: LiquidStakingProxy
network: fuse
source:
address: "0xa3dc222eC847Aac61FB6910496295bF344Ea46be"
abi: LiquidStakingProxy
startBlock: 20231259
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- LiquidStaking
- StakedFuse
- User
- Validator
- History
abis:
- name: LiquidStakingProxy
file: ./abis/LiquidStakingProxy.json
- name: StakedFuse
file: ./abis/StakedFuse.json
- name: VoltagePair
file: ./abis/VoltagePair.json
eventHandlers:
- event: AddedValidator(indexed address,address)
handler: handleAddedValidator
- event: AdminChanged(address,address)
handler: handleAdminChanged
- event: ChangedProtocolFee(indexed address,uint256)
handler: handleChangedProtocolFee
- event: Deposited(indexed address,uint256,uint256)
handler: handleDeposited
- event: DisabledSafeguard(indexed address)
handler: handleDisabledSafeguard
- event: DistributedProtocolFee(indexed address,uint256,uint256,uint256)
handler: handleDistributedProtocolFee
- event: NewSystemStakeLimit(uint256,uint256)
handler: handleNewSystemStakeLimit
- event: Paused()
handler: handlePaused
- event: ReenabledSafeguard(indexed address,uint256)
handler: handleReenabledSafeguard
- event: RemovedValidator(address,indexed address)
handler: handleRemovedValidator
- event: ReplacedValidator(address,address)
handler: handleReplacedValidator
- event: Unpaused()
handler: handleUnpaused
- event: UpdatedPriceRatio(uint256,uint256,uint256)
handler: handleUpdatedPriceRatio
- event: Withdrawn(indexed address,uint256,uint256,uint256)
handler: handleWithdrawn
# - event: Upgraded(indexed address)
# handler: handleUpgraded
file: ./src/mapping.ts
- kind: ethereum
name: StakedFuse
network: fuse
source:
address: "0xb1DD0B683d9A56525cC096fbF5eec6E60FE79871"
abi: StakedFuse
startBlock: 20231259
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- StakedFuse
abis:
- name: StakedFuse
file: ./abis/StakedFuse.json
- name: VoltagePair
file: ./abis/VoltagePair.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mapping.ts