Helios API/ API Reference/ Classes/

UplcVariable

Plutus-core variable ref term (index is a Debruijn index)

Hierarchy

Index

Constructors

constructor

new UplcVariable(site, index)

Parameters

NameType
siteSite
indexUplcInt

Overrides

UplcTerm.constructor

Properties

index

Readonly index: UplcInt

Accessors

site

get site(): Site

Returns

Site

Inherited from

UplcTerm.site

type

get type(): number

Returns

number

Inherited from

UplcTerm.type

Methods

toString

toString(): string

Generic term toString method

Returns

string

Inherited from

UplcTerm.toString

transfer

transfer(other): any

Parameters

NameType
otherTransferUplcAst

Returns

any

Inherited from

UplcTerm.transfer