Interface: UpgradeLike
Command to upgrade an already published package
BCS
The BCS serialized form for this type is defined by the following ABNF:
upgrade = (vector bytes) ; move modules
(vector object-id) ; dependencies
object-id ; package-id of the package
argument ; upgrade ticket
Methods
dependencies()
dependencies(): ObjectIdLike[];
Set of packages that the to-be published package depends on
Returns
modules()
modules(): ArrayBuffer[];
The serialized move modules
Returns
ArrayBuffer[]
package_()
package_(): ObjectIdLike;
Package id of the package to upgrade
Returns
ticket()
ticket(): ArgumentLike;
Ticket authorizing the upgrade