actions

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AmountFlag = &cli.IntFlag{
		Name:     "amount",
		Usage:    "Amount to deposit",
		Value:    100,
		Required: true,
	}
	StrategyAddressFlag = &cli.StringFlag{
		Name:     "strategy-address",
		Usage:    "Address of the strategy contract",
		Required: true,
		EnvVars:  []string{"STRATEGY_ADDRESS"},
	}
)
View Source
var DepositIntoStrategyCommand = &cli.Command{
	Name:        "deposit-into-strategy",
	Description: "CLI command to deposit into a given strategy",
	Flags:       depositFlags,
	Action:      depositIntoStrategyMain,
}
View Source
var RegisterCommand = &cli.Command{
	Name:        "register",
	Usage:       "Register operator with Aligned Layer",
	Description: "CLI command to register opeartor with Aligned Layer",
	Flags:       registerFlags,
	Action:      registerOperatorMain,
}
View Source
var StartCommand = &cli.Command{
	Name:        "start",
	Description: "CLI command to boot operator",
	Flags:       StartFlags,
	Action:      operatorMain,
}
View Source
var StartFlags = []cli.Flag{
	config.ConfigFileFlag,
}

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