import { DocumentReference, Timestamp } from '@google-cloud/firestore'; import { SupportedChainId } from '../supported-chain-id'; export interface ContractTransaction { id: string; tx: string; chainId: SupportedChainId; references: string[]; key: string | null; isConfirmed: boolean; confirmations: number; blockNumber: number | null; gasUsed: string | null; gasPrice: string | null; cumulativeGasUsed: string | null; isError: boolean; error: string | null; createdAt: number; updatedAt: number; } export interface ContractTransactionModel { tx: string; chainId: SupportedChainId; references: DocumentReference[]; key: string | null; isConfirmed: boolean; isError: boolean; error: string | null; confirmations: number; blockNumber: number | null; gasUsed: string | null; gasPrice: string | null; cumulativeGasUsed: string | null; createdAt: Timestamp; updatedAt: Timestamp; }