Hierarchy

  • ChannelEvents

Properties

channelReestablished: (() => void)

Type declaration

    • (): void
    • Returns void

depositLocked: (() => void)

Type declaration

    • (): void
    • Returns void

error: ((error: Error) => void)

Type declaration

    • (error: Error): void
    • Parameters

      • error: Error

      Returns void

message: ((message: string | Object) => void)

Type declaration

    • (message: string | Object): void
    • Parameters

      • message: string | Object

      Returns void

newContract: ((contractAddress: `ct_${string}`) => void)

Type declaration

    • (contractAddress: `ct_${string}`): void
    • Parameters

      • contractAddress: `ct_${string}`

      Returns void

onChainTx: ((tx: `tx_${string}`, details: {
    info: string;
    type: string;
}) => void)

Type declaration

    • (tx: `tx_${string}`, details: {
          info: string;
          type: string;
      }): void
    • Parameters

      • tx: `tx_${string}`
      • details: {
            info: string;
            type: string;
        }
        • info: string
        • type: string

      Returns void

ownDepositLocked: (() => void)

Type declaration

    • (): void
    • Returns void

ownWithdrawLocked: (() => void)

Type declaration

    • (): void
    • Returns void

peerDisconnected: (() => void)

Type declaration

    • (): void
    • Returns void

stateChanged: ((tx: "" | `tx_${string}`) => void)

Type declaration

    • (tx: "" | `tx_${string}`): void
    • Parameters

      • tx: "" | `tx_${string}`

      Returns void

statusChanged: ((status: ChannelStatus) => void)

Type declaration

withdrawLocked: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc