utils

package
v0.0.0-...-ef1d62d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IconChain    = "icon"
	EthChain     = "eth"
	HardhatChain = "hardhat"
	ArchwayChain = "archway"
	NeutronChain = "neutron"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Chains

type Chains struct {
	ChainA            string
	ChainB            string
	ChainAServiceName string
	ChainBServiceName string
	Bridge            string
}

func InitChains

func InitChains(chainA, chainB, serviceA, serviceB string, bridge bool) *Chains

func (*Chains) AreChainsCosmos

func (c *Chains) AreChainsCosmos() bool

func (*Chains) AreChainsIcon

func (c *Chains) AreChainsIcon() bool

func (*Chains) CheckChainServiceNamesEmpty

func (chains *Chains) CheckChainServiceNamesEmpty() bool

func (*Chains) CheckForBtpSupportedChains

func (chains *Chains) CheckForBtpSupportedChains() error

func (*Chains) CheckForIbcSupportedChains

func (chains *Chains) CheckForIbcSupportedChains() error

func (*Chains) GetIbcRelayParams

func (chains *Chains) GetIbcRelayParams(src_service_config string, dst_service_config string) string

func (*Chains) GetParams

func (chains *Chains) GetParams(src_service_config string, dst_service_config string) string

func (*Chains) GetServicesResponse

func (chains *Chains) GetServicesResponse(cli *common.Cli) (string, string, error)

Jump to

Keyboard shortcuts

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