import { Contract, TransactionResponse } from 'ethers'; import { ErrorMessageCommand } from '@scripts'; interface ValidateTxResponseCommandParams { txResponse: TransactionResponse; contract?: Contract; confirmationEvent?: string; confirmations?: number; errorMessage?: string; } export default class ValidateTxResponseCommand extends ErrorMessageCommand { readonly txResponse: TransactionResponse; readonly confirmationEvent?: string; readonly confirmations: number; readonly contract?: Contract; constructor({ txResponse, confirmationEvent, confirmations, errorMessage, contract, }: ValidateTxResponseCommandParams); execute(): Promise; } export {};