Crate agglayer_types

Crate agglayer_types 

Source

Re-exports§

pub use network_info::NetworkInfo;
pub use network_info::NetworkStatus;
pub use network_info::NetworkType;
pub use network_info::SettledClaim;
pub use agglayer_interop_types::bincode;
pub use agglayer_primitives as primitives;

Modules§

aggchain_data
aggchain_proof
network_info
testutils

Structs§

Address
A wrapper over [alloy_primitives::Address] that allows us to add custom methods and trait implementations.
Certificate
Represents the data submitted by the chains to the AggLayer.
CertificateHeader
CertificateId
CertificateIndex
Index of the certificate inside its epoch
ClientError
ContractCallResult
Digest
EpochConfiguration
EpochNumber
Height
L1WitnessCtx
Represents all context data fetched from the L1 for the witness generation.
LocalNetworkStateData
Local state data of one network. The AggLayer tracks the LocalNetworkStateData for all networks.
Metadata
NetworkId
A network ID.
Nonce
SettlementAttempt
SettlementAttemptNumber
SettlementJob
SettlementTxHash
Signature
A wrapper over [AlloySignature] with custom serialization.

Enums§

CertificateStatus
CertificateStatusError
ClientErrorType
ContractCallOutcome
Error
ExecutionMode
GenerationType
PessimisticRootInput
The last pessimistic root can be either fetched from L1 or recomputed for a given version.
Proof
Proof is a wrapper around all the different types of proofs that can be generated
SettlementAttemptResult
SettlementJobResult
SignerError

Type Aliases§

B256
32-byte [fixed byte-array][FixedBytes] type.
U256
256-bit [unsigned integer type][Uint], consisting of 4, 64-bit limbs.
U512
512-bit [unsigned integer type][Uint], consisting of 8, 64-bit limbs.