Skip to main content

terra_sdk.core.gov.data

Gov module data types.

Proposal Objects


_2
@attr.s
_2
class Proposal(JSONSerializable)

Contains information about a submitted proposal on the blockchain.

proposal_id

Proposal's ID.

content

Proposal contents.

status

Status of proposal.

final_tally_result

Final tallied result of the proposal (after vote).

submit_time

Timestamp at which proposal was submitted.

deposit_end_time

Time at which the deposit period ended, or will end.

total_deposit

Total amount deposited for proposal

voting_start_time

Time at which voting period started, or will start.

voting_end_time

Time at which voting period ended, or will end.