import { BigNumber } from '@pigi/core-utils' ; import { SignedTransaction , State , TransactionResult } from './types' ; export interface RollupStateMachine { param slotIndex returns getState ( slotIndex ) : Promise < State > ; param signedTransaction returns applyTransaction ( signedTransaction ) : Promise < TransactionResult > ; param transactionNumber returns getTransactionResultsSince ( transactionNumber ) : Promise < TransactionResult [ ] > ; }