github.com/cosmos/cosmos-sdk@v0.50.10/x/gov/types/events.go (about)

     1  package types
     2  
     3  // Governance module event types
     4  const (
     5  	EventTypeSubmitProposal   = "submit_proposal"
     6  	EventTypeProposalDeposit  = "proposal_deposit"
     7  	EventTypeProposalVote     = "proposal_vote"
     8  	EventTypeInactiveProposal = "inactive_proposal"
     9  	EventTypeActiveProposal   = "active_proposal"
    10  	EventTypeCancelProposal   = "cancel_proposal"
    11  
    12  	AttributeKeyProposalResult              = "proposal_result"
    13  	AttributeKeyVoter                       = "voter"
    14  	AttributeKeyOption                      = "option"
    15  	AttributeKeyProposalID                  = "proposal_id"
    16  	AttributeKeyDepositor                   = "depositor"
    17  	AttributeKeyProposalMessages            = "proposal_messages" // Msg type_urls in the proposal
    18  	AttributeKeyVotingPeriodStart           = "voting_period_start"
    19  	AttributeKeyProposalLog                 = "proposal_log"                // log of proposal execution
    20  	AttributeValueProposalDropped           = "proposal_dropped"            // didn't meet min deposit
    21  	AttributeValueProposalPassed            = "proposal_passed"             // met vote quorum
    22  	AttributeValueProposalRejected          = "proposal_rejected"           // didn't meet vote quorum
    23  	AttributeValueExpeditedProposalRejected = "expedited_proposal_rejected" // didn't meet expedited vote quorum
    24  	AttributeValueProposalFailed            = "proposal_failed"             // error on proposal handler
    25  	AttributeValueProposalCanceled          = "proposal_canceled"           // error on proposal handler
    26  	AttributeKeyProposalProposer            = "proposal_proposer"           // account address of the proposer
    27  
    28  	AttributeKeyProposalType   = "proposal_type"
    29  	AttributeSignalTitle       = "signal_title"
    30  	AttributeSignalDescription = "signal_description"
    31  )