Skip to main content

GovActionNewConstitution

@harmoniclabs/cardano-ledger-ts • Docs


@harmoniclabs/cardano-ledger-ts / GovActionNewConstitution

Class: GovActionNewConstitution

Implements​

Constructors​

new GovActionNewConstitution()​

new GovActionNewConstitution(__namedParameters): GovActionNewConstitution

Parameters​

• __namedParameters: IGovActionNewConstitution

Returns​

GovActionNewConstitution

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​

IGovAction.govActionType

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

Defined in​

src/governance/GovAction/GovActionNewConstitution.ts:56