Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultValues = `` /* 1453-byte string literal not displayed */
DefaultValues is the default configuration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Log log.Config
SyncDB db.Config
ClaimTxManager claimtxman.Config
Etherman etherman.Config
Synchronizer synchronizer.Config
BridgeController bridgectrl.Config
BridgeServer server.Config
// Configuration of the metrics service where metrics will be published
Metrics metrics.Config
NetworkConfig
}
Config struct
type NetworkConfig ¶
type NetworkConfig struct {
L1GenBlockNumber uint64
L2GenBlockNumbers []uint64
PolygonBridgeAddress common.Address
PolygonZkEVMGlobalExitRootAddress common.Address
PolygonRollupManagerAddress common.Address
L2ClaimCompressorAddress common.Address
L2PolygonBridgeAddresses []common.Address
RequireSovereignChainSmcs []bool
L2PolygonZkEVMGlobalExitRootAddresses []common.Address
}
NetworkConfig is the configuration struct for the different environments.
Click to show internal directories.
Click to hide internal directories.