constants

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STokensABI    = "" /* 11541-byte string literal not displayed */
	STokenAddress = "0x9C6b7972dc00aa323A08FFfeF3F26b5805f16062"

	LiquidStakingABI     = "" /* 10015-byte string literal not displayed */
	LiquidStakingAddress = "0x2Ee29F856Cdb867E79836118196Ea63c022e249e"
	LiquidStakingStake   = "stake"
	LiquidStakingUnStake = "unStake"

	TokenWrapperABI             = "" /* 8324-byte string literal not displayed */
	TokenWrapperAddress         = "0x2cC9EC1cA416c4F4e5789f1Ce12e50C9C7960cb5"
	TokenWrapperWithdrawUTokens = "withdrawUTokens"
)
View Source
const (
	FlagTimeOut               = "timeout"
	FlagCoinType              = "coinType"
	FlagPStakeHome            = "pStakeHome"
	FlagEthereumEndPoint      = "ethEndPoint"
	FlagTendermintSleepTime   = "tmSleepTime"
	FlagEthereumSleepTime     = "ethSleepTime"
	FlagTendermintStartHeight = "tmStart"
	FlagEthereumStartHeight   = "ethStart"
	FlagDenom                 = "denom"
	FlagEthPrivateKey         = "ethPrivateKey"
	FlagEthGasLimit           = "ethGasLimit"
)
View Source
const (
	TxEvents    = "tm.event='Tx'"
	BlockEvents = "tm.event='NewBlock'"
	BlockHeader = "tm.event='NewBlockHeader'"
)

Variables

View Source
var (
	DefaultTimeout               = "10s"
	DefaultCoinType              = uint32(118)
	DefaultEthereumEndPoint      = "wss://goerli.infura.io/ws/v3/e2549c9ec9764e46a7768cc7619a1939"
	DefaultTendermintSleepTime   = 3000     //ms
	DefaultEthereumSleepTime     = 4500     //ms
	DefaultTendermintStartHeight = int64(0) // 0 will not change the db at start
	DefaultEthereumStartHeight   = int64(0) // 0 will not change the db at start
	DefaultPStakeHome            = os.ExpandEnv("$HOME/.pStake")
	DefaultDenom                 = "uatom"
	DefaultEthGasLimit           = uint64(300000)
)
View Source
var (
	DefaultBrokers            = []string{"localhost:9092"}
	EthBatchSize              = 2
	TendermintBatchSize       = 3
	DefaultEthUnbondCycleTime = time.Duration(259200000000000) //3days

	// TopicDetail : configs only required for admin to create topics if not present.
	TopicDetail = sarama.TopicDetail{
		NumPartitions:     1,
		ReplicationFactor: 1,
	}
)
View Source
var (
	DefaultNodeHome = os.ExpandEnv("$HOME/.persistenceBridge")
)
View Source
var (
	Validator1, _ = sdkTypes.ValAddressFromBech32(validator1)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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