Module: message/L2ToL1MessageClassic
Classes
Type Aliases
L2ToL1MessageReaderOrWriterClassic
L2ToL1MessageReaderOrWriterClassic<T
>: T
extends Provider
? L2ToL1MessageReaderClassic
: L2ToL1MessageWriterClassic
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 |