StakingStates: {
    Active: 0;
    NextValidatorSetLocked: 1;
    Paused: 4;
    ReadyForNextEpoch: 2;
    Restore: 5;
    Unlocked: 3;
} = ...

Will be removed - Use STAKING_STATES instead Alias for STAKING_STATES. Added for backwards compatibility. See STAKING_STATES