UpgradeInterface
type UpgradeInterface
Command to upgrade an already published package
BCS
The BCS serialized form for this type is defined by the following ABNF:
```text upgrade = (vector bytes) ; move modules (vector object-id) ; dependencies object-id ; package-id of the package argument ; upgrade ticket ```
type UpgradeInterface interface {
// Set of packages that the to-be published package depends on
Dependencies() []*ObjectId
// The serialized move modules
Modules() [][]byte
// Package id of the package to upgrade
Package() *ObjectId
// Ticket authorizing the upgrade
Ticket() *Argument
}