Skip to main content
Version: master

Events

The posts module emits the following events:

Handlers

MsgCreatePost

TypeAttribute KeyAttribute Value
created_postsubspace_id{subspaceID}
created_postsection_id{sectionID}
created_postpost_id{postID}
created_postauthor{userAddress}
created_postcreation_time{CreationTime}
messagemoduleposts
messageactiondesmos.posts.v3.MsgCreatePost
messagesender{userAddress}

MsgEditPost

TypeAttribute KeyAttribute Value
edited_postsubspace_id{subspaceID}
edited_postpost_id{postID}
edited_postlast_edit_time{LastEditTime}
messagemoduleposts
messageactiondesmos.posts.v3.MsgEditPost
messagesender{userAddress}

MsgDeletePost

TypeAttribute KeyAttribute Value
deleted_postsubspace_id{subspaceID}
deleted_postpost_id{postID}
messagemoduleposts
messageactiondesmos.posts.v3.MsgDeletePost
messagesender{userAddress}

MsgAddPostAttachment

TypeAttribute KeyAttribute Value
added_post_attachmentsubspace_id{subspaceID}
added_post_attachmentpost_id{postID}
added_post_attachmentattachment_id{attachmentID}
added_post_attachmentlast_edit_time{lastEditTime}
messagemoduleposts
messageactiondesmos.posts.v3.MsgAddPostAttachment
messagesender{userAddress}

MsgRemovePostAttachment

TypeAttribute KeyAttribute Value
removed_post_attachmentsubspace_id{subspaceID}
removed_post_attachmentpost_id{postID}
removed_post_attachmentattachment_id{attachmentID}
removed_post_attachmentlast_edit_time{lastEditTime}
messagemoduleposts
messageactiondesmos.posts.v3.MsgRemovePostAttachment
messagesender{userAddress}

MsgAnswerPoll

TypeAttribute KeyAttribute Value
answered_pollsubspace_id{subspaceID}
answered_pollpost_id{postID}
answered_pollpoll_id{pollID}
messagemoduleposts
messageactiondesmos.posts.v3.MsgAnswerPoll
messagesender{userAddress}

MsgUpdateParams

TypeAttribute KeyAttribute Value
messagemoduleposts
messageactiondesmos.posts.v3.MsgUpdateParams
messagesender{userAddress}

MsgMovePost

TypeAttribute KeyAttribute Value
moved_postsubspace_id{subspaceID}
moved_postpost_id{postID}
moved_postnew_subspace_id{newSubspaceID}
moved_postnew_post_id{newPostID}
messagemoduleposts
messageactiondesmos.posts.v3.MsgMovePost
messagesender{userAddress}

MsgRequestPostOwnerTransfer

TypeAttribute KeyAttribute Value
requested_post_owner_transfersubspace_id{subspaceID}
requested_post_owner_transferpost_id{postID}
requested_post_owner_transferreceiver{receiverAddress}
requested_post_owner_transfersender{senderAddress}
messagemoduleposts
messageactiondesmos.posts.v3.MsgRequestPostOwnerTransfer
messagesender{userAddress}

MsgCancelPostOwnerTransferRequest

TypeAttribute KeyAttribute Value
canceled_post_owner_transfersubspace_id{subspaceID}
canceled_post_owner_transferpost_id{postID}
canceled_post_owner_transfersender{senderAddress}
messagemoduleposts
messageactiondesmos.posts.v3.MsgCancelPostOwnerTransferRequest
messagesender{userAddress}

MsgAcceptPostOwnerTransferRequest

TypeAttribute KeyAttribute Value
accepted_post_owner_transfersubspace_id{subspaceID}
accepted_post_owner_transferpost_id{postID}
accepted_post_owner_transfernew_subspace_id{newSubspaceID}
accepted_post_owner_transfernew_post_id{newPostID}
accepted_post_owner_transferreceiver{receiverAddress}
messagemoduleposts
messageactiondesmos.posts.v3.MsgAcceptPostOwnerTransferRequest
messagesender{userAddress}

MsgRefusePostOwnerTransferRequest

TypeAttribute KeyAttribute Value
refused_post_owner_transfersubspace_id{subspaceID}
refused_post_owner_transferpost_id{postID}
refused_post_owner_transferreceiver{receiverAddress}
messagemoduleposts
messageactiondesmos.posts.v3.MsgRefusePostOwnerTransferRequest
messagesender{userAddress}

Keeper

TypeAttribute KeyAttribute Value
tallied_pollsubspace_id{subspaceID}
tallied_pollpost_id{postID}
tallied_pollpoll_id{pollID}