miden-standards 0.17.0

Standards of the Miden protocol
Documentation
// This file is @generated by `make update-note-costs`. Do not edit by hand.
// Values are maxima across the benchmarked paths; see `miden_standards::note::costs` for the
// caveats on what they do and do not cover.

/// Cycles of consuming a P2ID note: 1 asset 19909, 16 assets 58477 (maximum).
pub const P2ID_CONSUMPTION_CYCLES: u32 = 58477;

/// Cycles of consuming a P2IDE note: claim 20003, claim with 16 assets 58571 (maximum), reclaim
/// 20325.
pub const P2IDE_CONSUMPTION_CYCLES: u32 = 58571;

/// Cycles of consuming a SWAP note: public payback 23965 (maximum), private payback 23449.
pub const SWAP_CONSUMPTION_CYCLES: u32 = 23965;

/// Cycles of consuming a PSWAP note: full fill 27173, partial fill 31473 (maximum).
pub const PSWAP_CONSUMPTION_CYCLES: u32 = 31473;

/// Cycles of consuming a MINT note: fungible faucet 36586, non-fungible faucet 38799 (maximum).
pub const MINT_CONSUMPTION_CYCLES: u32 = 38799;

/// Cycles of consuming a BURN note (single benchmarked path).
pub const BURN_CONSUMPTION_CYCLES: u32 = 30941;

/// Cycles of consuming a CONSTANT_FEE_POLICY_CONFIG note (single benchmarked path).
pub const CONSTANT_FEE_POLICY_CONFIG_CONSUMPTION_CYCLES: u32 = 21376;

/// Cycles of consuming a FAUCET_POLICY_CONFIG note (single benchmarked path).
pub const FAUCET_POLICY_CONFIG_CONSUMPTION_CYCLES: u32 = 28275;

/// Cycles of consuming a FAUCET_METADATA_CONFIG note (single benchmarked path).
pub const FAUCET_METADATA_CONFIG_CONSUMPTION_CYCLES: u32 = 29011;

/// Cycles of consuming a MIN_BURN_AMOUNT_CONFIG note (single benchmarked path).
pub const MIN_BURN_AMOUNT_CONFIG_CONSUMPTION_CYCLES: u32 = 27508;

/// Cycles of consuming an ALLOWLIST_CONFIG note (single benchmarked path).
pub const ALLOWLIST_CONFIG_CONSUMPTION_CYCLES: u32 = 28254;

/// Cycles of consuming a BLOCKLIST_CONFIG note (single benchmarked path).
pub const BLOCKLIST_CONFIG_CONSUMPTION_CYCLES: u32 = 28254;

/// Cycles of consuming a PAUSE_CONFIG note (single benchmarked path).
pub const PAUSE_CONFIG_CONSUMPTION_CYCLES: u32 = 19986;

/// Cycles of consuming an OWNER_CONFIG note (single benchmarked path).
pub const OWNER_CONFIG_CONSUMPTION_CYCLES: u32 = 19567;

/// Cycles of consuming an RBAC_CONFIG note (single benchmarked path).
pub const RBAC_CONFIG_CONSUMPTION_CYCLES: u32 = 23591;

/// Cycles of consuming a NETWORK_ACCOUNT_CONFIG note (single benchmarked path).
pub const NETWORK_ACCOUNT_CONFIG_CONSUMPTION_CYCLES: u32 = 20468;

/// Cycles of consuming an UPGRADE note (single benchmarked path).
pub const UPGRADE_CONSUMPTION_CYCLES: u32 = 20766;

/// Cycles of consuming a FEE_SPONSORSHIP note (single benchmarked path).
pub const FEE_SPONSORSHIP_CONSUMPTION_CYCLES: u32 = 22803;