GovActionNewConstitution
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / GovActionNewConstitution
Class: GovActionNewConstitution
Implements
IGovAction
IGovActionNewConstitution
ToCbor
ToData
Constructors
new GovActionNewConstitution()
new GovActionNewConstitution(
__namedParameters
):GovActionNewConstitution
Parameters
• __namedParameters: IGovActionNewConstitution
Returns
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:32
Properties
constitution
readonly
constitution:Constitution
Implementation of
IGovActionNewConstitution
.constitution
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:30
govActionId
readonly
govActionId:undefined
|TxOutRef
Implementation of
IGovActionNewConstitution
.govActionId
Defined in
src/governance/GovAction/GovActionNewConstitution.ts:29
govActionType
readonly
govActionType: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