Crate mavryk_smart_rollup_encoding

Source
Expand description

Encodings related to Mavryk Smart Rollups.

Included are types for:

  • parsing inbox messages from L1, including Michelson types.
  • constructing outbox messages to be executed on L1.
  • parsing & revealing the Data Availability Committee reveal tree encoding.
  • mavryk’ Contract & PublicKeyHash & PublicKey types.

Modules§

contract
Definitions relating to Layer-1 accounts, which the kernel may interact with.
dac
Defines dac related types and functions.
entrypoint
Smart contract entrypoint.
inbox
Types & encodings for the inbox-half of the L1/L2 communication protocol
michelson
Definitions & mavryk-encodings for michelson data.
outbox
Types & encodings for the outbox-half of the L1/L2 communication protocol
public_key
Public Key of Layer1.
public_key_hash
Hash of Layer1 contract ids.
smart_rollup
Hash of Layer1 smart rollup addresses.
timestamp
Timestamp representation corresponding to L1 one Initially copied from tezedge messages crate