types

package
v0.0.0-...-d1bef67 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package types contains the types used in the AVS JSON-RPC communication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Address common.Address `json:"address"`
	Topics  []common.Hash  `json:"topics"`
	Data    []byte         `json:"data,omitempty"` // Could be replaced with geth.hexutil type
}

Log - Custom type because of hex string to bytes decoding error while using default geth.Log

func (*Log) UnmarshalJSON

func (l *Log) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals JSON data into a Log.

type NodeConfig

type NodeConfig struct {
	// used to set the logger level (true = info, false = debug)
	Production                    bool   `yaml:"production"`
	OperatorAddress               string `yaml:"operator_address"`
	OperatorStateRetrieverAddress string `yaml:"operator_state_retriever_address"`
	AVSRegistryCoordinatorAddress string `yaml:"avs_registry_coordinator_address"`
	TokenStrategyAddr             string `yaml:"token_strategy_addr"`
	EthRPCURL                     string `yaml:"eth_rpc_url"`
	BlsPrivateKeyStorePath        string `yaml:"bls_private_key_store_path"`
	EcdsaPrivateKeyStorePath      string `yaml:"ecdsa_private_key_store_path"`
	AggregatorServerIPPortAddress string `yaml:"aggregator_server_ip_port_address"`
	RegisterOperatorOnStartup     bool   `yaml:"register_operator_on_startup"`
	EigenMetricsIPPortAddress     string `yaml:"eigen_metrics_ip_port_address"`
	EnableMetrics                 bool   `yaml:"enable_metrics"`
	NodeAPIIPPortAddress          string `yaml:"node_api_ip_port_address"`
	EnableNodeAPI                 bool   `yaml:"enable_node_api"`
}

Jump to

Keyboard shortcuts

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