Expand description
L1-L2 messaging helpers. L1↔L2 messaging types and utilities.
Mirrors upstream:
stdlib/src/messaging/l1_actor.tsstdlib/src/messaging/l2_actor.tsstdlib/src/messaging/l1_to_l2_message.ts
Structs§
- L1Actor
- An actor on L1 (Ethereum), identified by an Eth address and chain ID.
- L1To
L2Message - A message sent from L1 to L2 via the Inbox contract.
- L2Actor
- An actor on L2 (Aztec), identified by an Aztec address and protocol version.
- L2Amount
Claim - Claim information including the bridged amount.
- L2Amount
Claim With Recipient - Claim information including amount and recipient.
- L2Claim
- Information needed to claim tokens bridged from L1 to L2.
Functions§
- generate_
claim_ secret - Generate a random claim secret and its hash.