pub struct Proposal {
pub id: String,
pub tx_hash: String,
pub cert_index: i32,
pub governance_type: GovernanceType,
pub governance_description: Option<HashMap<String, Value>>,
pub deposit: String,
pub return_address: String,
pub ratified_epoch: Option<i32>,
pub enacted_epoch: Option<i32>,
pub dropped_epoch: Option<i32>,
pub expired_epoch: Option<i32>,
pub expiration: i32,
}Fields§
§id: StringGovernance Action Identifier (CIP-0129)
tx_hash: StringHash of the proposal transaction.
cert_index: i32Index of the certificate within the proposal transaction.
governance_type: GovernanceTypeType of proposal.
governance_description: Option<HashMap<String, Value>>An object describing the content of this GovActionProposal in a readable way.
deposit: StringThe deposit amount paid for this proposal.
return_address: StringBech32 stake address of the reward address to receive the deposit when it is repaid.
ratified_epoch: Option<i32>The epoch at which the proposal was ratified. Null if the proposal has not been ratified.
enacted_epoch: Option<i32>The epoch at which the proposal was enacted. Null if the proposal has not been enacted.
dropped_epoch: Option<i32>The epoch at which the proposal was dropped. A proposal is dropped if it expires or if any of its dependencies expire.
expired_epoch: Option<i32>The epoch at which the proposal expired. Null if the proposal has not expired.
expiration: i32The epoch at which this governance action will expire.