packageDocumentation module hidden import { Messenger } from '@harmony-js/network' ; import { TxStatus } from './types' ; export abstract class AbstractTransaction { abstract setMessenger ( messenger ) ; abstract setTxStatus ( txStatus ) ; abstract getTxStatus ( ) ; abstract isInitialized ( ) ; abstract isSigned ( ) ; abstract isPending ( ) ; abstract isRejected ( ) ; abstract isConfirmed ( ) ; abstract async trackTx ( txHash , shardID ) ; abstract async txConfirm ( txHash , maxAttempts , interval , shardID ) ; abstract async socketConfirm ( txHash , maxAttempts , shardID ) ; abstract async getBlockNumber ( shardID ) ; abstract async getBlockByNumber ( blockNumber ) ; }