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
| Name | Summary |
|---|---|
| dependencies | abstract fun dependencies(): List<ObjectId> Set of packages that the to-be published package depends on |
| modules | abstract fun modules(): List<ByteArray> The serialized move modules |
| package | abstract fun package(): ObjectId Package id of the package to upgrade |
| ticket | abstract fun ticket(): Argument Ticket authorizing the upgrade |
| toBcs | abstract fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | abstract fun toDisplayString(): String Render this type as human-readable text. |
| toJson | abstract fun toJson(): String Convert this type to a JSON encoded string. |