Skip to main content

Interface: ColonyEvent<T>

An Event that came from a contract within the Colony Network

Type parameters

NameType
Textends 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: keyof EventSources

The Colony contract the event originated from

Inherited from

ColonyFilter.eventSource


fromBlock

Optional fromBlock: BlockTag

Inherited from

ColonyFilter.fromBlock


getMetadata

Optional getMetadata: () => Promise<ReturnType<{ None: () => void ; annotation: (res: string) => string = getAnnotationMsgFromResponse; colony: (res: string) => ColonyMetadata = getColonyMetadataFromResponse; decision: (res: string) => DecisionMetadata = getDecisionDetailsFromResponse; domain: (res: string) => DomainMetadata = getDomainMetadataFromResponse; misc: (res: string) => MiscMetadata = getMiscDataFromResponse }[T]>>

Type declaration

▸ (): Promise<ReturnType<{ None: () => void ; annotation: (res: string) => string = getAnnotationMsgFromResponse; colony: (res: string) => ColonyMetadata = getColonyMetadataFromResponse; decision: (res: string) => DecisionMetadata = getDecisionDetailsFromResponse; domain: (res: string) => DomainMetadata = getDomainMetadataFromResponse; misc: (res: string) => MiscMetadata = getMiscDataFromResponse }[T]>>

Returns

Promise<ReturnType<{ None: () => void ; annotation: (res: string) => string = getAnnotationMsgFromResponse; colony: (res: string) => ColonyMetadata = getColonyMetadataFromResponse; decision: (res: string) => DecisionMetadata = getDecisionDetailsFromResponse; domain: (res: string) => DomainMetadata = getDomainMetadataFromResponse; misc: (res: string) => MiscMetadata = getMiscDataFromResponse }[T]>>


toBlock

Optional toBlock: BlockTag

Inherited from

ColonyFilter.toBlock


topics

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

Inherited from

ColonyFilter.topics


transactionHash

transactionHash: string