Skip to main content

UpgradeCommand

Upgrades a Move Package.

type UpgradeCommand {
currentPackage: SuiAddress
dependencies: [SuiAddress!]
modules: [Base64!]
upgradeTicket: TransactionArgument
}

Fields

UpgradeCommand.currentPackage ● SuiAddress scalar

ID of the package being upgraded.

UpgradeCommand.dependencies ● [SuiAddress!] list scalar

IDs of the transitive dependencies of the package to be published.

UpgradeCommand.modules ● [Base64!] list scalar

Bytecode for the modules to be published, BCS serialized and Base64 encoded.

UpgradeCommand.upgradeTicket ● TransactionArgument union

The UpgradeTicket authorizing the upgrade.

Implemented By

Command union