Skip to main content

ObjectOut

sealed class ObjectOut : Disposable

State of an object after execution

BCS

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

Inheritors​

Missing
ObjectWrite
PackageWrite

Types​

NameSummary
Missingobject Missing : ObjectOut
Same definition as in ObjectIn.
ObjectWritedata class ObjectWrite(val digest: ObjectDigest, val owner: Owner) : ObjectOut
Any written object, including all of mutated, created, unwrapped today.
PackageWritedata class PackageWrite(val version: Version, val digest: ObjectDigest) : ObjectOut
Packages writes need to be tracked separately with version because we don't use lamport version for package publish and upgrades.

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 : ObjectOut

Same definition as in 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.

ObjectWrite​

data class ObjectWrite(val digest: ObjectDigest, val owner: Owner) : ObjectOut

Any written object, including all of mutated, created, unwrapped today.

Constructors​

ObjectWriteconstructor(digest: ObjectDigest, owner: Owner)

Properties​

NameSummary
digestval digest: ObjectDigest
ownerval owner: Owner

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.

PackageWrite​

data class PackageWrite(val version: Version, val digest: ObjectDigest) : ObjectOut

Packages writes need to be tracked separately with version because we don't use lamport version for package publish and upgrades.

Constructors​

PackageWriteconstructor(version: Version, digest: ObjectDigest)

Properties​

NameSummary
digestval digest: ObjectDigest
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.