Skip to main content

UpgradeInterface

interface UpgradeInterface

Command to upgrade an already published package

BCS

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

Inheritors​

Upgrade

Functions​

NameSummary
dependenciesabstract fun dependencies(): List<ObjectId>
Set of packages that the to-be published package depends on
modulesabstract fun modules(): List<ByteArray>
The serialized move modules
packageabstract fun package(): ObjectId
Package id of the package to upgrade
ticketabstract fun ticket(): Argument
Ticket authorizing the upgrade
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.