Properties
channelReestablished
channelReestablished: (() => void)
depositLocked
depositLocked: (() => void)
error
error: ((error: Error) => void)
Type declaration
-
- (error: Error): void
-
Returns void
message
message: ((message: string | Object) => void)
Type declaration
-
- (message: string | Object): void
-
Returns void
newContract
newContract: ((contractAddress: `ct_${string}`) => void)
Type declaration
-
- (contractAddress: `ct_${string}`): void
-
Parameters
-
contractAddress: `ct_${string}`
Returns void
onChainTx
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
ownDepositLocked: (() => void)
ownWithdrawLocked
ownWithdrawLocked: (() => void)
peerDisconnected
peerDisconnected: (() => void)
stateChanged
stateChanged: ((tx: "" | `tx_${string}`) => void)
Type declaration
-
- (tx: "" | `tx_${string}`): void
-
Returns void
withdrawLocked
withdrawLocked: (() => void)