Skip to main content

UnchangedSharedKind

sealed class UnchangedSharedKind : Disposable

Type of unchanged shared object

BCS

The BCS serialized form for this type is defined by the following ABNF:

unchanged-shared-object-kind =  read-only-root
=/ mutate-deleted
=/ read-deleted
=/ canceled
=/ per-epoch-config

read-only-root = %d00 u64 digest
mutate-deleted = %d01 u64
read-deleted = %d02 u64
canceled = %d03 u64
per-epoch-config = %d04

Inheritors​

ReadOnlyRoot
MutateDeleted
ReadDeleted
Canceled
PerEpochConfig

Types​

NameSummary
Canceleddata class Canceled(val version: Version) : UnchangedSharedKind
Shared objects in canceled transaction. The sequence number embed cancellation reason.
MutateDeleteddata class MutateDeleted(val version: Version) : UnchangedSharedKind
Deleted shared objects that appear mutably/owned in the input.
PerEpochConfigobject PerEpochConfig : UnchangedSharedKind
Read of a per-epoch config object that should remain the same during an epoch.
ReadDeleteddata class ReadDeleted(val version: Version) : UnchangedSharedKind
Deleted shared objects that appear as read-only in the input.
ReadOnlyRootdata class ReadOnlyRoot(val version: Version, val digest: ObjectDigest) : UnchangedSharedKind
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.

Functions​

NameSummary
destroyopen override fun destroy()

Canceled​

data class Canceled(val version: Version) : UnchangedSharedKind

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

Constructors​

Canceledconstructor(version: Version)

Properties​

NameSummary
versionval version: Version

Functions​

NameSummary
destroyopen override fun destroy()

MutateDeleted​

data class MutateDeleted(val version: Version) : UnchangedSharedKind

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

Constructors​

MutateDeletedconstructor(version: Version)

Properties​

NameSummary
versionval version: Version

Functions​

NameSummary
destroyopen override fun destroy()

PerEpochConfig​

object PerEpochConfig : UnchangedSharedKind

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

Functions​

NameSummary
destroyopen override fun destroy()

ReadDeleted​

data class ReadDeleted(val version: Version) : UnchangedSharedKind

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

Constructors​

ReadDeletedconstructor(version: Version)

Properties​

NameSummary
versionval version: Version

Functions​

NameSummary
destroyopen override fun destroy()

ReadOnlyRoot​

data class ReadOnlyRoot(val version: Version, val digest: ObjectDigest) : UnchangedSharedKind

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.

Constructors​

ReadOnlyRootconstructor(version: Version, digest: ObjectDigest)

Properties​

NameSummary
digestval digest: ObjectDigest
versionval version: Version

Functions​

NameSummary
destroyopen override fun destroy()