Class EvalDelta

An interface for objects that can be encoded and decoded to/from msgpack and JSON.

Implements

Constructors

Properties

globalDelta: Map<Uint8Array, ValueDelta>
innerTxns: SignedTxnWithAD[]
localDeltas: Map<number, Map<Uint8Array, ValueDelta>>

When decoding EvalDeltas, the integer key represents an offset into [txn.Sender, txn.Accounts[0], txn.Accounts[1], ...]

logs: Uint8Array[]
sharedAccts: Address[]

If a program modifies the local of an account that is not the Sender, or in txn.Accounts, it must be recorded here, so that the key in LocalDeltas can refer to it.

encodingSchemaValue: undefined | Schema

Accessors

Methods

  • Extract the encoding data for this object. This data, after being prepared by the encoding Schema, can be encoded to msgpack or JSON.

    Returns Map<string, unknown>

Generated using TypeDoc