class StateStore {
constructor(db) {
}
async getEvents(type) {
async getEventsForKey(type, stateKey) {
async setState(events) {