UNPKG

@colony/colony-js-adapter

Version:

ColonyContract adapter interfaces

15 lines (10 loc) 251 B
/* @flow */ import type { Contract } from './Contract'; export type EventCallback = (...*) => *; export type EventHandler = { contract: Contract, handler: EventCallback, }; export type EventHandlers = { [eventName: string]: EventHandler, };