Skip to main content

MoveInstantRewardsCert

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / MoveInstantRewardsCert

Class: MoveInstantRewardsCert

Deprecated

Implements

Constructors

new MoveInstantRewardsCert()

new MoveInstantRewardsCert(__namedParameters): MoveInstantRewardsCert

Parameters

__namedParameters: IMoveInstantRewardsCert

Returns

MoveInstantRewardsCert

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:102

Properties

certType

readonly certType: MoveInstantRewards

Implementation of

ICert.certType

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:93


destination

readonly destination: CanBeUInteger | RewardsMap

If the second field is a map, funds are moved to stake credentials, otherwise the funds are given to the other accounting pot (eg. source is Reserve, hence founds are going to treasurery)

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:100


source

readonly source: InstantRewardsSource

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:94

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:155


toCbor()

toCbor(): CborString

Returns

CborString

Implementation of

ToCbor.toCbor

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:160


toCborObj()

toCborObj(): CborObj

Returns

CborObj

Implementation of

ToCbor.toCborObj

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:165


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:143


toJson()

toJson(): object

Returns

object

certType

certType: "MoveInstantRewards"

destination

destination: string | object[]

source

source: "Reserves" | "Treasurery"

Implementation of

ToJson.toJson

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:196


fromCborObj()

static fromCborObj(cObj): MoveInstantRewardsCert

Parameters

cObj: CborObj

Returns

MoveInstantRewardsCert

Defined in

src/ledger/certs/MoveInstantRewardsCert.ts:175