Documentation ¶
Index ¶
- Constants
- func AVSDeregister(ctx context.Context, cfg RegConfig, opts ...regOpt) error
- func AVSRegister(ctx context.Context, cfg RegConfig, opts ...regOpt) error
- func Delegate(ctx context.Context, cfg DelegateConfig) error
- func InitNodes(ctx context.Context, cfg InitConfig) error
- func New() *cobra.Command
- type CliError
- type DelegateConfig
- type EOAConfig
- type InitConfig
- type RegConfig
- type RegDeps
Constants ¶
View Source
const (
KeyTypeInsecure keyType = "insecure"
)
Variables ¶
This section is empty.
Functions ¶
func AVSDeregister ¶ added in v0.12.0
AVSDeregister deregisters the operator from the omni AVS contract.
func AVSRegister ¶ added in v0.12.0
AVSRegister registers the operator with the omni AVS contract.
It assumes that the operator is already registered with the Eigen-Layer and that the eigen-layer configuration file (and ecdsa keystore) is present on disk.
Types ¶
type CliError ¶
CliError is a custom error type for CLI usage that adds a helpful suggestion. It wraps the Msg like a normal error It doesn't support attributes yet.
type DelegateConfig ¶ added in v0.12.0
type EOAConfig ¶ added in v0.12.0
type EOAConfig struct { Network netconf.ID ExecutionRPC string ConsensusRPC string PrivateKeyFile string }
EOAConfig defines the required data to sign and submit evm transactions.
type InitConfig ¶ added in v0.10.0
type InitConfig struct { Network netconf.ID Home string Moniker string Clean bool Archive bool Debug bool HaloTag string HaloFeatureFlags feature.Flags }
func (InitConfig) Verify ¶ added in v0.10.0
func (c InitConfig) Verify() error
type RegDeps ¶
type RegDeps struct { Prompter eigenutils.Prompter NewBackendFunc func(chainName string, chainID uint64, blockPeriod time.Duration, ethCl ethclient.Client, privateKeys ...*ecdsa.PrivateKey) (*ethbackend.Backend, error) VerifyFunc func(eigensdktypes.Operator) error }
RegDeps contains the Register dependencies that are abstracted for testing.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.