Skip to main content

PublishProtocol

PublishProtocol Objects

class PublishProtocol(typing.Protocol)

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

dependencies

def dependencies() -> typing.List[ObjectId]

Set of packages that the to-be published package depends on

modules

def modules() -> typing.List[bytes]

The serialized move modules