Used for representing decoded state variables.

Hierarchy

  • StateVariable

Properties

Properties

The class of the contract that defined the variable, as a Format.Types.ContractType. Note that this class may differ from that of the contract being decoded, due to inheritance.

name: string

The name of the variable. Note that due to inheritance, this may not be unique among the contract's state variables.

value: Result

The decoded value of the variable. Note this is a Format.Values.Result, so it may be an error.

Generated using TypeDoc