config

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChainName = "paloma"
	Name      = "pigeon"
)
View Source
const (
	ErrUnableToLocateKeyringEnvironmentVar = whoops.String("unable to locate keyring ENV variable")
)

Variables

This section is empty.

Functions

func KeyringPassword

func KeyringPassword(envKey string) string

Types

type ChainClientConfig

type ChainClientConfig struct {
	BaseRPCURL         string   `yaml:"base-rpc-url"`
	KeyringPassEnvName string   `yaml:"keyring-pass-env-name"`
	SigningKey         string   `yaml:"signing-key"`
	KeyringDirectory   Filepath `yaml:"keyring-dir"`
	CallTimeout        string   `yaml:"call-timeout"`
	GasAdjustment      float64  `yaml:"gas-adjustment"`
}

type Config added in v1.8.1

type Config struct {
	HealthCheckPort    int    `yaml:"health-check-port"`
	HealthCheckAddress string `yaml:"health-check-address"`

	BloxrouteAuthorizationHeader string `yaml:"bloxroute-auth-header"`

	Paloma Paloma `yaml:"paloma"`

	EVM map[string]EVM `yaml:"evm"`
}

func FromReader

func FromReader(r io.Reader) (*Config, error)

type CosmosSpecificClientConfig

type CosmosSpecificClientConfig struct {
	KeyringType   string `yaml:"keyring-type"`
	AccountPrefix string `yaml:"account-prefix"`
	GasPrices     string `yaml:"gas-prices"`
}

type EVM

type EVM struct {
	ChainClientConfig       `yaml:",inline"`
	EVMSpecificClientConfig `yaml:",inline"`
}

type EVMSpecificClientConfig added in v0.10.0

type EVMSpecificClientConfig struct {
	TxType                      uint8 `yaml:"tx-type"`
	BloxrouteIntegrationEnabled bool  `yaml:"bloxroute-mev-enabled"`
}

type Filepath

type Filepath string

func (Filepath) Path

func (f Filepath) Path() string

type Paloma

type Paloma struct {
	CosmosSpecificClientConfig `yaml:",inline"`
	ChainID                    string `yaml:"chain-id"`
	ValidatorKey               string `yaml:"validator-key"`
	ChainClientConfig          `yaml:",inline"`
	SigningKeys                []string `yaml:"signing-keys"`
}

Jump to

Keyboard shortcuts

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