package
3.0.0+incompatible
Repository: https://github.com/0xpolygonhermez/zkevm-synchronizer-l1.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewClient creates a new etherman.
SequencedBatchesSigHash returns the hash for the `SequenceBatches` event.
TrustedVerifyBatchesSigHash returns the hash for the `TrustedVerifyBatches` event.

# Constants

ETRogUpgradeVersion is the version of the LxLy upgrade.
ForcedBatchesOrder identifies a ForcedBatches event.
ForkIDsOrder identifies an updateZkevmVersion event.
GlobalExitRootsOrder identifies a GlobalExitRoot event.
InitialSequenceBatchesOrder identifies a VerifyBatch event.
L1InfoTreeOrder identifies a L1InTree event.
SequenceBatchesOrder identifies a VerifyBatch event.
SequenceForceBatchesOrder identifies a SequenceForceBatches event.
TrustedVerifyBatchOrder identifies a TrustedVerifyBatch event.
UpdateEtrogSequenceOrder identifies a VerifyBatch event.
VerifyBatchOrder identifies a VerifyBatch event.

# Variables

ErrBothGasPriceAndMaxFeeGasAreSpecified both gasPrice and (maxFeePerGas or maxPriorityFeePerGas) specified.
ErrContentLengthTooLarge content length is too large.
ErrGasRequiredExceedsAllowance gas required exceeds the allowance.
ErrInsufficientAllowance insufficient allowance.
ErrIsReadOnlyMode is used when the EtherMan client is in read-only mode.
ErrMaxFeeGasAreSpecifiedButLondonNotActive maxFeePerGas or maxPriorityFeePerGas specified but london is not active yet.
ErrMissingTrieNode means that a node is missing on the trie.
ErrNoSigner no signer to authorize the transaction with.
ErrNotFound is used when the object is not found.
ErrPrivateKeyNotFound used when the provided sender does not have a private key registered to be used.
ErrTimestampMustBeInsideRange Timestamp must be inside range.

# Structs

Block struct.
Client is a simple implementation of EtherMan.
Config represents the configuration of the etherman.
No description provided by the author
ForcedBatch represents a ForcedBatch.
ForkID is a sturct to track the ForkID event.
ForkIDInterval is a fork id interval.
GlobalExitRoot struct.
L1Config represents the configuration of the network used in L1.
Order contains the event order to let the synchronizer store the information following this order.
SequencedBatch represents virtual batch.
SequencedBatchElderberryData represents an Elderberry sequenced batch data.
SequencedForceBatch is a sturct to track the ForceSequencedBatches event.
UpdateEtrogSequence represents the first etrog sequence.
VerifiedBatch represents a VerifiedBatch.

# Type aliases

EventOrder is the the type used to identify the events order.