ResignCommitteeColdCert

class cometa.certificates.resign_committee_cold_cert.ResignCommitteeColdCert(ptr)[source]

Bases: object

Represents a committee cold key resignation certificate.

This certificate is used when a constitutional committee member wants to resign from their position.

__init__(ptr)[source]
Return type:

None

__enter__()[source]
Return type:

ResignCommitteeColdCert

__exit__(exc_type, exc_val, exc_tb)[source]
Return type:

None

__repr__()[source]

Return repr(self).

Return type:

str

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:

ResignCommitteeColdCert

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:

ResignCommitteeColdCert

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.

property anchor: Anchor | None

The optional anchor with resignation metadata.

Returns:

The Anchor if present, None otherwise.