aztec_fee/lib.rs
1//! Fee payment strategies for aztec-rs.
2//!
3//! This crate provides implementations of the [`FeePaymentMethod`] trait,
4//! which determines how transaction fees are paid on the Aztec network.
5//!
6//! # Available strategies
7//!
8//! - [`NativeFeePaymentMethod`] — pay with existing Fee Juice balance (default)
9//! - [`SponsoredFeePaymentMethod`] — a sponsor contract pays unconditionally
10//! - [`FeeJuicePaymentMethodWithClaim`] — claim Fee Juice from L1 bridge and pay
11
12mod fee_juice_with_claim;
13mod fee_payment_method;
14mod native;
15mod sponsored;
16mod types;
17
18pub use fee_juice_with_claim::FeeJuicePaymentMethodWithClaim;
19pub use fee_payment_method::FeePaymentMethod;
20pub use native::NativeFeePaymentMethod;
21pub use sponsored::SponsoredFeePaymentMethod;
22pub use types::L2AmountClaim;