config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 15 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 interface {
	comfig.Logger
	comfig.Listenerer
	broadcaster.Broadcasterer
	voter.Subscriberer
	metrics.Profilerer

	Cosmos() *grpc.ClientConn
	Tendermint() *http.HTTP
	ListenConf() ListenConf
	SolanaRPC() *rpc.Client
	SolanaWSEndpoint() string
}

func New

func New(getter kv.Getter) Config

type ListenConf

type ListenConf struct {
	ProgramId solana.PublicKey `fig:"program_id"`
	FromTx    solana.Signature `fig:"from_tx"`
	Chain     string           `fig:"chain"`
}

Jump to

Keyboard shortcuts

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