Skip to main content
Version: v4

GroupProposal

An x/group proposal targeting a Corporation-anchored group policy (IDX-GR-QRY-3/4). corporation_id and tally are indexer-derived; tally is the running tally over indexed votes and equals final_tally_result once the proposal closes.

idinteger<uint64>required
corporation_idinteger<uint64>required
group_policy_addressstringrequired
metadatastring
proposersstring[]required
submit_timestring<date-time>required
group_versioninteger<uint64>
group_policy_versioninteger<uint64>
statusstringrequired

Possible values: [SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN]

voting_period_endstring<date-time>
executor_resultstringrequired

Possible values: [NOT_RUN, SUCCESS, FAILURE]

messagesobject[]required

The wrapped Msgs JSON-decoded with their @type

final_tally_result object

null until the proposal closes

oneOf
yes_countstringrequired
no_countstringrequired
abstain_countstringrequired
no_with_veto_countstringrequired
tally objectrequired
yes_countstringrequired
no_countstringrequired
abstain_countstringrequired
no_with_veto_countstringrequired
GroupProposal
{
"id": 0,
"corporation_id": 0,
"group_policy_address": "string",
"metadata": "string",
"proposers": [
"string"
],
"submit_time": "2024-07-29T15:51:28.071Z",
"group_version": 0,
"group_policy_version": 0,
"status": "SUBMITTED",
"voting_period_end": "2024-07-29T15:51:28.071Z",
"executor_result": "NOT_RUN",
"messages": [
{}
],
"final_tally_result": {
"yes_count": "string",
"no_count": "string",
"abstain_count": "string",
"no_with_veto_count": "string"
},
"tally": {
"yes_count": "string",
"no_count": "string",
"abstain_count": "string",
"no_with_veto_count": "string"
}
}