config

package
v0.16.15 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// if not skipping upgrade, how many blocks we allow for fork to run pre upgrade state creation
	ForkHeightPreUpgradeOffset int64 = 60
	// estimated number of blocks it takes to submit for a proposal
	PropSubmitBlocks float32 = 1
	// estimated number of blocks it takes to deposit for a proposal
	PropDepositBlocks float32 = 1
	// number of blocks it takes to vote for a single validator to vote for a proposal
	PropVoteBlocks float32 = 1.2
	// number of blocks used as a calculation buffer
	PropBufferBlocks float32 = 6
	// max retries for json unmarshalling
	MaxRetries = 60
)

Variables

View Source
var (
	// Minimum deposit value for a proposal to enter a voting period.
	MinDepositValue = govtypes.DefaultMinDepositTokens.Int64()
	// Minimum expedited deposit value for a proposal to enter a voting period.
	MinExpeditedDepositValue = govtypes.DefaultMinExpeditedDepositTokens.Int64()
	// Minimum deposit value for proposal to be submitted.
	InitialMinDeposit = MinDepositValue / 4
	// Minimum expedited deposit value for proposal to be submitted.
	InitialMinExpeditedDeposit = MinExpeditedDepositValue / 4
	// v16 upgrade specific canonical PERCO/DAI pool id.
	// It is expected to create a concentrated liquidity pool
	// associated with this balancer pool in the upgrade handler.
	// This is meant to be removed post-v16.
	DaiPercoPoolIdv16 uint64
	// A pool created via CLI before starting an
	// upgrade.
	PreUpgradePoolId uint64

	PreUpgradeStableSwapPoolId uint64

	StrideMigrateWallet = "stride-migration"

	LockupWallet = "lockup-wallet"

	LockupWalletSuperfluid = "lockup-wallet-superfluid"

	StableswapWallet = "stableswap-wallet"
)

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