Expand description
Pure data types — wasm-friendly subset.
Lifecycle types (TxStatus, SegmentStatus, Fees, UnshieldedUtxo*,
FinalizedTxData, ContractStateStreamStart, ContractStateQueryAt,
CallResult*, PartitionedTranscript*) live in [moonproof_contracts::types]
to keep the host-only moonproof_wallet::ProtocolVersion dep out of
the wasm-friendly runtime crate.
Structs§
- Block
Hash - A block hash — indexer-hex convention. Port of TS
BlockHash = string. - Circuit
Id - A provable circuit identifier — the exported name from the Compact
source. Matches TS
AnyProvableCircuitId = string. - Coin
Public Key - The Zswap coin public key used as the sender/owner identity. 32 bytes.
- Contract
Address - EncPublic
Key - The Zswap encryption public key used to seal coins addressed to the current user. 32 bytes.
- Private
State Id - Opaque identifier for a stored private state blob. Port of TS
PrivateStateId = string. - Prover
Key - Raw prover-key bytes produced by
compactc’skeys/<circuit>.proveroutput. - Transaction
Hash - Transaction hash as the indexer reports it — hex string.
- Transaction
Id - Transaction identifier as the indexer reports it — hex string.
- Verifier
Key - Raw verifier-key bytes produced by
compactc’skeys/<circuit>.verifieroutput. - ZkConfig
- Bundle of all ZK artifacts for a single circuit. Port of TS
ZKConfig<K>. - Zkir
- Raw ZKIR bytes produced by
compactc’szkir/<circuit>.bzkiroutput.