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
| Name | Summary |
|---|---|
| Data | data class Data(val version: Version, val digest: ObjectDigest, val owner: Owner) : ObjectIn The old version, digest and owner. |
| Missing | object Missing : ObjectIn |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun 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
| Data | constructor(version: Version, digest: ObjectDigest, owner: Owner) |
Properties
| Name | Summary |
|---|---|
| digest | val digest: ObjectDigest |
| owner | val owner: Owner |
| version | val version: Version |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
Missing
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |