ResignCommitteeColdCert
- class cometa.certificates.resign_committee_cold_cert.ResignCommitteeColdCert(ptr)[source]
Bases:
objectRepresents a committee cold key resignation certificate.
This certificate is used when a constitutional committee member wants to resign from their position.
- classmethod new(committee_cold_cred, anchor=None)[source]
Creates a new committee cold key resignation certificate.
- Parameters:
committee_cold_cred (Credential) – The committee cold credential to resign.
anchor (Anchor | None) – Optional anchor with resignation metadata.
- Returns:
A new ResignCommitteeColdCert instance.
- Raises:
CardanoError – If creation fails.
- Return type:
- classmethod from_cbor(reader)[source]
Deserializes a ResignCommitteeColdCert from CBOR data.
- Parameters:
reader (CborReader) – A CborReader positioned at the certificate data.
- Returns:
A new ResignCommitteeColdCert deserialized from the CBOR data.
- Raises:
CardanoError – If deserialization fails.
- Return type:
- to_cbor(writer)[source]
Serializes the certificate 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 certificate to CIP-116 compliant JSON.
- Parameters:
writer (JsonWriter) – The JsonWriter to write the JSON to.
- Raises:
CardanoError – If serialization fails.
- Return type:
None
- property committee_cold_credential: Credential
The committee cold credential being resigned.
- Returns:
The Credential for the committee cold key.