eth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeregistrationTopic = "deregistration-subscriber"
)

Variables

This section is empty.

Functions

func DecodeSlashProposalArguments

func DecodeSlashProposalArguments(callData string) (address ethcommon.Address, amount *big.Int, err error)

Types

type DeregistrationPubsub

type DeregistrationPubsub = pubsub.Pubsub[*v1.ServiceEndpoint]

type EthService

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

func NewEthService

func NewEthService(dbURL, rpcURL, registryAddress string, logger *zap.Logger, environment string) *EthService

func (*EthService) Register

For development purposes only

func (*EthService) Run

func (eth *EthService) Run(ctx context.Context) error

func (*EthService) SubscribeToDeregistrationEvents

func (eth *EthService) SubscribeToDeregistrationEvents() chan *v1.ServiceEndpoint

func (*EthService) UnsubscribeFromDeregistrationEvents

func (eth *EthService) UnsubscribeFromDeregistrationEvents(ch chan *v1.ServiceEndpoint)

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

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