container

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Config                   *config.ResolvedConfig
	EthClient                *client.EthereumClient
	ValidatorManagerContract *client.ValidatorManagerContract
	TxBuilder                *tx.Builder
	TxSender                 *tx.Sender
	ValidatorService         *tx.ValidatorService
	CollateralService        *tx.CollateralService
}

Container holds all dependencies for transaction operations

func NewContainer

func NewContainer(resolvedConfig *config.ResolvedConfig) (*Container, error)

NewContainer creates a new dependency container

func (*Container) Close

func (c *Container) Close()

Close closes the Ethereum client connection

Jump to

Keyboard shortcuts

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