Skip to main content

ObjectIn

type ObjectIn​

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:

```text object-in = object-in-missing / object-in-data

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

type ObjectIn interface {
Destroy()
}

func ObjectInFromBcs​

func ObjectInFromBcs(bcs []byte) (ObjectIn, error)

Create this type from BCS encoded bytes.

func ObjectInFromJson​

func ObjectInFromJson(json string) (ObjectIn, error)

Create this type from JSON encoded string.