eoa

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerType = "eoa"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string `yaml:"address"`
}

func (*Config) Validate

func (c *Config) Validate() error

type EOA

type EOA struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, log logrus.FieldLogger, monitor, name string, config *Config, ethereumPool *ethereum.Pool) (*EOA, error)

func (*EOA) Address

func (c *EOA) Address() string

func (*EOA) Name

func (c *EOA) Name() string

func (*EOA) Start

func (c *EOA) Start(ctx context.Context) error

func (*EOA) Stop

func (c *EOA) Stop(ctx context.Context) error

func (*EOA) Type

func (c *EOA) Type() string

type Metrics added in v0.1.3

type Metrics struct {
	// contains filtered or unexported fields
}

func GetMetricsInstance added in v0.1.3

func GetMetricsInstance(namespace, monitor string) *Metrics

func (Metrics) UpdateBalance added in v0.1.3

func (m Metrics) UpdateBalance(balance float64, labels []string)

Jump to

Keyboard shortcuts

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