# chain can be "polkadot" or "kusama"
chain = "polkadot"
# Specify which session you would like to analyze. Must be >= 419 for Polkadot and >= 6240 for KSM.
first_session = 419
current_session = 586
# Values expressed in 1k NEW-DOT or 1k KSM
if(chain=="polkadot"){
normalization = 1/10000000000000
} else {
normalization = 1/1000000000000000
}
Notes
Some definitions:
1) Number of nominations: The sum of active nominations allocated to validators (including excess nominations). Note that the median of active nominations per nominator is 1. That menas the number of nominations roughly corresponds to the number of nominators but there are some deviations (a few nominators might be counted several times because they have multiple active nominations).
2) Oversubscribed nominations: The sum of nominations exceeding the 64 limit of validators.
3) Number of targets: The sum of validators a nominator selects to be included in the nomination set.