Skip to main content

UnchangedSharedKind

UnchangedSharedKind​

enum UnchangedSharedKind

Type of unchanged shared object

BCS

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

UnchangedSharedKind.canceled(version:)​

case canceled(version: Version)

Shared objects in canceled transaction. The sequence number embed cancellation reason.

UnchangedSharedKind.mutateDeleted(version:)​

case mutateDeleted(version: Version)

Deleted shared objects that appear mutably/owned in the input.

UnchangedSharedKind.perEpochConfig​

case perEpochConfig

Read of a per-epoch config object that should remain the same during an epoch.

UnchangedSharedKind.readDeleted(version:)​

case readDeleted(version: Version)

Deleted shared objects that appear as read-only in the input.

UnchangedSharedKind.readOnlyRoot(version:digest:)​

case readOnlyRoot(version: Version, digest: ObjectDigest)

Read-only shared objects from the input. We don't really need ObjectDigest for protocol correctness, but it will make it easier to verify untrusted read.

toBcs()​

func toBcs() throws -> Data

Convert this type to BCS encoded bytes.

toDisplayString()​

func toDisplayString() -> String

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.

toJson()​

func toJson() throws -> String

Convert this type to a JSON encoded string.