Expand description
ZKsync provider.
Modules§
Structs§
- Deposit
Executor - Type that handles deposit logic for various scenarios: deposit ETH, ERC20 etc.
- Deposit
Request - Type for deposit request.
This type only stores the required information for the deposit, while the deposit itself
is performed via
DepositExecutor
. - L1Transaction
Receipt - A wrapper struct to hold L1 transaction receipt and L2 provider which is used by the associated functions.
Enums§
- L1Communication
Error - Enum to describe errors that might occur during L1 -> L2 communication.
Traits§
- Provider
Builder Ext - ZKsync-specific extensions for the
ProviderBuilder
. - Zksync
Provider - ZKsync provider is an extension trait for the
Provider
trait that adds ZKsync-specific methods. - Zksync
Provider With Wallet - Trait for ZKsync provider with populated wallet Contains provider methods that need a wallet
Functions§
- zksync_
provider - Convenience function to initialize provider builder for ZKsync network.