Skip to main content

MovePackageInterface

interface MovePackageInterface

A move package

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Inheritors​

MovePackage

Functions​

NameSummary
digestabstract fun digest(): Digest
Calculate the digest of the MovePackage.
idabstract fun id(): ObjectId
linkageTableabstract fun linkageTable(): LinkageMap
moduleabstract fun module(name: Identifier): ByteArray?
Retrieve the module from this package with the given Identifier.
modulesabstract fun modules(): ModuleMap
sizeabstract fun size(): ULong
Return the size of the package in bytes.
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.
typeOriginTableabstract fun typeOriginTable(): List<TypeOrigin>
versionabstract fun version(): Version