Voter Type

enum cardano_voter_type_t

Enumeration to represent different kinds of voters within the Cardano governance system.

Values:

enumerator CARDANO_VOTER_TYPE_CONSTITUTIONAL_COMMITTEE_KEY_HASH

Represents a constitutional committee member identified by a key hash.

enumerator CARDANO_VOTER_TYPE_CONSTITUTIONAL_COMMITTEE_SCRIPT_HASH

Represents a constitutional committee member identified by a script hash.

enumerator CARDANO_VOTER_TYPE_DREP_KEY_HASH

Represents a DRep (Delegation Representative) identified by a key hash.

enumerator CARDANO_VOTER_TYPE_DREP_SCRIPT_HASH

Represents a DRep (Delegation Representative) identified by a script hash.

enumerator CARDANO_VOTER_TYPE_STAKE_POOL_KEY_HASH

Represents a Stake Pool Operator (SPO) identified by a key hash.


const char *cardano_voter_type_to_string(cardano_voter_type_t type)

Converts voter types to their human readable form.

Parameters:
cardano_voter_type_t type

[in] The voter type to get the string representation for.

Returns:

Human readable form of the given voter type.