mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 03:07:57 +00:00
feat: add APY computation to AH SubQuery, clean relay SubQuery from AH pool logic
This commit is contained in:
@@ -61,6 +61,18 @@ dataSources:
|
||||
filter:
|
||||
module: nominationPools
|
||||
method: UnbondingPoolSlashed
|
||||
# Era changes on AH (staking pallet lives here) - old format
|
||||
- handler: handleAHNewEra
|
||||
kind: substrate/EventHandler
|
||||
filter:
|
||||
module: staking
|
||||
method: StakingElection
|
||||
# Era changes on AH - new format (Polkadot 2.0)
|
||||
- handler: handleAHStakersElected
|
||||
kind: substrate/EventHandler
|
||||
filter:
|
||||
module: staking
|
||||
method: StakersElected
|
||||
# Native transfers
|
||||
- handler: handleTransfer
|
||||
kind: substrate/EventHandler
|
||||
|
||||
Reference in New Issue
Block a user