UpgradeCapInterface
interface UpgradeCapInterface
A typed view of an on-chain 0x2::package::UpgradeCap object.
Inheritors
| UpgradeCap |
Functions
| Name | Summary |
|---|---|
| id | abstract fun id(): ObjectId The object's ID. |
| package | abstract fun package(): ObjectId ID of the package that can be upgraded. |
| policy | abstract fun policy(): UByte What kind of upgrades are allowed. |
| version | abstract fun version(): ULong Number of upgrades applied to the original package. |