Proposal defines a group proposal. Any member of a group can submit a proposal for a group policy to decide upon. A proposal consists of a set of sdk.Msgs that will be executed if the proposal passes as well as some optional metadata associated with the proposal.

from message cosmos.group.v1.Proposal

Hierarchy

Constructors

Properties

executorResult: ProposalExecutorResult = ProposalExecutorResult.UNSPECIFIED

executor_result is the final result of the proposal execution. Initial value is NotRun.

from field: cosmos.group.v1.ProposalExecutorResult executor_result = 11;

finalTallyResult?: proto.cosmos.group.v1.TallyResult

final_tally_result contains the sums of all weighted votes for this proposal for each vote option. It is empty at submission, and only populated after tallying, at voting period end or at proposal execution, whichever happens first.

from field: cosmos.group.v1.TallyResult final_tally_result = 9;

groupPolicyAddress: string = ""

group_policy_address is the account address of group policy.

from field: string group_policy_address = 2;

groupPolicyVersion: bigint = protoInt64.zero

group_policy_version tracks the version of the group policy at proposal submission. When a decision policy is changed, existing proposals from previous policy versions will become invalid with the ABORTED status. This field is here for informational purposes only.

from field: uint64 group_policy_version = 7;

groupVersion: bigint = protoInt64.zero

group_version tracks the version of the group at proposal submission. This field is here for informational purposes only.

from field: uint64 group_version = 6;

id: bigint = protoInt64.zero

id is the unique id of the proposal.

from field: uint64 id = 1;

messages: Any[] = []

messages is a list of sdk.Msgs that will be executed if the proposal passes.

from field: repeated google.protobuf.Any messages = 12;

metadata: string = ""

metadata is any arbitrary metadata attached to the proposal. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#proposal-4

from field: string metadata = 3;

proposers: string[] = []

proposers are the account addresses of the proposers.

from field: repeated string proposers = 4;

status: proto.cosmos.group.v1.ProposalStatus = ProposalStatus.UNSPECIFIED

status represents the high level position in the life cycle of the proposal. Initial value is Submitted.

from field: cosmos.group.v1.ProposalStatus status = 8;

submitTime?: Timestamp

submit_time is a timestamp specifying when a proposal was submitted.

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

summary: string = ""

summary is a short summary of the proposal

Since: cosmos-sdk 0.47

from field: string summary = 14;

title: string = ""

title is the title of the proposal

Since: cosmos-sdk 0.47

from field: string title = 13;

votingPeriodEnd?: Timestamp

voting_period_end is the timestamp before which voting must be done. Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done at this point, and the final_tally_resultand status fields will be accordingly updated.

from field: google.protobuf.Timestamp voting_period_end = 10;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.group.v1.Proposal" = "cosmos.group.v1.Proposal"

Methods