IUpgradeCap
Namespace: IotaSdk
A typed view of an on-chain 0x2::package::UpgradeCap object.
public interface IUpgradeCap
Attributes NullableContextAttribute
Methods
Id()
The object's ID.
ObjectId Id()
Returns
Package()
ID of the package that can be upgraded.
ObjectId Package()
Returns
Policy()
What kind of upgrades are allowed.
byte Policy()
Returns
Version()
Number of upgrades applied to the original package.
ulong Version()