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 for this type is defined by the following ABNF:

object-in = object-in-missing / object-in-data

object-in-missing = %d00
object-in-data = %d01 u64 digest owner

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()

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()

Missing​

object Missing : ObjectIn

Functions​

NameSummary
destroyopen override fun destroy()