Skip to main content

ObjectIn

sealed class ObjectIn : Disposable

State of an object prior to execution

If an object exists (at root-level) in the store prior to this transaction, it should be Data, otherwise it's Missing, e.g. wrapped objects should be Missing.

BCS

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

Inheritors​

Missing
Data

Types​

NameSummary
Datadata class Data(val version: Version, val digest: ObjectDigest, val owner: Owner) : ObjectIn
The old version, digest and owner.
Missingobject Missing : ObjectIn

Functions​

NameSummary
destroyopen override fun destroy()
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.

Data​

data class Data(val version: Version, val digest: ObjectDigest, val owner: Owner) : ObjectIn

The old version, digest and owner.

Constructors​

Dataconstructor(version: Version, digest: ObjectDigest, owner: Owner)

Properties​

NameSummary
digestval digest: ObjectDigest
ownerval owner: Owner
versionval version: Version

Functions​

NameSummary
destroyopen override fun destroy()
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.

Missing​

object Missing : ObjectIn

Functions​

NameSummary
destroyopen override fun destroy()
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.