v2_0

package
v0.0.0-...-0264a13 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: AGPL-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 CheckDataService

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

func NewCheckDataService

func NewCheckDataService() *CheckDataService

func (*CheckDataService) NewCheckData

func (s *CheckDataService) NewCheckData(offset uint64, limit uint64) ([]byte, error)

type UpkeepService

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

func NewUpkeepService

func NewUpkeepService(ctx context.Context, cfg *config.Config, client *ethclient.Client, checkDataService *CheckDataService, accountService *service.AccountService, tokenService *chainlink.LinkTokenService, upkeepContract *v2_0.UpkeepControllerContract, upkeepContractAddress common.Address, adminAddress common.Address, logicContractInfo model.ContractInfo, newUpkeepCh chan model.Upkeep, topUpCh chan model.UpkeepTopup) *UpkeepService

func (*UpkeepService) CreateInitialUpkeep

func (s *UpkeepService) CreateInitialUpkeep() error

func (*UpkeepService) GetUpkeeps

func (*UpkeepService) NewUpkeep

func (s *UpkeepService) NewUpkeep(contract model.ContractInfo, adminAddress common.Address, limit uint64, offset uint64) (model.Upkeep, error)

func (*UpkeepService) StartAllowanceWatcher

func (s *UpkeepService) StartAllowanceWatcher(headerCh chan *types.Header)

func (*UpkeepService) StartBalanceWatcher

func (s *UpkeepService) StartBalanceWatcher(headerCh chan *types.Header)

func (*UpkeepService) StartCreator

func (s *UpkeepService) StartCreator()

func (*UpkeepService) StartPayer

func (s *UpkeepService) StartPayer()

func (*UpkeepService) StartScaler

func (s *UpkeepService) StartScaler(headerCh chan *types.Header)

Jump to

Keyboard shortcuts

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