Documentation ¶
Index ¶
- Constants
- Variables
- func BindDeployEVMFlags(cmd *cobra.Command)
- func CallDeployCLI(cmd *cobra.Command, args []string) error
- func DeployCLI(cmd *cobra.Command, args []string, txFabric calls.TxFabric, ...) error
- func ProcessDeployFlags(cmd *cobra.Command, args []string) error
- func ValidateDeployFlags(cmd *cobra.Command, args []string) error
Constants ¶
View Source
const (
TwoDaysTermInBlocks int64 = 6200
)
Variables ¶
View Source
var ( // Flags for all EVM Deploy CLI commands Bridge bool BridgeAddress string DeployAll bool DomainId uint8 GenericHandler bool Erc20 bool Erc20Handler bool Erc20Name string Erc20Symbol string Erc721 bool Erc721Handler bool Erc721Name string Erc721Symbol string Erc721BaseURI string Fee uint64 RelayerThreshold uint64 Relayers []string )
View Source
var BridgeAddr common.Address
View Source
var DeployEVM = &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", PreRun: func(cmd *cobra.Command, args []string) { logger.LoggerMetadata(cmd.Name(), cmd.Flags()) }, RunE: CallDeployCLI, Args: func(cmd *cobra.Command, args []string) error { err := ValidateDeployFlags(cmd, args) if err != nil { return err } return ProcessDeployFlags(cmd, args) }, }
View Source
var Deployments []string
View Source
var ErrNoDeploymentFlagsProvided = errors.New("provide at least one deployment flag. For help use --help")
View Source
var RelayerAddresses []common.Address
Functions ¶
func BindDeployEVMFlags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.