Skip to main content
Version: master

Events

The reports module emits the following events:

Handlers

MsgCreateReport

TypeAttribute KeyAttribute Value
created_reportsubspace_id{subspaceID}
created_reportreport_id{reportID}
created_reportreporter{userAddress}
created_reportcreation_time{creationTime}
messagemodulereports
messageactiondesmos.reports.v1.MsgCreateReport
messagereporter{userAddress}

Other events attributes depending on the type of the report target are attached.

Post Target

TypeAttribute KeyAttribute Value
reported_postsubspace_id{subspaceID}
reported_postpost_id{reportID}
reported_postreporter{userAddress}

User Target

TypeAttribute KeyAttribute Value
reported_usersubspace_id{subspaceID}
reported_useruser{userAddress}
reported_userreporter{userAddress}

MsgDeleteReport

TypeAttribute KeyAttribute Value
deleted_reportsubspace_id{subspaceID}
deleted_reportreport_id{reportID}
messagemodulereports
messageactiondesmos.reports.v1.MsgDeleteReport
messagesigner{userAddress}

MsgSupportStandardReason

TypeAttribute KeyAttribute Value
supported_standard_reasonsubspace_id{subspaceID}
supported_standard_reasonstandard_reason_id{reasonID}
supported_standard_reasonreason_id{reasonID}
messagemodulereports
messageactiondesmos.reports.v1.MsgSupportStandardReason
messagesigner{userAddress}

MsgAddReason

TypeAttribute KeyAttribute Value
added_reporting_reasonsubspace_id{subspaceID}
added_reporting_reasonreason_id{reasonID}
messagemodulereports
messageactiondesmos.reports.v1.MsgAddReason
messagesigner{userAddress}

MsgRemoveReason

TypeAttribute KeyAttribute Value
removed_reporting_reasonsubspace_id{subspaceID}
removed_reporting_reasonreason_id{reasonID}
messagemodulereports
messageactiondesmos.reports.v1.MsgRemoveReason