1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Signet Bundle Library
//!
//! Contains the [`SignetCallBundle`] and [`SignetEthBundle`] type, and
//! utilities related to creating and simulating Signet bundles.
//!
//! # Bundles
//!
//! The [`SignetCallBundle`] and [`SignetEthBundle`] types are used to simulate
//! transaction bundles in different ways. The [`SignetBundleDriver`] type
//! drives a [`SignetCallBundle`] to completion and generates a
//! [`SignetCallBundleResponse`]. This is used primarily by the RPC server to
//! serve `signet_callBundle` requests. The response includes the standard
//! flashbots-style response information, as well as a description of the fills
//! necessary to make the bundle valid on Signet.
//!
//! The [`SignetEthBundle`] type is used to simulate transaction bundles while
//! building blocks. It is used primarily by builders and relays. The
//! [`SignetEthBundleDriver`] drives a [`SignetEthBundle`] to completion and
//! enforces bundle rules. When used in a block builder, it will ensure that the
//! bundle is valid and that the fills are valid at the time of block
//! construction.
//!
//! # Using [`SignetEthBundle`] safely
//!
//! The [`SignetEthBundle`] type contains actions that must be performed on
//! both chains. As such, its simulation must be performed on both chains. The
//! primary transaction simulation via [`SignetEthBundleDriver`] is performed
//! locally using [`trevm`].
pub use ;
pub use ;