Interface that should be implemented by ABI serializable objects.

Hierarchy

Properties

dark: string
light: string
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

  • Parameters

    • variant: "dark" | "light"

    Returns undefined | string

  • Returns string