UNPKG

tx2uml

Version:

Ethereum transaction visualizer that generates UML sequence diagrams.

10 lines (9 loc) 1.22 kB
import { Readable } from "stream"; import { Contracts, Param, Trace, TracePumlGenerationOptions, TransactionDetails } from "./types/tx2umlTypes"; export declare const traces2PumlStream: (transactions: TransactionDetails[], traces: Trace[][], contracts: Contracts, options: TracePumlGenerationOptions) => Readable; export declare const multiTxTraces2PumlStream: (pumlStream: Readable, transactions: TransactionDetails[], traces: Trace[][], contracts: Contracts, options?: TracePumlGenerationOptions) => Readable; export declare const singleTx2PumlStream: (pumlStream: Readable, transaction: TransactionDetails, traces: Trace[], contracts: Contracts, options: TracePumlGenerationOptions) => Readable; export declare const writeParticipants: (plantUmlStream: Readable, contracts: Contracts, options?: TracePumlGenerationOptions) => void; export declare const writeMessages: (plantUmlStream: Readable, traces: Trace[], options?: TracePumlGenerationOptions) => void; export declare const genParams: (params: Param[], noValues: boolean, plantUml?: string, indent?: string) => string; export declare const writeEvents: (txHash: string, plantUmlStream: Readable, contracts: Contracts, options?: TracePumlGenerationOptions) => void;