config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

func New

func New(getter kv.Getter) Config

type Cosmoser

type Cosmoser interface {
	Cosmos() *grpc.ClientConn
}

func NewCosmoser

func NewCosmoser(getter kv.Getter) Cosmoser

type EVM

type EVM struct {
	Chains []EVMChain `fig:"chains"`
}

func (*EVM) GetChainByName

func (e *EVM) GetChainByName(name string) (*EVMChain, bool)

type EVMChain

type EVMChain struct {
	Name                string            `fig:"name,required"`
	ContractAddress     common.Address    `fig:"contract_address,required"`
	SubmitterPrivateKey *ecdsa.PrivateKey `fig:"submitter_private_key,required"`
	SubmitterAddress    common.Address    `fig:"-"`
	RPC                 *ethclient.Client `fig:"-"`
	RPCURL              string            `fig:"rpc,required"`
	ChainID             *big.Int          `fig:"chain_id,required"`
}

func (*EVMChain) TransactorOpts

func (e *EVMChain) TransactorOpts() *bind.TransactOpts

type EVMer

type EVMer interface {
	EVM() *EVM
}

func NewEVMer

func NewEVMer(getter kv.Getter) EVMer

type RelayConfig

type RelayConfig struct {
	CatchupDisabled   bool     `fig:"catchup_disabled"`
	IssuerID          []string `fig:"issuer_id"`
	DisableFiltration bool     `fig:"disable_filtration"`
}

type Tenderminter

type Tenderminter interface {
	Tendermint() *http.HTTP
}

func NewTenderminter

func NewTenderminter(getter kv.Getter) Tenderminter

Jump to

Keyboard shortcuts

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