Proposal defines the core field members of a governance proposal.

from message cosmos.gov.v1beta1.Proposal

Hierarchy

Constructors

Properties

content?: Any

content is the proposal's content.

from field: google.protobuf.Any content = 2;

depositEndTime?: Timestamp

deposit_end_time is the end time for deposition.

from field: google.protobuf.Timestamp deposit_end_time = 6;

finalTallyResult?: proto.cosmos.gov.v1beta1.TallyResult

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.

from field: cosmos.gov.v1beta1.TallyResult final_tally_result = 4;

proposalId: bigint = protoInt64.zero

proposal_id defines the unique id of the proposal.

from field: uint64 proposal_id = 1;

status: proto.cosmos.gov.v1beta1.ProposalStatus = ProposalStatus.UNSPECIFIED

status defines the proposal status.

from field: cosmos.gov.v1beta1.ProposalStatus status = 3;

submitTime?: Timestamp

submit_time is the time of proposal submission.

from field: google.protobuf.Timestamp submit_time = 5;

totalDeposit: Coin[] = []

total_deposit is the total deposit on the proposal.

from field: repeated cosmos.base.v1beta1.Coin total_deposit = 7;

votingEndTime?: Timestamp

voting_end_time is the end time of voting on a proposal.

from field: google.protobuf.Timestamp voting_end_time = 9;

votingStartTime?: Timestamp

voting_start_time is the starting time to vote on a proposal.

from field: google.protobuf.Timestamp voting_start_time = 8;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.gov.v1beta1.Proposal" = "cosmos.gov.v1beta1.Proposal"

Methods