common

package
v0.0.0-...-50fcca9 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObserverMaxBlockNumber = 10000
	ObserverPruneInterval  = 10 * time.Second
	ObserverAlertInterval  = 5 * time.Second

	ChainBSC = "BSC" // binance smart chain
	ChainETH = "ETH" // ethereum

	VaultName = "BSC_ETH_SWAP"

	DBDialectMysql   = "mysql"
	DBDialectSqlite3 = "sqlite3"

	LocalPrivateKey = "local_private_key"
	AWSPrivateKey   = "aws_private_key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockAndEventLogs

type BlockAndEventLogs struct {
	Height          int64
	Chain           string
	BlockHash       string
	ParentBlockHash string
	BlockTime       int64
	Events          []interface{}
}

type RetrySwapStatus

type RetrySwapStatus string

type SwapDirection

type SwapDirection string

type SwapPairStatus

type SwapPairStatus string

type SwapStatus

type SwapStatus string

Jump to

Keyboard shortcuts

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