Skip to main content

Voter

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / Voter

Class: Voter

Implements

Constructors

new Voter()

new Voter(__namedParameters): Voter

Parameters

__namedParameters: IVoter

Returns

Voter

Defined in

src/governance/Voter.ts:70

Properties

hash

readonly hash: Hash28

Implementation of

IVoter.hash

Defined in

src/governance/Voter.ts:68


kind

readonly kind: VoterKind

Implementation of

IVoter.kind

Defined in

src/governance/Voter.ts:67

Methods

toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/governance/Voter.ts:101


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ToData.toData

Defined in

src/governance/Voter.ts:109


ConstitutionalCommitteKeyHash()

static ConstitutionalCommitteKeyHash(hash): Voter

Parameters

hash: CanBeHash28

Returns

Voter

Defined in

src/governance/Voter.ts:80


ConstitutionalCommitteScript()

static ConstitutionalCommitteScript(hash): Voter

Parameters

hash: CanBeHash28

Returns

Voter

Defined in

src/governance/Voter.ts:84


DRepKeyHash()

static DRepKeyHash(hash): Voter

Parameters

hash: CanBeHash28

Returns

Voter

Defined in

src/governance/Voter.ts:88


DRepScript()

static DRepScript(hash): Voter

Parameters

hash: CanBeHash28

Returns

Voter

Defined in

src/governance/Voter.ts:92


StakingPoolKeyHash()

static StakingPoolKeyHash(hash): Voter

Parameters

hash: CanBeHash28

Returns

Voter

Defined in

src/governance/Voter.ts:96