Skip to main content

PublishInterface

type PublishInterface

Command to publish a new move package

BCS

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

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

type PublishInterface interface {
// Set of packages that the to-be published package depends on
Dependencies() []*ObjectId
// The serialized move modules
Modules() [][]byte
}