config

package
v0.0.0-...-821c63f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PrivateKey     string            `koanf:"private_key"`
	RPC            map[string]string `koanf:"rpc"`
	Metadata       map[string]string `koanf:"metadata"`
	DiamondAddress common.Address    `koanf:"diamond_address"`
}

func LoadConfig

func LoadConfig(path string) (Config, error)

func (*Config) ValidateStandardContracts

func (c *Config) ValidateStandardContracts() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL