Publish

@Serializable
data class Publish(val bytes: List<List<Byte>>, val dependencies: List<ObjectId>) : Command

Publishes a Move package.

It takes the package bytes and a list of the package's transitive dependencies to link against on-chain.

Parameters

bytes

of the module.

dependencies

of the module.

Constructors

Link copied to clipboard
constructor(bytes: List<List<Byte>>, dependencies: List<ObjectId>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Creates a MakeMoveVec command.

Link copied to clipboard

Creates a MergeCoins command.

Link copied to clipboard

Creates a MoveCall command.

Link copied to clipboard

Creates a Publish command.

Link copied to clipboard

Creates a SplitCoins command.

Link copied to clipboard
Link copied to clipboard

Creates a Upgrade command.