Documentation ¶
Index ¶
- type CheckDataService
- type UpkeepService
- func (s *UpkeepService) CreateInitialUpkeep() error
- func (s *UpkeepService) GetUpkeeps() ([]v2_0.UpkeepControllerExampleDetailedUpkeep, error)
- func (s *UpkeepService) NewUpkeep(contract model.ContractInfo, adminAddress common.Address, limit uint64, ...) (model.Upkeep, error)
- func (s *UpkeepService) StartAllowanceWatcher(headerCh chan *types.Header)
- func (s *UpkeepService) StartBalanceWatcher(headerCh chan *types.Header)
- func (s *UpkeepService) StartCreator()
- func (s *UpkeepService) StartPayer()
- func (s *UpkeepService) StartScaler(headerCh chan *types.Header)
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 (s *UpkeepService) GetUpkeeps() ([]v2_0.UpkeepControllerExampleDetailedUpkeep, error)
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)
Click to show internal directories.
Click to hide internal directories.