directrequest

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatedDirectRequestSpec

func ValidatedDirectRequestSpec(tomlString string) (job.Job, error)

Types

type Config

type Config interface {
	MinIncomingConfirmations() uint32
	MinimumContractPayment() *assets.Link
}

type Delegate

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

func NewDelegate

func NewDelegate(
	logBroadcaster log.Broadcaster,
	pipelineRunner pipeline.Runner,
	pipelineORM pipeline.ORM,
	ethClient eth.Client,
	db *gorm.DB,
	config Config,
) *Delegate

func (*Delegate) JobType

func (d *Delegate) JobType() job.Type

func (Delegate) OnJobCreated

func (Delegate) OnJobCreated(spec job.Job)

func (Delegate) OnJobDeleted

func (Delegate) OnJobDeleted(spec job.Job)

func (*Delegate) ServicesForSpec

func (d *Delegate) ServicesForSpec(job job.Job) (services []job.Service, err error)

ServicesForSpec returns the log listener service for a direct request job

type DirectRequestToml

type DirectRequestToml struct {
	ContractAddress ethkey.EIP55Address `toml:"contractAddress"`
}

Jump to

Keyboard shortcuts

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