# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
FirstToUpper returns the string passed as argument with the first letter in uppercase.
New creates a new aggregator.
NewAggLayerClient returns a client ready to be used.
NewTxProfitabilityCheckerAcceptAll init tx profitability checker that accept all txs.
NewTxProfitabilityCheckerBase init base tx profitability checker.
# Constants
AggLayer settlement backend.
L1 settlement backend.
ProfitabilityAcceptAll validate batch anyway and don't check anything.
ProfitabilityBase checks pol collateral with min reward.
# Structs
AggLayerClient is the client that will be used to interact with the AggLayer.
Aggregator represents an aggregator.
Config represents the configuration of the aggregator.
SignedTx is the struct that contains the signed batch transaction.
StreamClientCfg contains the data streamer's configuration properties.
TokenAmountWithDecimals is a wrapper type that parses token amount with decimals to big int.
Tx is the struct that contains the verified batch transaction.
TxProfitabilityCheckerAcceptAll validate batch anyway and don't check anything.
TxProfitabilityCheckerBase checks pol collateral with min reward.
ZKP is the struct that contains the zero-knowledge proof.
# Interfaces
AgglayerClientInterface is the interface that defines the methods that the AggLayerClient will implement.
# Type aliases
SettlementBackend is the type of the settlement backend.
TxProfitabilityCheckerType checks profitability of batch validation.