controller

package
v0.0.0-...-ac8a210 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTransactionCouldNotBeFoundInDatabase = errors.New("transaction could not be found in database after retries")

Functions

func NewContractsController

func NewContractsController(e Env) *contractsController

func NewPingController

func NewPingController() *pingController

func NewTasksController

func NewTasksController(e Env) *tasksController

func NewTransactionsController

func NewTransactionsController(e Env) *transactionsController

Types

type Env

type Env interface {
	Logger() *zap.Logger

	ContractService() interfaces.ContractService
	TransactionService() interfaces.TransactionService
	TaskService() interfaces.TaskService
	FunctionService() interfaces.FunctionService
	SolidityService() interfaces.SolidityService

	SolidityCompiler() interfaces.SolidityCompiler

	InstrumentExecutionTopic() interfaces.Topic[bus.InstrumentExecutionEvent]
	TaskStartTopic() interfaces.Topic[bus.TaskStartEvent]
}

type GetAgentsResponse

type GetAgentsResponse struct {
	Addresses []string `json:"addresses"`
}

Jump to

Keyboard shortcuts

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