Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FunctionsDigestPrefix = types.ConfigDigestPrefixEVM // In order to support multiple OCR plugins with a single jobspec & OCR2Base contract, each plugin must have a unique config digest. // This is accomplished by overriding the single config digest from the contract with a unique prefix for each plugin via this custom offchain digester & config poller. ThresholdDigestPrefix = types.ConfigDigestPrefix(7) S4DigestPrefix = types.ConfigDigestPrefix(8) )
View Source
var ConfigSet common.Hash
ConfigSet Common to all OCR2 evm based contracts: https://github.com/smartcontractkit/libocr/blob/master/contract2/dev/OCR2Abstract.sol
Functions ¶
func NewFunctionsConfigPoller ¶
func NewFunctionsConfigPoller(pluginType FunctionsPluginType, destChainPoller logpoller.LogPoller, addr common.Address, lggr logger.Logger) (types.ConfigPoller, error)
Types ¶
type FunctionsOffchainConfigDigester ¶
type FunctionsOffchainConfigDigester struct { PluginType FunctionsPluginType BaseDigester evmutil.EVMOffchainConfigDigester }
func (FunctionsOffchainConfigDigester) ConfigDigest ¶
func (d FunctionsOffchainConfigDigester) ConfigDigest(cc types.ContractConfig) (types.ConfigDigest, error)
func (FunctionsOffchainConfigDigester) ConfigDigestPrefix ¶
func (d FunctionsOffchainConfigDigester) ConfigDigestPrefix() (types.ConfigDigestPrefix, error)
type FunctionsPluginType ¶
type FunctionsPluginType int
const ( FunctionsPlugin FunctionsPluginType = iota ThresholdPlugin S4Plugin )
Click to show internal directories.
Click to hide internal directories.