Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Migrations string `yaml:"migrations"` Server Server `yaml:"server"` RPCs []*RPC `yaml:"rpcs"` Metrics Server `yaml:"metrics"` Database DB `yaml:"database"` Exporter Exporter `yaml:"exporter"` L1StakingManagerAddr string `yaml:"l1_staking_manager_addr"` ChainId ChainId `yaml:"chain_id"` }
type RPC ¶
type RPC struct { RpcUrl string `yaml:"rpc_url"` ChainId uint64 `yaml:"chain_id"` FoundingPoolAddress string `yaml:"founding_pool_address"` EthAddress string `yaml:"eth_address"` WEthAddress string `yaml:"weth_address"` USDTAddress string `yaml:"usdt_address"` USDCAddress string `yaml:"usdc_address"` DAIAddress string `yaml:"dai_address"` OKBAddress string `yaml:"okb_address"` MNTAddress string `yaml:"mnt_address"` DaStrategyAddress string `yaml:"da_strategy_address"` GamingStrategyAddress string `yaml:"gaming_strategy_address"` SocialStrategyAddress string `yaml:"social_strategy_address"` StrategyManager string `yaml:"strategy_manager"` DelegationManager string `yaml:"delegation_manager"` }
Click to show internal directories.
Click to hide internal directories.