Skip to main content

Events

Events are emitted following the messages execution.

// Emits when the mapping of Msg and the Route is changed.
// The new mapping is stored is emitted
message EventUpdateVerificationRegistry {
string msg_type = 1;
Route route = 2;
}

// Emits when the verification requirements of a route is updated in the relevant smart contract
// The new requirements is emitted
message EventUpdatedVerificationRequirement {
string app_addr = 1;
uint64 route_id = 2;
RouteVerificationRequirements requirements = 3;
}

// Emits when a message is removed from the verification registry
// i.e. the message no long requires verifiable presentation to be executed
message EventRemoveMessageFromVerificationRegistry{
string msg_type = 1;
}