Proposal defines the core field members of a governance proposal.

Hierarchy

  • V1Proposal

Properties

deposit_end_time?: string

Format

date-time

final_tally_result?: V1TallyResult

final_tally_result is the final tally result of the proposal. When querying a proposal via gRPC, this field is not populated until the proposal's voting period has ended.

id?: string

Format

uint64

messages?: ProtobufAny[]
metadata?: string

metadata is any arbitrary metadata attached to the proposal.

ProposalStatus enumerates the valid statuses of a proposal.

  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
submit_time?: string

Format

date-time

total_deposit?: V1Beta1Coin[]
voting_end_time?: string

Format

date-time

voting_start_time?: string

Format

date-time

Generated using TypeDoc