Documentation ¶
Index ¶
- func NewBaseConfig() *chainlink.Config
- func NewConfig(baseConf *chainlink.Config, opts ...NodeConfigOpt) *chainlink.Config
- func NewConfigFromToml(tomlFile string, opts ...NodeConfigOpt) (*chainlink.Config, error)
- func SetChainConfig(cfg *chainlink.Config, wsUrls, httpUrls []string, chain blockchain.EVMNetwork, ...)
- type NodeConfigOpt
- func WithLogPollInterval(interval time.Duration) NodeConfigOpt
- func WithOCR1() NodeConfigOpt
- func WithOCR2() NodeConfigOpt
- func WithP2Pv2() NodeConfigOpt
- func WithPrivateEVMs(networks []blockchain.EVMNetwork) NodeConfigOpt
- func WithTracing() NodeConfigOpt
- func WithVRFv2EVMEstimator(addresses []string, maxGasPriceGWei int64) NodeConfigOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseConfig ¶
func NewConfig ¶
func NewConfig(baseConf *chainlink.Config, opts ...NodeConfigOpt) *chainlink.Config
func NewConfigFromToml ¶
func NewConfigFromToml(tomlFile string, opts ...NodeConfigOpt) (*chainlink.Config, error)
func SetChainConfig ¶
func SetChainConfig( cfg *chainlink.Config, wsUrls, httpUrls []string, chain blockchain.EVMNetwork, forwarders bool, )
Types ¶
type NodeConfigOpt ¶
func WithLogPollInterval ¶
func WithLogPollInterval(interval time.Duration) NodeConfigOpt
func WithOCR1 ¶
func WithOCR1() NodeConfigOpt
func WithOCR2 ¶
func WithOCR2() NodeConfigOpt
func WithP2Pv2 ¶
func WithP2Pv2() NodeConfigOpt
func WithPrivateEVMs ¶
func WithPrivateEVMs(networks []blockchain.EVMNetwork) NodeConfigOpt
func WithTracing ¶
func WithTracing() NodeConfigOpt
func WithVRFv2EVMEstimator ¶
func WithVRFv2EVMEstimator(addresses []string, maxGasPriceGWei int64) NodeConfigOpt
Click to show internal directories.
Click to hide internal directories.