deploy

package
v0.0.0-...-1b15b10 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeployCMD = &cli.Command{
	Name:        "deploy",
	Description: "This command can be used to deploy all or some of the contracts required for bridging. Selection of contracts can be made by either specifying --all or a subset of flags",
	Action:      deploy,
	Flags: []cli.Flag{
		&cli.BoolFlag{
			Name:  "bridge",
			Usage: "deploy bridge",
		},
		&cli.BoolFlag{
			Name:  "erc20Handler",
			Usage: "deploy erc20Handler",
		},
		&cli.BoolFlag{
			Name:  "erc721Handler",
			Usage: "deploy erc721Handler",
		},
		&cli.BoolFlag{
			Name:  "genericHandler",
			Usage: "deploy genericHandler",
		},
		&cli.BoolFlag{
			Name:  "erc20",
			Usage: "deploy erc20",
		},
		&cli.BoolFlag{
			Name:  "erc721",
			Usage: "deploy erc721",
		},
		&cli.BoolFlag{
			Name:  "all",
			Usage: "deploy all contracts",
		},
		&cli.Int64Flag{
			Name:  "relayerThreshold",
			Value: 1,
			Usage: "Number of votes required for a proposal to pass",
		},
		&cli.Uint64Flag{
			Name:  "chainId",
			Value: 1,
			Usage: "Chain ID for the instance",
		},
		&cli.StringSliceFlag{
			Name:  "relayers",
			Value: cli.NewStringSlice(),
			Usage: "List of initial relayers",
		},
		&cli.StringFlag{
			Name:  "fee",
			Value: "0",
			Usage: "Fee to be taken when making a deposit (in ETH, decimals are allowed)",
		},
		&cli.StringFlag{
			Name:  "bridgeAddress",
			Value: "",
			Usage: "bridge contract address. Should be provided if handlers deployed separately",
		},
		&cli.StringFlag{
			Name:  "erc20Symbol",
			Value: "",
			Usage: "erc20 contract symbol",
		},
		&cli.StringFlag{
			Name:  "erc20Name",
			Value: "",
			Usage: "contract name",
		},
	},
}
View Source
var ErrNoDeploymentFalgsProvided = errors.New("provide at least one deployment flag. For help use --help.")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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