Interface that should be implemented by ABI serializable objects.

Hierarchy-Diagram

UML class diagram of NetMessage
Legend
icon for a class in the UML class diagram class
icon for a public method in the UML class diagram public method
underlined static property/method

Hierarchy (view full)

Properties

variantIdx: number
abiName: string = '__variant'
abiVariant: ABITypeDescriptor[] = []

Accessors

  • get variantName(): string
  • Returns string

Methods

  • Return true if this variant equals the other.

    Note: This compares the ABI encoded bytes of both variants, subclasses should implement their own fast equality check when possible.

    Parameters

    Returns boolean