DRepAlwaysAbstain
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / DRepAlwaysAbstain
Class: DRepAlwaysAbstain
Implements
Constructors
new DRepAlwaysAbstain()
new DRepAlwaysAbstain(
_info
?):DRepAlwaysAbstain
Parameters
• _info?: IDRepAlwaysAbstain
Returns
Defined in
src/governance/DRep/DRepAlwaysAbstain.ts:18
Properties
drepType
readonly
drepType:AlwaysAbstain
Implementation of
Defined in
src/governance/DRep/DRepAlwaysAbstain.ts:15
hash?
readonly
optional
hash:undefined
Implementation of
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
Defined in
src/governance/DRep/DRepAlwaysAbstain.ts:28
toJson()
toJson():
object
Returns
object
drepType
drepType:
string