Documentation ¶
Overview ¶
Package config enables .yaml files to be passed and parsed to specify indexer behavior
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // SynapseBridgeAddress is the address of the SynapseBridge.sol contract SynapseBridgeAddress string `yaml:"synapse_bridge_address"` // BridgeConfigV3Address is the address of the BridgeConfigV3.sol contract BridgeConfigV3Address string `yaml:"bridge_config_v3_address"` // SwapFlashLoanAddress is the address of the SwapFlashLoan.sol contract SwapFlashLoanAddress string `yaml:"swap_flash_loan_address"` }
Config holds the config for the explorer.
func DecodeConfig ¶
DecodeConfig parses in a config from a file.
Click to show internal directories.
Click to hide internal directories.