Msg

SubmitProposal submits a new proposal.

post/cosmos.group.v1.Msg/SubmitProposal

Request body

exec'EXEC_UNSPECIFIED' | 'EXEC_TRY'

Exec defines modes of execution of a proposal on creation or on new vote.

  • EXEC_UNSPECIFIED: An empty value means that there should be a separate MsgExec request for the proposal to execute.
  • EXEC_TRY: Try to execute the proposal immediately. If the proposal is not allowed per the DecisionPolicy, the proposal will still be open and could be executed at a later point.
group_policy_addressstring

group_policy_address is the account address of group policy.

metadatastring

metadata is any arbitrary metadata attached to the proposal.

proposersstring[]

proposers are the account addresses of the proposers. Proposers signatures will be counted as yes votes.

summarystring

summary is the summary of the proposal.

titlestring

title is the title of the proposal.

Response

A successful response.

proposal_idstring uint64

proposal is the unique ID of the proposal.

Changes