Module: message/L2ToL1MessageNitro
Classes
Type Aliases
L2ToL1MessageReaderOrWriterNitro
L2ToL1MessageReaderOrWriterNitro<T
>: T
extends Provider
? L2ToL1MessageReaderNitro
: L2ToL1MessageWriterNitro
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 |