Documentation ¶
Overview ¶
Package config defines the config for the Executor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { // ChainID is the ID of the chain. ChainID uint32 `yaml:"chain_id"` // OriginAddress is the address of the origin contract. OriginAddress string `yaml:"origin_address"` // DestinationAddress is the address of the destination contract. DestinationAddress string `yaml:"destination_address"` }
ChainConfig defines the config for a specific chain.
type Config ¶
type Config struct { // Chains stores all chain information Chains ChainConfigs `yaml:"chains"` // AttestationCollectorChainID is the chain ID of the attestation collector. AttestationCollectorChainID uint32 `yaml:"attestation_collector_chain_id"` // AttestationCollectorAddress is the address of the Attestation Collector on SYN Chain. AttestationCollectorAddress string `yaml:"attestation_collector_address"` }
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.