Skip to main content

Module faucet

Module faucet 

Source

Structs§

AggLayerBridge
An AccountComponent implementing the AggLayer Bridge.
AggLayerFaucet
An AccountComponent implementing the AggLayer Faucet.
B2AggNote
B2AGG (Bridge to AggLayer) note.
ClaimNoteStorage
Data for creating a CLAIM note.
ConfigAggBridgeNote
CONFIG_AGG_BRIDGE note.
EthAddress
Represents a plain Ethereum address (20 bytes).
EthAmount
Represents an Ethereum uint256 amount as 8 u32 values.
EthEmbeddedAccountId
Represents a Miden AccountId that can be encoded in the 20-byte Ethereum address format.
LeafData
Leaf data for CLAIM note creation. Contains network, address, amount, and metadata using typed representations.
MetadataHash
Represents a Keccak256 metadata hash as 32 bytes.
ProofData
Proof data for CLAIM note creation. Contains SMT proofs and root hashes using typed representations.
UpdateGerNote
UPDATE_GER note.

Enums§

AgglayerFaucetError
AggLayer Faucet related errors.
EthAmountError
Error type for Ethereum amount conversions.
GlobalIndexError
Error type for GlobalIndex validation.

Constants§

BRIDGE_CODE_COMMITMENT
FAUCET_CODE_COMMITMENT

Type Aliases§

ExitRoot
Exit root representation (32-byte Keccak256 hash)
GlobalIndex
Represents an AggLayer global index as a 256-bit value (32 bytes).
SmtNode
SMT node representation (32-byte Keccak256 hash)