Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { ChainId *big.Int `yaml:"chain-id"` ProverContracts map[string]common.Address `yaml:"prover-contracts"` RpcUrl string `yaml:"rpc-url"` L2Oracle common.Address `yaml:"l2-oracle"` L2OracleStorageKey string `yaml:"l2-oracle-storage-key"` Contracts *Contracts `yaml:"contracts"` TargetProver provers.Prover `yaml:"target-prover"` }
type Networks ¶
type Networks map[string]ChainConfig
func (*Networks) GetChainConfig ¶
func (n *Networks) GetChainConfig(chainId *big.Int) (*ChainConfig, error)
type NetworksConfig ¶
type NetworksConfig struct {
Networks Networks `yaml:"networks"`
}
Click to show internal directories.
Click to hide internal directories.