Skip to main content

Constitution

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / Constitution

Class: Constitution

Implements

Constructors

new Constitution()

new Constitution(__namedParameters): Constitution

Parameters

__namedParameters: IConstitution

Returns

Constitution

Defined in

src/governance/Constitution.ts:30

Properties

anchor

readonly anchor: Anchor

Implementation of

IConstitution.anchor

Defined in

src/governance/Constitution.ts:27


scriptHash

readonly scriptHash: undefined | Hash28

Implementation of

IConstitution.scriptHash

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

Defined in

src/governance/Constitution.ts:52