import { BigNumber } from '@pigi/core-utils' ; import { StateUpdate } from '../state.interface' ; /**
 * Block Manager wrapping Block CRUD operations.
 */ export interface BlockManager { getNextBlockNumber ( ) : Promise < BigNumber > ; addPendingStateUpdate ( stateUpdate ) : Promise < void > ; getPendingStateUpdates ( ) : Promise < StateUpdate [ ] > ; submitNextBlock ( ) : Promise < void > ; }