constants

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

	TokenWrapperABI             = "" /* 8654-byte string literal not displayed */
	TokenWrapperAddress         = "0x85746016580B4F9c7d3031c37F6fD668b0bE67b9"
	TokenWrapperWithdrawUTokens = "withdrawUTokens"
)
View Source
const (
	FlagTimeOut               = "timeout"
	FlagCoinType              = "coinType"
	FlagPBridgeHome           = "pBridgeHome"
	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'"
)
View Source
const (
	MPCValidatorsURL = ""
)

Variables

View Source
var (
	DefaultTimeout               = "10s"
	DefaultCoinType              = uint32(118)
	DefaultEthereumEndPoint      = "wss://ropsten.infura.io/ws/v3/b21966541db246d398fb31402eec2c14"
	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
	DefaultPBridgeHome           = os.ExpandEnv("$HOME/.persistenceBridge")
	DefaultDenom                 = "uatom"
	DefaultEthGasLimit           = uint64(3000000)
)
View Source
var (
	DefaultBrokers            = []string{"localhost:9092"}
	MinEthBatchSize           = 1
	MaxEthBatchSize           = 4
	EthTicker                 = 5 * time.Second
	MinTendermintBatchSize    = 1
	MaxTendermintBatchSize    = 5
	TendermintTicker          = 5 * time.Second
	DefaultEthUnbondCycleTime = 259200 * time.Second //3days in seconds

	// TopicDetail : configs only required for admin to create topics if not present.
	TopicDetail = sarama.TopicDetail{
		NumPartitions:     1,
		ReplicationFactor: 1,
	}
)
View Source
var (
	Validator1, _ = sdkTypes.ValAddressFromBech32(validator1)
	MinimumAmount = sdkTypes.NewInt(int64(5000000))
)

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