UNPKG

argosjs

Version:

Ethereum smart-contract events visualiser

12 lines (11 loc) 451 B
import { EthereumWatcher } from "../watcher/EthereumWatcher"; import { WatcherConstructor } from "../watcher/Watcher"; export default class WatcherFactory { /** * Create a database instance * @param {WatcherConstructor} args the arguments corresponding to the class * @returns {Watcher} a database instance or nothing */ static createWatcherInstance(args: WatcherConstructor): EthereumWatcher; } export { WatcherFactory };