Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

chore(bindings): make bundle_helper consistent with rest, export all members #70

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@ mod rollup_passage {
}
}

mod bundle_helper {
alloy_sol_types::sol!(
#[derive(Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[sol(rpc)]
BundleHelper,
"abi/BundleHelper.json"
);
}

pub use zenith::Zenith;

/// Contract Bindings for the RollupOrders contract.
Expand Down Expand Up @@ -432,15 +441,9 @@ pub mod RollupPassage {
pub use super::rollup_passage::UsesPermit2::*;
}

pub mod bundle_helper {
//! Bundle Helper contract bindings
alloy_sol_types::sol!(
#[derive(Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[sol(rpc)]
BundleHelper,
"abi/BundleHelper.json"
);

pub use super::bundle_helper::BundleHelper::{new, submitCall, FillPermit2};
/// Contract Bindings for the BundleHelper contract.
#[allow(non_snake_case)]
pub mod BundleHelper {
pub use super::bundle_helper::BundleHelper::*;
pub use super::bundle_helper::Zenith::BlockHeader;
}
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

mod bindings;
pub use bindings::{
bundle_helper, mintCall, HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith,
mintCall, BundleHelper, HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith,
};

mod block;
Expand Down
Loading