Module lightclientv2mock

Source
Expand description

§What to re-export, what to hide?

  • export contract struct itself, but try to avoid export instance type (instead, use ::new() to get a handle)
  • avoid exporting xxCall and xxReturn types, they usually can be converted/transmuted from existing struct
  • Event types should be exported
  • structs should be exported and renamed with xxSol suffix to avoid confusion with other rust types
    • see module doc for more explanation on types duplication issue in alloy

Modules§

BN254
Module containing a contract’s types and functions.
IPlonkVerifier
Module containing a contract’s types and functions.
LightClient
Module containing a contract’s types and functions.
LightClientV2Mock
Generated by the following Solidity interface…