Module: message/L2ToL1Message
Classes
Type Aliases
L2ToL1MessageReaderOrWriter
L2ToL1MessageReaderOrWriter<T
>: T
extends Provider
? L2ToL1MessageReader
: L2ToL1MessageWriter
Conditional type for Signer or Provider. If T is of type Provider then L2ToL1MessageReaderOrWriter<T> will be of type L2ToL1MessageReader. If T is of type Signer then L2ToL1MessageReaderOrWriter<T> will be of type L2ToL1MessageWriter.
Type parameters
Name | Type |
---|---|
T | extends SignerOrProvider |