Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains the types for value and result objects.

Index

Container types Type aliases

ArrayResult

An array value or error

MappingResult

A mapping value or error

StructResult

A struct value or error

TupleResult

A tuple value or error

Elementary types Type aliases

AddressResult

An address value or error

BoolResult

A boolean value or error

BytesDynamicResult

A bytestring value or error (dynamic-length)

BytesResult

A bytestring value or error (static or dynamic)

BytesStaticResult

A bytestring value or error (static-length)

BytesValue

A bytestring value (static or dynamic)

FixedResult

A signed fixed-point value or error

IntResult

A signed integer value or error

StringResult

A string value or error

StringValueInfo

These come in two types: valid strings and malformed strings.

UfixedResult

An unsigned fixed-point value or error

UintResult

An unsigned integer value or error

Function types Type aliases

FunctionExternalResult

An external function pointer value or error

FunctionExternalValueInfo

External function values come in 3 types:

  1. known function of known class
  2. known class, but can't locate function
  3. can't determine class

FunctionInternalResult

An internal function pointer value or error

FunctionInternalValueInfo

Internal functions come in three types:

  1. An actual function,
  2. A default value,
  3. A special value to indicate that decoding internal functions isn't supported in this context.

General categories Type aliases

ElementaryResult

An elementary value or error

ElementaryValue

An elementary value

Result

This is the overall Result type. It may encode an actual value or an error.

Value

An actual value, not an error (although if a container type it may contain errors!)

Other user-defined types Type aliases

ContractResult

A contract value or error

ContractValueInfo

There are two types -- one for contracts whose class we can identify, and one for when we can't identify the class.

EnumResult

An enum value or error

Special container types Type aliases

MagicResult

A magic variable's value (or error)

Variables

Const debug

debug: IDebugger = debugModule("codec:format:values")

Generated using TypeDoc