Voter
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / Voter
Class: Voter
Implements
IVoter
ToData
Constructors
new Voter()
new Voter(
__namedParameters
):Voter
Parameters
• __namedParameters: IVoter
Returns
Defined in
Properties
hash
readonly
hash:Hash28
Implementation of
Defined in
kind
readonly
kind:VoterKind
Implementation of
Defined in
Methods
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Defined in
toData()
toData(
version
?):DataConstr
Parameters
• version?: ToDataVersion
Returns
DataConstr
Implementation of
ToData.toData
Defined in
ConstitutionalCommitteKeyHash()
static
ConstitutionalCommitteKeyHash(hash
):Voter
Parameters
• hash: CanBeHash28
Returns
Defined in
ConstitutionalCommitteScript()
static
ConstitutionalCommitteScript(hash
):Voter
Parameters
• hash: CanBeHash28
Returns
Defined in
DRepKeyHash()
static
DRepKeyHash(hash
):Voter
Parameters
• hash: CanBeHash28
Returns
Defined in
DRepScript()
static
DRepScript(hash
):Voter
Parameters
• hash: CanBeHash28
Returns
Defined in
StakingPoolKeyHash()
static
StakingPoolKeyHash(hash
):Voter
Parameters
• hash: CanBeHash28