github.com/Finschia/finschia-sdk@v0.48.1/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  
    11  	AttributeKeyProposalResult     = "proposal_result"
    12  	AttributeKeyOption             = "option"
    13  	AttributeKeyProposalID         = "proposal_id"
    14  	AttributeKeyVotingPeriodStart  = "voting_period_start"
    15  	AttributeValueProposalDropped  = "proposal_dropped"  // didn't meet min deposit
    16  	AttributeValueProposalPassed   = "proposal_passed"   // met vote quorum
    17  	AttributeValueProposalRejected = "proposal_rejected" // didn't meet vote quorum
    18  	AttributeValueProposalFailed   = "proposal_failed"   // error on proposal handler
    19  	AttributeKeyProposalType       = "proposal_type"
    20  )