Interface that should be implemented by ABI serializable objects.

Hierarchy

Properties

version: UInt32
abiFields: ABIField[]
abiName: string

Accessors

  • get structFields(): ABIField[]
  • Returns ABIField[]

Methods

  • Return true if this struct equals the other.

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

    Parameters

    • other: any

    Returns boolean

  • Type Parameters

    Parameters

    • this: T
    • value: any

    Returns InstanceType<T>

  • Parameters

    • value: any

    Returns unknown