use super::auth_method::AuthMethod;
pub mod access;
pub mod auth;
pub mod components;
pub mod faucets;
pub mod interface;
pub mod metadata;
pub mod mint_policies;
pub mod wallets;
pub use metadata::AccountBuilderSchemaCommitmentExt;
#[macro_export]
macro_rules! procedure_digest {
($name:ident, $component_name:expr, $proc_name:expr, $library_fn:expr) => {
static $name: miden_protocol::utils::sync::LazyLock<miden_protocol::Word> =
miden_protocol::utils::sync::LazyLock::new(|| {
let full_path = alloc::format!("{}::{}", $component_name, $proc_name);
$library_fn().get_procedure_root_by_path(full_path.as_str()).unwrap_or_else(|| {
panic!("{} should contain '{}' procedure", stringify!($library_fn), full_path)
})
});
};
}