1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// 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;