Skip to main content

UpgradeCapInterface

interface UpgradeCapInterface

A typed view of an on-chain 0x2::package::UpgradeCap object.

Inheritors

UpgradeCap

Functions

NameSummary
idabstract fun id(): ObjectId
The object's ID.
packageabstract fun package(): ObjectId
ID of the package that can be upgraded.
policyabstract fun policy(): UByte
What kind of upgrades are allowed.
versionabstract fun version(): ULong
Number of upgrades applied to the original package.