config

package
v22.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 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
	// number of blocks used as a calculation buffer
	PropBufferBlocks float32 = 30
	// number of blocks used as a calculation buffer (used to set actual voting period)
	PropBufferBlocksVotePeriod float32 = 8
	// max retries for json unmarshalling
	MaxRetries = 60
)

Variables

View Source
var (
	// Minimum deposit value for a proposal to enter a voting period.
	MinDepositValue = govtypesv1.DefaultMinDepositTokens.Int64()
	// Minimum expedited deposit value for a proposal to enter a voting period.
	// UNFORKINGTODO N: Change this to DefaultMinExpeditedDepositTokens when implemented
	MinExpeditedDepositValue = govtypesv1.DefaultMinDepositTokens.Int64()
	// Minimum deposit value for proposal to be submitted.
	// UNFORKINGNOTE: This used to be divided by 4 for both, but this makes sense to me that it should be the same.
	InitialMinDeposit = MinDepositValue
	// Minimum expedited deposit value for proposal to be submitted.
	InitialMinExpeditedDeposit = MinExpeditedDepositValue
	// v16 upgrade specific canonical OSMO/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.
	DaiOsmoPoolIdv16 uint64
	// A pool created via CLI before starting an
	// upgrade.
	PreUpgradePoolId = []uint64{}

	PreUpgradeStableSwapPoolId = []uint64{}

	StrideMigrateWallet = []string{"stride-migration", "stride-migration"}

	LockupWallet = []string{"lockup-wallet", "lockup-wallet"}

	LockupWalletSuperfluid = []string{"lockup-wallet-superfluid", "lockup-wallet-superfluid"}

	StableswapWallet = []string{"stableswap-wallet", "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