Interface that should be implemented by ABI serializable objects.

Hierarchy

Properties

Accessors

Methods

Properties

variantIdx: number
abiName: string
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

  • Type Parameters

    Parameters

    Returns InstanceType<T>

  • Parameters

    Returns unknown