common

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EvmClientName          = "EVM"
	CosmosClientName       = "COSMOS"
	TikiExchangeClientName = "TIKI"

	EvmClientID          = 0
	CosmosClientID       = 1
	TikiExchangeClientID = 2
)

Variables

This section is empty.

Functions

func InitExplorer

func InitExplorer(chainID string)

Types

type ExplorerDetail

type ExplorerDetail struct {
	ExplorerUrl string
	PingPubURL  string
}
var Explorer ExplorerDetail

func (ExplorerDetail) FormatAccountURL

func (d ExplorerDetail) FormatAccountURL(accountAddr string) string

func (ExplorerDetail) FormatTxURL

func (d ExplorerDetail) FormatTxURL(txHash string) string

func (ExplorerDetail) FormatValidatorURL

func (d ExplorerDetail) FormatValidatorURL(valAddr string) string

Jump to

Keyboard shortcuts

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