Skip to main content

moonproof_contracts/utils/
mod.rs

1//! Port of `@midnight-ntwrk/midnight-js-contracts/src/utils/`.
2//!
3//! Two submodules:
4//! - [`zswap_utils`] — encryption-public-key resolution, zswap offer
5//!   construction from a local state.
6//! - [`ledger_utils`] — ledger-type translators that turn an executed
7//!   circuit's result into a `ContractDeploy` / `ContractCallPrototype`
8//!   and embed those in a `Transaction`.
9
10pub mod ledger_utils;
11pub mod zswap_utils;