directrequest

package
v1.10.17 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 20 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(
	logger logger.Logger,
	pipelineRunner pipeline.Runner,
	pipelineORM pipeline.ORM,
	db *gorm.DB,
	chainSet evm.ChainSet,
) *Delegate

func (Delegate) AfterJobCreated

func (Delegate) AfterJobCreated(spec job.Job)

func (Delegate) BeforeJobDeleted

func (Delegate) BeforeJobDeleted(spec job.Job)

func (*Delegate) JobType

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

func (*Delegate) ServicesForSpec

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

ServicesForSpec returns the log listener service for a direct request job

type DirectRequestToml

type DirectRequestToml struct {
	ContractAddress    ethkey.EIP55Address      `toml:"contractAddress"`
	Requesters         models.AddressCollection `toml:"requesters"`
	MinContractPayment *assets.Link             `toml:"minContractPaymentLinkJuels"`
}

Jump to

Keyboard shortcuts

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