service

package
v0.0.0-...-0264a13 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

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

func NewAccountService

func NewAccountService(account *model.Account) *AccountService

func (*AccountService) GetAccount

func (s *AccountService) GetAccount() *model.Account

func (*AccountService) NewTxOpts

func (s *AccountService) NewTxOpts(ctx context.Context) (*bind.TransactOpts, error)

type ChainService

type ChainService struct {
	SubChannels []chan *types.Header
	// contains filtered or unexported fields
}

func NewChainService

func NewChainService(ctx context.Context, client *ethclient.Client, listeners []func(chan *types.Header)) *ChainService

func (*ChainService) StartBlockBroadcaster

func (s *ChainService) StartBlockBroadcaster()

func (*ChainService) StartBlockListener

func (s *ChainService) StartBlockListener() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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