1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//! # Ethers Flashbots //! //! Provides an [ethers](https://docs.rs/ethers) compatible middleware for submitting //! [Flashbots](https://docs.flashbots.net) bundles. //! //! In addition to leveraging the standard Ethers middleware API ([`send_transaction`][ethers_providers::Middleware::send_transaction]), //! custom bundles can be crafted, simulated and submitted. mod bundle; pub use bundle::{ BundleHash, BundleRequest, BundleTransaction, SimulatedBundle, SimulatedTransaction, }; mod middleware; pub use middleware::{FlashbotsMiddleware, FlashbotsMiddlewareError}; mod jsonrpc; mod relay; pub use relay::{Relay, RelayError};