Skip to main content

Interface: ColonyEvent<M>

An Event that came from a contract within the Colony Network

Type parameters

NameType
Mextends MetadataType

Hierarchy

Properties

address

Optional address: string | string[]

Inherited from

ColonyFilter.address


data

data: Result


eventName

eventName: string

The full event signature of this event (e.g. TokenMinted(uint256))

Inherited from

ColonyFilter.eventName


eventSource

eventSource: BaseContract

The generated id of the contract the event originated from

Inherited from

ColonyFilter.eventSource


fromBlock

Optional fromBlock: BlockTag

Inherited from

ColonyFilter.fromBlock


getMetadata

Optional getMetadata: () => Promise<MetadataTypeMap[M]>

Type declaration

▸ (): Promise<MetadataTypeMap[M]>

Returns

Promise<MetadataTypeMap[M]>


toBlock

Optional toBlock: BlockTag

Inherited from

ColonyFilter.toBlock


topics

Optional topics: (null | string | string[])[]

Inherited from

ColonyFilter.topics


transactionHash

transactionHash: string