Interface ABISerializableConstructor

Hierarchy

Properties

abiAlias?: ABITypeDescriptor

Alias to another type.

For structs, the base class this type extends.

abiDefault?: (() => ABISerializable)

Type declaration

abiFields?: ABIField[]

For structs, the fields that this type contains.

abiName: string

Name of the type, e.g. asset.

abiVariant?: ABITypeDescriptor[]

For variants, the different types this type can represent.

Methods

  • Static ABI encoding can be used to encode non-class types. Will be used in favor of instance.toABI if both exists.

    Parameters

    • value: any

      The value to encode.

    • encoder: ABIEncoder

      The encoder to write the value to.

    Returns void

Generated using TypeDoc