Versions in this module Expand all Collapse all v1 v1.0.1 Nov 29, 2022 v1.0.0 Nov 29, 2022 Changes in this version + const DefaultAllowUnprotectedTxs + const DefaultBlockRangeCap + const DefaultConfigTemplate + const DefaultEVMTimeout + const DefaultEVMTracer + const DefaultFeeHistoryCap + const DefaultFilterCap + const DefaultGRPCAddress + const DefaultGasCap + const DefaultHTTPIdleTimeout + const DefaultHTTPTimeout + const DefaultJSONRPCAddress + const DefaultJSONRPCMetricsAddress + const DefaultJSONRPCWsAddress + const DefaultLogsCap + const DefaultMaxOpenConnections + const DefaultMaxTxGasWanted + const DefaultTxFeeCap + func AppConfig(denom string) (string, interface{}) + func GetAPINamespaces() []string + func GetDefaultAPINamespaces() []string + type Config struct + EVM EVMConfig + JSONRPC JSONRPCConfig + TLS TLSConfig + func DefaultConfig() *Config + func GetConfig(v *viper.Viper) (Config, error) + func ParseConfig(v *viper.Viper) (*Config, error) + func (c Config) ValidateBasic() error + type EVMConfig struct + MaxTxGasWanted uint64 + Tracer string + func DefaultEVMConfig() *EVMConfig + func (c EVMConfig) Validate() error + type JSONRPCConfig struct + API []string + Address string + AllowUnprotectedTxs bool + BlockRangeCap int32 + EVMTimeout time.Duration + Enable bool + EnableIndexer bool + FeeHistoryCap int32 + FilterCap int32 + GasCap uint64 + HTTPIdleTimeout time.Duration + HTTPTimeout time.Duration + LogsCap int32 + MaxOpenConnections int + MetricsAddress string + TxFeeCap float64 + WsAddress string + func DefaultJSONRPCConfig() *JSONRPCConfig + func (c JSONRPCConfig) Validate() error + type TLSConfig struct + CertificatePath string + KeyPath string + func DefaultTLSConfig() *TLSConfig + func (c TLSConfig) Validate() error