GovActionNewConstitution
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / GovActionNewConstitution
Class: GovActionNewConstitution
Implements
IGovActionIGovActionNewConstitutionToCborToData
Constructors
new GovActionNewConstitution()
new GovActionNewConstitution(
__namedParameters):GovActionNewConstitution
Parameters
• __namedParameters: IGovActionNewConstitution
Returns
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:32
Properties
constitution
readonlyconstitution:Constitution
Implementation of
IGovActionNewConstitution.constitution
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:30
govActionId
readonlygovActionId:undefined|TxOutRef
Implementation of
IGovActionNewConstitution.govActionId
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:29
govActionType
readonlygovActionType:NewConstitution
Implementation of
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:28
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:43
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Implementation of
ToCbor.toCborObj
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:47
toData()
toData(
v?):DataConstr
Parameters
• v?: ToDataVersion
Returns
DataConstr
Implementation of
ToData.toData