github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/gov/types/events.go (about)

     1  package types
     2  
     3  const (
     4  	// AttributeKeyProposalStatus defines the proposal status attribute in gov
     5  	AttributeKeyProposalStatus = "proposal_status"
     6  
     7  	EventTypeSubmitProposal    = "submit_proposal"
     8  	EventTypeProposalDeposit   = "proposal_deposit"
     9  	EventTypeProposalVote      = "proposal_vote"
    10  	EventTypeProposalVoteTally = "proposal_vote_tally"
    11  	EventTypeInactiveProposal  = "inactive_proposal"
    12  	EventTypeActiveProposal    = "active_proposal"
    13  
    14  	AttributeKeyProposalResult     = "proposal_result"
    15  	AttributeKeyProposalLog        = "proposal_result_log"
    16  	AttributeKeyOption             = "option"
    17  	AttributeKeyProposalID         = "proposal_id"
    18  	AttributeKeyVotingPeriodStart  = "voting_period_start"
    19  	AttributeValueCategory         = "governance"
    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  	AttributeValueProposalFailed   = "proposal_failed"   // error on proposal handler
    24  )