UpgradeCommand
Upgrades a Move Package.
type UpgradeCommand {
modules: [Base64!]
dependencies: [SuiAddress!]
currentPackage: SuiAddress
upgradeTicket: TransactionArgument
}
Fields
UpgradeCommand.modules
● [Base64!]
list scalar
Bytecode for the modules to be published, BCS serialized and Base64 encoded.
UpgradeCommand.dependencies
● [SuiAddress!]
list scalar
IDs of the transitive dependencies of the package to be published.
UpgradeCommand.currentPackage
● SuiAddress
scalar
ID of the package being upgraded.
UpgradeCommand.upgradeTicket
● TransactionArgument
union
The UpgradeTicket
authorizing the upgrade.
Implemented By
Command
union