submitter

package
v3.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthQuerier

type AuthQuerier interface {
	QueryAccount(address sdk.Address) (*auth.QueryAccountResponse, error)
}

type BothanClient

type BothanClient interface {
	bothanclient.Client
}

type RemoteClient

type RemoteClient interface {
	rpcclient.RemoteClient
}

type SignalPriceSubmission

type SignalPriceSubmission struct {
	SignalPrices []types.SignalPrice
	UUID         string
}

type Submitter

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

func New

func New(
	clientCtx client.Context,
	clients []rpcclient.RemoteClient,
	bothanClient BothanClient,
	logger *logger.Logger,
	submitSignalPriceCh <-chan SignalPriceSubmission,
	authQuerier AuthQuerier,
	txQuerier TxQuerier,
	valAddress sdk.ValAddress,
	pendingSignalIDs *sync.Map,
	broadcastTimeout time.Duration,
	broadcastMaxTry uint64,
	pollingInterval time.Duration,
	gasPrices string,
) (*Submitter, error)

func (*Submitter) Start

func (s *Submitter) Start()

type TxQuerier

type TxQuerier interface {
	QueryTx(hash string) (*sdk.TxResponse, error)
}

Directories

Path Synopsis
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.

Jump to

Keyboard shortcuts

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