Skip to content

Latest commit

 

History

History
executable file
·
31 lines (20 loc) · 721 Bytes

04_events.md

File metadata and controls

executable file
·
31 lines (20 loc) · 721 Bytes

Events

The iid module emits the following typed events:

IidDocumentCreatedEvent

Emitted after a successful MsgCreateIidDocument, MsgCreateEntity, since for entity creation an iid doc also gets created.

type IidDocumentCreatedEvent struct {
	IidDocument *IidDocument
}

The field's descriptions is as follows:

IidDocumentUpdatedEvent

Emitted after a successful Msg of all the rest of iid module Msg types since they all update the iid doc.

type IidDocumentUpdatedEvent struct {
	IidDocument *IidDocument
}

The field's descriptions is as follows: