Vote¶
-
enum cardano_vote_t¶
Enumeration representing possible voting choices in a Cardano voting procedure.
Values:
-
enumerator CARDANO_VOTE_NO¶
Represents a “No” vote.
This value indicates that the voter is against the proposal being voted on.
-
enumerator CARDANO_VOTE_YES¶
Represents a “Yes” vote.
This value indicates that the voter supports the proposal being voted on.
-
enumerator CARDANO_VOTE_ABSTAIN¶
Represents an “Abstain” vote.
This value is chosen when the voter decides to abstain, neither supporting nor opposing the proposal.
-
enumerator CARDANO_VOTE_NO¶
-
const char *cardano_vote_to_string(cardano_vote_t type)¶
Converts voter types to their human readable form.
- Parameters:¶
- cardano_vote_t type¶
[in] The voter type to get the string representation for.
- Returns:¶
Human readable form of the given voter type.