Interface that should be implemented by ABI serializable objects.

Hierarchy-Diagram

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

Hierarchy (view full)

Implements

Properties

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

Accessors

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