Expand description
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.
Structs§
- Bundle
Recover Error - Decoding error specifying the an error encountered while decoding transactions in a Signet bundle.
- Recovered
Bundle - Version of
SignetEthBundlewith decoded transactions. - Signet
Bundle Driver - A call bundle driver for the Signet EVM.
- Signet
Call Bundle - Bundle of transactions for
signet_callBundle. - Signet
Call Bundle Response - Response for
signet_callBundle. - Signet
EthBundle - Bundle of transactions for
signet_sendBundle. - Signet
EthBundle Driver - Driver for applying a Signet Ethereum bundle to an EVM.
- TxRequirement
- Transaction requirement info for a single transaction.
Enums§
- Recover
Error - Errors that can occur while recovering signatures from transactions in bundles.
- Signet
EthBundle Error - Errors while running a
SignetEthBundleon the EVM.
Traits§
- Signet
Bundle Api - Signet namespace RPC interface.
Type Aliases§
- Bundle
Inspector - The inspector type required by the Signet bundle driver.
- Signet
EthBundle Insp - Inspector used in the impl of
BundleDriverforSignetEthBundleDriver.