Package

interface Package

A Move Package

Properties

Link copied to clipboard
abstract val linkage: List<Linkage>

The package's transitive dependencies as a mapping from the package's runtime Id (the Id it is referred to by in other packages) to its storage Id (the Id it is loaded from on chain).

Link copied to clipboard
abstract val modules: List<Module>

The modules defined by this package

Link copied to clipboard
abstract val originalId: String?

The PackageId of the first published version of this package.

Link copied to clipboard

Returns the field-presence view for this Package instance.

Link copied to clipboard
abstract val storageId: String?

The PackageId of this package

Link copied to clipboard
abstract val typeOrigins: List<TypeOrigin>

List of datatype origins for mapping datatypes to a package version where it was first defined

Link copied to clipboard
abstract val version: <Error class: unknown class>?

The version of this package

Functions

Link copied to clipboard
Link copied to clipboard
fun Package.copy(body: <Error class: unknown class>.() -> Unit = {}): Package

Copies the original message, including unknown fields.