Documentation ¶
Index ¶
Constants ¶
View Source
const ( L1NodeURLFlagName = "l1.node.url" L2NodeURLFlagName = "l2.node.url" EventBlockRangeFlagName = "event.block.range" StartingL1BlockHeightFlagName = "start.block.height" OptimismPortalAddressFlagName = "optimismportal.address" )
View Source
const ( MetricsNamespace = "two_step_monitor" // event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to); WithdrawalProvenEventABI = "WithdrawalProven(bytes32,address,address)" )
Variables ¶
View Source
var (
WithdrawalProvenEventABIHash = crypto.Keccak256Hash([]byte(WithdrawalProvenEventABI))
)
Functions ¶
Types ¶
type CLIConfig ¶
type CLIConfig struct { L1NodeURL string L2NodeURL string EventBlockRange uint64 StartingL1BlockHeight uint64 OptimismPortalAddress common.Address }
func ReadCLIFlags ¶
Click to show internal directories.
Click to hide internal directories.