Documentation ¶
Overview ¶
Package config defines the config for the CCTPRelayer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { ChainID uint32 `yaml:"chain_id"` // SynapseCCTPAddress is the address of the SynapseCCTP contract. SynapseCCTPAddress string `yaml:"synapse_cctp_address"` }
ChainConfig defines the config for a specific chain.
func (ChainConfig) GetSynapseCCTPAddress ¶
func (c ChainConfig) GetSynapseCCTPAddress() common.Address
GetSynapseCCTPAddress returns the SynapseCCTP address.
type Config ¶
type Config struct { // CircleAPIURl is the URL for the Circle API CircleAPIURl string `yaml:"circle_api_url"` // Chains stores all chain information Chains ChainConfigs `yaml:"chains"` // BaseOmnirpcURL is the base url for omnirpc. // The format is "https://omnirpc.url/". Notice the lack of "confirmations" on the URL // in comparison to what `Scribe` uses. BaseOmnirpcURL string `yaml:"base_omnirpc_url"` // Signer contains the unbonded signer config for agents // (this is signer used to submit transactions) Signer ethConfig.SignerConfig `yaml:"unbonded_signer"` // RetryInterval is the interval for attestation request retries RetryIntervalMS int `yaml:"retry_interval_ms"` // HTTPBackoffMaxElapsedTime is the max elapsed time for attestation request retries HTTPBackoffMaxElapsedTimeMs int `yaml:"http_backoff_max_elapsed_time_ms"` SubmitterConfig submitterConfig.Config `yaml:"submitter_config"` }
Config is used to configure an Executor agent.
func DecodeConfig ¶
DecodeConfig parses in a config from a file.
Click to show internal directories.
Click to hide internal directories.