Hierarchy

  • ChannelState

Properties

closeTx?: string
handler?: ChannelHandler
onDepositLocked?: (() => void)

Type declaration

    • (): void
    • Returns void

onOnChainTx?: ((tx) => void)

Type declaration

    • (tx): void
    • Parameters

      • tx: `tx_${string}`

      Returns void

onOwnDepositLocked?: (() => void)

Type declaration

    • (): void
    • Returns void

onOwnWithdrawLocked?: (() => void)

Type declaration

    • (): void
    • Returns void

onWithdrawLocked?: (() => void)

Type declaration

    • (): void
    • Returns void

reject: ((e) => void)

Type declaration

    • (e): void
    • Parameters

      Returns void

resolve: ((r?) => void)

Type declaration

    • (r?): void
    • Parameters

      • Optional r: any

      Returns void

sign: SignTx
signedTx: `tx_${string}`

Generated using TypeDoc