eth

package
v0.0.0-...-420b085 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RPCUrl          string `yaml:"RPCUrl" env:"ETH_RPC_URL" env-description:"Ethereum RPC URL"`
	ContractAddress string `yaml:"ContractAddress" env:"ETH_CONTRACT_ADDRESS" env-description:"Ethereum contract address"`
}

type EthEvents

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

func NewEthEvents

func NewEthEvents(ctx context.Context, config *Config, db *db.BoltDB, logger *zap.Logger) (*EthEvents, error)

func (*EthEvents) FetchAddedOperatorEvents

func (e *EthEvents) FetchAddedOperatorEvents() error

func (*EthEvents) ListenAddedOperatorEvents

func (e *EthEvents) ListenAddedOperatorEvents() error

func (*EthEvents) Start

func (e *EthEvents) Start() error

Jump to

Keyboard shortcuts

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