stake

package
v0.2202.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package stake implements the staking sub-commands.

Index

Constants

View Source
const (
	// CfgHeight configures the consensus height.
	CfgHeight = "height"

	// CfgAccountAddr configures the account address.
	CfgAccountAddr = "stake.account.address"

	// CfgAmount configures the amount of stake in base units.
	CfgAmount = "stake.amount"

	// CfgShares configures the amount of shares.
	CfgShares = "stake.shares"

	// CfgTransferDestination configures the transfer destination address.
	CfgTransferDestination = "stake.transfer.destination"

	// CfgEscrowAccount configures the escrow address.
	CfgEscrowAccount = "stake.escrow.account"

	// CfgCommissionScheduleRates configures the commission schedule rate steps.
	CfgCommissionScheduleRates = "stake.commission_schedule.rates"

	// CfgCommissionScheduleBounds configures the commission schedule rate bound steps.
	CfgCommissionScheduleBounds = "stake.commission_schedule.bounds"

	// CfgAllowBeneficiary configures the beneficiary address.
	CfgAllowBeneficiary = "stake.allow.beneficiary"

	// CfgAllowAmountChange configures the allowance change.
	CfgAllowAmountChange = "stake.allow.amount_change"

	// CfgWithdrawSource configures the withdrawal source address.
	CfgWithdrawSource = "stake.withdraw.source"
)
View Source
const CfgPublicKey = "public_key"

CfgPublicKey configures the public key.

Variables

This section is empty.

Functions

func Register

func Register(parentCmd *cobra.Command)

Register registers the stake sub-command and all of it's children.

Types

This section is empty.

Jump to

Keyboard shortcuts

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