deploy

package
v0.0.0-...-8d384ed Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeployCeloCmd = &cobra.Command{
	Use:   "deploy",
	Short: "Deploy smart contracts",
	Long:  "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",
	RunE: func(cmd *cobra.Command, args []string) error {
		txFabric := transaction.NewCeloTransaction
		return coreDeployCLI.DeployCLI(cmd, args, txFabric, &evmgaspricer.StaticGasPriceDeterminant{})
	},
	Args: func(cmd *cobra.Command, args []string) error {
		err := coreDeployCLI.ValidateDeployFlags(cmd, args)
		if err != nil {
			return err
		}
		err = coreDeployCLI.ProcessDeployFlags(cmd, args)
		return err
	},
}

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