config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	BridgeFacadeAddress common.Address    `fig:"bridge_facade_address,required"`
	BridgeAddress       common.Address    `fig:"bridge_address,required"`
	RPC                 *ethclient.Client `fig:"-"`
	RPCURL              string            `fig:"rpc,required"`
	ChainID             *big.Int          `fig:"-"`
	// contains filtered or unexported fields
}

func (*EVMChain) AvalancheRPC

func (e *EVMChain) AvalancheRPC() avalanche.Client

type EVMer

type EVMer interface {
	EVM() *EVM
}

func NewEVMer

func NewEVMer(getter kv.Getter) EVMer

type Near

type Near struct {
	RPC              *nearclient.Client `fig:"rpc"`
	SubmitterAddress common.AccountID   `fig:"submitter_address,required"`
	BridgeAddress    common.AccountID   `fig:"bridge_address,required"`
}

type Nearer

type Nearer interface {
	Near() *Near
}

func NewNearer

func NewNearer(getter kv.Getter) Nearer

type SchedulerConfig

type SchedulerConfig struct {
	StartBlock uint64 `fig:"start_block"`
}

type Schedulerer

type Schedulerer interface {
	Scheduler() *SchedulerConfig
}

func NewSchedulerer

func NewSchedulerer(getter kv.Getter) Schedulerer

type Solana

type Solana struct {
	RPC             *rpc.Client      `fig:"rpc,required"`
	WS              *ws.Client       `fig:"ws,required"`
	BridgeAdmin     solana.PublicKey `fig:"-"`
	BridgeAdminSeed [32]byte         `fig:"bridge_admin_seed,required"`
	BridgeProgramID solana.PublicKey `fig:"bridge_program_id,required"`
}

type Solaner

type Solaner interface {
	Solana() *Solana
}

func NewSolaner

func NewSolaner(getter kv.Getter) Solaner

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