package
0.0.5
Repository: https://github.com/hoaleee/zkevm-node.git
Documentation: pkg.go.dev

# 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.
NewTxProfitabilityCheckerAcceptAll init tx profitability checker that accept all txs.
NewTxProfitabilityCheckerBase init base tx profitability checker.

# Constants

ProfitabilityAcceptAll validate batch anyway and don't check anything.
ProfitabilityBase checks matic collateral with min reward.

# Structs

Aggregator represents an aggregator.
Config represents the configuration of the aggregator.
TokenAmountWithDecimals is a wrapper type that parses token amount with decimals to big int.
TxProfitabilityCheckerAcceptAll validate batch anyway and don't check anything.
TxProfitabilityCheckerBase checks matic collateral with min reward.

# Type aliases

TxProfitabilityCheckerType checks profitability of batch validation.