Constitution
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / Constitution
Class: Constitution
Implements
IConstitution
ToCbor
Constructors
new Constitution()
new Constitution(
__namedParameters
):Constitution
Parameters
• __namedParameters: IConstitution
Returns
Defined in
src/governance/Constitution.ts:30
Properties
anchor
readonly
anchor:Anchor
Implementation of
Defined in
src/governance/Constitution.ts:27
scriptHash
readonly
scriptHash:undefined
|Hash28
Implementation of
Defined in
src/governance/Constitution.ts:28
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/governance/Constitution.ts:40
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Implementation of
ToCbor.toCborObj
Defined in
src/governance/Constitution.ts:44
toData()
toData(
v
?):DataConstr
Parameters
• v?: ToDataVersion
Returns
DataConstr