directrequest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 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 {
	MinRequiredOutgoingConfirmations() uint64
}

type Delegate

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

func NewDelegate

func NewDelegate(logBroadcaster log.Broadcaster, headBroadcaster *services.HeadBroadcaster,
	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) 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  models.EIP55Address `toml:"contractAddress"`
	OnChainJobSpecID uuid.UUID           `toml:"jobID"`
}

Jump to

Keyboard shortcuts

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