InfoAction
- class cometa.proposal_procedures.info_action.InfoAction(ptr)[source]
Bases:
objectRepresents an informational governance action.
This action has no direct effect on the blockchain, but serves as an on-chain record or informative notice. It can be used to put statements or proposals on-chain for community consideration.
- classmethod new()[source]
Creates a new informational action.
- Returns:
A new InfoAction instance.
- Raises:
CardanoError – If creation fails.
- Return type:
- classmethod from_cbor(reader)[source]
Deserializes an InfoAction from CBOR data.
- Parameters:
reader (CborReader) – A CborReader positioned at the action data.
- Returns:
A new InfoAction deserialized from the CBOR data.
- Raises:
CardanoError – If deserialization fails.
- Return type:
- to_cbor(writer)[source]
Serializes the action to CBOR format.
- Parameters:
writer (CborWriter) – A CborWriter to write the serialized data to.
- Raises:
CardanoError – If serialization fails.
- Return type:
None
- to_cip116_json(writer)[source]
Serializes this object to CIP-116 compliant JSON.
- Parameters:
writer (JsonWriter) – The JsonWriter to write the JSON to.
- Raises:
CardanoError – If serialization fails.
- Return type:
None