Skip to main content

UpgradeInfo

Namespace: IotaSdk

Upgraded package info for the linkage table

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public record class UpgradeInfo : System.IDisposable, System.IEquatable`1[[IotaSdk.UpgradeInfo, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → UpgradeInfo
Implements IDisposable, IEquatable<UpgradeInfo>
Attributes NullableContextAttribute, NullableAttribute

Properties​

UpgradedId​

ID of the upgraded package

public ObjectId UpgradedId { get; init; }

Property Value​

ObjectId

UpgradedVersion​

Version of the upgraded package

public Version UpgradedVersion { get; init; }

Property Value​

Version

Constructors​

UpgradeInfo(ObjectId, Version)​

Upgraded package info for the linkage table

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public UpgradeInfo(ObjectId UpgradedId, Version UpgradedVersion)

Parameters​

UpgradedId ObjectId
ID of the upgraded package

UpgradedVersion Version
Version of the upgraded package

Methods​

Dispose()​

public void Dispose()

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToDisplayString()​

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

public string ToDisplayString()

Returns​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException