package
2.21.1-hedera-beta.0
Repository: https://github.com/smartcontractkit/chainlink.git
Documentation: pkg.go.dev

# Packages

# Functions

MinimumPollingInterval returns the minimum duration between polling ticks.
NewDelegate constructs a new delegate.
NewDeviationChecker constructs a new deviation checker with thresholds.
NewFlags constructs a new Flags from a flags contract address.
NewFluxAggregatorContractSubmitter constructs a new NewFluxAggregatorContractSubmitter.
NewFluxMonitor returns a new instance of PollingDeviationChecker.
NewFromJobSpec constructs an instance of FluxMonitor with sane defaults and validation.
NewKeyStore initializes a new keystore.
NewORM initializes a new ORM.
NewPaymentChecker constructs a new payment checker.
NewPollManager initializes a new PollManager.
NewSubmissionChecker initializes a new SubmissionChecker.
NewZeroDeviationChecker constructs a new deviation checker with 0 as thresholds.

# Constants

# Variables

ErrNotEligible defines when the round is not eligible for submission.
ErrPaymentTooLow defines when the round payment is too low.
ErrUnderfunded defines when the aggregator does not have sufficient funds.
FluxAggregatorABI initializes the Flux Aggregator ABI.

# Structs

ContractFlags wraps the a contract.
Delegate represents a Flux Monitor delegate.
DeviationChecker checks the deviation of the next answer against the current answer.
DeviationThresholds carries parameters used by the threshold-trigger logic.
FluxAggregatorContractSubmitter submits the polled answer in an eth tx.
FluxMonitor polls external price adapters via HTTP to check for price swings.
FluxMonitorRoundStatsV2 defines the stats for a round.
KeyStore implements KeyStoreInterface.
PaymentChecker provides helper functions to check whether payments are valid.
PollManager manages the tickers/timers which cause the Flux Monitor to start a poll.
PollRequest defines a request to initiate a poll.
SubmissionChecker checks whether an answer is inside the allowable range.

# Interfaces

Config defines the Flux Monitor configuration.
ContractSubmitter defines an interface to submit an eth tx.
KeyStoreInterface defines an interface to interact with the keystore.
ORM defines an interface for database commands related to Flux Monitor v2.

# Type aliases

PollRequestType defines which method was used to request a poll.