Skip to content

Commit

Permalink
chore(bindings): make bundle_helper consistent with rest, export all …
Browse files Browse the repository at this point in the history
…members (#70)
  • Loading branch information
Evalir authored Jan 6, 2025
1 parent af8027a commit e10abf9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
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

0 comments on commit e10abf9

Please # to comment.