Function contract::event::emit

source · []
pub fn emit(event: DropLinkedEvent)
Expand description

Emits the given event into the urefs that contract creates, and would be detected by droplinked’s Qserver when the transaction is done

It gets a DroplinkedEvent, and depending on its type, puts some key-value variables into the urefs that contract creates, these then woule be detected by droplinked’s Qserver (using the contractpackagehash on each dictionary)