Skip to main content

Publish

open class Publish : Disposable, AutoCloseable, PublishInterface

Command to publish a new move package

BCS

The BCS serialized form for this type is defined by the following ABNF:

publish = (vector bytes)        ; the serialized move modules
(vector object-id) ; the set of package dependencies

Constructors

Publishconstructor(modules: List<ByteArray>, dependencies: List<ObjectId>)

Functions

NameSummary
close@Synchronized
open override fun close()
dependenciesopen override fun dependencies(): List<ObjectId>
Set of packages that the to-be published package depends on
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
modulesopen override fun modules(): List<ByteArray>
The serialized move modules
toStringopen override fun toString(): String