1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! # 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 pending_bundle; pub use pending_bundle::{PendingBundle, PendingBundleError}; mod middleware; pub use middleware::{FlashbotsMiddleware, FlashbotsMiddlewareError}; mod jsonrpc; mod relay; pub use relay::{Relay, RelayError}; mod utils;