export class Slot { slot : number ; isForged : boolean ; constructor ( slot ) { this . slot = slot ; this . isForged = false ; } } export type Slots = { [ generatorPublicKey ] : Slot ; } ; export class RoundModel { slots : Slots ; startHeight ? : number ; endHeight ? : number ; lastBlockId ? : string ; constructor ( data ) { Object . assign ( this , data ) ; } } export class Round extends RoundModel { getCopy ( ) { return new Round ( this ) ; } }