Crate zenith_types

Source
Expand description

§zenith-rs

Rust types & utilities for working with Zenith.

rust ecr

§Development

This project requires Rust 1.82.0 or newer.

To build the project, run make build. To run tests, run make test. Before committing code, make sure to run make tidy, which will run clippy and format the whole project.

Modules§

BundleHelper
Contract Bindings for the BundleHelper contract.
HostOrders
Contract Bindings for the HostOrders contract.
Passage
Contract Bindings for the Passage contract.
RollupOrders
Contract Bindings for the RollupOrders contract.
RollupPassage
Contract Bindings for the RollupPassage contract.
Transactor
Generated by the following Solidity interface…
Zenith
Generated by the following Solidity interface…

Structs§

AggregateOrders
Aggregated orders for a transaction or set of transactions.
Alloy2718Coder
Coder for encode_txns and decode_txns that operates on TxEnvelope.
SignRequest
A request to sign a rollup block.
SignResponse
A signature response from a RequestSigner.
SignedOrder
A signed order. TODO: Link to docs.
ZenithBlock
A Zenith block is just a list of transactions.
ZenithCallBundle
Bundle of transactions for zenith_callBundle
ZenithCallBundleResponse
Response for zenith_callBundle
ZenithEthBundle
Wraps a flashbots style EthSendBundle with host fills to make a Zenith compatible bundle
ZenithEthBundleResponse
Response for zenith_sendBundle
mintCall
Function with signature mint(address,uint256) and selector 0x40c10f19.

Constants§

MINTER_ADDRESS
System address with permission to mint tokens on pre-deploys.

Traits§

Coder
Encode/Decode trait for inner tx type
RequestSigner
A RequestSigner signs SignRequests by delegating to an alloy::signers::Signer.

Functions§

decode_txns
Decode transactions.
encode_txns
Encode a set of transactions into a single RLP-encoded buffer.

Type Aliases§

ZenithTransaction
Zenith processes normal Ethereum txns.