Skip to main content

DRepAlwaysAbstain

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / DRepAlwaysAbstain

Class: DRepAlwaysAbstain

Implements

Constructors

new DRepAlwaysAbstain()

new DRepAlwaysAbstain(_info?): DRepAlwaysAbstain

Parameters

_info?: IDRepAlwaysAbstain

Returns

DRepAlwaysAbstain

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:18

Properties

drepType

readonly drepType: AlwaysAbstain

Implementation of

IDRep.drepType

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:15


hash?

readonly optional hash: undefined

Implementation of

IDRepAlwaysAbstain.hash

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:16

Methods

toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:41


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:45


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

IDRep.toData

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:28


toJson()

toJson(): object

Returns

object

drepType

drepType: string

Defined in

src/governance/DRep/DRepAlwaysAbstain.ts:52