cmdhelper

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractName = "contract.mexe"

Functions

func ObserveRollupChain added in v0.7.3

func ObserveRollupChain(
	execName string,
	managerCreationFunc func(
		rollupAddress common.Address,
		client arbbridge.ArbClient,
		contractFile string, dbPath string,
	) (*rollupmanager.Manager, error),
) error

ValidateRollupChain creates a validator given the managerCreationFunc. This allows for the abstraction of the manager setup away from command line parsing and initialization of common structures and behavior

func ValidateRollupChain

func ValidateRollupChain(
	execName string,
	managerCreationFunc func(
		rollupAddress common.Address,
		client arbbridge.ArbClient,
		contractFile string, dbPath string,
	) (*rollupmanager.Manager, error),
) error

ValidateRollupChain creates a validator given the managerCreationFunc. This allows for the abstraction of the manager setup away from command line parsing and initialization of common structures and behavior

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL