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
//! The xUSDC-on-Miden Rust mirror and test harness: the Rust mirror of the hand-written MASM
//! encoding module, the canonical golden-vector loader / generator, and the faucet account
//! composition (the [`account::xreserve::XReserveStablecoinBuilder`], which validates at build time
//! that the attestation mint policy is the active mint policy, so the attestation-gated path is the
//! sole supply-increasing surface).
//!
//! The four encoding routines are bytes32 hashing, the uint256 → AssetAmount reducer, the
//! Rust-primary AccountId codec, and the DepositIntent layout + parser.
/// Harness-only surface, behind the `testing` feature: the shipped MASM library as a link target.
/// The crate-root faucet-account constructor: the single entry that turns deploy parameters
/// into the deployable, attestation-gated xUSDC faucet
/// [`account::xreserve::XReserveStablecoinBuilder`]-composed `Account`. Surfaced at the
/// library root so account construction is traceable from the top. Beside it, the genesis-only
/// mutations that record consumed deposit nonces on a built faucet and upgrade it to the V2
/// token policy manager.
pub use ;
/// Path of the one canonical golden-vector artifact, loaded by reference from both the Rust
/// unit tests and the MASM execution tests.