Hierarchy (View Summary)

Constructors

Properties

client: ApiClient
eip712: EIP712Helper
listeners: {} = {}
provider: AbstractProvider

Methods

  • Dispatch an event to all listeners

    Type Parameters

    • T extends never

    Parameters

    • event: T
    • data: {}[T]

    Returns void

  • Remove an event listener

    Type Parameters

    • T extends never

    Parameters

    • event: T
    • listener: (data: {}[T]) => void

    Returns void

  • Add an event listener, returns a function that can be called to remove the listener

    Type Parameters

    • T extends never

    Parameters

    • event: T
    • listener: (data: {}[T]) => void

    Returns () => void

  • Add an event listener that will be called only once

    Type Parameters

    • T extends never

    Parameters

    • event: T
    • listener: (data: {}[T]) => void

    Returns () => void