config

package
v0.0.0-...-b4f0473 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthereumConfig

type EthereumConfig struct {
	Endpoint  string `mapstructure:"endpoint"`
	GasFeeCap uint64 `mapstructure:"gas-fee-cap"`
	GasTipCap uint64 `mapstructure:"gas-tip-cap"`
	GasLimit  uint64 `mapstructure:"gas-limit"`
}

func (EthereumConfig) Validate

func (e EthereumConfig) Validate() error

type OFACConfig

type OFACConfig struct {
	Enabled bool   `mapstructure:"enabled"`
	ApiKey  string `mapstructure:"apiKey"`
}

func (OFACConfig) Validate

func (o OFACConfig) Validate() error

type ParachainConfig

type ParachainConfig struct {
	Endpoint             string `mapstructure:"endpoint"`
	MaxWatchedExtrinsics int64  `mapstructure:"maxWatchedExtrinsics"`
}

func (ParachainConfig) Validate

func (p ParachainConfig) Validate() error

type PolkadotConfig

type PolkadotConfig struct {
	Endpoint string `mapstructure:"endpoint"`
}

func (PolkadotConfig) Validate

func (p PolkadotConfig) Validate() error

Jump to

Keyboard shortcuts

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